/* ==========================================================================
   MARLICON — site.css
   Built on the Apple (España) obsidian-vitrine reference system.

   Surfaces alternate pure black → obsidian → paper white. Depth comes from
   surface contrast only: there are no box-shadows and no gradients anywhere
   in this file, by design. Radii are restricted to 10 / 28 / 32 / 36 / 980.

   One deviation from the reference, deliberate: the single filled chromatic
   button is MARLICON orange (#FC4C00) rather than Apple Blue, because the
   logo makes orange the identity colour. It sits within a hair of the
   reference's own Signal Orange (#f56900). Blue is retained for links.
   ========================================================================== */

:root {
  /* --- Surfaces --------------------------------------------------------- */
  --pure-black:  #000000;
  --carbon:      #111111;
  --obsidian:    #1d1d1f;
  --graphite:    #333336;
  --frost-panel: #f5f5f7;
  --paper:       #ffffff;

  /* --- Ink -------------------------------------------------------------- */
  --frost-white: #f5f5f7;   /* text on dark */
  --ink:         #1d1d1f;   /* text on light */
  --platinum:    #86868b;   /* muted body, both grounds */
  --silver-mist: #cccccc;
  --smoke:       #424245;   /* hairlines on dark */
  --hairline-light: #d2d2d7;

  /* --- Chromatic (punctuation only) ------------------------------------- */
  --brand-orange: #FC4C00;  /* the one filled action + category eyebrows */
  --brand-orange-hi: #ff6a26;
  --link-blue:  #0066cc;    /* links on light */
  --halo-blue:  #2997ff;    /* links on dark */

  /* --- Type ------------------------------------------------------------- */
  --font-display: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text:    'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* --- Radii (restricted set) ------------------------------------------- */
  --r-link: 10px;
  --r-card: 28px;
  --r-panel: 32px;
  --r-btn: 36px;
  --r-pill: 980px;

  /* --- Layout ----------------------------------------------------------- */
  --page: 1440px;
  --content: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 52px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 40px);
  background: var(--pure-black);
}

body {
  margin: 0;
  background: var(--pure-black);
  color: var(--frost-white);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  font-feature-settings: "numr";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.1em; }
hr { border: 0; border-top: 1px solid var(--smoke); margin: 0; }

:focus-visible { outline: 2px solid var(--halo-blue); outline-offset: 3px; border-radius: var(--r-link); }

/* ==========================================================================
   Type scale — negative tracking that tightens as size grows
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .4em;
  font-weight: 700;
  color: var(--frost-white);
}

h1 { font-size: clamp(38px, 6vw, 72px);   line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.026em; }
h3 { font-size: clamp(21px, 2vw, 24px);   line-height: 1.17; letter-spacing: -0.018em; font-weight: 600; }
h4 { font-size: 19px; line-height: 1.21; letter-spacing: -0.015em; font-weight: 600; }

.lede {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.43;
  letter-spacing: -0.014em;
  color: var(--platinum);
  max-width: 46ch;
  margin-top: 20px;
}

/* Category eyebrow — colour alone signals category. No chip, no border. */
.eyebrow {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.019em;
  text-transform: none;
  color: var(--brand-orange);
  margin: 0 0 12px;
  display: block;
}
.eyebrow::before { content: none; }

/* ==========================================================================
   Layout — surfaces alternate; no gradients, no shadows
   ========================================================================== */
.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(72px, 10vw, 120px) 0; background: var(--pure-black); color: var(--frost-white); }
.section--navy { background: var(--obsidian); color: var(--frost-white); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

/* Light-band inversions */
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4 { color: var(--ink); }
.section--paper .lede,
.section--paper p { color: var(--platinum); }
.section--paper a { color: var(--link-blue); }

a { color: var(--halo-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--frost-white); }
.section--paper a:hover { color: var(--ink); }

.measure { max-width: 46ch; }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 40px; }
.mb-40 { margin-bottom: 48px; }

/* Grids retained where a shelf would hurt scanning; spacing widened to suit */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ==========================================================================
   Buttons — one filled chromatic action per viewport
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-text);
  font-size: 17px; font-weight: 600; letter-spacing: -0.022em;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease;
}
.btn--accent { background: var(--brand-orange); color: var(--paper); }
.btn--accent:hover { background: var(--brand-orange-hi); color: var(--paper); }

/* Everything else is quiet — outline or plain text, never a second fill */
.btn--primary { background: transparent; color: var(--frost-white); border-color: var(--graphite); }
.btn--primary:hover { background: var(--graphite); color: var(--frost-white); border-color: var(--graphite); }
.section--paper .btn--primary { color: var(--ink); border-color: var(--hairline-light); }
.section--paper .btn--primary:hover { background: var(--frost-panel); color: var(--ink); }

.btn--ghost-light { background: transparent; color: var(--frost-white); border-color: var(--graphite); }
.btn--ghost-light:hover { border-color: var(--silver-mist); color: var(--frost-white); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline-light); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-arrow {
  font-size: 17px; font-weight: 600; letter-spacing: -0.019em;
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--halo-blue);
}
.section--paper .link-arrow { color: var(--link-blue); }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .22s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Navigation — floating pill, 980px radius, blurred
   ========================================================================== */
.header {
  position: sticky; top: 12px; z-index: 80;
  padding: 0 var(--gutter);
  margin-bottom: calc(var(--nav-h) * -1 - 12px);
  transition: top .3s ease;
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--nav-h);
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 10px 0 22px;
  background: rgba(22,22,24,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-pill);
  transition: background .3s ease, border-color .3s ease;
}
.header.is-scrolled .header__inner {
  background: rgba(10,10,11,.86);
  border-color: rgba(255,255,255,.13);
}

/* The logo is supplied artwork: never recoloured, never animated. */
.logo { display: flex; align-items: center; margin-right: auto; }
.logo__img { height: 19px; width: auto; display: block; }
.footer__logo { height: 26px; width: auto; margin-bottom: 24px; }

.nav { display: none; gap: 26px; align-items: center; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  color: var(--frost-white);
  font-size: 12px; font-weight: 400; letter-spacing: -0.01em;
  opacity: .82;
  transition: opacity .2s ease;
}
.nav a:hover { opacity: 1; color: var(--frost-white); }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }

.header__cta {
  display: none; align-items: center;
  background: var(--brand-orange); color: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  padding: 8px 16px; border-radius: var(--r-pill); white-space: nowrap;
  transition: background .22s ease;
}
.header__cta:hover { background: var(--brand-orange-hi); color: var(--paper); }
@media (min-width: 620px) { .header__cta { display: inline-flex; } }

.header__call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-pill);
  background: var(--brand-orange); color: var(--paper);
}
.header__call:hover { background: var(--brand-orange-hi); color: var(--paper); }
@media (min-width: 620px) { .header__call { display: none; } }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px; padding: 0 9px; margin-left: 4px;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill); cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--frost-white); }
@media (min-width: 940px) { .burger { display: none; } }

.mobile-nav {
  display: none;
  max-width: var(--content); margin: 8px auto 0;
  background: rgba(22,22,24,.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 15px 24px;
  color: var(--frost-white); font-size: 17px; font-weight: 600; letter-spacing: -0.019em;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { background: var(--graphite); color: var(--frost-white); }

/* ==========================================================================
   Hero — pure black stage, headline bottom-left, enormous negative space
   ========================================================================== */
.hero {
  background: var(--pure-black);
  padding: calc(var(--nav-h) + 96px) 0 clamp(72px, 9vw, 128px);
}
/* Single column: the headline spans the full stage, CTA cluster sits beneath */
.hero__grid { display: block; }
.hero h1 { max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--platinum); }
.hero .lede { max-width: 52ch; }

.hero__contact {
  margin: 56px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--smoke);
  display: flex; flex-wrap: wrap; gap: 24px 72px;
}
.hero__contact > div { display: block; }
.hero__contact dt {
  font-size: 12px; font-weight: 400; letter-spacing: -0.01em;
  color: var(--platinum); margin-bottom: 4px; flex-basis: 100%;
}
@media (min-width: 700px) { .hero__contact dt { flex-basis: auto; width: auto; } }
.hero__contact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.022em;
}
.hero__contact dd a { color: var(--frost-white); }
.hero__contact dd a:hover { color: var(--brand-orange); }
.hero__contact dd:last-child { margin-bottom: 0; }

/* Interior page opener */
.pagehero {
  background: var(--pure-black);
  padding: calc(var(--nav-h) + 88px) 0 clamp(56px, 7vw, 96px);
}
.pagehero h1 { font-size: clamp(36px, 5.6vw, 64px); max-width: 17ch; }
.pagehero .lede { max-width: 52ch; }

/* ==========================================================================
   Credential ticker — obsidian band; orange used only as separator marks
   ========================================================================== */
.ticker {
  background: var(--obsidian); color: var(--frost-white);
  overflow: hidden; white-space: nowrap;
  font-size: 12px; font-weight: 400; letter-spacing: -0.01em;
  border-top: 1px solid var(--smoke); border-bottom: 1px solid var(--smoke);
}
.ticker__track { display: inline-flex; animation: ticker 46s linear infinite; }
.ticker__track > span { padding: 13px 0; }
.ticker__track i { font-style: normal; padding: 0 20px; color: var(--brand-orange); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Sector shelf — horizontally scrolling rounded cards, no grid
   ========================================================================== */
.sectors {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 340px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 28px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--graphite) transparent;
}
.sectors::-webkit-scrollbar { height: 6px; }
.sectors::-webkit-scrollbar-track { background: transparent; }
.sectors::-webkit-scrollbar-thumb { background: var(--graphite); border-radius: var(--r-pill); }

.sector {
  scroll-snap-align: start;
  background: var(--obsidian);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: background .3s ease, border-color .3s ease;
}
.section--paper .sector { background: var(--frost-panel); border-color: transparent; }
.sector:hover { background: var(--graphite); border-color: rgba(255,255,255,.14); }
.section--paper .sector:hover { background: #ebebee; }

.sector__n {
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--brand-orange); display: block; margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.sector h3 { font-size: 24px; letter-spacing: -0.024em; margin-bottom: 10px; color: var(--frost-white); }
.section--paper .sector h3 { color: var(--ink); }
.sector p { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--platinum); margin: 0; }

.sector__work {
  list-style: none; padding: 0; margin: 20px 0 0;
  font-size: 14px; line-height: 1.43; letter-spacing: -0.016em;
  color: var(--platinum);
  border-top: 1px solid var(--smoke);
}
.section--paper .sector__work { border-top-color: var(--hairline-light); }
.sector__work li { padding: 9px 0 0; }

.shelf-hint {
  font-size: 12px; color: var(--platinum); margin: 0;
  display: flex; align-items: center; gap: 8px;
}

/* ==========================================================================
   Cards, routes, tiles — flat obsidian panels, 28px radius, no shadow
   ========================================================================== */
.card, .route, .tile {
  background: var(--obsidian);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-card);
  padding: 28px;
  transition: background .3s ease, border-color .3s ease;
}
.card { display: flex; flex-direction: column; }
.card:hover, .route:hover, .tile:hover { background: var(--graphite); border-color: rgba(255,255,255,.14); }

.section--paper .card,
.section--paper .route,
.section--paper .tile { background: var(--frost-panel); border-color: transparent; }
.section--paper .card:hover,
.section--paper .route:hover,
.section--paper .tile:hover { background: #ebebee; }

.card h3, .route h3, .tile h3 { color: var(--frost-white); }
.section--paper .card h3,
.section--paper .route h3,
.section--paper .tile h3 { color: var(--ink); }

.card p, .route p, .tile p { color: var(--platinum); font-size: 17px; }
.tile p { font-size: 14px; letter-spacing: -0.016em; }

.card__num {
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--brand-orange); margin-bottom: 16px; display: block;
}
.card .link-arrow { margin-top: auto; padding-top: 20px; }

.route ul { list-style: none; padding: 0; margin: 20px 0 0; }
.route li {
  padding: 12px 0; border-top: 1px solid var(--smoke);
  font-size: 15px; line-height: 1.43; letter-spacing: -0.016em; color: var(--platinum);
}
.section--paper .route li { border-top-color: var(--hairline-light); }

/* Chips — pill radius, outline only */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  border: 1px solid var(--graphite); background: transparent;
  color: var(--frost-white);
  font-size: 14px; font-weight: 400; letter-spacing: -0.016em;
  padding: 9px 18px; border-radius: var(--r-pill);
  transition: border-color .22s ease, background .22s ease;
}
.chips li:hover { border-color: var(--silver-mist); background: rgba(255,255,255,.04); }
.chips--light li { border-color: var(--hairline-light); color: var(--ink); }
.chips--light li:hover { border-color: var(--ink); background: var(--frost-panel); }

/* Jump links — pills under a page opener */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a {
  font-size: 14px; font-weight: 600; letter-spacing: -0.016em;
  padding: 9px 18px; border: 1px solid var(--graphite); border-radius: var(--r-pill);
  color: var(--frost-white);
}
.jump a:hover { border-color: var(--silver-mist); color: var(--frost-white); }

/* ==========================================================================
   Spec table & response tiers
   ========================================================================== */
.spec { width: 100%; border-collapse: collapse; font-size: 17px; letter-spacing: -0.019em; }
.spec th, .spec td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--smoke); vertical-align: top; }
.section--paper .spec th, .section--paper .spec td { border-bottom-color: var(--hairline-light); }
.spec th { width: 42%; color: var(--frost-white); font-weight: 600; padding-right: 24px; }
.section--paper .spec th { color: var(--ink); }
.spec td { color: var(--platinum); font-variant-numeric: tabular-nums; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--smoke); }
.section--paper .spec tr:first-child th, .section--paper .spec tr:first-child td { border-top-color: var(--hairline-light); }

.tiers { display: grid; gap: 20px; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  background: var(--obsidian); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-card); padding: 28px;
}
.section--paper .tier { background: var(--frost-panel); border-color: transparent; }
.tier__label { font-size: 17px; font-weight: 600; letter-spacing: -0.019em; color: var(--brand-orange); }
.tier:not(.tier--emergency) .tier__label { color: var(--platinum); }
.tier__time {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.07; margin: 14px 0 10px;
  color: var(--frost-white); font-variant-numeric: tabular-nums;
}
.section--paper .tier__time { color: var(--ink); }
.tier p { font-size: 14px; letter-spacing: -0.016em; color: var(--platinum); margin: 0; }

/* ==========================================================================
   Stat band
   ========================================================================== */
.stats { display: grid; gap: 20px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: transparent;
  border-top: 1px solid var(--smoke);
  padding: 24px 0 0;
}
.section--paper .stat { border-top-color: var(--hairline-light); }
.stat__n {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; color: var(--frost-white); font-variant-numeric: tabular-nums;
}
.section--paper .stat__n { color: var(--ink); }
.stat__l { font-size: 14px; letter-spacing: -0.016em; color: var(--platinum); margin-top: 10px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--smoke); }
.section--paper .faq { border-top-color: var(--hairline-light); }
.faq details { border-bottom: 1px solid var(--smoke); }
.section--paper .faq details { border-bottom-color: var(--hairline-light); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; letter-spacing: -0.022em;
  color: var(--frost-white);
  transition: color .2s ease;
}
.section--paper .faq summary { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 28px; font-weight: 300; line-height: 1; color: var(--platinum);
  transition: transform .25s ease, color .2s ease;
}
.faq details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); color: var(--brand-orange); }
.faq summary:hover { color: var(--platinum); }
.faq__a {
  padding: 0 48px 28px 0;
  font-size: 17px; line-height: 1.47; letter-spacing: -0.019em;
  color: var(--platinum); max-width: 62ch;
}

/* ==========================================================================
   Contact list
   ========================================================================== */
.contact-list { display: grid; gap: 20px; margin: 0; }
@media (min-width: 720px) { .contact-list { grid-template-columns: repeat(2, 1fr); } }
.contact-item {
  background: var(--obsidian); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-card); padding: 28px;
  transition: background .3s ease;
}
.contact-item:hover { background: var(--graphite); }
.contact-item--urgent { background: var(--carbon); border-color: rgba(252,76,0,.35); }
.contact-item dt { font-size: 17px; font-weight: 600; letter-spacing: -0.019em; color: var(--platinum); }
.contact-item--urgent dt { color: var(--brand-orange); }
.contact-item dd {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.022em;
  word-break: break-word;
}
.contact-item dd a { color: var(--frost-white); }
.contact-item dd a:hover { color: var(--brand-orange); }
.contact-item small {
  display: block; margin-top: 10px;
  font-size: 14px; font-weight: 400; letter-spacing: -0.016em;
  color: var(--platinum); font-family: var(--font-text);
}

/* ==========================================================================
   Closing stage
   ========================================================================== */
.cta { background: var(--pure-black); padding: clamp(80px, 11vw, 160px) 0; }
.cta h2 { color: var(--frost-white); max-width: 16ch; }
.cta p { color: var(--platinum); font-size: clamp(18px, 1.7vw, 21px); max-width: 48ch; margin-top: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--obsidian); color: var(--platinum);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: 14px; letter-spacing: -0.016em;
  border-top: 1px solid var(--smoke);
}
.footer__grid { display: grid; gap: 48px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { color: var(--frost-white); font-size: 12px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.footer a { color: var(--platinum); }
.footer a:hover { color: var(--frost-white); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 6px 0; }
.footer__phone {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600; letter-spacing: -0.024em;
  color: var(--frost-white); display: block; margin-bottom: 6px;
}
.footer__phone:hover { color: var(--brand-orange); }
.footer__legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--smoke);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12px; color: var(--platinum);
}

/* ==========================================================================
   Motion — scroll reveal. Scoped to .js so the page renders fully without
   JavaScript (crawlers included). The logo is never animated.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-rule { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.js .reveal-rule.is-in { transform: scaleX(1); }

.rise { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js .rise > span {
  display: inline-block; transform: translateY(105%);
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
.js .rise.is-in > span { transform: none; }

/* The header pill tucks up slightly once you leave the top of the page */
.header { transition: top .3s ease; }

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-orange); color: var(--paper);
  padding: 12px 24px; z-index: 200; font-weight: 600; border-radius: var(--r-btn);
}
.skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-rule { transform: scaleX(1); }
  .js .rise > span { transform: none; }
  .ticker__track { animation: none; white-space: normal; }
}
