/* ==========================================================================
   Jasmine Everestin LLC — trade fragrance, Earle AR
   "Atomizer & house register": ink on paper, zero radius, square halftone mist
   ========================================================================== */

:root {
  /* palette — black & white only */
  --ink: #0a0a0a;
  --ink-2: #161616;
  --paper: #ffffff;
  --mist: #f2f2f0;
  --mist-2: #e8e8e5;
  --line: #d9d9d6;
  --line-dark: #2c2c2c;
  --body: #2b2b2b;
  --meta: #5e5e5e;        /* 6.4:1 on paper, 5.8:1 on mist */
  --meta-dark: #a3a3a0;   /* 7.9:1 on ink */

  /* type */
  --f-display: "Imbue", "Didot", "Bodoni 72", "Times New Roman", serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* geometry */
  --radius: 0;
  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 140px);
  --head-gap: clamp(40px, 5vw, 64px);
  --header-h: 76px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .2s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .sec--ink :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .drawer :focus-visible { outline-color: var(--paper); }

.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(--ink); color: var(--paper); padding: 12px 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.skip:focus { top: 12px; }

main { overflow-x: clip; }
.stack > * + * { margin-top: 24px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- icons (Material Symbols Sharp, Apache 2.0) ---------- */
.ic { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* ---------- type primitives ---------- */
.display, h1, h2, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3.4rem, 8.6vw, 8.8rem); line-height: .86; }
h2, .h2 { font-size: clamp(2.7rem, 5.4vw, 5.1rem); line-height: .9; }
.h3 { font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1; }
h1 em, h2 em, .h2 em { font-style: normal; font-weight: 300; font-variation-settings: "opsz" 100; }

.mono, .label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.meta { color: var(--meta); }
.sec--ink .meta, .on-ink .meta { color: var(--meta-dark); }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--body); max-width: 46ch; }
.sec--ink .lead { color: #d6d6d3; }

/* section number — perfume-edition "Nº 04" */
.kicker { display: flex; align-items: center; gap: 14px; color: var(--meta); }
.kicker .no { font: 400 30px/1 var(--f-display); color: var(--ink); letter-spacing: 0; display: inline-flex; align-items: flex-start; }
.kicker .no .o { font-size: .5em; line-height: 1; margin: .12em .1em 0 .02em; border-bottom: 1px solid currentColor; padding-bottom: .04em; }
.kicker .rule { width: 40px; height: 1px; background: currentColor; flex: none; }
.sec--ink .kicker, .on-ink .kicker, .kicker.on-ink, .page-hero .kicker { color: var(--meta-dark); }
.sec--ink .kicker .no, .on-ink .kicker .no, .kicker.on-ink .no, .page-hero .kicker .no { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 26px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:hover .ic { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.55); }
.btn--line-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 11.5px; }
.btn--block { width: 100%; }

.textlink { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 3px; font: 500 12px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.textlink .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.textlink:hover .ic { transform: translate(2px, -2px); }

/* concentration chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 5px 7px 4px; border: 1px solid currentColor; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #d6d6d3; font: 400 12px/1 var(--f-mono); letter-spacing: .08em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar ul { display: flex; gap: 28px; align-items: center; }
.topbar a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.topbar .sq { display: inline-block; width: 6px; height: 6px; background: var(--paper); margin-right: 10px; vertical-align: 1px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark .mk-b { fill: var(--ink); }
.brand__mark .mk-l { fill: var(--paper); }
.drawer .brand__mark .mk-b, .site-footer .brand__mark .mk-b { fill: var(--paper); }
.drawer .brand__mark .mk-l, .site-footer .brand__mark .mk-l { fill: var(--ink); }
.brand__name { display: flex; flex-direction: column; gap: 5px; }
.brand__word { font: 500 23px/1 var(--f-display); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { font: 500 9.5px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--meta); }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); align-items: center; justify-content: center; }
.burger .ic { width: 26px; height: 26px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; padding: 0 var(--gutter) 32px; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--line-dark); }
.drawer__top .brand__sub { color: var(--meta-dark); }
.drawer__close { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; }
.drawer nav { display: flex; flex-direction: column; padding: 24px 0; }
.drawer nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font: 400 clamp(2rem, 8vw, 3rem)/1 var(--f-display); }
.drawer nav a span { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; color: var(--meta-dark); width: 28px; }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }
.drawer__foot p { color: var(--meta-dark); font: 400 12px/1.6 var(--f-mono); letter-spacing: .06em; margin-top: 14px; }
body.menu-open, body.modal-open { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; margin-bottom: var(--head-gap); align-items: end; }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head .lead { grid-column: 9 / -1; }
.sec-head--stack h2 { grid-column: 1 / span 9; }
.sec-head--stack .lead { grid-column: 1 / span 6; }

/* pipette graduation — the ml scale used as a ruler */
.pipette { position: relative; height: 34px; color: var(--ink); }
.pipette::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 100%) 0 0 / calc(100% / 50) 100%; }
.pipette::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 100%) 0 0 / calc(100% / 10) 100%;
  border-right: 1px solid currentColor; }
.pipette__base { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; }
.pipette__nums { position: absolute; left: 0; right: 0; top: 20px; display: flex; justify-content: space-between; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--meta); }
.pipette__nums span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.sec--ink .pipette, .on-ink .pipette { color: var(--paper); }
.sec--ink .pipette__nums, .on-ink .pipette__nums { color: var(--meta-dark); }

/* photo plates — matted, batch-coded */
.plate { background: var(--paper); border: 1px solid var(--ink); padding: 12px 12px 0; }
.plate__img { overflow: hidden; background: var(--mist-2); }
.plate__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 6s var(--ease); }
.plate:hover .plate__img img { transform: scale(1.045); }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 13px; font: 500 10.5px/1.35 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--meta); }
.plate figcaption b { color: var(--ink); font-weight: 500; }
.plate figcaption span:last-child { white-space: nowrap; }
.plate--ink { background: var(--ink); border-color: var(--paper); }
.plate--ink figcaption { color: var(--meta-dark); }
.plate--ink figcaption b { color: var(--paper); }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; background: var(--paper); border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(860px, calc(100svh - var(--header-h) - 38px)); }
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) 0; }
.hero .kicker { align-self: flex-start; background: var(--paper); padding: 8px 14px 8px 0; box-shadow: -40px 0 0 var(--paper); }
.hero h1 { max-width: 5em; }
.hero .lead { max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__status { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; border: 1px solid var(--ink); background: var(--paper); padding: 10px 14px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.hero__status .pulse { width: 8px; height: 8px; background: var(--ink); flex: none; animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero__side { position: relative; z-index: 0; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; padding: clamp(56px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.hero__side::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: var(--ink); }
.hero__side .plate { width: min(100%, 470px); position: relative; z-index: 0; }
.hero__side .plate__img { aspect-ratio: 4 / 5; }
.hero__index { position: absolute; top: 22px; right: 24px; left: 24px; display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--meta-dark); }
.hero__index--b { top: auto; bottom: 22px; }
.hero__index--r { justify-content: flex-end; }
.hero__index span { background: var(--ink); padding: 5px 7px; margin: -5px -7px; }
.mist { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: difference; }
.hero__foot { position: relative; z-index: 3; border-top: 1px solid var(--ink); background: var(--paper); }
.hero__foot .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero__fact { padding: 18px 20px 18px 0; display: flex; align-items: baseline; gap: 12px; border-right: 1px solid var(--line); }
.hero__fact + .hero__fact { padding-left: 20px; }
.hero__fact:last-child { border-right: 0; }
.hero__fact b { font: 400 30px/1 var(--f-display); }
.hero__fact span { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-bottom: 1px solid var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 36px; padding: 22px 0 20px 36px; font: 400 clamp(1.7rem, 3.2vw, 2.9rem)/1 var(--f-display); white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; background: var(--paper); flex: none; }
.marquee li:nth-child(3n)::after { background: transparent; border: 1px solid var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- house register ---------- */
.register-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--ink); font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.filter b { font-weight: 500; opacity: .6; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter:not([aria-pressed="true"]):hover { background: var(--mist); }
.register { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.house { position: relative; background: var(--paper); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: background .25s var(--ease), color .25s var(--ease), opacity .35s var(--ease); }
.house__top { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }
.house__name { font: 400 clamp(1.75rem, 2.3vw, 2.25rem)/.95 var(--f-display); margin-top: 18px; }
.house__origin { font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.house__lines { font-size: 14px; line-height: 1.45; color: var(--meta); }
.house .chips { margin-top: auto; padding-top: 8px; }
.house:hover { background: var(--ink); color: var(--paper); }
.house:hover .house__top, .house:hover .house__lines { color: var(--meta-dark); }
.house.is-dim { opacity: .16; }
.register-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stat { padding: 28px 24px 32px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { font: 300 clamp(3.6rem, 8vw, 7.4rem)/.8 var(--f-display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat b small { font-size: .38em; font-weight: 400; letter-spacing: 0; margin-left: .12em; }
.stat p { font-size: 15px; line-height: 1.5; color: var(--body); max-width: 26ch; }
.stats-wrap .pipette { margin-top: 8px; }

/* ---------- line card (categories) ---------- */
.linecard { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.linecard__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; }
.linecard__aside .plate__img { aspect-ratio: 4 / 5; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.tile { width: 56px; height: 56px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.tile .ic { width: 30px; height: 30px; }
.card:hover .tile { background: var(--ink); color: var(--paper); }
.card p:not(.card__spec) { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.card__spec { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 500 11px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--meta); }
.card__spec b { color: var(--ink); font-weight: 500; }

/* ---------- who we stock (ink band) ---------- */
.serve { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.serve .plate { height: 100%; display: flex; flex-direction: column; }
.serve .plate__img { flex: 1; min-height: 420px; }
.serve-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.serve-cell { background: var(--ink); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.serve-cell .ic { width: 30px; height: 30px; }
.serve-cell h3 { font: 400 1.75rem/1 var(--f-display); margin-top: 6px; }
.serve-cell p { font-size: 15px; line-height: 1.55; color: #cfcfcc; }

/* ---------- authenticity ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.proof__lead { display: grid; gap: 32px; position: sticky; top: calc(var(--header-h) + 32px); }
.proof__lead .plate__img { aspect-ratio: 3 / 2; }
.proof-list { border-top: 1px solid var(--ink); counter-reset: p; }
.proof-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 24px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.proof-item__no { font: 300 3.2rem/.8 var(--f-display); grid-row: span 2; }
.proof-item h3 { font: 600 17px/1.35 var(--f-body); letter-spacing: -.005em; }
.proof-item p { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.fineprint { margin-top: 28px; border: 1px solid var(--ink); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.fineprint .sq { width: 10px; height: 10px; background: var(--ink); margin-top: 7px; flex: none; }
.fineprint p { font: 400 clamp(1.3rem, 1.9vw, 1.65rem)/1.2 var(--f-display); }

/* ---------- trade terms (ink) ---------- */
.terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.term { padding: 28px 26px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 12px; }
.term b { font: 300 clamp(2.8rem, 4.6vw, 4.4rem)/.85 var(--f-display); font-variant-numeric: lining-nums; }
.term b small { font-size: .45em; font-weight: 400; margin-left: .15em; }
.term p { font-size: 15px; line-height: 1.55; color: #cfcfcc; max-width: 34ch; }

/* ---------- freight ---------- */
.freight { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.freight .plate__img { aspect-ratio: 3 / 2; }
.freight__copy { display: grid; gap: 28px; }
.transit th, .transit td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.transit thead th { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta); border-bottom-color: var(--ink); padding-top: 0; }
.transit td { font-size: 15px; line-height: 1.45; }
.transit td:first-child { font: 400 1.5rem/1 var(--f-display); white-space: nowrap; padding-right: 20px; }
.transit td:last-child { font: 500 13px/1.45 var(--f-mono); white-space: nowrap; text-align: right; padding-right: 0; }
.transit th:last-child { text-align: right; padding-right: 0; }
.note { font: 400 12px/1.6 var(--f-mono); letter-spacing: .04em; color: var(--meta); }

/* ---------- ordering steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ink); }
.step { position: relative; padding: 40px 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; background: var(--ink); }
.step:last-child::before { background: var(--paper); border: 1px solid var(--ink); }
.step .h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.step .chip { align-self: flex-start; margin-top: 4px; }

/* account card */
.account-card { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--ink); }
.account-card__copy { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 18px; background: var(--ink); color: var(--paper); }
.account-card__copy .h2 { font-size: clamp(2.3rem, 3.8vw, 3.6rem); }
.account-card__copy p { color: #cfcfcc; }
.account-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-card__list li { padding: 26px 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.account-card__list li:nth-last-child(-n+2) { border-bottom: 0; }
.account-card__list b { font: 400 1.6rem/1 var(--f-display); }
.account-card__list span { font-size: 15px; color: var(--body); line-height: 1.5; }
.account-card__list .mono { color: var(--meta); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.qa { border-top: 1px solid var(--ink); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; font: 400 clamp(1.45rem, 2.1vw, 1.9rem)/1.1 var(--f-display); }
.qa__q .sign { width: 40px; height: 40px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; flex: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.qa__q .sign .ic { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.qa__q[aria-expanded="true"] .sign { background: var(--ink); color: var(--paper); }
.qa__q[aria-expanded="true"] .sign .ic { transform: rotate(45deg); }
.qa__a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.qa__a > div { padding: 0 64px 26px 0; font-size: 16px; line-height: 1.65; color: var(--body); }
.qa__a p + p { margin-top: 10px; }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post { display: flex; flex-direction: column; gap: 16px; }
.post__img { border: 1px solid var(--ink); padding: 10px; background: var(--paper); }
.post__img > div { overflow: hidden; aspect-ratio: 16 / 10; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.post:hover .post__img img { transform: scale(1.045); }
.post__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--meta); }
.post h3 { font: 400 clamp(1.6rem, 2.2vw, 2rem)/1.02 var(--f-display); }
.post .h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.02; }
.post h3 a:hover, .post .h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post p:not(.post__meta) { font-size: 15.5px; line-height: 1.6; color: var(--body); }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--paper); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.cta .wrap { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta h2 { max-width: 15ch; }
.cta .lead { color: #d6d6d3; max-width: 52ch; margin-inline: auto; }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--ink); }
.contact__card { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 26px; }
.contact__card dl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact__card dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__card dt { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }
.contact__card dd { font-size: 16px; line-height: 1.55; }
.contact__card dd a { border-bottom: 1px solid currentColor; }
.contact__map { position: relative; border-left: 1px solid var(--ink); min-height: 460px; background: var(--mist); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08); }
.contact__map .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--ink); color: var(--paper); padding: 10px 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcc; padding-top: clamp(64px, 8vw, 112px); }
.footer-word { font: 300 clamp(2.6rem, calc((100vw - 2 * var(--gutter)) / 5.2), 16rem)/.8 var(--f-display); letter-spacing: -.01em; color: var(--paper); text-transform: uppercase; white-space: nowrap; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-block: clamp(44px, 5vw, 64px); }
.footer-grid h3 { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--meta-dark); margin-bottom: 20px; }
.footer-grid p, .footer-grid li { font-size: 15px; line-height: 1.6; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid .brand__word { color: var(--paper); font-size: 22px; }
.footer-about { display: grid; gap: 18px; max-width: 40ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font: 400 12px/1.5 var(--f-mono); letter-spacing: .06em; color: var(--meta-dark); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: clamp(12px, 4vh, 48px) 12px; overflow-y: auto; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__overlay { position: fixed; inset: 0; background: rgba(10,10,10,.72); opacity: 0; transition: opacity .25s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__panel { position: relative; width: min(760px, 100%); background: var(--paper); border: 1px solid var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .3s var(--ease); margin: auto 0; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head { display: flex; justify-content: space-between; gap: 24px; padding: 26px clamp(20px, 3.4vw, 40px) 22px; border-bottom: 1px solid var(--ink); }
.modal__head .h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-top: 14px; }
.modal__close { width: 46px; height: 46px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.modal__close:hover { background: var(--ink); color: var(--paper); }
.modal__body { padding: 24px clamp(20px, 3.4vw, 40px) 32px; }
.modal__intro { font-size: 15.5px; color: var(--body); margin-bottom: 22px; max-width: 58ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field > .flabel, legend.flabel { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 0; }
.field > label i, .flabel i { font-style: normal; color: var(--meta); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 13px 14px; background: var(--paper);
  border: 1px solid #b9b9b5; font: 400 16px/1.4 var(--f-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 110px; resize: vertical; }
.select { padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M480-345 240-585l43-43 197 198 197-198 43 43-240 240Z' fill='%230a0a0a'/%3E%3C/svg%3E") no-repeat right 12px center / 22px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(10,10,10,.05) 6px 7px); }
.field .err { display: none; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.field .err::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--ink); margin-right: 8px; vertical-align: 0; }
.field.is-invalid .err { display: block; }
.hint { font-size: 13px; line-height: 1.5; color: var(--meta); }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 1px solid #b9b9b5; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check span::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; flex: none; }
.check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.check input:checked + span::before { background: var(--paper); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check span:hover { border-color: var(--ink); }

.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--body); cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--ink); flex: none; margin: 1px 0 0; display: grid; place-content: center; cursor: pointer; }
.agree input::before { content: ""; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform .15s var(--ease); }
.agree input:checked::before { transform: scale(1); }
.agree a { border-bottom: 1px solid currentColor; }
.field.is-invalid .agree input { outline: 2px solid var(--ink); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 6px; }
.form-foot .alt { font-size: 14.5px; color: var(--meta); }
.form-foot .alt a { color: var(--ink); border-bottom: 1px solid currentColor; }
.legal-line { font-size: 13px; line-height: 1.5; color: var(--meta); }
.legal-line a { border-bottom: 1px solid currentColor; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.success { display: none; border: 1px solid var(--ink); padding: clamp(24px, 3vw, 40px); gap: 16px; }
.success.is-shown { display: grid; }
.success .tile { background: var(--ink); color: var(--paper); }
.success h3 { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); }
.success p { color: var(--body); max-width: 56ch; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 104px) 0 0; position: relative; overflow: hidden; isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta-dark); margin-bottom: 28px; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.page-hero h1 { font-size: clamp(3rem, 7.6vw, 7.2rem); max-width: 13ch; }
.page-hero .lead { color: #d6d6d3; margin-top: 26px; max-width: 58ch; }
.page-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.page-facts div { padding: 22px 24px 26px 0; display: grid; gap: 10px; border-right: 1px solid var(--line-dark); }
.page-facts div + div { padding-left: 24px; }
.page-facts div:last-child { border-right: 0; }
.page-facts b { font: 300 clamp(2.4rem, 4vw, 3.6rem)/.85 var(--f-display); }
.page-facts span { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta-dark); }

.apply { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.apply__why { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.apply__why h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.why-list { border-top: 1px solid var(--ink); }
.why-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.why-list b { font: 600 15.5px/1.35 var(--f-body); }
.why-list span { font-size: 14.5px; line-height: 1.55; color: var(--body); }
.apply-form fieldset { border-top: 1px solid var(--ink); padding: 26px 0 30px; display: grid; gap: 18px; }
.apply-form legend { display: flex; align-items: baseline; gap: 14px; float: left; width: 100%; padding: 0 0 6px; font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1 var(--f-display); }
.apply-form legend span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--meta); }
.apply-form legend + * { clear: both; }

/* legal + article prose */
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--header-h) + 32px); border-top: 1px solid var(--ink); }
.doc__toc a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.doc__toc a:hover { background: var(--mist); }
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--body); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; color: var(--ink); margin-top: 1.8em; padding-top: .7em; border-top: 1px solid var(--ink); }
.prose h3 { font: 600 18px/1.35 var(--f-body); color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 26px; }
.prose ul li + li, .prose ol li + li { margin-top: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--ink); }
.prose ol { counter-reset: o; }
.prose ol li { counter-increment: o; }
.prose ol li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 0; top: .2em; font: 500 11px/1.6 var(--f-mono); }
.prose a { color: var(--ink); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { font-size: 15px; margin-top: 1.4em; }
.prose th, .prose td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--meta); border-bottom-color: var(--ink); }
.prose .callout { border: 1px solid var(--ink); padding: 22px 24px; background: var(--mist); }
.prose .callout h3 { margin-top: 0; }
.prose .updated { font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--meta); }

.article-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--ink); }
.article-hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); max-width: 16ch; margin-top: 22px; }
.article-hero .crumbs { color: var(--meta); }
.article-hero .crumbs a:hover { color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--meta); }
.article-cover { margin-top: clamp(32px, 4vw, 56px); }
.article-cover .plate__img { aspect-ratio: 16 / 8; }
.article-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 18px; border-top: 1px solid var(--ink); padding-top: 18px; }
.article-aside p { font-size: 14.5px; line-height: 1.55; color: var(--body); }
.back { display: inline-flex; align-items: center; gap: 10px; margin-top: 2.2em; }
.back .ic { width: 18px; height: 18px; }

.credits-table td:first-child { width: 34%; }
.notfound { min-height: 70vh; display: flex; align-items: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .topbar li.hide-md { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__copy { padding-right: 0; }
  .hero__side { margin-inline: calc(var(--gutter) * -1); min-height: 520px; }
  .register { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .linecard, .serve, .proof, .freight, .faq, .apply, .doc, .article-body { grid-template-columns: minmax(0, 1fr); }
  .linecard__aside, .proof__lead, .faq__head, .apply__why, .doc__toc, .article-aside { position: static; }
  .linecard__aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .serve .plate__img { min-height: 360px; aspect-ratio: 16 / 10; }
  .account-card, .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__map { border-left: 0; border-top: 1px solid var(--ink); min-height: 380px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .doc__toc { display: none; }
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head h2, .sec-head .lead, .sec-head--stack h2, .sec-head--stack .lead { grid-column: 1 / -1; }
  .hero__foot .wrap, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fact:nth-child(2) { border-right: 0; }
  .hero__fact:nth-child(3) { padding-left: 0; }
  .hero__fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 0; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--ink); padding-top: 32px; }
  .step::before { top: -8px; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; align-items: start; }
  .post__img { grid-row: span 4; }
  .page-facts { grid-template-columns: minmax(0, 1fr); }
  .page-facts div { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .topbar .wrap { justify-content: center; }
  .topbar .hide-sm { display: none; }
  .brand__word { font-size: 19px; letter-spacing: .07em; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__sub { font-size: 8.5px; letter-spacing: .2em; }
  .hero__ctas .btn { width: 100%; }
  .hero__side { min-height: 0; padding: 48px 20px; }
  .hero__fact { flex-direction: column; gap: 6px; }
  .cards, .serve-grid, .terms-grid, .account-card__list, .form-row, .form-row--3 { grid-template-columns: minmax(0, 1fr); }
  .account-card__list li { border-left: 0; }
  .account-card__list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .linecard__aside { grid-template-columns: minmax(0, 1fr); }
  .register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house { padding: 16px 14px 18px; min-height: 0; gap: 8px; }
  .house__name { margin-top: 10px; font-size: 1.55rem; }
  .house__lines { display: none; }
  .house__top .t { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .proof-item { grid-template-columns: 56px minmax(0, 1fr); }
  .proof-item__no { font-size: 2.4rem; }
  .transit td:first-child { font-size: 1.25rem; }
  .transit td:nth-child(2) { font-size: 14px; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post__img { grid-row: auto; }
  .contact__card dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .qa__a > div { padding-right: 0; }
  .marquee li { padding-left: 26px; gap: 26px; }
  .modal__head { padding-top: 20px; }
  .pipette__nums span:nth-child(even) { visibility: hidden; }
}

/* ---------- reduced motion ---------- */
@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; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .plate:hover .plate__img img, .post:hover .post__img img { transform: none; }
}

@media print {
  .topbar, .site-header, .marquee, .mist, .cta, .modal, .drawer { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
