/* ==========================================================================
   Vanguard Metal Coating
   Brand: navy #1C3E70, gold #CEAB2C, steel blue #215387 (from the live site).
   ========================================================================== */

:root {
  --navy: #1C3E70;
  --navy-900: #0F2546;
  --navy-800: #142F57;
  --steel: #215387;
  --steel-500: #2B6CB0;
  --gold: #CEAB2C;
  --gold-600: #B8961F;
  --gold-100: #F7EFD2;
  --ink: #1A202C;
  --text: #3B4556;
  --muted: #5F6F84;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --bg-steel: #EAF0F7;
  --danger: #B42318;
  --success: #1F7A4D;

  --font-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 70, .06), 0 1px 3px rgba(15, 37, 70, .08);
  --shadow: 0 10px 30px -12px rgba(15, 37, 70, .25);
  --shadow-lg: 0 24px 60px -20px rgba(15, 37, 70, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2 * var(--gutter)); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.muted { color: var(--muted); }
.icon { flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.draft-flag { background: repeating-linear-gradient(45deg, #fff4cc, #fff4cc 12px, #ffecb0 12px, #ffecb0 24px); color: #5c4400; text-align: center; font-size: .85rem; font-weight: 600; padding: 4px 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--navy); --fg-btn: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.55em; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  background: var(--bg-btn); color: var(--fg-btn); overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  box-shadow: var(--shadow-sm);
}
.btn::after { /* sheen sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg-btn); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { transition: transform .3s var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--gold { --bg-btn: var(--gold); --fg-btn: var(--navy-900); }
.btn--gold:hover { --bg-btn: #D9B83A; }
.btn--navy { --bg-btn: var(--navy); }
.btn--navy:hover { --bg-btn: var(--navy-800); }
.btn--outline { --bg-btn: transparent; --fg-btn: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { --bg-btn: var(--navy); --fg-btn: #fff; box-shadow: inset 0 0 0 2px var(--navy), var(--shadow); }
.btn--ghost-light { --bg-btn: rgba(255,255,255,.08); --fg-btn: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg-btn: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { padding: .7em 1.15em; font-size: .92rem; }
.btn--caps { text-transform: uppercase; letter-spacing: .06em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn__spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--steel); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease-spring); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Hiring bar ---------- */
.hiring { background: var(--navy-900); color: #dbe5f3; font-size: .92rem; }
.hiring[hidden] { display: none; }
.hiring__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; position: relative; padding-right: 36px; }
.hiring p { margin: 0; display: flex; align-items: center; gap: 10px; }
.hiring a { color: var(--gold); font-weight: 600; }
.hiring a:hover { color: #fff; }
.hiring__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(206,171,44,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(206,171,44,0); } 100% { box-shadow: 0 0 0 0 rgba(206,171,44,0); } }
.hiring__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #9fb2cc; cursor: pointer; padding: 6px; border-radius: 6px; }
@media (max-width: 560px) { .hiring { font-size: .85rem; } .hide-sm { display: none; } }
.hiring__close:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, transform .35s var(--ease), background-color .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile nav panel. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15,37,70,.25); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand img { width: auto; height: 56px; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--navy); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--navy); }
.nav__link--contact { display: none; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--gold-600); transition: transform .4s var(--ease-spring); }
.header-phone:hover .icon { transform: rotate(-12deg) scale(1.1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; border-radius: 10px; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .brand img { height: 46px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .site-header__actions { margin-left: auto; gap: 6px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 10px; }
  .nav {
    position: fixed; inset: calc(var(--nav-top, 70px)) 0 0 0; margin: 0;
    background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav__link { font-size: 1.5rem; padding: 16px 0; }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav__link--contact { display: block; }
  .nav__mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
  .nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 20px; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b7c2d1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.has-dark-hero .crumbs { position: absolute; z-index: 2; left: 0; right: 0; }
.has-dark-hero .crumbs ol, .has-dark-hero .crumbs a { color: rgba(255,255,255,.7); }
.has-dark-hero .crumbs a:hover { color: #fff; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - 110px));
  display: flex; align-items: center;
  background: var(--navy-900); color: #fff;
  padding-block: 96px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,37,70,.97) 0%, rgba(15,37,70,.92) 34%, rgba(15,37,70,.55) 58%, rgba(15,37,70,.12) 82%),
    linear-gradient(0deg, rgba(15,37,70,.6), transparent 40%);
}
.hero__content { max-width: 740px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: #d8e2f0; max-width: 560px; }
.hero__checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 10px; }
.hero__checks li { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; }
.hero__checks .icon { color: var(--navy-900); background: var(--gold); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero [data-hero-in] { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero { padding-block: 72px 88px; min-height: 0; }
  .hero__media img { object-position: 30% center; }   /* spray gun on the lighter right side of the overlay */
  .hero::before { background: linear-gradient(90deg, rgba(15,37,70,.97) 0%, rgba(15,37,70,.9) 50%, rgba(15,37,70,.62) 100%); }   /* same as .page-hero--img */
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -56px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; color: #8A6D0F; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; counter-reset: reason; list-style: none; padding: 0; margin: 0; }
.reason {
  counter-increment: reason; position: relative; padding: 28px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.reason::before {
  content: "0" counter(reason); display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--gold-600); letter-spacing: .08em;
}
.reason::after { content: ""; position: absolute; left: 24px; top: 52px; width: 24px; height: 2px; background: var(--gold); transition: width .4s var(--ease); }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.reason:hover::after { width: 56px; }
.reason h3 { font-size: 1.25rem; margin-bottom: .45em; }
.reason p { margin: 0; font-size: .98rem; }

/* ---------- Spray paint zone (home "Why Vanguard") ---------- */
.spray-zone { position: relative; isolation: isolate; overflow: hidden; }
.spray-zone > .container { position: relative; z-index: 1; }
.spray-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity 1.4s var(--ease); }
.spray-canvas.is-drying { opacity: 0; }
.spray-zone.is-armed { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='13' fill='none' stroke='%231C3E70' stroke-width='1.5' stroke-dasharray='3 3'/%3E%3Ccircle cx='18' cy='18' r='1.5' fill='%231C3E70'/%3E%3C/svg%3E") 18 18, crosshair; }
.spray-zone .eyebrow { display: flex; }   /* block-level, so the swatches float beside the headline, not the eyebrow */
.spray-zone .section__head { max-width: none; }   /* full width so the swatches sit at the container's right edge */
.spray-zone .section__head > :not(.spray-swatches) { max-width: 760px; }
.spray-swatches { float: right; display: flex; gap: 10px; margin: 0 0 12px 20px; }
.spray-swatches[hidden] { display: none; }
.spray-swatch { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(15, 37, 70, .14); border-radius: 4px; background: var(--swatch); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.spray-swatch:hover { transform: translateY(-2px); }
.spray-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--navy); }
.spray-zone.is-armed { touch-action: none; }   /* while armed, a finger drag sprays instead of scrolling */
@media (max-width: 760px) {
  .spray-zone .section__head { display: flex; flex-direction: column; }
  .spray-zone .eyebrow, .spray-zone #why-h { order: -1; }   /* swatches drop below the headline */
  .spray-swatches { float: none; align-self: center; margin: 4px 0 20px; }
}

/* ---------- Coating cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); padding: 28px; text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--steel-500)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card:hover::before { transform: scaleX(1); }
.card__img { width: 104px; height: 104px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--bg-steel); transition: transform .6s var(--ease), box-shadow .4s; }
.card:hover .card__img { transform: scale(1.06) rotate(-3deg); box-shadow: 0 0 0 6px var(--gold-100); }
.card h3 { margin-bottom: .2em; }
.card__tag { font-size: .95rem; font-weight: 600; color: var(--steel); margin-bottom: .8em; }
.card p { font-size: .98rem; }
.card .link-arrow { margin-top: auto; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--gold-600); margin-top: 3px; width: 20px; height: 20px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.process::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; top: 31px; left: 10%; width: 80%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--steel-500)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.process.is-in::after { transform: scaleX(1); }
.process li { position: relative; text-align: center; padding: 0 6px; }
.process__icon { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .5s, color .5s, transform .5s var(--ease-spring); }
.process.is-in .process__icon { box-shadow: inset 0 0 0 2px var(--gold); color: var(--navy); }
.process li:hover .process__icon { transform: translateY(-4px) scale(1.05); }
.process h3 { font-size: 1.15rem; margin-bottom: .3em; }
.process p { font-size: .95rem; margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 24px; }
  .process::before, .process::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .process::after { transform: scaleY(0); transform-origin: top; }
  .process.is-in::after { transform: scaleY(1); }
  .process li { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .process__icon { margin: 0; grid-row: span 2; }
}

/* ---------- Dark band ---------- */
.band-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(43,108,176,.35), transparent 60%), var(--navy-900); color: #cdd8e8; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold); }
.band-dark a:not(.btn) { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e6edf7; font-weight: 500; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { background: rgba(206,171,44,.14); border-color: var(--gold); transform: translateY(-2px); }
.chip .icon { color: var(--gold); }
.chips--light .chip { background: #fff; border-color: var(--line); color: var(--navy); }
.chips--light .chip:hover { background: var(--gold-100); }

/* ---------- Facts (GEO-friendly key facts) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px -1px 0 0; }
.facts dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.25; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #d6e0ee; padding-block: clamp(96px, 12vw, 150px) clamp(64px, 8vw, 100px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 420px at 90% 0%, rgba(43,108,176,.45), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(206,171,44,.12), transparent 60%); }
.page-hero::after { /* fine engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: #d0dbea; max-width: 720px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero [data-hero-in] { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 100ms + 100ms); }
.page-hero--img .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--img .page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); animation: kenburns 18s var(--ease) both; }
.page-hero--img::before { background: linear-gradient(90deg, rgba(15,37,70,.97) 0%, rgba(15,37,70,.9) 50%, rgba(15,37,70,.62) 100%); }

/* ---------- Coating matcher ---------- */
.matcher { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.matcher__row {
  display: grid; grid-template-columns: 1.2fr .9fr 1.4fr auto; gap: 20px; align-items: center;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.matcher__row:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.matcher__problem { font-weight: 600; color: var(--ink); }
.matcher__coating { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.matcher__parts { font-size: .95rem; color: var(--muted); }
.matcher__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-steel); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease-spring); }
.matcher__row:hover .matcher__go { background: var(--gold); transform: rotate(-45deg); }
.matcher__head { display: grid; grid-template-columns: 1.2fr .9fr 1.4fr 36px; gap: 20px; padding: 0 23px 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) {
  .matcher__head { display: none; }
  .matcher__row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .matcher__problem { grid-column: 1; }
  .matcher__coating { grid-column: 1; grid-row: 2; }
  .matcher__parts { grid-column: 1; grid-row: 3; }
  .matcher__go { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- Sticky sub-nav (services) ---------- */
.subnav { position: sticky; top: 68px; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .35s var(--ease); }
body.header-hidden .subnav { top: 0; }
.subnav__list { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 10px 0; overflow-x: auto; scrollbar-width: none; position: relative; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; position: relative; z-index: 1; transition: color .3s; }
.subnav a.is-active { color: var(--navy-900); }
.subnav__pill { position: absolute; top: 10px; height: calc(100% - 20px); border-radius: 999px; background: var(--gold); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; z-index: 0; }

/* ---------- Coating detail ---------- */
.coating { padding-block: clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.coating:nth-of-type(even) { background: var(--bg-soft); }
.coating__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.coating__aside { position: sticky; top: 150px; text-align: center; }
.coating__img { width: 240px; height: 240px; margin: 0 auto 20px; border-radius: 50%; box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), var(--shadow-lg); }
.coating__aside .btn { margin-top: 8px; }
.coating h2 { margin-bottom: .15em; }
.coating__tag { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--steel); margin-bottom: 1em; }
.coating__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.coating__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.coating:nth-of-type(even) .coating__box { background: #fff; }
.coating__box h3 { font-size: 1.15rem; margin-bottom: .8em; display: flex; align-items: center; gap: 10px; }
.coating__box h3 .icon { color: var(--gold-600); }
.coating__box ul { margin: 0; padding-left: 1.1em; }
.coating__box li { margin-bottom: .45em; }
.coating__box li::marker { color: var(--gold-600); }
.systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin-top: 28px; }
.system { background: #fff; border-radius: 12px; padding: 18px 20px; border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.system:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.system strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.system p { margin: 4px 0 0; font-size: .95rem; }
.coating__note { margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: var(--gold-100); color: #5a4708; font-size: .98rem; }
@media (max-width: 900px) {
  .coating__grid { grid-template-columns: 1fr; }
  .coating__aside { position: static; display: flex; align-items: center; gap: 20px; text-align: left; }
  .coating__img { width: 120px; height: 120px; margin: 0; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
  .coating__aside .btn { display: none; }
  .coating__cols { grid-template-columns: 1fr; }
}

/* ---------- Feature grid (why partner) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 32px 28px; background: var(--navy-900); transition: background .35s; }
.feature:hover { background: var(--navy-800); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(206,171,44,.14); color: var(--gold); margin-bottom: 18px; transition: transform .45s var(--ease-spring); }
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-6deg); }
.feature h3 { font-size: 1.25rem; }
.feature p { margin: 0; color: #b9c7da; font-size: .98rem; }

/* ---------- Spec sheet ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.spec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.spec h3 .icon { color: var(--gold-600); }
.spec ul { list-style: none; padding: 0; margin: 0; }
.spec li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.spec li:last-child { border: 0; }
.spec__dim { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.callout { margin-top: 24px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; background: var(--bg-steel); border-radius: 12px; color: var(--navy); font-weight: 500; }
.callout .icon { color: var(--steel); }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.ind { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); overflow: hidden; }
.ind:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ind__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 20px; transition: transform .5s var(--ease-spring), background .3s; }
.ind:hover .ind__icon { transform: scale(1.08) rotate(-6deg); background: var(--steel); }
.ind__parts { font-weight: 600; color: var(--ink); font-size: .98rem; }
.ind__coatings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; padding: 0; }
.ind__coatings a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bg-steel); color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.ind__coatings a:hover { background: var(--gold); transform: translateY(-2px); }

/* ---------- Articles ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.post-card__img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-steel); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { font-size: .98rem; }
.post-card .link-arrow { margin-top: auto; }

.article { padding-block: 40px clamp(64px, 8vw, 100px); }
.article__head { text-align: left; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.article__hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; aspect-ratio: 16 / 8; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.takeaways { background: var(--bg-steel); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 36px; border-left: 4px solid var(--gold); }
.takeaways h2 { font-size: 1.2rem; margin: 0 0 .6em; letter-spacing: .06em; text-transform: uppercase; }
.takeaways ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .03em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-soft); }
.author { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.author__badge { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.author__badge img { width: 30px; }
.author p { margin: 0; }
.author .article__meta { margin: 6px 0 0; font-size: .9rem; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: linear-gradient(90deg, var(--gold), var(--steel-500)); transform: scaleX(0); transform-origin: left; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--steel); }
.faq__icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--bg-steel); color: var(--navy); transition: transform .4s var(--ease), background .3s; }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--gold); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 4px 22px; margin: 0; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--steel) 100%); color: #dbe5f3; padding-block: clamp(56px, 7vw, 88px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); background: url("../img/shield.webp") center / contain no-repeat; opacity: .07; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(-46%) rotate(-6deg); } }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.15rem; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.contact-card__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--gold); transition: transform .4s var(--ease-spring); }
a.contact-card:hover .contact-card__icon { transform: rotate(-8deg) scale(1.06); }
.contact-card h2 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.contact-card p { margin: 0; font-weight: 600; color: var(--navy); font-size: 1.08rem; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-steel); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tips { margin-top: 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-steel); }
.tips h3 { font-size: 1.1rem; }
.tips ul { margin: 0; padding-left: 1.1em; font-size: .98rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
/* Long email addresses must wrap on narrow phones instead of pushing the page sideways. */
.contact-grid > *, .contact-card > span:last-child { min-width: 0; }
.contact-card p, .site-footer__contact span { overflow-wrap: anywhere; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); position: relative; }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 24px 14px 8px; transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { padding-right: 40px; cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-30%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 15px; top: 16px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field label .opt { font-size: .85em; color: #94a3b8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--steel-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,108,176,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px) scale(.78); color: var(--steel); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); background: #fff7f6; }
.field__error { display: block; font-size: .85rem; color: var(--danger); margin-top: 6px; min-height: 0; max-height: 0; overflow: hidden; transition: max-height .25s; }
.field.is-invalid .field__error { max-height: 40px; }
.field.is-invalid { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.captcha { min-height: 78px; }
/* Google draws the reCAPTCHA box at a fixed 304px. On narrow phones scale it
   down so it can't stretch the form (and the page) past the screen edge. */
.form-grid > * { min-width: 0; }
@media (max-width: 380px) {
  .form-card { padding: 20px 16px; }
  .g-recaptcha { transform: scale(.82); transform-origin: 0 0; }
  .captcha { min-height: 66px; }
}
@media (max-width: 300px) {
  .g-recaptcha { transform: scale(.7); }
  .captcha { min-height: 56px; }
}
.captcha.is-invalid .field__error { max-height: 40px; }
.captcha.is-invalid .g-recaptcha { border-radius: 4px; box-shadow: 0 0 0 2px var(--danger); width: max-content; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { margin: 0; font-size: .95rem; font-weight: 500; }
.form-status.is-error { color: var(--danger); }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-thanks { text-align: center; padding: 32px 8px; }
.form-thanks__check { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; animation: pop .5s var(--ease-spring) both; }
.form-thanks__check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Legal ---------- */
.legal { padding-block: 40px clamp(64px, 8vw, 100px); }
.legal h2 { font-size: 1.55rem; margin-top: 1.8em; }
.legal li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 80px); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer__brand img { height: 68px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 340px; color: var(--muted); }
.site-footer__h { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 1em; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__links a { color: var(--text); text-decoration: none; position: relative; transition: color .2s, padding .3s var(--ease); }
.site-footer__links a:hover { color: var(--navy); padding-left: 6px; }
.site-footer__contact { font-style: normal; display: grid; gap: 12px; }
.site-footer__contact > * { display: flex; gap: 10px; color: var(--text); text-decoration: none; }
.site-footer__contact .icon { color: var(--gold-600); margin-top: 3px; }
.site-footer__contact a:hover { color: var(--navy); }
.site-footer__base { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: var(--muted); }
.site-footer__base a:hover { text-decoration: none; }
@media (max-width: 560px) {
  .site-footer__legal .sep--credit { display: none; }
  .site-footer__credit { display: block; margin-top: 6px; }
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.error-page { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.error-page__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--bg-steel); -webkit-text-stroke: 2px var(--navy); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy); box-shadow: var(--shadow-sm);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s, background-color .2s, color .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--navy); color: #fff; }
@media (max-width: 560px) { .to-top { right: 24px; bottom: 28px; width: 40px; height: 40px; } }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .page-hero__media img { animation: none !important; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero [data-hero-in], .page-hero [data-hero-in] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hiring, .cta-band, .site-footer, .subnav, .draft-flag { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
