/* =========================================================================
   ANTE — PULSO ANDINO
   Design system tokens + components. No build step, no framework.
   ========================================================================= */

/* ---------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------- */
:root{
  /* Brand palette — do not add new hues; recombine these. */
  --ante-yellow: #FFC400;
  --ante-black: #18150F;
  --ante-red: #F12A24;
  --ante-orange: #FF6B22;
  --ante-blue: #1769FF;
  --ante-offwhite: #F7F4EA;
  --ante-warm-gray:#B3AB98;

  /* Derived, accessible support tones (kept in the same family) */
  --ink-on-light: var(--ante-black);
  --ink-soft-on-light: #5B5646; /* AA-safe secondary text on offwhite, ~7:1 */
  --ink-faint-on-light:#6B6455; /* AA-safe tertiary text on offwhite/white, ~6:1 */
  --ink-on-dark: var(--ante-offwhite);
  --ink-soft-on-dark: var(--ante-warm-gray);
  --ink-faint-on-dark: #8F8974; /* AA-safe tertiary text on black, ~5.2:1 */
  --ante-red-ink: #B52018; /* AA-safe red for small text on light bg, ~6.6:1 */
  --line-on-light: #E2DDCB;
  --line-on-dark: #2C2820;
  --surface-raised:#FFFFFF;

  --font-display:"Barlow Condensed","Arial Narrow",sans-serif;
  --font-body:"Inter","Segoe UI",system-ui,sans-serif;
  --font-mono:"IBM Plex Mono","SFMono-Regular",Consolas,monospace;

  --container:1360px;
  --radius-sm:2px;
  --ease:cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; max-width:100%; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  overflow-x:hidden;
  max-width:100%;
  background:var(--ante-offwhite);
  color:var(--ink-on-light);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.005em;
  line-height:.96;
  margin:0;
}
p{ margin:0; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
input,select{ font:inherit; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
:focus{ outline:none; }
:focus-visible{
  outline:3px solid var(--ante-blue);
  outline-offset:3px;
  border-radius:1px;
}
.p-card__quote:focus-visible,
.chip:focus-visible,
.btn:focus-visible{ outline-offset:2px; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 clamp(18px,4vw,48px); }
.mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; }

.skip-link{
  position:absolute; left:-999px; top:0; z-index:200;
  background:var(--ante-yellow); color:var(--ante-black);
  padding:12px 18px; font-weight:700; text-transform:uppercase; font-family:var(--font-display);
}
.skip-link:focus{ left:12px; top:12px; }

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

/* Section label — small industrial numbered tag ("SectionLabel") ------ */
.section-label{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ante-red-ink);
}
.section-label__idx{
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; background:var(--ante-black); color:var(--ante-yellow);
  font-family:var(--font-mono); font-size:.66rem;
}
.on-dark .section-label{ color:var(--ante-yellow); }
.on-dark .section-label__idx{ background:var(--ante-yellow); color:var(--ante-black); }

/* ---------------------------------------------------------------------
   2. DECORATIVE COMPONENTS — AndesPulse / TopoLines / TrianglePattern
   ------------------------------------------------------------------- */

/* AndesPulse: mountain ridge + ECG-style pulse line, theme via currentColor */
.andes-pulse{ display:block; width:100%; height:auto; color:var(--ante-yellow); }
.andes-pulse .ridge{ fill:currentColor; }
.andes-pulse .pulse-line{
  fill:none; stroke:var(--ante-red); stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
}
.andes-pulse.is-animated .pulse-line{
  stroke-dasharray:1400;
  stroke-dashoffset:1400;
  animation:pulse-draw 3.2s var(--ease) infinite;
}
@keyframes pulse-draw{
  0%{ stroke-dashoffset:1400; }
  55%{ stroke-dashoffset:0; }
  100%{ stroke-dashoffset:-1400; }
}
@media (prefers-reduced-motion:reduce){
  .andes-pulse.is-animated .pulse-line{ animation:none; stroke-dashoffset:0; }
}

/* TopoLines: faint contour texture, used as a background layer */
.topo-lines{ position:absolute; inset:0; opacity:.12; pointer-events:none; }
.topo-lines.is-dark{ color:var(--ante-offwhite); }
.topo-lines.is-light{ color:var(--ante-black); }
.topo-lines path{ fill:none; stroke:currentColor; stroke-width:1; }

/* AnteTrianglePattern: micro pattern from the logo's red triangle */
.triangle-field{ position:absolute; inset:0; opacity:.9; pointer-events:none; }

/* ---------------------------------------------------------------------
   3. NAV
   ------------------------------------------------------------------- */
.nav{
  position:sticky; top:0; z-index:80;
  background:color-mix(in srgb, var(--ante-black) 94%, transparent);
  border-bottom:3px solid var(--ante-yellow);
}
.nav-inner{ display:flex; align-items:center; gap:20px; height:68px; }
.logo{ display:flex; align-items:center; gap:10px; flex:0 0 auto; text-decoration:none; }
.logo-plate{
  display:inline-flex; align-items:center; background:var(--ante-offwhite);
  padding:7px 10px; border-radius:3px; flex:none;
}
.logo-plate img{ display:block; height:20px; width:auto; }
.logo-plate--lg{ padding:10px 14px; border-radius:4px; }
.logo-plate--lg img{ height:26px; }
.logo-sub{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.18em; color:var(--ante-warm-gray); }

.nav-toggle{
  display:none; flex:0 0 auto; width:40px; height:40px; margin-left:auto;
  align-items:center; justify-content:center; color:var(--ante-offwhite);
}
.nav-toggle .bar{ display:block; width:22px; height:2px; background:currentColor; position:relative; }
.nav-toggle .bar::before,.nav-toggle .bar::after{
  content:""; position:absolute; left:0; width:22px; height:2px; background:currentColor;
}
.nav-toggle .bar::before{ top:-7px; }
.nav-toggle .bar::after{ top:7px; }

.nav-panel{ display:flex; align-items:center; gap:26px; margin-left:8px; flex:1 1 auto; }
.nav-links{ display:flex; gap:26px; }
.nav-links a{
  text-decoration:none; font-family:var(--font-display); font-weight:700; font-size:.86rem;
  text-transform:uppercase; letter-spacing:.03em; color:var(--ante-warm-gray);
  transition:color .15s var(--ease);
}
.nav-links a:hover{ color:var(--ante-offwhite); }
.nav-cta{
  margin-left:auto; flex:0 0 auto; display:inline-flex; align-items:center;
  background:var(--ante-yellow); color:var(--ante-black); text-decoration:none;
  font-family:var(--font-display); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.03em;
  padding:0 18px; height:38px; white-space:nowrap; transition:filter .15s var(--ease), transform .15s var(--ease);
}
.nav-cta:hover{ filter:brightness(1.08); transform:translateY(-1px); }

/* ---------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:50px; padding:0 26px; text-decoration:none;
  font-family:var(--font-display); font-weight:700; font-size:.9rem; text-transform:uppercase; letter-spacing:.04em;
  border:2px solid transparent; transition:filter .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.btn-primary{ background:var(--ante-yellow); color:var(--ante-black); }
.btn-primary:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.btn-line-dark{ background:transparent; color:var(--ante-black); border-color:var(--ante-black); }
.btn-line-dark:hover{ border-color:var(--ante-red-ink); color:var(--ante-red-ink); }
.btn-line-light{ background:transparent; color:var(--ante-offwhite); border-color:var(--ante-offwhite); }
.btn-line-light:hover{ border-color:var(--ante-yellow); color:var(--ante-yellow); }

/* ---------------------------------------------------------------------
   5. HERO — Pulso Andino
   ------------------------------------------------------------------- */
.hero{
  position:relative; overflow:hidden; background:var(--ante-black); color:var(--ante-offwhite);
  min-height:88svh; display:flex; align-items:stretch;
}
.hero-media{ position:absolute; inset:0; z-index:0; margin:0; transform:translateZ(0); }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center center; display:block; }
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  /* mobile crop keeps its safe zone at the top — scrim goes top-to-bottom */
  background:linear-gradient(180deg, rgba(10,8,5,.88) 0%, rgba(10,8,5,.62) 32%, rgba(10,8,5,.18) 56%, transparent 72%);
}
.hero-inner{
  position:relative; z-index:3; width:100%;
  display:flex; align-items:flex-start;
  padding:82px 0 28px;
}
.hero-copy{ position:relative; z-index:2; max-width:640px; }
/* Mobile crop is tall/narrow enough that copy length can reach past the
   image's dark sky band into the product area — a dedicated backing
   panel guarantees "no text over products" regardless of content length
   or viewport height, on top of the directional scrim. */
.hero-copy{ background:rgba(9,7,5,.6); padding:18px 18px 22px; margin:0 -4px; border-radius:2px; }
.hero-copy .section-label{ margin-bottom:12px; }
.hero h1{
  font-size:clamp(2.5rem,11vw,5.6rem); max-width:100%;
  overflow-wrap:break-word;
  color:var(--ante-offwhite);
}
@media (min-width:560px){
  .hero h1{ max-width:15.5ch; }
}
.hero h1 .hl{ color:var(--ante-yellow); }
.hero p.lede{
  margin-top:12px; max-width:40ch; color:var(--ante-warm-gray); font-size:1.08rem; line-height:1.6;
}
.hero-ctas{ display:flex; flex-direction:column; gap:10px; margin-top:18px; align-items:flex-start; }
.hero-ctas .btn{ height:46px; width:100%; max-width:280px; }
.hero-stats{
  display:flex; gap:0; margin-top:22px; border-top:1px solid var(--line-on-dark); padding-top:14px; flex-wrap:wrap;
}
.hero-stats div{ padding-right:18px; margin-right:18px; border-right:1px solid var(--line-on-dark); }
.hero-stats div:last-child{ border-right:0; margin-right:0; padding-right:0; }
.hero-stats .n{ font-family:var(--font-display); font-size:1.5rem; color:var(--ante-yellow); line-height:1; }
.hero-stats .l{ font-family:var(--font-mono); font-size:.58rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ante-warm-gray); margin-top:4px; }

/* Desktop/tablet hero crop keeps its safe zone on the LEFT (products sit
   right) — matches ASSET_MANIFEST.md. Scrim flips to left-to-right and
   copy can sit vertically centered since the left column stays dark
   top-to-bottom in the desktop master. */
@media (min-width:700px){
  .hero{ min-height:min(880px,92svh); }
  .hero-scrim{
    background:linear-gradient(100deg, rgba(10,8,5,.82) 0%, rgba(10,8,5,.58) 34%, rgba(10,8,5,.16) 58%, transparent 74%);
  }
  .hero-inner{ align-items:center; padding:88px 0 56px; }
  .hero-copy{ background:none; padding:0; margin:0; }
  .hero-copy .section-label{ margin-bottom:22px; }
  .hero p.lede{ margin-top:24px; }
  .hero-ctas{ flex-direction:row; gap:14px; margin-top:34px; flex-wrap:wrap; }
  .hero-ctas .btn{ width:auto; max-width:none; height:50px; }
  .hero-stats{ margin-top:52px; padding-top:22px; }
  .hero-stats div{ padding-right:34px; margin-right:34px; }
  .hero-stats .n{ font-size:2.1rem; }
  .hero-stats .l{ font-size:.62rem; letter-spacing:.1em; }
}

/* ---------------------------------------------------------------------
   6. BRAND ENERGY BAND
   ------------------------------------------------------------------- */
.energy-band{ position:relative; background:var(--ante-yellow); overflow:hidden; height:74px; }
.energy-band .andes-pulse{ position:absolute; inset:0; width:100%; height:100%; color:var(--ante-black); }
.energy-band .andes-pulse .pulse-line{ stroke:var(--ante-red); }

/* ---------------------------------------------------------------------
   6B. CAMPAIGN FEATURE — approved Pulso Andino photography ("CampaignFeature")
   Mobile: image and copy stack as separate blocks (never overlaid).
   >=880px: copy overlays the image's dark safe zone, left or right.
   ------------------------------------------------------------------- */
.campaign-feature{
  position:relative; background:var(--ante-black); color:var(--ante-offwhite);
  margin-top:2px;
}
.campaign-feature__media{ width:100%; aspect-ratio:1672/941; overflow:hidden; }
.campaign-feature__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.campaign-feature__scrim{ display:none; }
.campaign-feature__copy{
  padding:36px clamp(20px,4vw,48px) 44px;
}
.campaign-feature__copy .section-label{ margin-bottom:16px; }
.campaign-feature__copy h3{ font-size:clamp(1.7rem,4vw,2.3rem); }
.campaign-feature__copy p{
  margin-top:14px; max-width:46ch; color:var(--ante-warm-gray); font-size:.98rem; line-height:1.6;
}
.campaign-feature__link{ margin-top:22px; }

@media (min-width:880px){
  .campaign-feature{ position:relative; }
  .campaign-feature__media{
    position:absolute; inset:0; aspect-ratio:auto;
    /* force its own compositor layer — without this, some Chromium
       builds fail to paint an absolutely-positioned image that sits
       under a later sibling until a subsequent repaint is triggered */
    transform:translateZ(0);
  }
  .campaign-feature__scrim{ display:block; position:absolute; inset:0; z-index:1; }
  .campaign-feature__scrim--left{
    background:linear-gradient(100deg, rgba(10,8,5,.72) 0%, rgba(10,8,5,.42) 38%, transparent 62%);
  }
  .campaign-feature__scrim--right{
    background:linear-gradient(260deg, rgba(10,8,5,.72) 0%, rgba(10,8,5,.42) 38%, transparent 62%);
  }
  .campaign-feature__scrim--strong.campaign-feature__scrim--left{
    background:linear-gradient(100deg, rgba(10,8,5,.86) 0%, rgba(10,8,5,.56) 42%, transparent 66%);
  }
  .campaign-feature{ min-height:480px; display:flex; align-items:center; }
  .campaign-feature__copy{
    position:relative; z-index:2; width:100%; max-width:640px;
    padding:48px clamp(28px,5vw,72px);
  }
  .campaign-feature.is-copy-right{ justify-content:flex-end; }
  .campaign-feature.is-copy-right .campaign-feature__copy{ text-align:right; margin-left:auto; }
  .campaign-feature.is-copy-right .campaign-feature__copy p{ margin-left:auto; }
  .campaign-feature.is-copy-right .section-label{ justify-content:flex-end; }
}

/* ---------------------------------------------------------------------
   7. GENERIC SECTION SHELL
   ------------------------------------------------------------------- */
.section{ padding:96px 0; position:relative; }
.section.is-tight{ padding:72px 0; }
.section-head{ max-width:680px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(2.1rem,4vw,3.4rem); margin-top:16px; }
.section-head p{ margin-top:16px; color:var(--ink-soft-on-light); font-size:1.02rem; line-height:1.6; }
.section-head .tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.section-head .tags span{
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.04em; text-transform:uppercase;
  border:1px solid var(--line-on-light); padding:6px 10px; color:var(--ink-soft-on-light);
}
.section.on-dark{ background:var(--ante-black); color:var(--ante-offwhite); }
.section.on-dark .section-head p{ color:var(--ink-soft-on-dark); }
.section.on-dark h2{ color:var(--ante-offwhite); }

/* ---------------------------------------------------------------------
   8. WHY ANTE
   ------------------------------------------------------------------- */
.why-grid-wrap{ position:relative; }
.why-grid-wrap .topo-lines{ opacity:.1; }
.why-pulse{
  position:relative; z-index:2; display:block; width:100%; height:18px; margin-bottom:-1px;
}
.why-pulse path{ fill:none; stroke:var(--ante-red); stroke-width:2; }
.why-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line-on-light); border:1px solid var(--line-on-light);
}
.why-card{ background:var(--surface-raised); padding:32px 26px; }
.why-card__idx{ font-family:var(--font-mono); font-size:.7rem; color:var(--ante-red-ink); letter-spacing:.06em; }
.why-card h3{ font-size:1.15rem; margin-top:14px; margin-bottom:10px; }
.why-card p{ color:var(--ink-soft-on-light); font-size:.9rem; line-height:1.55; }

/* ---------------------------------------------------------------------
   11. PROCESS
   ------------------------------------------------------------------- */
.process-connector-h{ display:none; }
.process-connector-h .pulse-line{ stroke:var(--ante-red); }
.process-connector-v{ display:flex; justify-content:center; height:28px; color:var(--ante-yellow); }
.process-connector-v svg{ width:24px; height:100%; }
.process-connector-v path{ fill:none; stroke:var(--ante-red); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.process-grid{ display:grid; grid-template-columns:1fr; gap:0; background:var(--line-on-dark); margin-top:8px; }
.process-step{ background:var(--ante-black); padding:36px 30px; }
.process-step__idx{ font-family:var(--font-display); color:var(--ante-yellow); font-size:1.7rem; }
.process-step h3{ font-size:1.05rem; margin:14px 0 10px; color:var(--ante-offwhite); }
.process-step p{ color:var(--ink-soft-on-dark); font-size:.88rem; line-height:1.6; }

/* ---------------------------------------------------------------------
   12. CATALOG
   ------------------------------------------------------------------- */
.catalog-controls{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.searchbox{ position:relative; flex:1 1 260px; max-width:360px; }
.searchbox svg{ position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--ink-faint-on-light); }
.searchbox input{
  width:100%; height:44px; border:1.5px solid var(--ante-black); background:var(--surface-raised); color:var(--ink-on-light);
  padding:0 14px 0 38px; font-size:.92rem;
}
.searchbox input:focus-visible{ outline:3px solid var(--ante-blue); outline-offset:2px; }
.chips{ display:flex; gap:8px; flex-wrap:wrap; flex:2 1 auto; }
.chip{
  font-family:var(--font-mono); font-size:.74rem; border:1.5px solid var(--ante-black); background:var(--surface-raised);
  color:var(--ink-on-light); padding:8px 13px; cursor:pointer; white-space:nowrap;
  transition:background .15s var(--ease), color .15s var(--ease);
}
.chip-n{ opacity:.6; margin-left:5px; }
.chip:hover{ background:var(--ante-black); color:var(--ante-offwhite); }
.chip.is-active{ background:var(--ante-yellow); border-color:var(--ante-yellow); color:var(--ante-black); }
.sortbox{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.sortbox label{ font-family:var(--font-mono); font-size:.66rem; color:var(--ink-faint-on-light); text-transform:uppercase; letter-spacing:.06em; }
.sortbox select{ height:38px; border:1.5px solid var(--ante-black); background:var(--surface-raised); color:var(--ink-on-light); padding:0 10px; font-family:var(--font-mono); font-size:.78rem; }

.result-line{ font-family:var(--font-mono); font-size:.78rem; color:var(--ink-faint-on-light); margin-bottom:16px; }

.grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:2px; background:var(--line-on-light); border:1px solid var(--line-on-light); min-width:0; }
/* min-width:0 on the grid item overrides the default min-width:auto that CSS
   Grid gives every item. Without it, a card whose <img> has a large intrinsic
   pixel size (our real product photos are ~1000px wide) can force its column
   to grow to that intrinsic width instead of respecting the 1fr/2-col track,
   blowing the whole grid — and the page — out sideways on some browsers. */
.p-card{ background:var(--surface-raised); display:flex; flex-direction:column; min-width:0; }
.p-card__img{ aspect-ratio:1/1; background:#FFFFFF; display:flex; align-items:center; justify-content:center; padding:18px; min-width:0; }
.p-card__img img{ display:block; width:100%; max-width:100%; height:100%; object-fit:contain; }
.p-card__body{ padding:12px 14px 16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.p-card__cat{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-faint-on-light); }
.p-card__name{ font-family:var(--font-body); font-size:.84rem; font-weight:600; line-height:1.3; min-height:2.5em; text-transform:none; letter-spacing:0; }
.p-card__quote{
  margin-top:auto; display:block; text-align:center; background:var(--ante-black); color:var(--ante-offwhite);
  font-family:var(--font-display); font-weight:700; font-size:.72rem; text-transform:uppercase; letter-spacing:.03em;
  padding:9px 8px; text-decoration:none; transition:background .15s var(--ease);
}
.p-card__quote:hover{ background:var(--ante-red); }
.empty-state{ grid-column:1/-1; background:var(--surface-raised); padding:60px 20px; text-align:center; color:var(--ink-faint-on-light); font-family:var(--font-mono); font-size:.85rem; }

.catalog-toggle{ display:flex; justify-content:center; margin-top:28px; }

/* ---------------------------------------------------------------------
   13. B2B CTA
   ------------------------------------------------------------------- */
.cta-band{ position:relative; overflow:hidden; background:var(--ante-yellow); color:var(--ante-black); }
.cta-inner{ position:relative; z-index:2; padding:88px 0; text-align:center; }
.cta-inner h2{ font-size:clamp(2.1rem,4vw,3.6rem); max-width:24ch; margin:16px auto 0; }
.cta-inner p{ margin:18px auto 0; max-width:54ch; color:#3a3320; }
.cta-actions{ display:flex; gap:14px; justify-content:center; margin-top:32px; flex-wrap:wrap; }
.cta-band .section-label{ justify-content:center; color:var(--ante-black); }
.cta-band .section-label__idx{ background:var(--ante-black); color:var(--ante-yellow); }

/* ---------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------- */
footer{ position:relative; padding:60px 0 36px; background:var(--ante-black); color:var(--ante-offwhite); overflow:hidden; }
.footer-top{ position:relative; z-index:2; display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid var(--line-on-dark); }
.footer-claim{ font-family:var(--font-display); font-weight:700; text-transform:uppercase; color:var(--ante-yellow); font-size:1.1rem; margin-top:14px; max-width:20ch; }
.footer-note{ max-width:46ch; color:var(--ink-soft-on-dark); font-size:.82rem; line-height:1.6; margin-top:14px; }
.footer-cols{ position:relative; z-index:2; display:flex; gap:56px; flex-wrap:wrap; }
.footer-col .section-label{ margin-bottom:14px; }
.footer-col a,.footer-col span{ display:block; color:var(--ink-soft-on-dark); font-size:.86rem; margin-bottom:10px; text-decoration:none; }
.footer-col a:hover{ color:var(--ante-yellow); }
.footer-bottom{ position:relative; z-index:2; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:22px; color:var(--ink-faint-on-dark); font-size:.76rem; font-family:var(--font-mono); }
.footer-bottom a{ color:var(--ink-faint-on-dark); text-decoration:underline; text-underline-offset:3px; }

/* ---------------------------------------------------------------------
   15. RESPONSIVE — mobile-first breakpoints at 360 / 768 / 1024 / 1440
   ------------------------------------------------------------------- */

/* base (< 768px, covers 360px) ---------------------------------------- */
.nav-panel{ display:none; }
.nav-toggle{ display:inline-flex; }
.nav-panel.is-open{
  display:flex; position:fixed; inset:68px 0 0 0; z-index:70; background:var(--ante-black);
  flex-direction:column; align-items:flex-start; padding:28px clamp(18px,4vw,48px); gap:22px; overflow-y:auto;
}
.nav-panel.is-open .nav-links{ flex-direction:column; gap:20px; }
.nav-panel.is-open .nav-links a{ font-size:1.3rem; }
.nav-panel.is-open .nav-cta{ margin-left:0; margin-top:8px; height:48px; padding:0 22px; }
body.nav-open{ overflow:hidden; }

.hero-inner{ padding:96px 0 40px; }
.hero-stats{ flex-wrap:wrap; gap:18px 0; }
.hero-stats div{ padding-right:18px; margin-right:18px; flex:0 0 auto; }

.why-grid{ grid-template-columns:1fr; }
.process-grid{ grid-template-columns:1fr; }
.section{ padding:64px 0; }
.catalog-controls{ flex-direction:column; align-items:stretch; }
/* .searchbox has flex:1 1 260px for the row layout at >=768px; that 260px
   flex-basis becomes a HEIGHT once the column direction above kicks in,
   which blew the search box up to ~260px tall on phones. Reset it here. */
.searchbox{ max-width:none; flex-basis:auto; }
.footer-top{ flex-direction:column; }

/* Product grid: fixed 2-column layout on mobile RWD (see >=768px override
   below, which switches back to a flexible auto-fill layout for tablet+). */
.grid{ grid-template-columns:repeat(2,1fr); }
.p-card__img{ padding:10px; }
.p-card__name{ font-size:.78rem; }

/* >= 768px tablet -------------------------------------------------------*/
@media (min-width:768px){
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(3,1fr); gap:1px; }
  .process-connector-h{ display:block; width:100%; height:32px; margin-top:24px; }
  .process-connector-v{ display:none; }

  .catalog-controls{ flex-direction:row; align-items:center; }
  .searchbox{ max-width:360px; }

  .grid{ grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); }
  .p-card__img{ padding:18px; }
  .p-card__name{ font-size:.84rem; }
}

/* Full inline nav needs more room than a tablet gives (logo + 5 links +
   CTA); keep the hamburger through tablet widths and switch here. */
@media (min-width:1100px){
  .nav-panel{ display:flex; position:static; inset:auto; background:none; flex-direction:row; align-items:center; padding:0; gap:22px; }
  .nav-toggle{ display:none; }
  body.nav-open{ overflow:auto; }
}

/* >= 1024px desktop ------------------------------------------------------*/
@media (min-width:1024px){
  .why-grid{ grid-template-columns:repeat(4,1fr); }
}

/* >= 1440px large desktop -------------------------------------------------*/
@media (min-width:1440px){
  .hero h1{ font-size:5.8rem; }
}
