/*
 * All TI Metals: design system for WordPress.
 *
 * Navy brand, clean light sections, large mill photography, condensed industrial capitals.
 *
 * How this file is organised
 *   1. Fonts and tokens
 *   2. Scope reset: everything the theme renders sits inside an element with class "ati".
 *      Component rules are written ".ati .ati-thing" so they outrank the Hello theme's element
 *      styles and the Elementor kit's global link and heading styles without !important.
 *   3. Type, buttons, links, fields
 *   4. Header, menus, footer
 *   5. Sections: heroes, ticker, cards, grade list, bands, tables, lists, product, contact
 *   6. Motion: load entrances, scroll reveals, hover feedback
 *   7. Elementor bridge: the same looks for native Elementor widgets, by CSS class
 *
 * Link colour: links take their colour from --ati-a (falling back to the surrounding text colour),
 * so a component sets --ati-a rather than "color" on a link. That keeps one rule in charge of link
 * colour in every state, whatever the kit says about a:hover.
 */

/* ---------- 1. Fonts and tokens ---------- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arial shaped to Archivo's metrics, so text does not jump when the font arrives. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  ascent-override: 88.96%;
  descent-override: 21.28%;
  line-gap-override: 0%;
  size-adjust: 98.7%;
}

:root {
  --ati-navy: #001c57;
  --ati-navy-deep: #00133d;
  --ati-navy-ink: #000b24;
  --ati-navy-line: #1d3672;
  --ati-on-navy: #eef1f7;
  --ati-on-navy-2: #b3bdd1;

  --ati-paper: #fbfcfd;
  --ati-surface: #ffffff;
  --ati-steel-50: #f2f4f7;
  --ati-steel-100: #e7ebf0;
  --ati-steel-200: #d3d9e1;
  --ati-steel-500: #566170;
  --ati-ink: #0b1420;

  --ati-font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;

  --ati-display: clamp(2.6rem, 5.4vw, 5.25rem);
  --ati-h2: clamp(2rem, 3.6vw, 3.4rem);
  --ati-h3: 1.375rem;
  --ati-card: 2rem;
  --ati-lede: 1.1875rem;
  --ati-meta: 0.9375rem;
  --ati-small: 0.8125rem;

  --ati-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ati-header-h: 4.5rem;
}
@media (min-width: 1024px) {
  :root {
    --ati-header-h: 5rem;
  }
}

/* Pages that use an All TI template sit on paper and scroll smoothly to anchors. */
html:has(body.allti-page) {
  scroll-behavior: smooth;
}
body.allti-page {
  background: var(--ati-paper);
}

/* ---------- 2. Scope reset ---------- */

.ati {
  font-family: var(--ati-font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ati-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ati *,
.ati *::before,
.ati *::after {
  box-sizing: border-box;
}
.ati h1,
.ati h2,
.ati h3,
.ati h4,
.ati p,
.ati ul,
.ati ol,
.ati dl,
.ati dd,
.ati figure,
.ati address {
  margin: 0;
}
.ati h1,
.ati h2,
.ati h3 {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.ati ul,
.ati ol {
  padding: 0;
  list-style: none;
}
.ati address {
  font-style: normal;
}
.ati.ati a,
.ati.ati a:hover,
.ati.ati a:focus,
.ati.ati a:active {
  color: var(--ati-a, inherit);
}
.ati a {
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.ati img,
.ati video,
.ati svg {
  display: block;
}
.ati img,
.ati video {
  max-width: 100%;
  border: 0;
}
.ati strong {
  font-weight: 650;
}
.ati ::selection {
  background: var(--ati-navy);
  color: var(--ati-on-navy);
}
.ati :focus-visible {
  outline: 2px solid var(--ati-navy);
  outline-offset: 3px;
  box-shadow: none;
}
.ati .ati-dark :focus-visible,
.ati.ati-dark :focus-visible {
  outline-color: var(--ati-on-navy);
}

/* A button that is not an .ati-btn: no chrome of its own. */
.ati .ati-plain,
.ati .ati-plain:hover,
.ati .ati-plain:focus {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

.ati .ati-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Type, buttons, links, fields ---------- */

.ati .ati-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.ati .ati-section {
  padding-block: 5rem;
}
.ati .ati-section--tint {
  border-top: 1px solid var(--ati-steel-200);
  background: var(--ati-steel-50);
}
@media (min-width: 768px) {
  .ati .ati-container {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .ati .ati-section {
    padding-block: 7.5rem;
  }
}

/* Condensed industrial capitals: the voice of every H1 and H2. */
.ati .ati-caps {
  font-family: var(--ati-font);
  font-variation-settings: "wdth" 74;
  font-weight: 750;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.ati .ati-display {
  font-size: var(--ati-display);
  line-height: 0.95;
}
.ati .ati-h2 {
  font-size: var(--ati-h2);
  line-height: 1;
}
.ati .ati-card-title {
  font-size: var(--ati-card);
  line-height: 1;
}
.ati .ati-h3 {
  font-family: var(--ati-font);
  font-size: var(--ati-h3);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
}
.ati .ati-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
  vertical-align: baseline;
}
.ati .ati-lede {
  font-size: var(--ati-lede);
  line-height: 1.55;
}
.ati .ati-meta {
  font-size: var(--ati-meta);
}
.ati .ati-small {
  font-size: var(--ati-small);
}
.ati .ati-measure {
  max-width: 66ch;
}
.ati .ati-muted {
  color: var(--ati-steel-500);
}
.ati .ati-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Buttons. The hover fill sweeps in from the left: --ati-btn-fill is the colour that arrives. */
.ati .ati-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: auto;
  min-height: 3.25rem;
  margin: 0;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 0;
  font-family: var(--ati-font);
  font-size: var(--ati-small);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background-color: var(--ati-btn-bg, transparent);
  background-image: linear-gradient(var(--ati-btn-fill, transparent), var(--ati-btn-fill, transparent));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition:
    background-size 420ms var(--ati-ease),
    color 260ms var(--ati-ease),
    box-shadow 260ms var(--ati-ease),
    transform 160ms var(--ati-ease);
}
.ati .ati-btn:hover,
.ati .ati-btn:focus {
  background-color: var(--ati-btn-bg, transparent);
  background-size: 100% 100%;
  text-decoration: none;
}
.ati .ati-btn:active {
  transform: scale(0.98);
}
.ati .ati-btn .ati-icon {
  transition: transform 240ms var(--ati-ease);
}
.ati .ati-btn:hover .ati-icon {
  transform: translateX(4px);
}
.ati .ati-btn--primary {
  --ati-btn-bg: var(--ati-navy);
  --ati-btn-fill: var(--ati-navy-ink);
  --ati-a: var(--ati-on-navy);
  color: var(--ati-on-navy);
}
.ati .ati-btn--light {
  --ati-btn-bg: var(--ati-paper);
  --ati-btn-fill: var(--ati-steel-200);
  --ati-a: var(--ati-navy);
  color: var(--ati-navy);
}
.ati .ati-btn--outline-light {
  --ati-btn-fill: var(--ati-on-navy);
  --ati-a: var(--ati-on-navy);
  color: var(--ati-on-navy);
  box-shadow: inset 0 0 0 1px rgb(238 241 247 / 0.55);
}
.ati .ati-btn--outline-light:hover,
.ati .ati-btn--outline-light:focus {
  --ati-a: var(--ati-navy);
  color: var(--ati-navy);
  box-shadow: inset 0 0 0 1px var(--ati-on-navy);
}
.ati .ati-btn--outline {
  --ati-btn-fill: var(--ati-navy);
  --ati-a: var(--ati-navy);
  color: var(--ati-navy);
  box-shadow: inset 0 0 0 1px var(--ati-navy);
}
.ati .ati-btn--outline:hover,
.ati .ati-btn--outline:focus {
  --ati-a: var(--ati-on-navy);
  color: var(--ati-on-navy);
}
.ati .ati-btn--block {
  display: flex;
  width: 100%;
}

/* Text links with an arrow: the arrow steps forward and an underline draws beneath. */
.ati .ati-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 360ms var(--ati-ease);
}
.ati .ati-link-arrow:hover {
  background-size: 100% 1px;
}
.ati .ati-link-arrow .ati-icon {
  transition: transform 240ms var(--ati-ease);
}
.ati .ati-link-arrow:hover .ati-icon {
  transform: translateX(4px);
}
.ati .ati-link-arrow--navy {
  --ati-a: var(--ati-navy);
  font-weight: 650;
}
.ati .ati-icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}
.ati .ati-icon--lg {
  width: 1.25rem;
  height: 1.25rem;
}
.ati .ati-underline {
  text-decoration: underline;
}
.ati .ati-hover-navy:hover {
  --ati-a: var(--ati-navy);
}

/* Photography: slow zoom on hover inside its frame. */
.ati .ati-zoom {
  overflow: hidden;
}
.ati .ati-zoom img {
  transition: transform 900ms var(--ati-ease);
}
.ati .ati-zoom:hover img,
.ati a:hover .ati-zoom img,
.ati a:focus-visible .ati-zoom img {
  transform: scale(1.06);
}
.ati .ati-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A hairline drawn as its own layer, so it can be drawn in from the left. */
.ati .ati-rule {
  position: relative;
}
.ati .ati-rule::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--ati-rule-size, 1px);
  background: var(--ati-rule-color, currentColor);
  transform-origin: left;
}
.ati .ati-rule--b::before {
  top: auto;
  bottom: 0;
}
.ati .ati-rule--ink {
  --ati-rule-size: 2px;
  --ati-rule-color: var(--ati-ink);
}

/* Fields */
.ati .ati-field {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ati-steel-200);
  border-radius: 0;
  background: var(--ati-surface);
  color: var(--ati-ink);
  font: inherit;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 160ms var(--ati-ease);
}
.ati .ati-field:hover {
  border-color: var(--ati-steel-500);
}
.ati .ati-field:focus,
.ati .ati-field:focus-visible {
  outline: 2px solid var(--ati-navy);
  outline-offset: 0;
  border-color: var(--ati-navy);
  box-shadow: none;
}
.ati .ati-field::placeholder {
  color: var(--ati-steel-500);
  opacity: 1;
}
.ati textarea.ati-field {
  resize: vertical;
}

/* Prose: product descriptions and other long copy from the editor. */
.ati .ati-prose {
  --ati-a: var(--ati-navy);
  max-width: 66ch;
  color: var(--ati-steel-500);
}
.ati .ati-prose > * + * {
  margin-top: 1rem;
}
.ati .ati-prose a {
  text-decoration: underline;
}
.ati .ati-prose strong {
  color: var(--ati-ink);
}
.ati .ati-prose h2 {
  margin-top: 3rem;
  font-family: var(--ati-font);
  font-size: var(--ati-card);
  font-variation-settings: "wdth" 74;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ati-ink);
}
.ati .ati-prose h3,
.ati .ati-prose h4 {
  margin-top: 2rem;
  font-family: var(--ati-font);
  font-size: var(--ati-h3);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ati-ink);
}
.ati .ati-prose h4 {
  font-size: inherit;
}
.ati .ati-prose ul,
.ati .ati-prose ol {
  padding-left: 1.25rem;
  list-style: disc;
}
.ati .ati-prose ol {
  list-style: decimal;
}
.ati .ati-prose li + li {
  margin-top: 0.5rem;
}
.ati .ati-prose img {
  height: auto;
  margin-block: 1.5rem;
}
.ati .ati-prose table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: var(--ati-meta);
  font-variant-numeric: tabular-nums;
  color: var(--ati-ink);
}
.ati .ati-prose table tr > th,
.ati .ati-prose table tr > td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--ati-steel-200);
  background: none;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
}
.ati .ati-prose table thead > tr > th {
  background: var(--ati-steel-50);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- 4. Header, menus, footer ---------- */

.ati.ati-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--ati-steel-100);
  background: var(--ati-paper);
  color: var(--ati-ink);
  transition:
    background-color 300ms,
    box-shadow 300ms,
    border-color 300ms;
}
.ati.ati-header.is-scrolled {
  border-color: var(--ati-steel-200);
  box-shadow: 0 10px 30px rgb(0 11 36 / 0.08);
}
/* Homepage: floats over the hero, then turns solid once scrolled or when a menu is open. */
.ati.ati-header--overlay {
  position: fixed;
  inset-inline: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--ati-on-navy);
}
.ati.ati-header--overlay.is-scrolled,
.ati.ati-header--overlay.is-mega,
.ati.ati-header--overlay.is-open {
  background: var(--ati-navy-ink);
  box-shadow: 0 10px 30px rgb(0 11 36 / 0.25);
}
.ati .ati-header__bar {
  border-bottom: 1px solid transparent;
}
.ati.ati-header--overlay:not(.is-scrolled):not(.is-mega):not(.is-open) .ati-header__bar {
  border-color: rgb(238 241 247 / 0.15);
}
.ati .ati-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--ati-header-h);
}
.ati .ati-header__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}
.ati .ati-header__logo {
  width: auto;
  height: 2.75rem;
}
/* The header mark: the logo image cut into its letters, cap, arrow and name, which assemble on every
   page load (letters first, then the cap and arrow close around them); then a glint runs across the metal (masked by the logo itself). Hovering the brand replays the glint. */
.ati .ati-mark {
  position: relative;
  display: block;
  aspect-ratio: 274 / 279;
}
.ati .ati-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ati .ati-mark__cap { clip-path: inset(0 0 70% 0); }
.ati .ati-mark__letters { clip-path: inset(30% 0 35% 0); }
.ati .ati-mark__arrow { clip-path: inset(65% 0 12% 0); }
.ati .ati-mark__name { clip-path: inset(88% 0 0 0); }
.ati .ati-mark__glint {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: var(--ati-logo) center / 100% 100% no-repeat;
  mask: var(--ati-logo) center / 100% 100% no-repeat;
  pointer-events: none;
}
.ati .ati-mark__glint::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 28%;
  background: #fff;
  opacity: 0.75;
  transform: translateX(-160%) skewX(-20deg);
}

@keyframes ati-mark-cap {
  from { opacity: 0; transform: translateY(-38%); }
}
@keyframes ati-mark-arrow {
  from { opacity: 0; transform: translateY(30%); }
}
@keyframes ati-mark-letters {
  from { clip-path: inset(30% 100% 35% 0); }
  to { clip-path: inset(30% 0 35% 0); }
}
@keyframes ati-mark-name {
  from { opacity: 0; }
}
@keyframes ati-mark-glint {
  from { transform: translateX(-160%) skewX(-20deg); }
  to { transform: translateX(460%) skewX(-20deg); }
}
@keyframes ati-mark-glint-hover {
  from { transform: translateX(-160%) skewX(-20deg); }
  to { transform: translateX(460%) skewX(-20deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .ati .ati-mark__cap { animation: ati-mark-cap 750ms var(--ati-ease) 450ms backwards; }
  .ati .ati-mark__arrow { animation: ati-mark-arrow 750ms var(--ati-ease) 560ms backwards; }
  .ati .ati-mark__letters { animation: ati-mark-letters 800ms cubic-bezier(0.76, 0, 0.24, 1) backwards; }
  .ati .ati-mark__name { animation: ati-mark-name 600ms var(--ati-ease) 950ms backwards; }
  .ati .ati-mark__glint::before { animation: ati-mark-glint 900ms cubic-bezier(0.45, 0, 0.2, 1) 1300ms; }
  .ati .ati-header__brand:hover .ati-mark__glint::before { animation: ati-mark-glint-hover 800ms cubic-bezier(0.45, 0, 0.2, 1); }
}
.ati .ati-header__name {
  display: block;
  line-height: 1;
}
.ati .ati-header__wordmark {
  display: block;
  font-size: var(--ati-h3);
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ati .ati-header__tagline {
  display: none;
  margin-top: 0.25rem;
  font-size: var(--ati-small);
  line-height: 1.5;
  white-space: nowrap;
  color: var(--ati-steel-500);
}
.ati.ati-header--overlay .ati-header__tagline {
  color: var(--ati-on-navy-2);
}

.ati .ati-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  height: 100%;
  margin-left: auto;
}
.ati .ati-nav__item {
  height: 100%;
}
.ati .ati-nav__link,
.ati .ati-nav__link:hover,
.ati .ati-nav__link:focus {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 100%;
  font-size: var(--ati-meta);
  font-weight: 500;
  line-height: 1.5;
  --ati-a: rgb(11 20 32 / 0.8);
  color: rgb(11 20 32 / 0.8);
  transition: color 150ms;
}
.ati .ati-nav__link:hover,
.ati .ati-nav__link.is-current,
.ati .ati-nav__link[aria-expanded="true"] {
  --ati-a: var(--ati-navy);
  color: var(--ati-navy);
}
.ati.ati-header--overlay .ati-nav__link {
  --ati-a: rgb(238 241 247 / 0.85);
  color: rgb(238 241 247 / 0.85);
}
.ati.ati-header--overlay .ati-nav__link:hover,
.ati.ati-header--overlay .ati-nav__link.is-current,
.ati.ati-header--overlay .ati-nav__link[aria-expanded="true"] {
  --ati-a: var(--ati-on-navy);
  color: var(--ati-on-navy);
}
/* The underline grows in from the left; the current section keeps it. */
.ati .ati-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--ati-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ati-ease);
}
.ati.ati-header--overlay .ati-nav__link::after {
  background: var(--ati-on-navy);
}
.ati .ati-nav__link:hover::after,
.ati .ati-nav__link.is-current::after,
.ati .ati-nav__link[aria-expanded="true"]::after {
  transform: scaleX(1);
}
.ati .ati-nav__chevron {
  transition: transform 200ms;
}
.ati .ati-nav__link[aria-expanded="true"] .ati-nav__chevron {
  transform: rotate(180deg);
}

.ati .ati-header__phone {
  display: none;
  font-size: var(--ati-meta);
  font-weight: 650;
  white-space: nowrap;
}
.ati .ati-header__phone:hover {
  text-decoration: underline;
}
.ati .ati-header__cta {
  display: none;
  min-height: 2.75rem;
  margin-left: auto;
  padding-inline: 1.25rem;
}
.ati .ati-header__toggle,
.ati .ati-header__toggle:hover,
.ati .ati-header__toggle:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
}
.ati .ati-header__toggle .ati-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.ati .ati-header__toggle .ati-icon--close,
.ati.is-open .ati-header__toggle .ati-icon--menu {
  display: none;
}
.ati.is-open .ati-header__toggle .ati-icon--close {
  display: block;
}

/* The products panel: opaque from its first frame; only its entrance moves. */
.ati .ati-mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  border-block: 1px solid var(--ati-steel-200);
  background: var(--ati-paper);
  color: var(--ati-ink);
  box-shadow: 0 24px 48px rgb(0 11 36 / 0.14);
  --ati-step: 55ms;
}
.ati .ati-mega[hidden] {
  display: none;
}
.ati .ati-mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
  align-items: start;
  gap: 1.5rem;
  padding-block: 2rem;
}
.ati .ati-mega__card {
  position: relative;
  display: block;
  --ati-a: var(--ati-on-navy);
}
.ati .ati-mega__frame {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--ati-navy-ink);
}
.ati .ati-mega__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 11 36 / 0) 35%, rgb(0 11 36 / 0.85) 100%);
}
.ati .ati-mega__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--ati-on-navy);
}
.ati .ati-mega__title {
  display: block;
  font-size: var(--ati-h3);
  line-height: 1;
}
.ati .ati-mega__count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ati-on-navy-2);
}
.ati .ati-mega__body .ati-icon {
  margin-bottom: 0.25rem;
  transition: transform 200ms;
}
.ati .ati-mega__card:hover .ati-mega__body .ati-icon {
  transform: translateX(4px);
}
.ati .ati-mega__grades {
  display: flex;
  flex-direction: column;
  padding-left: 1.5rem;
  border-left: 1px solid var(--ati-steel-200);
}
.ati .ati-mega__heading {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ati-steel-500);
}
.ati .ati-mega__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
  font-size: var(--ati-meta);
}
.ati .ati-mega__list a:hover {
  --ati-a: var(--ati-navy);
  text-decoration: underline;
}
.ati .ati-mega__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
}
.ati .ati-mega__more .ati-link-arrow--quiet {
  --ati-a: var(--ati-steel-500);
}
.ati .ati-mega__more .ati-link-arrow--quiet:hover {
  --ati-a: var(--ati-navy);
}

/* Phone menu: a navy panel that opens top-down. */
.ati .ati-mobile {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  top: var(--ati-header-top, 4.5rem);
  z-index: 40;
  overflow-y: auto;
  background: var(--ati-navy-ink);
  color: var(--ati-on-navy);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 400ms var(--ati-ease),
    visibility 0s linear 400ms;
}
.ati.is-open .ati-mobile {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 400ms var(--ati-ease),
    visibility 0s;
}
.ati .ati-mobile__inner {
  padding-block: 1.5rem 3rem;
}
.ati .ati-mobile__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.ati .ati-mobile__tile {
  display: block;
}
.ati .ati-mobile__frame {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ati-navy);
}
.ati .ati-mobile__tile span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25;
}
.ati .ati-mobile__links {
  margin-top: 2rem;
  border-block: 1px solid var(--ati-navy-line);
}
.ati .ati-mobile__links li + li {
  border-top: 1px solid var(--ati-navy-line);
}
.ati .ati-mobile__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  font-size: 1.875rem;
  line-height: 1.2;
}
.ati .ati-mobile__cta {
  margin-top: 2rem;
}
.ati .ati-mobile__info {
  margin-top: 2rem;
  color: var(--ati-on-navy-2);
}
.ati .ati-mobile__info p + p {
  margin-top: 0.25rem;
}
.ati .ati-mobile__phone {
  --ati-a: var(--ati-on-navy);
  font-size: 1.25rem;
  font-weight: 650;
}

@media (min-width: 640px) {
  .ati .ati-header__cta {
    display: inline-flex;
  }
  .ati .ati-header__toggle,
  .ati .ati-header__toggle:hover,
  .ati .ati-header__toggle:focus {
    margin-left: 0;
  }
}
@media (min-width: 1024px) {
  .ati .ati-header__logo {
    height: 3rem;
  }
  .ati .ati-nav {
    display: flex;
  }
  .ati .ati-header__cta {
    margin-left: 0;
  }
  .ati .ati-header__toggle,
  .ati .ati-header__toggle:hover,
  .ati .ati-header__toggle:focus,
  .ati .ati-mobile {
    display: none;
  }
}
@media (min-width: 1280px) {
  .ati .ati-header__tagline,
  .ati .ati-header__phone {
    display: block;
  }
}

/* The WordPress admin bar sits above a fixed or sticky header. */
body.admin-bar .ati.ati-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .ati.ati-header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar .ati.ati-header:not(.ati-header--overlay) {
    top: 0;
  }
}

/* Footer */
.ati.ati-footer {
  background: var(--ati-navy-ink);
  color: var(--ati-on-navy-2);
}
.ati .ati-footer__grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
.ati .ati-footer__logo {
  width: auto;
  height: 6rem;
}
.ati .ati-footer__name {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.33;
  color: var(--ati-on-navy);
}
.ati .ati-footer__tagline {
  max-width: 20rem;
  margin-top: 0.5rem;
}
.ati .ati-footer__cta {
  margin-top: 2rem;
}
.ati .ati-footer__heading {
  color: var(--ati-on-navy);
}
.ati .ati-footer__list {
  margin-top: 1.25rem;
}
.ati .ati-footer__list li + li {
  margin-top: 0.75rem;
}
.ati .ati-footer__list a:hover,
.ati .ati-footer__base a:hover {
  --ati-a: var(--ati-on-navy);
  text-decoration: underline;
}
.ati .ati-footer__phone {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.33;
  color: var(--ati-on-navy);
}
.ati .ati-footer__phone a:hover {
  text-decoration: underline;
}
.ati .ati-footer__address {
  margin-top: 0.75rem;
}
.ati .ati-footer__address p + p {
  margin-top: 0.5rem;
}
.ati .ati-footer__address .ati-footer__gap {
  padding-top: 0.75rem;
}
.ati .ati-footer__base {
  border-top: 1px solid var(--ati-navy-line);
}
.ati .ati-footer__base p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-block: 1.5rem;
  font-size: 0.875rem;
}
@media (min-width: 1024px) {
  .ati .ati-footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-block: 5rem;
  }
  .ati .ati-footer__brand {
    grid-column: span 4;
  }
  .ati .ati-footer__products {
    grid-column: span 2;
  }
  .ati .ati-footer__grades,
  .ati .ati-footer__contact {
    grid-column: span 3;
  }
}

/* ---------- 5. Sections ---------- */

/* Heroes: a photograph or footage under a navy scrim. */
.ati .ati-hero,
.ati .ati-band,
.ati .ati-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ati-navy-ink);
  color: var(--ati-on-navy);
}
.ati .ati-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ati .ati-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 11 36 / 0.9) 0%, rgb(0 11 36 / 0.7) 50%, rgb(0 11 36 / 0.35) 100%);
}
.ati .ati-hero--home .ati-hero__scrim {
  background: linear-gradient(90deg, rgb(0 11 36 / 0.94) 0%, rgb(0 11 36 / 0.82) 45%, rgb(0 11 36 / 0.55) 100%);
}
.ati .ati-hero--video .ati-hero__scrim {
  background: linear-gradient(90deg, rgb(0 11 36 / 0.92) 0%, rgb(0 11 36 / 0.7) 50%, rgb(0 11 36 / 0.35) 100%);
}
.ati .ati-hero__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -1;
  height: 14rem;
  background: linear-gradient(0deg, rgb(0 11 36 / 0.92), rgb(0 11 36 / 0));
}
.ati .ati-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 22rem;
  padding-block: 6rem 3.5rem;
}
.ati .ati-hero--tall .ati-hero__inner,
.ati .ati-hero--video .ati-hero__inner {
  min-height: 34rem;
}
.ati .ati-hero--video .ati-hero__inner {
  padding-bottom: 4rem;
}
/* The homepage hero sits under the floating header, so it carries more headroom. */
.ati .ati-hero--home .ati-hero__inner {
  min-height: 36rem;
  padding-block: 7rem 0;
}
.ati .ati-hero__copy {
  max-width: 56rem;
  padding-top: 2.5rem;
}
.ati .ati-hero--home .ati-hero__copy {
  max-width: 48rem;
  padding-block: 0 3rem;
}
.ati .ati-hero--video .ati-hero__copy {
  padding-top: 0;
}
.ati .ati-hero__lede {
  margin-top: 1.25rem;
  color: var(--ati-on-navy-2);
}
.ati .ati-hero--home .ati-hero__lede,
.ati .ati-hero--video .ati-hero__lede {
  margin-top: 1.5rem;
}
.ati .ati-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.ati .ati-hero--home .ati-hero__actions {
  margin-top: 2.25rem;
}
.ati .ati-crumbs {
  margin-bottom: auto;
}
.ati .ati-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ati-on-navy-2);
}
.ati .ati-crumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ati .ati-crumbs a:hover {
  --ati-a: var(--ati-on-navy);
  text-decoration: underline;
}
.ati .ati-crumbs--light ol {
  color: var(--ati-steel-500);
}
.ati .ati-crumbs--light a:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-crumbs--light [aria-current] {
  color: var(--ati-ink);
}
.ati .ati-crumbbar {
  border-bottom: 1px solid var(--ati-steel-200);
  background: var(--ati-steel-50);
}
.ati .ati-crumbbar .ati-crumbs {
  padding-block: 1rem;
}

/* The fact strip under the homepage hero copy. */
.ati .ati-facts {
  display: grid;
  --ati-rule-color: rgb(238 241 247 / 0.2);
}
.ati .ati-facts li {
  padding-block: 1.25rem;
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.375;
  text-wrap: balance;
}
.ati .ati-facts li + li {
  border-top: 1px solid rgb(238 241 247 / 0.2);
}
.ati .ati-creds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  padding-bottom: 1rem;
  font-size: var(--ati-meta);
  font-weight: 600;
  color: var(--ati-on-navy-2);
}
.ati .ati-creds .ati-icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.625rem;
  color: var(--ati-on-navy);
}
/* Middle dots between the credentials, on one line from tablet up; stacked on phones. */
.ati .ati-creds span + span::before {
  content: "\00b7";
  margin-inline: 0.75rem;
  opacity: 0.5;
}
@media (max-width: 639px) {
  .ati .ati-creds span:first-of-type {
    flex-basis: calc(100% - 1.75rem);
  }
  .ati .ati-creds span + span {
    flex-basis: 100%;
    padding-left: 1.75rem;
  }
  .ati .ati-creds span + span::before {
    content: none;
  }
}
.ati .ati-facts__badge img {
  display: block;
  height: 3rem;
  width: auto;
  transition: transform 300ms var(--ati-ease);
}
.ati .ati-facts__badge a:hover img {
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .ati .ati-hero--home .ati-hero__inner {
    min-height: 40rem;
  }
  .ati .ati-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  .ati .ati-facts__badge {
    align-self: center;
  }
  .ati .ati-facts li {
    padding-block: 1.75rem;
    padding-right: 2rem;
  }
  .ati .ati-facts li + li {
    padding-inline: 2rem 0;
    border-top: 0;
    border-left: 1px solid rgb(238 241 247 / 0.2);
  }
}
@media (min-width: 1024px) {
  .ati .ati-hero__inner {
    min-height: 26rem;
    padding-bottom: 4rem;
  }
  .ati .ati-hero--tall .ati-hero__inner,
  .ati .ati-hero--video .ati-hero__inner {
    min-height: 38rem;
  }
  .ati .ati-hero--home .ati-hero__inner {
    min-height: 44rem;
    padding-bottom: 0;
  }
  .ati .ati-hero--home .ati-hero__copy {
    padding-bottom: 4rem;
  }
}

/* The grade ticker. */
.ati .ati-ticker {
  border-top: 1px solid var(--ati-navy-line);
  background: var(--ati-navy);
  color: var(--ati-on-navy);
}
.ati-marquee {
  display: flex;
  overflow: hidden;
}
.ati-marquee__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
}
.ati-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.ati .ati-ticker__item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-right: 1px solid var(--ati-navy-line);
  white-space: nowrap;
}
.ati .ati-ticker__item:hover .ati-label {
  text-decoration: underline;
}
.ati .ati-ticker__forms {
  font-size: var(--ati-small);
  color: var(--ati-on-navy-2);
}

/* Section opener: heading left, a short paragraph right. */
.ati .ati-intro {
  display: grid;
  gap: 1.5rem;
}
.ati .ati-intro__text {
  color: var(--ati-steel-500);
}
.ati .ati-after-intro {
  margin-top: 3rem;
}
.ati .ati-after-intro--lg,
.ati .ati-mt-14 {
  margin-top: 3.5rem;
}
@media (min-width: 1024px) {
  .ati .ati-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }
}

/* Photo cards: the whole card is the link. */
.ati .ati-cards {
  display: grid;
  gap: 1.25rem;
}
.ati .ati-card {
  position: relative;
  display: block;
  --ati-a: var(--ati-on-navy);
}
.ati .ati-card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ati-navy-ink);
}
.ati .ati-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 11 36 / 0) 40%, rgb(0 11 36 / 0.88) 100%);
}
.ati .ati-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--ati-on-navy);
}
.ati .ati-card__text {
  transition: transform 500ms var(--ati-ease);
}
.ati .ati-card:hover .ati-card__text {
  transform: translateY(-0.375rem);
}
.ati .ati-card__title {
  display: block;
}
.ati .ati-card__meta {
  display: block;
  margin-top: 0.5rem;
  color: var(--ati-on-navy-2);
}
.ati .ati-card__arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(238 241 247 / 0.5);
  transition:
    background-color 300ms,
    border-color 300ms,
    color 300ms;
}
.ati .ati-card__arrow .ati-icon {
  transition: transform 300ms var(--ati-ease);
}
.ati .ati-card:hover .ati-card__arrow {
  border-color: var(--ati-on-navy);
  background: var(--ati-on-navy);
  color: var(--ati-navy);
}
.ati .ati-card:hover .ati-card__arrow .ati-icon {
  transform: translateX(2px);
}
@media (min-width: 768px) {
  .ati .ati-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The grade list: two groups, each row a grade with its forms and a quote link. */
.ati .ati-anchor {
  scroll-margin-top: var(--ati-header-h);
}
.ati .ati-grades {
  display: grid;
  gap: 3.5rem;
}
.ati .ati-grades__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
}
.ati .ati-grades__head .ati-link-arrow {
  font-size: 0.875rem;
}
.ati .ati-rows > li + li {
  border-top: 1px solid var(--ati-steel-200);
}
.ati .ati-row {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.25rem;
}
.ati .ati-row--lg {
  padding-block: 1.5rem;
}
.ati .ati-row__main {
  transition: transform 500ms var(--ati-ease);
}
.ati .ati-row:hover .ati-row__main {
  transform: translateX(0.5rem);
}
.ati .ati-row__name {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.375;
  transition: color 300ms;
}
.ati .ati-row:hover .ati-row__name {
  color: var(--ati-navy);
}
.ati .ati-row__data {
  margin-left: 0.5rem;
  font-size: var(--ati-meta);
  font-weight: 400;
  color: var(--ati-steel-500);
}
.ati .ati-row__sub {
  margin-top: 0.25rem;
  font-size: var(--ati-meta);
  color: var(--ati-steel-500);
}
.ati .ati-row__sub a:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-row__summary {
  max-width: 66ch;
  margin-top: 0.5rem;
  color: var(--ati-steel-500);
}
.ati .ati-row__title a:hover {
  --ati-a: var(--ati-navy);
  text-decoration: underline;
}
.ati .ati-row__quote {
  --ati-a: var(--ati-navy);
  justify-self: start;
}
@media (min-width: 640px) {
  .ati .ati-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
  .ati .ati-row--lg {
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .ati .ati-grades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

/* Split: a framed photograph beside copy. */
.ati .ati-split {
  display: grid;
  gap: 3rem;
}
.ati .ati-split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ati-steel-100);
}
.ati .ati-split__copy {
  max-width: 66ch;
  margin-top: 2rem;
  color: var(--ati-steel-500);
}
.ati .ati-split__copy p + p {
  margin-top: 1rem;
}
.ati .ati-split__copy strong {
  color: var(--ati-ink);
}
.ati .ati-split__copy a {
  text-decoration: underline;
}
.ati .ati-split__copy a:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-split__more {
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .ati .ati-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 4rem;
  }
  .ati .ati-split__media {
    aspect-ratio: 5 / 6;
  }
}

/* Two columns, 5 and 7 of twelve: a statement beside its copy. */
.ati .ati-cols {
  display: grid;
  gap: 3rem;
}
.ati .ati-cols__copy {
  max-width: 66ch;
  color: var(--ati-steel-500);
}
.ati .ati-cols__copy > * + * {
  margin-top: 1.25rem;
}
.ati .ati-cols__copy--tight > * + * {
  margin-top: 1rem;
}
.ati .ati-cols__copy strong {
  color: var(--ati-ink);
}
.ati .ati-cols__copy a {
  text-decoration: underline;
}
.ati .ati-cols__copy a:hover {
  --ati-a: var(--ati-navy);
}
@media (min-width: 1024px) {
  .ati .ati-cols {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  .ati .ati-cols--4-8 {
    grid-template-columns: 4fr 8fr;
  }
  .ati .ati-cols--5-7-wide {
    grid-template-columns: 5fr 7fr;
  }
  .ati .ati-cols__copy--drop {
    padding-top: 0.75rem;
  }
}

/* Industries band: the photograph opens from an inset window as it scrolls in. */
.ati .ati-band__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ati .ati-band__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.ati .ati-band__media img {
  position: absolute;
  inset: 0;
  height: 100%;
}
.ati .ati-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 11 36 / 0.92) 0%, rgb(0 11 36 / 0.65) 55%, rgb(0 11 36 / 0.35) 100%);
}
.ati .ati-band__title {
  max-width: 56rem;
}
.ati .ati-band__text {
  margin-top: 1.5rem;
  color: var(--ati-on-navy-2);
}
.ati .ati-band__cta {
  margin-top: 2.5rem;
}

/* Quote band: the closing offer on most pages. */
.ati .ati-quote {
  background: var(--ati-navy);
}
.ati .ati-quote__photo,
.ati .ati-quote__veil {
  position: absolute;
  inset-block: 0;
  right: 0;
  z-index: -1;
  display: none;
  width: 50%;
}
.ati .ati-quote__photo {
  opacity: 0.35;
}
.ati .ati-quote__veil {
  background: linear-gradient(90deg, var(--ati-navy) 0%, rgb(0 28 87 / 0.4) 100%);
}
.ati .ati-quote__grid {
  display: grid;
  gap: 3rem;
}
.ati .ati-quote__lead {
  margin-top: 1.5rem;
}
.ati .ati-quote__text {
  margin-top: 0.5rem;
  color: var(--ati-on-navy-2);
}
.ati .ati-quote__contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}
.ati .ati-quote__phone {
  font-size: var(--ati-h2);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ati .ati-quote__phone:hover {
  text-decoration: underline;
}
.ati .ati-quote__email {
  --ati-a: var(--ati-on-navy-2);
  font-size: 1.125rem;
}
.ati .ati-quote__email:hover {
  --ati-a: var(--ati-on-navy);
}
.ati .ati-quote__cta {
  align-self: flex-start;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  .ati .ati-quote__photo,
  .ati .ati-quote__veil {
    display: block;
  }
  .ati .ati-quote__grid {
    grid-template-columns: 7fr 5fr;
  }
  .ati .ati-quote__contact {
    padding-left: 2rem;
  }
}

/* Stock table: every grade against every form. */
.ati .ati-stock {
  overflow-x: auto;
  border: 1px solid var(--ati-steel-200);
  background: var(--ati-surface);
}
.ati .ati-stock__table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.ati .ati-stock__table thead > tr > th,
.ati .ati-stock__table tbody > tr > th,
.ati .ati-stock__table tbody > tr > td {
  border: 0;
  background: none;
  line-height: inherit;
  text-align: left;
  vertical-align: top;
}
.ati .ati-stock__table thead > tr > th {
  padding: 1rem 1.5rem;
  background: var(--ati-navy);
  color: var(--ati-on-navy);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ati .ati-stock__table thead a:hover {
  text-decoration: underline;
}
.ati .ati-stock__table tbody > tr > th,
.ati .ati-stock__table tbody > tr > td {
  padding: 1.5rem;
  transition: background-color 300ms;
}
.ati .ati-stock__table tbody > tr + tr > th,
.ati .ati-stock__table tbody > tr + tr > td {
  border-top: 1px solid var(--ati-steel-200);
}
.ati .ati-stock__table tbody tr:hover > th,
.ati .ati-stock__table tbody tr:hover > td {
  background: var(--ati-steel-50);
}
.ati .ati-stock__grade {
  display: block;
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.375;
}
.ati .ati-stock__family {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--ati-meta);
  font-weight: 400;
  color: var(--ati-steel-500);
}
.ati .ati-stock__none {
  color: var(--ati-steel-500);
}
.ati .ati-stock__title {
  display: block;
  font-weight: 500;
  line-height: 1.375;
}
.ati .ati-stock__title:hover {
  --ati-a: var(--ati-navy);
  text-decoration: underline;
}
.ati .ati-stock__quote {
  --ati-a: var(--ati-navy);
  display: flex;
  width: fit-content;
  margin-top: 0.75rem;
}

/* Catalog: a search box beside a ruled list of products. */
.ati .ati-catalog__form {
  margin-top: 2rem;
}
.ati .ati-catalog__form:first-child {
  margin-top: 0;
}
.ati .ati-catalog__form .ati-field {
  margin-top: 0.75rem;
}
.ati .ati-catalog__count {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ati-steel-500);
}
.ati .ati-catalog__empty {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ati-ink);
}
.ati .ati-catalog__empty[hidden],
.ati .ati-row[hidden] {
  display: none;
}

/* Fact columns under a form hero. */
.ati .ati-factcols {
  display: grid;
  gap: 2.5rem;
}
.ati .ati-factcols li {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ati-ink);
}
.ati .ati-factcols p {
  margin-top: 0.75rem;
  color: var(--ati-steel-500);
}
@media (min-width: 768px) {
  .ati .ati-factcols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* Claims: three statements in condensed capitals. */
.ati .ati-claims {
  margin-top: 2rem;
  border-bottom: 2px solid var(--ati-ink);
}
.ati .ati-claims li {
  padding-block: 1.25rem;
  font-size: 1.875rem;
  line-height: 1.2;
}
.ati .ati-claims li + li {
  border-top: 1px solid var(--ati-steel-200);
}

/* Shared-edge cells: product sizes, about-page forms. */
.ati .ati-cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  border-top: 1px solid var(--ati-steel-200);
  border-left: 1px solid var(--ati-steel-200);
}
.ati .ati-cells > li {
  border-right: 1px solid var(--ati-steel-200);
  border-bottom: 1px solid var(--ati-steel-200);
}
.ati .ati-cells--sizes > li {
  padding: 0.75rem 1rem;
  font-variant-numeric: tabular-nums;
}
.ati .ati-cells--forms {
  margin-top: 2.5rem;
}
.ati .ati-cells--forms > li {
  background: var(--ati-surface);
}
.ati .ati-cells__item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 650;
}
.ati a.ati-cells__item:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-cells__item .ati-icon {
  color: var(--ati-navy);
}
@media (min-width: 640px) {
  .ati .ati-cells--sizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ati .ati-cells--forms {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* A wide framed photograph, shown whole. */
.ati .ati-figure {
  padding-bottom: 5rem;
}
.ati .ati-figure__frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ati-navy-ink);
}
@media (min-width: 1024px) {
  .ati .ati-figure {
    padding-bottom: 7rem;
  }
  .ati .ati-figure__frame {
    aspect-ratio: 21 / 9;
  }
}

/* Product page */
.ati .ati-product {
  display: grid;
  gap: 3rem;
}
.ati .ati-product__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ati-steel-100);
}
.ati .ati-product__caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ati-steel-500);
}
.ati .ati-product__meta {
  margin-top: 1rem;
  font-size: var(--ati-meta);
  color: var(--ati-steel-500);
}
.ati .ati-product__meta a:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-product__body {
  margin-top: 2rem;
}
.ati .ati-product__block {
  margin-top: 2.5rem;
}
.ati .ati-product__quote {
  margin-top: 2.5rem;
  padding-top: 2rem;
}
.ati .ati-product__quote p {
  margin-top: 1rem;
  color: var(--ati-steel-500);
}
.ati .ati-ruled {
  margin-top: 1rem;
  border-block: 1px solid var(--ati-steel-200);
}
.ati .ati-ruled > li + li {
  border-top: 1px solid var(--ati-steel-200);
}
.ati .ati-ruled--head {
  margin-top: 2.5rem;
  border-block: 0;
}
.ati .ati-ruled__link {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-block: 1rem;
}
.ati .ati-ruled--head .ati-ruled__link {
  padding-block: 1.5rem;
}
.ati .ati-ruled__link:hover {
  --ati-a: var(--ati-navy);
}
.ati .ati-ruled__link .ati-icon {
  color: var(--ati-navy);
}
.ati .ati-ruled__form {
  font-weight: 650;
}
.ati .ati-ruled__title {
  margin-left: 0.5rem;
  color: var(--ati-steel-500);
}
.ati .ati-ruled__name {
  display: block;
}
.ati .ati-ruled__cats {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--ati-meta);
  font-weight: 400;
  color: var(--ati-steel-500);
}
@media (min-width: 1024px) {
  .ati .ati-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
  .ati .ati-product__figure {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

/* Contact page */
.ati .ati-contact {
  display: grid;
  gap: 3.5rem;
}
.ati .ati-contact__lede {
  margin-top: 1rem;
  color: var(--ati-steel-500);
}
.ati .ati-dl {
  margin-top: 2.5rem;
  border-block: 1px solid var(--ati-steel-200);
}
.ati .ati-dl > div {
  display: grid;
  gap: 0.25rem;
  padding-block: 1.25rem;
}
.ati .ati-dl > div + div {
  border-top: 1px solid var(--ati-steel-200);
}
.ati .ati-dl dt {
  padding-top: 0.25rem;
  color: var(--ati-steel-500);
}
.ati .ati-dl__big {
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.33;
  letter-spacing: -0.01em;
}
.ati .ati-dl__big a:hover {
  text-decoration: underline;
}
.ati .ati-panel {
  padding: 1.5rem;
  border: 1px solid var(--ati-steel-200);
  background: var(--ati-surface);
}
.ati .ati-panel__text {
  max-width: 66ch;
  margin-top: 1rem;
  color: var(--ati-steel-500);
}
.ati .ati-quoting {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ati-steel-200);
  background: var(--ati-steel-50);
  font-size: 1.125rem;
  line-height: 1.375;
}
.ati .ati-quoting strong {
  font-weight: 650;
}
.ati .ati-formslot {
  margin-top: 2rem;
}
.ati .ati-form > * + * {
  margin-top: 1.25rem;
}
.ati .ati-form__pair {
  display: grid;
  gap: 1.25rem;
}
.ati .ati-form label {
  color: var(--ati-steel-500);
}
.ati .ati-form label span {
  color: var(--ati-navy);
}
.ati .ati-form .ati-field {
  margin-top: 0.5rem;
}
.ati .ati-form__trap {
  position: absolute;
  left: -9999px;
}
.ati .ati-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.ati .ati-form__note {
  color: var(--ati-steel-500);
}
.ati .ati-notice {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ati-steel-200);
  border-left: 3px solid var(--ati-navy);
  background: var(--ati-steel-50);
}
.ati .ati-linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .ati .ati-dl > div {
    grid-template-columns: 10rem 1fr;
    gap: 1.5rem;
  }
  .ati .ati-panel {
    padding: 2.5rem;
  }
  .ati .ati-form__pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ati .ati-contact {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

/* Reading progress: a 2px navy bar across the top of long pages. */
.ati-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: 2px;
  background: var(--ati-navy);
  transform: scaleX(0);
  transform-origin: left;
}
body.admin-bar .ati-progress {
  top: 32px;
}

/* ---------- 6. Motion ---------- */

/*
 * Transform, opacity and clip-path only. Every entrance fills backwards, so nothing it sets outlives it.
 *  - Load entrances (.ati-enter, .ati-words-in, .ati-draw-in, .ati-settle) are plain CSS and start at first paint.
 *  - Scroll reveals (.ati-rise, .ati-fade, .ati-stagger, .ati-wipe, .ati-draw, .ati-words, .ati-reveal-card)
 *    hide only once the head script has set html[data-ati-motion] (JavaScript on, motion allowed);
 *    allti.js adds .is-inview and the entrance plays once.
 *  - --ati-i staggers siblings, --ati-d delays a whole group.
 * These classes work on any element, including Elementor widgets and containers.
 */
.ati-word {
  display: inline-block;
  /* clip-path keeps the baseline where overflow: hidden would move it. */
  clip-path: inset(-0.2em -0.1em -0.08em -0.1em);
}
.ati-word > span {
  display: inline-block;
}
.ati-parallax {
  overflow: hidden;
}
.ati-parallax__layer {
  position: absolute;
  inset: 0;
}
.ati-parallax__layer > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes ati-rise-in {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }
}
@keyframes ati-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes ati-word-in {
  from {
    transform: translateY(118%);
  }
}
@keyframes ati-draw-in {
  from {
    transform: scaleX(0);
  }
}
@keyframes ati-wipe-in {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes ati-settle-in {
  from {
    transform: scale(1.16);
  }
}
@keyframes ati-menu-in {
  from {
    transform: translateY(-6px);
  }
}
@keyframes ati-marquee {
  to {
    transform: translateX(calc(-100% / var(--ati-marquee-copies, 3)));
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Load entrances */
  .ati-enter {
    animation: ati-rise-in 900ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-d, 0ms) + var(--ati-i, 0) * var(--ati-step, 90ms));
  }
  .ati-words-in .ati-word > span {
    animation: ati-word-in 1000ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-d, 0ms) + var(--ati-i, 0) * 60ms);
  }
  .ati-draw-in::before {
    animation: ati-draw-in 1400ms var(--ati-ease) backwards;
    animation-delay: var(--ati-d, 0ms);
  }
  .ati-settle {
    animation: ati-settle-in 2600ms var(--ati-ease) backwards;
  }
  .ati .ati-mega {
    animation: ati-menu-in 220ms var(--ati-ease);
  }
  .ati .ati-mega .ati-enter {
    animation-duration: 520ms;
  }
  /* The phone menu's contents wait for the panel to open, and replay each time it does. */
  .ati .ati-mobile .ati-enter {
    animation: none;
  }
  .ati.is-open .ati-mobile .ati-enter {
    animation: ati-rise-in 900ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-d, 0ms) + var(--ati-i, 0) * 90ms);
  }

  /* Scroll reveals: the entrance each kind plays once it is in view. */
  .ati-rise.is-inview,
  .ati-reveal-card.is-inview,
  .ati-stagger.is-inview > * {
    animation: ati-rise-in 900ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-i, 0) * 80ms);
  }
  .ati-fade.is-inview {
    animation: ati-fade-in 900ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-i, 0) * 80ms);
  }
  .ati-words.is-inview .ati-word > span {
    animation: ati-word-in 1000ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-i, 0) * 55ms);
  }
  .ati-draw.is-inview::before {
    animation: ati-draw-in 1300ms var(--ati-ease) backwards;
  }
  .ati-wipe.is-inview {
    animation: ati-wipe-in 1200ms cubic-bezier(0.76, 0, 0.24, 1) backwards;
  }
  .ati-wipe.is-inview img,
  .ati-reveal-card.is-inview img {
    animation: ati-settle-in 1800ms var(--ati-ease) backwards;
    animation-delay: calc(var(--ati-i, 0) * 80ms);
  }

  .ati-stagger > :nth-child(2) { --ati-i: 1; }
  .ati-stagger > :nth-child(3) { --ati-i: 2; }
  .ati-stagger > :nth-child(4) { --ati-i: 3; }
  .ati-stagger > :nth-child(5) { --ati-i: 4; }
  .ati-stagger > :nth-child(6) { --ati-i: 5; }
  .ati-stagger > :nth-child(7) { --ati-i: 6; }
  .ati-stagger > :nth-child(n + 8) { --ati-i: 7; }

  /* The ticker runs on its own; it holds still under the pointer, on keyboard focus, and off screen. */
  .ati-marquee__track {
    animation: ati-marquee var(--ati-marquee-duration, 70s) linear infinite;
  }
  .ati-marquee:hover .ati-marquee__track,
  .ati-marquee:focus-within .ati-marquee__track,
  .ati-marquee.is-offscreen .ati-marquee__track {
    animation-play-state: paused;
  }
}

/* Delay steps for hand-placed staggers, usable from Elementor's CSS Classes field. */
.ati-d1 { --ati-i: 1; }
.ati-d2 { --ati-i: 2; }
.ati-d3 { --ati-i: 3; }
.ati-d4 { --ati-i: 4; }
.ati-d5 { --ati-i: 5; }
.ati-d6 { --ati-i: 6; }
.ati-d7 { --ati-i: 7; }

/* What a reveal looks like while it waits. Screen only, so print and reduced motion never see a hidden block. */
@media screen and (prefers-reduced-motion: no-preference) {
  [data-ati-motion] .ati-rise:not(.is-inview),
  [data-ati-motion] .ati-fade:not(.is-inview),
  [data-ati-motion] .ati-reveal-card:not(.is-inview),
  [data-ati-motion] .ati-stagger:not(.is-inview) > * {
    opacity: 0;
  }
  [data-ati-motion] .ati-words:not(.is-inview) .ati-word > span {
    transform: translateY(118%);
  }
  [data-ati-motion] .ati-draw:not(.is-inview)::before {
    transform: scaleX(0);
  }
  [data-ati-motion] .ati-wipe:not(.is-inview) {
    clip-path: inset(100% 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.allti-page) {
    scroll-behavior: auto;
  }
  .ati *,
  .ati *::before,
  .ati *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
  /* Without motion the ticker is a strip that scrolls by hand. */
  .ati-marquee {
    overflow-x: auto;
  }
  .ati-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

/* The Elementor editor shows everything, whatever its reveal state. */
.elementor-editor-active .ati-rise,
.elementor-editor-active .ati-fade,
.elementor-editor-active .ati-reveal-card,
.elementor-editor-active .ati-wipe,
.elementor-editor-active .ati-stagger > *,
.elementor-editor-active .ati-word > span {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}
.elementor-editor-active .ati-draw::before {
  transform: none !important;
}

/* ---------- 7. Elementor bridge ---------- */

/*
 * The same looks for native Elementor widgets. Add the class in Advanced > CSS Classes.
 *   Heading widget:  ati-caps ati-display | ati-caps ati-h2 | ati-caps ati-card-title | ati-h3
 *   Button widget:   ati-btn--primary | ati-btn--light | ati-btn--outline | ati-btn--outline-light
 *   Text widget:     ati-lede | ati-muted
 *   Any widget or container: the motion classes above.
 */
.elementor-widget-heading.ati-caps .elementor-heading-title {
  font-family: var(--ati-font);
  font-variation-settings: "wdth" 74;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.elementor-widget-heading.ati-display .elementor-heading-title {
  font-size: var(--ati-display);
  line-height: 0.95;
}
.elementor-widget-heading.ati-h2 .elementor-heading-title {
  font-size: var(--ati-h2);
  line-height: 1;
}
.elementor-widget-heading.ati-card-title .elementor-heading-title {
  font-size: var(--ati-card);
  line-height: 1;
}
.elementor-widget-heading.ati-h3 .elementor-heading-title {
  font-family: var(--ati-font);
  font-size: var(--ati-h3);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.elementor-widget.ati-lede,
.elementor-widget.ati-lede p {
  font-family: var(--ati-font);
  font-size: var(--ati-lede);
  line-height: 1.55;
}
.elementor-widget.ati-muted,
.elementor-widget.ati-muted p {
  color: var(--ati-steel-500);
}

.elementor-widget-button[class*="ati-btn--"] .elementor-button,
.ati .ati-formslot .elementor-form .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 0;
  font-family: var(--ati-font);
  font-size: var(--ati-small);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  background-color: var(--ati-btn-bg, transparent);
  background-image: linear-gradient(var(--ati-btn-fill, transparent), var(--ati-btn-fill, transparent));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  color: var(--ati-btn-text);
  fill: var(--ati-btn-text);
  transition:
    background-size 420ms var(--ati-ease),
    color 260ms var(--ati-ease);
}
.elementor-widget-button[class*="ati-btn--"] .elementor-button:hover,
.elementor-widget-button[class*="ati-btn--"] .elementor-button:focus,
.ati .ati-formslot .elementor-form .elementor-button:hover,
.ati .ati-formslot .elementor-form .elementor-button:focus {
  background-color: var(--ati-btn-bg, transparent);
  background-size: 100% 100%;
  color: var(--ati-btn-text-hover, var(--ati-btn-text));
}
.elementor-widget-button.ati-btn--primary,
.ati .ati-formslot .elementor-form {
  --ati-btn-bg: var(--ati-navy);
  --ati-btn-fill: var(--ati-navy-ink);
  --ati-btn-text: var(--ati-on-navy);
}
.elementor-widget-button.ati-btn--light {
  --ati-btn-bg: var(--ati-paper);
  --ati-btn-fill: var(--ati-steel-200);
  --ati-btn-text: var(--ati-navy);
}
.elementor-widget-button.ati-btn--outline {
  --ati-btn-fill: var(--ati-navy);
  --ati-btn-text: var(--ati-navy);
  --ati-btn-text-hover: var(--ati-on-navy);
}
.elementor-widget-button.ati-btn--outline .elementor-button {
  box-shadow: inset 0 0 0 1px var(--ati-navy);
}
.elementor-widget-button.ati-btn--outline-light {
  --ati-btn-fill: var(--ati-on-navy);
  --ati-btn-text: var(--ati-on-navy);
  --ati-btn-text-hover: var(--ati-navy);
}
.elementor-widget-button.ati-btn--outline-light .elementor-button {
  box-shadow: inset 0 0 0 1px rgb(238 241 247 / 0.55);
}

/* An Elementor form placed in the contact panel takes the theme's field style. */
.ati .ati-formslot .elementor-form .elementor-field-textual {
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ati-steel-200);
  border-radius: 0;
  background: var(--ati-surface);
  color: var(--ati-ink);
  font-family: var(--ati-font);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.ati .ati-formslot .elementor-form .elementor-field-textual:hover {
  border-color: var(--ati-steel-500);
}
.ati .ati-formslot .elementor-form .elementor-field-textual:focus {
  outline: 2px solid var(--ati-navy);
  outline-offset: 0;
  border-color: var(--ati-navy);
  box-shadow: none;
}
.ati .ati-formslot .elementor-form .elementor-field-label {
  font-family: var(--ati-font);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ati-steel-500);
}
