/* ==========================================================================
   Urbanbuy — "Wayfinding" design system
   Transit-signage language: sign-black bands with a white pinstripe,
   route bullets per product line, glazed-tile paper, one signal orange.
   ========================================================================== */

:root {
  /* material */
  --tile: #F3F1EB;          /* glazed tile — page paper */
  --tile-2: #E9E6DE;        /* concrete — alternate paper */
  --grout: #D5D1C7;         /* hairlines on paper */
  --grout-2: #C4BFB3;
  --sign: #111111;          /* sign black — bands, ink */
  --sign-2: #1B1B1B;
  --sign-3: #262626;
  --sign-line: #333230;     /* hairlines on black */
  --white: #FFFFFF;

  /* text */
  --ink: #111111;
  --body: #3A3935;
  --muted: #5F5D57;         /* 5.8:1 on tile */
  --muted-dk: #A9A69E;      /* 7.7:1 on sign */

  /* the one accent — line orange */
  --line: #FF6319;          /* fills, bullets, text on black (6.3:1) */
  --line-deep: #A83A0A;     /* orange text on paper (5.7:1) */
  --line-hover: #FF7a3a;

  /* text on sign black */
  --on-sign: #D6D3CB;
  --on-sign-lead: #D4D0C7;
  --error: #B3261E;
  --placeholder: #767470;   /* 4.6:1 on white */

  /* one shadow system: hard offsets only (brutalist, no blur) */
  --shadow-hard: 8px 8px 0 var(--ink);
  --shadow-press: 0 10px 0 -4px rgba(0,0,0,.18);
  --shadow-press-line: 0 10px 0 -4px var(--line);

  /* type */
  --f-display: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* geometry — zero radius; circles only for route bullets */
  --r: 0;
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 140px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-2: cubic-bezier(.2, .6, .2, 1);

  /* tile wall texture — running-bond 3:1 subway tile, 4.5% grout */
  --tilewall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='48'%3E%3Cg fill='none' stroke='%23111111' stroke-opacity='.05' stroke-width='1'%3E%3Cpath d='M0 .5h144M0 24.5h144M.5 0v24M72.5 0v24M36.5 24v24M108.5 24v24'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--tile); color: var(--body);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
::selection { background: var(--line); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--line); }
.sign :focus-visible, .sec--sign :focus-visible, .drawer :focus-visible, .modal__head :focus-visible, .cta :focus-visible, .terms-band :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--line); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--line); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
@media (max-width: 640px) { body { font-size: 16px; } }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--tile2 { background: var(--tile-2); }
.sec--wall { background-color: var(--tile); background-image: var(--tilewall); }
.sec--sign { background: var(--sign); color: var(--on-sign); }
.sec--sign h1, .sec--sign h2, .sec--sign h3, .sec--sign h4 { color: var(--white); }
.num { font-variant-numeric: tabular-nums; }

/* the Vignelli pinstripe: a thin white rule set just inside the top of every black sign band */
.sign { background: var(--sign); position: relative; }
.sign::before {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px;
  background: rgba(255, 255, 255, .92); pointer-events: none;
}
.sign--tight::before { top: 7px; height: 1px; }

/* ---------- type primitives ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; line-height: 1;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.kicker__no {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px;
  background: var(--sign); color: var(--white); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.sec--sign .kicker, .sign .kicker { color: var(--white); }
.sec--sign .kicker__no, .sign .kicker__no { background: var(--line); color: var(--ink); }

.h-display { font-size: clamp(2.9rem, 6.6vw, 6.25rem); line-height: .92; letter-spacing: -.035em; font-weight: 800; }
.h2 { font-size: clamp(2.1rem, 4.3vw, 3.7rem); line-height: .98; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.1; letter-spacing: -.015em; }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.55; color: var(--body); max-width: 46ch; }
.sec--sign .lead, .sign .lead { color: var(--on-sign-lead); }
.mono { font-family: var(--f-mono); }
.micro { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.accent { color: var(--line-deep); }
.sign .accent, .sec--sign .accent { color: var(--line); }

/* section head: asymmetric — kicker+title left, lead right, bottom-aligned */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lead { margin: 0; }
.sec-head--stack { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- route bullets ---------- */
.bullet {
  --s: 30px;
  display: inline-grid; place-items: center; flex: none;
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--sign); color: var(--white);
  font-family: var(--f-display); font-weight: 900; font-size: calc(var(--s) * .52); line-height: 1;
  padding-top: calc(var(--s) * .06);
}
.bullet--line { background: var(--line); color: var(--ink); }
.bullet--light { background: var(--white); color: var(--ink); }
.bullet--sm { --s: 22px; }
.bullet--lg { --s: 52px; }
.bullet--xl { --s: 76px; }
.sign .bullet:not(.bullet--line), .sec--sign .bullet:not(.bullet--line) { background: var(--white); color: var(--ink); }

/* ---------- icons (Remix Icon, fill) ---------- */
.ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.picto {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  background: var(--sign); color: var(--white);
}
.picto .ico { width: 30px; height: 30px; }
.sec--sign .picto, .sign .picto { background: var(--white); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 22px 0 24px; border: 2px solid transparent; border-radius: var(--r);
  font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn .ico { width: 20px; height: 20px; transition: transform .22s var(--ease); }
.btn { position: relative; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -6px; height: 6px; }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--line { background: var(--line); color: var(--ink); }
.btn--line:hover { background: var(--line-hover); box-shadow: var(--shadow-press); }
.btn--sign { background: var(--sign); color: var(--white); }
.btn--sign:hover { background: var(--sign-2); box-shadow: var(--shadow-press-line); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.sign .btn--ghost, .sec--sign .btn--ghost, .drawer .btn--ghost, .btn--ghost-lt { color: var(--white); border-color: rgba(255,255,255,.7); }
.sign .btn--ghost:hover, .sec--sign .btn--ghost:hover, .drawer .btn--ghost:hover, .btn--ghost-lt:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 16px 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px;
}
.textlink .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.textlink:hover .ico { transform: translate(2px, -2px); }
.sign .textlink, .sec--sign .textlink { color: var(--white); }
button.textlink { padding: 0 0 2px; background: none; border-width: 0 0 2px; border-style: solid; border-color: var(--line); cursor: pointer; font-size: 16px; }

/* ---------- top bar ---------- */
.topbar { background: var(--sign); color: var(--muted-dk); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--line); }
.topbar__live { display: inline-flex; align-items: center; gap: 9px; color: var(--white); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; box-shadow: 0 0 0 0 rgba(255,99,25,.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,99,25,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,99,25,0); } 100% { box-shadow: 0 0 0 0 rgba(255,99,25,0); } }
@media (min-width: 561px) { .topbar li { white-space: nowrap; } }
@media (max-width: 560px) { .topbar .wrap { padding-top: 7px; padding-bottom: 7px; } .topbar__live { align-items: flex-start; line-height: 1.5; } .topbar__live .dot { margin-top: 5px; } }
@media (max-width: 1279px) { .topbar__hide { display: none; } }
@media (max-width: 1399px) { .topbar__long { display: none; } .topbar__short { display: inline; } }
.topbar__short { display: none; }
@media (max-width: 560px) {
  .topbar__list li:not(:first-child) { display: none; }
  .topbar__long { display: none; }
  .topbar__short { display: inline; }
  .topbar .wrap > .topbar__list:last-child { display: none; }
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 235, .96); border-bottom: 1px solid var(--grout); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(243, 241, 235, .9); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); } }
.hdr.is-scrolled { border-bottom-color: var(--ink); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { --s: 38px; }
.brand__word { font-family: var(--f-display); font-weight: 900; font-size: 25px; letter-spacing: -.035em; line-height: 1; }
.brand__sub { display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: transparent; cursor: pointer; place-items: center; }
.burger .ico { width: 24px; height: 24px; }
@media (max-width: 1180px) { .nav a { padding: 10px 9px; font-size: 15px; } .hdr__cta .btn--ghost { display: none; } }
@media (max-width: 1080px) { .nav, .hdr__cta { display: none; } .burger { display: grid; } }

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--sign); color: var(--white); display: flex; flex-direction: column; padding: 18px var(--gutter) 32px; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.drawer::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255,255,255,.92); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 64px; margin-top: 8px; }
.drawer .brand { color: var(--white); }
.drawer .brand__sub { color: var(--muted-dk); }
.drawer__close { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.8); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.drawer__nav { list-style: none; margin: 28px 0 32px; border-top: 1px solid var(--sign-line); }
.drawer__nav a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sign-line); font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: -.02em; color: var(--white); text-decoration: none; }
.drawer__nav a .ico { margin-left: auto; width: 26px; height: 26px; color: var(--line); }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__meta { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted-dk); letter-spacing: .04em; margin-top: 14px; }
.drawer__meta a { color: var(--white); }
body.nav-open, body.modal-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { color: var(--on-sign); padding: clamp(64px, 8vw, 112px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: end; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 30px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.hero__eyebrow .sep { width: 18px; height: 2px; background: var(--line); }
.hero h1 { color: var(--white); margin-bottom: 30px; }
.hero h1 .accent { color: var(--line); }
.hero .lead { color: var(--on-sign-lead); max-width: 50ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.routes { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 22px 0 0; border-top: 1px solid var(--sign-line); }
.routes li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--white); }
.hero__media { position: relative; }

/* photo plate — poster frame: black frame + tile mat + caption strip */
.plate { margin: 0; background: var(--sign); padding: 10px; position: relative; }
.plate__img { overflow: hidden; background: var(--sign-3); position: relative; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transform: scale(1.001); transition: transform 6s var(--ease-2), filter .6s var(--ease); }
.plate:hover .plate__img img { transform: scale(1.045); filter: saturate(1.05) contrast(1.04); }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dk); font-variant-numeric: tabular-nums; }
.plate figcaption b { color: var(--white); font-weight: 600; flex: none; white-space: nowrap; }
.plate--light { background: var(--white); outline: 1px solid var(--ink); }
.plate--light figcaption { color: var(--muted); }
.plate--light figcaption b { color: var(--ink); }
.hero .plate { border: 1px solid var(--sign-line); background: var(--sign-2); }
.hero .plate__img { aspect-ratio: 4 / 5; max-height: 620px; }
.hero__chip {
  position: absolute; left: -26px; top: 36px; z-index: 2; margin: 0; background: var(--line); color: var(--ink);
  padding: 12px 16px 12px 14px; display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 15px; line-height: 1.15;
  box-shadow: none;
}
.hero__chip small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero__chip .bullet { --s: 34px; }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .plate__img { aspect-ratio: 16 / 11; }
  .hero__chip { left: 16px; top: 16px; }
}

/* departure board */
.board { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--sign-line); }
.board__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 20px 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dk); }
.board__head strong { color: var(--white); font-weight: 600; }
.board__next { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.board__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--sign-line); border: 1px solid var(--sign-line); }
.board__cell { background: var(--sign-2); padding: 18px 18px 20px; min-width: 0; }
.board__city { display: block; font-family: var(--f-display); font-weight: 800; font-size: 19px; color: var(--white); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__st { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-dk); }
.board__days { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.flap { display: inline-flex; gap: 3px; }
.flap span {
  display: inline-grid; place-items: center; min-width: 26px; height: 36px; padding: 0 4px;
  background: #0A0A0A; color: var(--line); font-family: var(--f-mono); font-weight: 600; font-size: 21px;
  position: relative; box-shadow: inset 0 -1px 0 rgba(255,255,255,.04);
}
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.9); box-shadow: 0 1px 0 rgba(255,255,255,.05); }
.board__unit { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dk); }
.board__foot { padding: 16px 0 clamp(40px, 5vw, 64px); font-size: 14px; color: var(--muted-dk); }
.is-ready .flap span { animation: flip .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
@keyframes flip { 0% { transform: rotateX(90deg); opacity: 0; } 60% { transform: rotateX(-12deg); opacity: 1; } 100% { transform: none; } }
@media (max-width: 1080px) { .board__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board__cell { padding: 14px; } .board__city { font-size: 17px; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--grout); }
.stat { padding: 30px 28px 28px 0; border-right: 1px solid var(--grout); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5.6vw, 5.1rem); line-height: .9; letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--line-deep); letter-spacing: 0; }
.stat__l { display: block; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.stat__d { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 26ch; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--grout); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--grout); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- lines (categories): a station directory ---------- */
.lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.dir { list-style: none; border-top: 2px solid var(--ink); }
.dir__row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 22px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--grout-2); transition: background-color .25s var(--ease);
}
.dir__row .bullet { --s: 52px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.dir__row:hover .bullet { background: var(--line); color: var(--ink); }
.dir__row h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.05; margin: 4px 0 10px; }
.dir__row p { margin: 0 0 14px; color: var(--body); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; padding: 5px 9px 4px; border: 1px solid var(--grout-2); color: var(--ink); background: rgba(255,255,255,.55); }
.dir__row .picto { margin-top: 2px; }
.lines__aside { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 22px; }
.lines__aside .plate__img { aspect-ratio: 7 / 5; }
.note { font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--ink); padding: 2px 0 2px 16px; margin: 0; }
@media (max-width: 980px) { .lines { grid-template-columns: 1fr; } .lines__aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .lines__aside { grid-template-columns: 1fr; }
  .dir__row { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .dir__row .bullet { --s: 44px; }
  .dir__row .picto { display: none; }
}

/* ---------- line map (brand register as a metro strip map) ---------- */
.map { position: relative; background: var(--white); border: 2px solid var(--ink); padding: clamp(24px, 3.4vw, 44px) clamp(18px, 3vw, 40px) clamp(20px, 3vw, 32px); }
.map__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-bottom: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--grout); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map__head strong { color: var(--ink); font-weight: 600; }
.map__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.stop-key { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); display: inline-block; }
.stop-key--x { width: 20px; height: 20px; border-width: 5px; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.map__lines { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(10px, 2vw, 28px); }
.mline { --c: var(--ink); position: relative; min-width: 0; }
.mline__head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; min-height: 52px; }
.mline__head .bullet { --s: 44px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.mline__name { font-family: var(--f-display); font-weight: 800; font-size: 15.5px; line-height: 1.1; color: var(--ink); }
.mline__name small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.stops { list-style: none; position: relative; padding: 4px 0 6px; }
.stops::before { content: ""; position: absolute; left: 19px; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: var(--c); transform-origin: top; transition: background-color .3s var(--ease), transform 1.1s var(--ease); }
.stop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding-left: 5px; }
.stop::before { content: ""; position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 5px solid var(--c); transition: border-color .3s var(--ease); }
.stop--x::before { width: 30px; height: 30px; margin-left: -1px; border-width: 6px; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.stop__name { font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.12; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.stop__name small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.stop__name small .bullet { --s: 16px; font-size: 9px; }
.mline:hover, .mline:focus-within { --c: var(--line); }
.mline:hover .mline__head .bullet, .mline:focus-within .mline__head .bullet { background: var(--line); color: var(--ink); }
.map__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--grout); }
.map__foot p { margin: 0; font-size: 15px; color: var(--muted); max-width: 64ch; }
.js .map .stops::before { transform: scaleY(0); }
.js .map.is-in .stops::before { transform: scaleY(1); }
@media (max-width: 1080px) { .map__lines { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; } }
@media (max-width: 600px) { .map__lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .stop__name { font-size: 14px; } .stop { gap: 10px; } }

/* ---------- serve (who we supply) ---------- */
.serve { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.serve .plate__img { aspect-ratio: 4 / 3; }
.serve__media { position: sticky; top: calc(var(--hdr-h) + 24px); }
.serve__media .note { margin-top: 22px; color: var(--muted-dk); border-left-color: var(--white); }
.who { list-style: none; border-top: 1px solid var(--sign-line); }
.who li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--sign-line); }
.who h3 { font-size: 1.4rem; margin: 2px 0 8px; }
.who p { margin: 0; color: var(--on-sign-lead); }
.who .meta { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dk); }
@media (max-width: 980px) { .serve { grid-template-columns: 1fr; } .serve__media { position: static; } }

/* ---------- keep (benefits) ---------- */
.keep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.keep__item { padding: 28px 26px 30px; border-right: 1px solid var(--grout-2); position: relative; }
.keep__item:first-child { padding-left: 0; }
.keep__item:last-child { border-right: 0; padding-right: 0; }
.keep__no { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.4rem, 5.5vw, 5rem); line-height: .8; letter-spacing: -.05em; color: var(--grout-2); display: block; margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.keep__item .picto { position: absolute; right: 26px; top: 28px; width: 48px; height: 48px; }
.keep__item:last-child .picto { right: 0; }
.keep__item .picto .ico { width: 26px; height: 26px; }
.keep__item h3 { font-size: 1.35rem; margin-bottom: 12px; }
.keep__item p { margin: 0; font-size: 16px; }
.keep__item p strong { color: var(--ink); }
@media (max-width: 1080px) {
  .keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keep__item { padding: 28px 24px 30px 0; }
  .keep__item:nth-child(2n) { border-right: 0; padding-left: 24px; padding-right: 0; }
  .keep__item:nth-child(2n) .picto { right: 0; }
  .keep__item:nth-child(-n+2) { border-bottom: 1px solid var(--grout-2); }
  .keep__item:nth-child(odd) .picto { right: 24px; }
}
@media (max-width: 600px) {
  .keep { grid-template-columns: 1fr; }
  .keep__item, .keep__item:nth-child(2n) { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--grout-2); }
  .keep__item .picto, .keep__item:nth-child(odd) .picto { right: 0; }
}

/* ---------- route (process) ---------- */
.route { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 18px; list-style: none; padding-top: 8px; }
.route::before { content: ""; position: absolute; left: 20px; right: 20px; top: 30px; height: 8px; background: var(--ink); transform-origin: left; transition: transform 1.4s var(--ease); }
.js .route::before { transform: scaleX(0); }
.js .route.is-in::before { transform: scaleX(1); }
.route li { position: relative; padding-top: 72px; }
.route li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 7px solid var(--ink); z-index: 1; }
.route li:last-child::before { background: var(--line); box-shadow: 0 0 0 4px var(--tile-2), 0 0 0 7px var(--ink); }
.route__no { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); display: block; margin-bottom: 8px; }
.route h3 { font-size: 1.2rem; line-height: 1.12; margin-bottom: 10px; }
.route p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.route__fact { display: inline-block; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 4px 8px 3px; background: var(--sign); color: var(--white); }
@media (max-width: 1080px) {
  .route { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .route::before { left: 20px; right: auto; top: 16px; bottom: 16px; width: 8px; height: auto; transform-origin: top; }
  .js .route::before { transform: scaleY(0); }
  .js .route.is-in::before { transform: scaleY(1); }
  .route li { padding: 6px 0 34px 72px; }
  .route li::before { top: 4px; }
}

.route-plate { margin-top: clamp(48px, 6vw, 80px); }
.route-plate .plate__img { aspect-ratio: 21 / 8; }
@media (max-width: 640px) { .route-plate .plate__img { aspect-ratio: 4 / 3; } }

/* ---------- terms band (the one orange band) ---------- */
.terms-band { background: var(--line); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.terms-band::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--ink); }
.terms-band .kicker__no { background: var(--ink); color: var(--line); }
.terms-band h2 { color: var(--ink); }
.terms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: clamp(32px, 4vw, 48px); }
.terms > div { padding: 24px 20px 6px 0; border-right: 1px solid rgba(17,17,17,.35); }
.terms > div + div { padding-left: 20px; }
.terms > div:last-child { border-right: 0; }
.terms dt { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.terms dd { margin: 10px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.terms dd small { display: block; margin-top: 10px; font-family: var(--f-body); font-weight: 500; font-size: 14px; letter-spacing: 0; line-height: 1.4; }
.terms-band__foot { margin: 28px 0 0; font-size: 15.5px; max-width: 80ch; }
@media (max-width: 1080px) {
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms > div:nth-child(3) { border-right: 0; }
  .terms > div:nth-child(4) { padding-left: 0; }
  .terms > div:nth-child(-n+3) { border-bottom: 1px solid rgba(17,17,17,.35); padding-bottom: 22px; }
}
@media (max-width: 600px) {
  .terms { grid-template-columns: 1fr 1fr; }
  .terms > div, .terms > div + div { padding: 20px 12px 18px 0; border-right: 0; border-bottom: 1px solid rgba(17,17,17,.35); }
  .terms > div:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(17,17,17,.35); }
  .terms > div:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* ---------- staples table ---------- */
.tbl-wrap { border: 2px solid var(--ink); background: var(--white); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 760px; font-size: 15px; }
.tbl caption { text-align: left; padding: 16px 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--grout); caption-side: top; }
.tbl th { text-align: left; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--sign); padding: 13px 16px 12px; white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--grout); vertical-align: middle; color: var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background-color .2s var(--ease); }
.tbl tbody tr:hover { background: #FBF3EC; }
.tbl .code { font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .prod { font-weight: 600; }
.tbl .prod small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.tbl .pack { font-family: var(--f-mono); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.status--low::before { background: var(--white); border: 3px solid var(--ink); width: 10px; height: 10px; }
.status--in::before { background: var(--line); }
.tbl-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 22px; }
.tbl-note p { margin: 0; font-size: 15px; color: var(--muted); max-width: 70ch; }

/* ---------- account card ---------- */
.acct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.acct__steps { list-style: none; counter-reset: s; border-top: 1px solid var(--sign-line); }
.acct__steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--sign-line); color: var(--on-sign-lead); }
.acct__steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--line); padding-top: 3px; }
.acct__steps strong { color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; display: block; margin-bottom: 2px; }
.acct__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .acct { grid-template-columns: minmax(0, 1fr); } }
.acct__ctas .btn--ghost { white-space: normal; overflow-wrap: anywhere; text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq-grid .sec-head { grid-template-columns: 1fr; margin-bottom: 0; position: sticky; top: calc(var(--hdr-h) + 24px); }
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--grout-2); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.faq__q:hover { color: var(--line-deep); }
.faq__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sign); color: var(--white); transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq__icon .ico { width: 20px; height: 20px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--line); color: var(--ink); }
.faq__a { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), visibility 0s linear .4s; }
.faq__item.is-open .faq__a { visibility: visible; transition: max-height .4s var(--ease), visibility 0s; }
.faq__a > div { padding: 0 56px 26px 0; }
.faq__a p { margin: 0 0 .8em; }
.faq__a p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } .faq__a > div { padding-right: 0; } }

/* ---------- journal (blog cards) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink); text-decoration: none; color: var(--body); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--tile-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease-2); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.post__meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post__meta .ico { width: 18px; height: 18px; color: var(--ink); }
.post h3 { font-size: 1.32rem; line-height: 1.12; }
.post p { margin: 0; font-size: 15.5px; }
.post__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.post__more .ico { width: 18px; height: 18px; color: var(--ink); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- CTA band over city photo ---------- */
.cta { position: relative; color: var(--white); padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; background: var(--sign); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.62); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.72) 45%, rgba(17,17,17,.35) 100%); }
.cta .wrap { position: relative; z-index: 1; }
.cta.sign::before { z-index: 1; }
.cta h2 { color: var(--white); font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .95; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 26px; }
.cta .lead { color: var(--on-sign-lead); max-width: 52ch; margin-bottom: 36px; }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__credit { position: absolute; left: var(--gutter); right: var(--gutter); text-align: right; bottom: 18px; z-index: 1; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border: 2px solid var(--ink); background: var(--white); }
.contact__card { padding: clamp(28px, 4vw, 48px); border-right: 2px solid var(--ink); }
.contact__card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.contact__legal { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.clist { list-style: none; border-top: 1px solid var(--grout); }
.clist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grout); align-items: start; }
.clist .ico { width: 22px; height: 22px; color: var(--ink); margin-top: 2px; }
.clist b { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.clist a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.clist a:hover { color: var(--line-deep); }
.contact__map { position: relative; min-height: 440px; background: var(--tile-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.contact__pin { position: absolute; left: 16px; top: 16px; z-index: 1; background: var(--sign); color: var(--white); padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; font-size: 15px; line-height: 1.2; max-width: calc(100% - 32px); }
.contact__pin small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; color: var(--muted-dk); }
.contact__pin a { color: var(--line); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__card { border-right: 0; border-bottom: 2px solid var(--ink); } .contact__map { min-height: 340px; } }

/* ---------- footer ---------- */
.ftr { color: var(--muted-dk); padding: clamp(72px, 8vw, 104px) 0 0; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); padding-bottom: 56px; }
.ftr .brand { color: var(--white); margin-bottom: 20px; }
.ftr .brand__sub { color: var(--muted-dk); }
.ftr p { max-width: 40ch; }
.ftr .ftr__h { font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr a { color: var(--on-sign); text-decoration: none; overflow-wrap: anywhere; }
.ftr a:hover { color: var(--line); }
.ftr__routes { display: flex; gap: 6px; margin-top: 22px; }
.ftr__bar { border-top: 1px solid var(--sign-line); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.ftr__bar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- forms (shared) ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.form__row--3 { grid-template-columns: 1.4fr 1fr .8fr; }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label, .field .label { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field label .req, .field .label .req { color: var(--line-deep); }
.field .hint { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; background: var(--white); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 16px; line-height: 1.3;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%23111' d='M12 16l-6-6h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 3px rgba(255,99,25,.35); }
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.field__err { display: none; font-size: 13.5px; color: var(--error); font-weight: 600; }
.field.is-invalid .field__err { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; padding: 0; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 8px 9px; border: 1.5px solid var(--ink); background: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.check-pill span .bullet { --s: 20px; font-size: 11px; }
.check-pill input:checked + span { background: var(--sign); color: var(--white); }
.check-pill input:checked + span .bullet { background: var(--line); color: var(--ink); }
.check-pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--line); }
.agree { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.agree a { color: var(--ink); font-weight: 600; }
.agree .req { color: var(--line-deep); }
.agree.is-invalid .field__err { display: block; grid-column: 2; }
.form__legal { font-size: 13.5px; color: var(--muted); margin: 0; }
.form__legal a { color: var(--ink); }
.form__alt { font-size: 14.5px; color: var(--muted); margin: 0; }
.form__alt a { color: var(--ink); font-weight: 600; }
.success { display: none; text-align: left; padding: 8px 0; }
.success .bullet { --s: 56px; margin-bottom: 22px; }
.success h3 { font-size: 1.7rem; margin-bottom: 12px; }
.success p { color: var(--body); }
.is-sent .form { display: none; }
.is-sent .success { display: block; }
.is-sent .form-intro { display: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), visibility 0s linear .2s; }
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .2s var(--ease), visibility 0s; }
.modal__overlay { position: absolute; inset: 0; background: rgba(17,17,17,.72); }
.modal__panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--tile); border: 2px solid var(--ink); transform: translateY(16px) scale(.98); transition: transform .25s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__head { position: sticky; top: 0; z-index: 2; background: var(--sign); color: var(--white); padding: 26px 76px 22px clamp(22px, 4vw, 36px); }
.modal__head::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.5px; background: rgba(255,255,255,.92); }
.modal__head h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1; margin-top: 6px; }
.modal__head .micro { color: var(--muted-dk); }
.modal__close { position: absolute; right: 16px; top: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 2px solid rgba(255,255,255,.75); color: var(--white); cursor: pointer; }
.modal__close:hover { background: var(--white); color: var(--ink); }
.modal__body { padding: clamp(22px, 4vw, 36px); }
.form-intro { margin-bottom: 22px; color: var(--body); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { color: var(--on-sign); padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 30px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dk); }
.crumbs li + li::before { content: "→"; color: var(--line); letter-spacing: 0; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--line); }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .95; letter-spacing: -.035em; max-width: 18ch; margin-bottom: 24px; }
.page-hero .lead { color: var(--on-sign-lead); max-width: 58ch; }
.page-hero .lead a { color: var(--white); text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page-hero .updated { display: block; margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--sign-line); border: 1px solid var(--sign-line); margin-top: clamp(36px, 5vw, 56px); }
.facts > div { background: var(--sign-2); padding: 20px 22px; }
.facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dk); }
.facts dd { margin: 8px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--white); letter-spacing: -.02em; line-height: 1.05; }
.facts dd small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--muted-dk); letter-spacing: 0; margin-top: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- account page ---------- */
.apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.apply__aside { position: static; }
@media (min-width: 981px) and (min-height: 1340px) { .apply__aside { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.why { list-style: none; border-top: 2px solid var(--ink); }
.why li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--grout-2); }
.why .picto { width: 48px; height: 48px; }
.why .picto .ico { width: 26px; height: 26px; }
.why h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.why p { margin: 0; font-size: 15px; }
.apply__card { background: var(--white); border: 2px solid var(--ink); }
.apply__card .form { padding: clamp(22px, 4vw, 40px); gap: 0; }
.fs { border: 0; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--grout); display: grid; gap: 18px; min-width: 0; }
.fs:last-of-type { border-bottom: 0; margin-bottom: 0; }
.fs legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; }
.fs legend .bullet { --s: 28px; font-size: 13px; }
.apply__card .success { padding: clamp(22px, 4vw, 40px); }
.apply__submit { display: grid; gap: 14px; }
@media (max-width: 980px) { .apply { grid-template-columns: 1fr; } .apply__aside { position: static; } .apply__card { order: -1; } }

/* ---------- article / prose ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dk); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-cover { margin-top: clamp(-40px, -3vw, -24px); position: relative; z-index: 1; }
.article-cover .plate__img { aspect-ratio: 16 / 9; }
.prose { max-width: 70ch; color: var(--body); font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose td small { display: block; font-size: 13.5px; color: var(--muted); }
.prose .table-scroll table { min-width: 600px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; margin-top: 2em; letter-spacing: -.025em; }
.prose h3 { font-size: 1.3rem; line-height: 1.2; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--line-deep); font-weight: 700; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.35; color: var(--ink); }
.prose table { width: 100%; font-size: 15.5px; border: 2px solid var(--ink); background: var(--white); }
.prose th { text-align: left; background: var(--sign); color: var(--white); font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 11px 14px; }
.prose td { padding: 11px 14px; border-top: 1px solid var(--grout); vertical-align: top; }
.prose .table-scroll { overflow-x: auto; }
.takeaways { background: var(--sign); color: var(--on-sign); padding: 30px 30px 26px; position: relative; margin: 2em 0; overflow-wrap: break-word; }
.takeaways::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.5px; background: rgba(255,255,255,.92); }
.takeaways h2, .takeaways h3 { color: var(--white); font-size: 1.3rem; margin: 6px 0 14px !important; }
.takeaways ul { padding-left: 1.2em; }
.takeaways li::marker { color: var(--line); }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); border-top: 2px solid var(--ink); padding-top: 18px; }
.toc h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--grout); text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.25; }
.toc a:hover { color: var(--line-deep); }
.back { margin-top: 48px; }
.article-wrap > * { min-width: 0; }
.article-meta .ico { width: 16px; height: 16px; color: var(--line); }
@media (max-width: 980px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } .toc { position: static; order: -1; } }
@media (max-width: 640px) { .prose { font-size: 17px; } }

/* ---------- legal / credits ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li + li { margin-top: .4em; }
.legal a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.updated { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dk); }
.credits-list { list-style: none; border-top: 2px solid var(--ink); }
.credits-list li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--grout-2); }
.credits-list img { width: 140px; height: 96px; object-fit: cover; border: 1px solid var(--ink); }
.credits-list h3 { font-size: 1.08rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.credits-list p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.credits-list a { color: var(--ink); }
@media (max-width: 560px) { .credits-list li { grid-template-columns: 1fr; } .credits-list img { width: 100%; height: auto; aspect-ratio: 16/10; } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: flex; align-items: center; }
.lost__code { font-family: var(--f-display); font-weight: 900; font-size: clamp(6rem, 18vw, 14rem); line-height: .8; letter-spacing: -.06em; color: var(--line); margin-bottom: 24px; }

@media (max-width: 560px) {
  .hero__ctas .btn, .cta__ctas .btn, .acct__ctas .btn { width: 100%; }
  .hero__eyebrow .sep { width: 10px; }
  .hero__eyebrow { gap: 6px 14px; }
}

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .rise { opacity: 0; transform: translateY(18px); }
.js.is-ready .hero .rise { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 80ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero .rise { opacity: 1; transform: none; }
  .js .map .stops::before, .js .route::before { transform: none; }
  .plate:hover .plate__img img, .post:hover .post__img img { transform: none; }
  .dot { animation: none; }
}

@media print {
  .topbar, .hdr, .drawer, .modal, .cta, .contact__map { display: none !important; }
  body { background: #fff; }
}
