/* =============================================================================
   Masonsbridge Logistics — editorial infrastructure
   Design tokens live in :root. Change the brand in one place.
   ============================================================================= */

/* ---------- Fonts (self-hosted; no external calls) ------------------------- */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Instrument";
  src: url("fonts/instrument-sans.woff2") format("woff2-variations"),
       url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Instrument";
  src: url("fonts/instrument-sans-italic.woff2") format("woff2-variations"),
       url("fonts/instrument-sans-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: "Mono";
  src: url("fonts/dm-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

/* ---------- Design tokens -------------------------------------------------- */
:root {
  /* Palette */
  --paper:      #f3ede0;   /* warm cream — main surface */
  --paper-2:    #ebe3d1;   /* deeper cream — alt bands */
  --ink:        #0a1322;   /* near-black navy — primary text */
  --ink-2:      #1a2437;
  --ink-soft:   #4b5468;   /* body-mute */
  --rule:       #0a1322;   /* hard editorial lines */
  --rule-soft:  rgba(10,19,34,.14);
  --accent:     #c9611f;   /* burnt amber — single warm accent */
  --accent-ink: #fff8ee;
  --accent-hv:  #a84f17;
  --field:      #fff;
  --ok:         #0f6a3a;
  --danger:     #a01f14;
  --wa:         #0f7b4b;

  /* Dark surface tokens — paper flips to ink */
  --paper-on-dark:   #ebe3d1;
  --mute-on-dark:    #a8b1c4;
  --rule-on-dark:    rgba(243,237,224,.18);

  /* Type */
  --f-display: "Bricolage", "Times New Roman", serif;
  --f-body:    "Instrument", -apple-system, Segoe UI, system-ui, sans-serif;
  --f-mono:    "Mono", ui-monospace, SF Mono, Menlo, monospace;

  /* Layout */
  --max:        1280px;
  --gutter:     clamp(20px, 4vw, 56px);
  --rail:       clamp(44px, 7vw, 88px);
  --header-h:   76px;
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 0 var(--rule-soft);
  --shadow:     0 2px 0 var(--rule-soft), 0 24px 60px -24px rgba(10,19,34,.22);
}

/* ---------- Base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;        /* 17px body */
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }
h1 { font-weight: 500; letter-spacing: -0.035em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--paper); }

::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: -999px; top: 10px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 4px; font-weight: 600; z-index: 200;
}
.skip:focus { left: 10px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Icon system (sprite) */
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--thin { stroke-width: 1.25; }

/* Editorial primitives */
.meta {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.meta--mute { color: var(--ink-soft); }
.meta--on-dark { color: var(--mute-on-dark); }
.on-dark .meta { color: var(--paper-on-dark); }
.on-dark .meta--mute { color: var(--mute-on-dark); }

.rule { height: 1px; background: var(--rule); }
.rule-soft { height: 1px; background: var(--rule-soft); }

/* Decorative placeholder — "to be supplied" */
.ph {
  font-style: italic;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--ink-soft);
  padding-bottom: 1px;
}
.ph-box {
  display: grid; place-items: center; text-align: center;
  padding: 24px 16px; min-height: 100px;
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  background: transparent;
}

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hv); border-color: var(--accent-hv); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn--ghost { color: var(--paper); border-color: var(--paper); }
.on-dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn--wa:hover { background: #0b6540; border-color: #0b6540; }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: .9375rem; }
.btn--xl { min-height: 60px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.chip-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem;
  text-decoration: none; color: var(--ink);
  padding: 4px 0;
  border-bottom: 1.5px solid var(--ink);
  transition: color .18s, border-color .18s, gap .18s;
}
.chip-link:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }
.chip-link .icon { width: 14px; height: 14px; }

/* ---------- Header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header__row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.brand__wordmark { font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__dot { color: var(--accent); }
.nav ul { display: flex; gap: 2px; justify-content: center; }
.nav a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 10px 14px; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500;
  transition: color .18s;
}
.nav a:hover { color: var(--accent); }
.nav__num { font-family: var(--f-mono); font-size: .6875rem; color: var(--ink-soft); letter-spacing: .08em; }
.header__actions { display: inline-flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--ink); background: transparent; text-decoration: none;
  border: 1px solid var(--rule-soft);
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn .icon { width: 18px; height: 18px; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .nav, .header__actions { display: none; }
  .menu-btn { display: grid; grid-column: 3; grid-row: 1; justify-self: end; }
  .nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 10px 20px 22px;
  }
  .nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open a { padding: 16px 4px; border-bottom: 1px solid var(--rule-soft); font-size: 1.0625rem; }
}

/* ---------- Floating actions ---------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.3);
  transition: transform .18s, background .18s;
}
.wa-float:hover { background: #0b6540; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 45;
    display: grid; grid-template-columns: 1.4fr 1fr 48px 48px; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--rule);
  }
  .mobile-bar .btn { min-height: 46px; padding: 8px 10px; font-size: .9375rem; }
  .mobile-bar .btn--icon { padding: 0; }
  .mobile-bar .btn--icon .icon { width: 20px; height: 20px; }
}

/* ---------- Section scaffolding ------------------------------------------- */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.on-dark { color: var(--paper-on-dark); }

.section__anchor {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 10px; margin-bottom: 32px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}
.section--dark .section__anchor { color: var(--paper-on-dark); }
.section__anchor::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
.section__head .lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); margin-top: 20px; max-width: 56ch; }
.section--dark .section__head .lede { color: var(--mute-on-dark); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- HERO ----------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(56px, 8vw, 120px) clamp(44px, 6vw, 96px);
  background: var(--paper);
}
.hero::after { /* a hairline rail on the left edge for editorial feel */
  content: "";
  position: absolute; left: var(--gutter); top: 0; bottom: 0;
  width: 1px; background: var(--rule-soft);
  display: none;
}
@media (min-width: 1100px) { .hero::after { display: block; } }

.issueline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding-bottom: 22px; border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.issueline > * { display: inline-flex; align-items: center; gap: 10px; }
.issueline b { font-family: var(--f-display); font-weight: 600; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  position: relative;
}
.live-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: .4;
  animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }

.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 56px) 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); align-items: start; }
}
.hero__head { max-width: 20ch; }
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: italic; font-family: var(--f-body); font-weight: 400;
  color: var(--accent); letter-spacing: -0.015em;
}
.hero__lede {
  margin-top: 28px; max-width: 48ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-soft);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.hero__fine {
  margin-top: 16px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hero right column — tracking console */
.console {
  position: relative;
  background: var(--ink); color: var(--paper-on-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
}
.console::before { /* subtle dot grid */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(243,237,224,.08) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
}
.console > * { position: relative; }
.console__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-on-dark);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper-on-dark);
}
.console__head .live-dot { background: #4ad38a; }
.console__head .live-dot::after { border-color: #4ad38a; }
.console__title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--paper); letter-spacing: -0.02em; margin-bottom: 4px; }
.console__sub { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-on-dark); }
.console__route {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px;
  align-items: center;
  margin: 22px 0;
}
.console__city b { display: block; font-family: var(--f-display); font-size: 1.3rem; color: var(--paper); font-weight: 500; letter-spacing: -0.02em; }
.console__city span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-on-dark); }
.console__city--right { text-align: right; }
.route-line { position: relative; height: 2px; background: var(--rule-on-dark); border-radius: 2px; overflow: hidden; }
.route-line::before {
  content: ""; position: absolute; inset: 0 60% 0 0;
  background: var(--accent);
}
.route-line__marker {
  position: absolute; left: 40%; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--accent);
}
.console__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 14px; border-top: 1px solid var(--rule-on-dark);
}
.console__meta div { }
.console__meta dt { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-on-dark); margin-bottom: 4px; }
.console__meta dd { margin: 0; font-family: var(--f-display); font-size: 1.0625rem; color: var(--paper); font-weight: 500; }

.console__feed {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule-on-dark);
  display: grid; gap: 10px;
}
.feed-item { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: baseline; font-size: .875rem; }
.feed-item time { font-family: var(--f-mono); font-size: .75rem; color: var(--mute-on-dark); letter-spacing: .06em; }
.feed-item span b { font-family: var(--f-display); font-weight: 500; color: var(--paper); margin-right: 6px; }
.feed-item em { font-style: normal; color: var(--mute-on-dark); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.feed-item.is-live { animation: slide-in .5s ease-out; }
@keyframes slide-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hero quick-track strip */
.quick-track {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.quick-track__label { display: block; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.quick-track__row {
  display: grid; grid-template-columns: 1fr auto; gap: 0;
  border: 1px solid var(--rule); border-radius: 999px; overflow: hidden;
  background: var(--field);
  max-width: 520px;
}
.quick-track__row input {
  border: 0; background: transparent; padding: 14px 20px; min-height: 48px;
  font-family: var(--f-mono); font-size: .9375rem; letter-spacing: .04em;
  color: var(--ink); outline: 0;
}
.quick-track__row input::placeholder { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; }
.quick-track__row button {
  padding: 0 22px; font-weight: 600;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s;
}
.quick-track__row button:hover { background: #000; }
.quick-track__err { margin-top: 8px; font-size: .8125rem; color: var(--danger); font-weight: 600; min-height: 1em; }

/* ---------- Marquee / proof strip ----------------------------------------- */
.strip {
  padding-block: 24px;
  background: var(--ink); color: var(--paper-on-dark);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.strip__row {
  display: flex; align-items: center; gap: 56px;
  white-space: nowrap;
  animation: slide 44s linear infinite;
  width: max-content;
}
.strip__row > span {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em;
}
.strip__row > span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__row { animation: none; } }

/* ---------- CAPABILITIES (services) --------------------------------------- */
.cap-grid { display: grid; gap: 0; }
.cap {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px;
  align-items: start;
  padding-block: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--rule);
  transition: background .25s;
  position: relative;
}
.cap:last-child { border-bottom: 1px solid var(--rule); }
.cap:hover { background: var(--paper-2); }
.cap__num { font-family: var(--f-mono); font-size: .875rem; letter-spacing: .1em; color: var(--ink-soft); padding-top: 6px; }
.cap__body h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight: 500; letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.cap__body p { color: var(--ink-soft); max-width: 54ch; }
.cap__cta { padding-top: 14px; }
.cap__arrow {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--ink);
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.cap:hover .cap__arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translate(2px, -2px); }
@media (max-width: 760px) {
  .cap { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .cap__num { padding: 0; }
  .cap__cta { padding-top: 6px; }
  .cap__arrow { display: none; }
}

/* ---------- IN OPERATION (photo band) ------------------------------------ */
.ops { background: var(--paper); }
.ops-grid {
  display: grid; gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .ops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .ops-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.ops-card {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink); color: var(--paper);
  aspect-ratio: 4/5;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s;
}
.ops-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(10,19,34,.4); }
.ops-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(.85) contrast(1.04);
  transition: transform 1.1s cubic-bezier(.2,.6,.2,1);
}
.ops-card:hover img { transform: scale(1.045); }
.ops-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(10,19,34,.25) 0%,
    rgba(10,19,34,.05) 30%,
    rgba(10,19,34,.55) 72%,
    rgba(10,19,34,.95) 100%);
}
.ops-card figcaption {
  position: absolute; left: clamp(20px, 2vw, 30px); right: clamp(20px, 2vw, 30px);
  bottom: clamp(22px, 2.5vw, 32px);
  z-index: 2;
}
.ops-card__meta {
  display: block; margin-bottom: 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.ops-card figcaption h3 {
  color: var(--paper);
  font-size: clamp(1.0625rem, 1.4vw, 1.3rem);
  font-weight: 500; line-height: 1.3; letter-spacing: -0.015em;
}
.ops-card__tag {
  position: absolute; top: clamp(18px, 2vw, 24px); left: clamp(18px, 2vw, 24px);
  z-index: 2;
  padding: 7px 12px 6px; border: 1px solid rgba(243,237,224,.55); border-radius: 999px;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); background: rgba(10,19,34,.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- METHOD (how it works) ----------------------------------------- */
.method {
  display: grid; gap: 0;
}
.method__row {
  display: grid; grid-template-columns: 100px 160px 1fr; gap: 28px;
  padding-block: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--rule-on-dark);
  align-items: start;
}
.method__row:last-child { border-bottom: 1px solid var(--rule-on-dark); }
.method__step { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .14em; color: var(--mute-on-dark); padding-top: 6px; }
.method__label { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.02em; color: var(--paper); font-weight: 500; }
.method__text { color: var(--mute-on-dark); max-width: 56ch; }
.method__text em { color: var(--paper); font-style: normal; }
@media (max-width: 760px) {
  .method__row { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .method__step { padding: 0; }
}

.method-callout {
  margin-top: 56px;
  display: grid; gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--rule-on-dark); border-radius: var(--radius-lg);
}
@media (min-width: 860px) { .method-callout { grid-template-columns: 1.4fr auto; align-items: center; } }
.method-callout h3 { font-size: 1.5rem; letter-spacing: -0.025em; color: var(--paper); font-weight: 500; }
.method-callout p { color: var(--mute-on-dark); margin-top: 8px; max-width: 56ch; }

/* ---------- TRACKING section ---------------------------------------------- */
.track-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .track-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

.track-intro h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.track-intro p { margin-top: 20px; color: var(--ink-soft); max-width: 44ch; }

.track-form {
  margin-top: 32px;
  display: grid; gap: 10px;
}
.track-form .quick-track__row { max-width: 560px; }
.track-form__err { font-size: .8125rem; color: var(--danger); font-weight: 600; min-height: 1em; }
.track-form__hint {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 10px;
}

/* Big dossier card */
.dossier {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
}
.dossier__banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--rule-soft);
}
.dossier__label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.dossier__id { font-family: var(--f-mono); font-size: 1.0625rem; letter-spacing: .06em; color: var(--ink); font-weight: 500; }
.dossier__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
}
.dossier__status .live-dot { background: #4ad38a; width: 7px; height: 7px; }
.dossier__status .live-dot::after { border-color: #4ad38a; }

.dossier__cities {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  margin-bottom: 22px;
}
.dossier__city h4 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.025em; }
.dossier__city--right { text-align: right; }
.dossier__city small { display: block; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.dossier__arrow {
  display: grid; place-items: center;
  width: 44px; height: 2px; background: var(--ink); position: relative;
}
.dossier__arrow::after { content: ""; position: absolute; right: -1px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: rotate(45deg); top: -4px; }

.dossier__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 16px 0; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 24px;
}
.dossier__meta dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.dossier__meta dd { margin: 0; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }

/* Timeline — vertical, operational */
.timeline {
  display: grid; gap: 0;
  margin-top: 10px;
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 16px;
  padding: 10px 0 18px;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px;
  width: 1.5px; background: var(--rule-soft);
}
.timeline li.is-done:not(:last-child)::after { background: var(--ink); }
.tl__dot {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--rule); background: var(--paper); color: transparent;
}
.tl__dot .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.is-done .tl__dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.is-current .tl__dot { border-color: var(--accent); border-width: 2.5px; }
.is-current .tl__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,97,31,.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(201,97,31,.08); } }
.tl__body { padding-top: 4px; }
.tl__label { font-family: var(--f-display); font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.is-todo .tl__label { color: var(--ink-soft); font-weight: 500; }
.tl__sub { font-size: .8125rem; color: var(--ink-soft); margin-top: 2px; }
.tl__time {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em;
  color: var(--ink-soft); padding-top: 8px; text-align: right; white-space: nowrap;
}

/* ---------- COMMITMENTS (why us) ------------------------------------------ */
.commits { display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: c; }
@media (min-width: 760px) { .commits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .commits { grid-template-columns: 1fr 1fr 1fr; } }
.commit {
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  position: relative;
}
.commit:nth-child(-n+1) { border-top-color: var(--rule); }
@media (min-width: 760px) {
  .commit:nth-child(2n+1) { border-left: 1px solid var(--rule); }
}
.commit::before {
  counter-increment: c;
  content: "0" counter(c);
  display: block;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; color: var(--ink-soft);
  margin-bottom: 18px;
}
.commit h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.commit p { color: var(--ink-soft); font-size: .9375rem; }
.commits-wrap { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- BRANCHES ------------------------------------------------------- */
.branch-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 32px; }
.branch-tools .field { margin: 0; min-width: 240px; }

.branches { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.branch {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s, box-shadow .25s;
}
.branch:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.branch__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.branch__city { font-family: var(--f-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.025em; }
.branch__role {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 10px; border: 1px solid var(--rule-soft); border-radius: 999px;
}
.branch__meta { display: grid; gap: 10px; font-size: .9375rem; }
.branch__meta > div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: baseline; }
.branch__meta dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.branch__meta dd { margin: 0; color: var(--ink); }
.branch__meta dd a { color: inherit; text-decoration: none; }
.branch__meta dd a:hover { color: var(--accent); }
.branch--more {
  background: transparent;
  border: 1px dashed var(--rule-soft);
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft);
}
.branch--more strong { font-family: var(--f-display); font-weight: 500; color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--rule);
  padding-block: 4px;
}
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--ink), var(--ink)) center/14px 1.5px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center/1.5px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 40px 24px 0; color: var(--ink-soft); font-size: 1rem; max-width: 70ch; }

/* ---------- FINAL CTA ----------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate;
  background: var(--ink) url("img/photo-cta-bg.jpg") center/cover no-repeat;
  color: var(--paper-on-dark);
  padding-block: clamp(80px, 10vw, 160px);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(130deg, rgba(10,19,34,.94) 0%, rgba(10,19,34,.78) 55%, rgba(10,19,34,.94) 100%),
    linear-gradient(to top, rgba(10,19,34,.6), transparent 40%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 500; letter-spacing: -0.04em;
  max-width: 20ch;
}
.cta-band h2 em { font-style: italic; font-family: var(--f-body); color: var(--accent); font-weight: 400; }
.cta-band p { color: var(--mute-on-dark); margin-top: 24px; font-size: 1.1875rem; max-width: 48ch; }
.cta-band .hero__cta { margin-top: 36px; }
.cta-band__fine { margin-top: 20px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-on-dark); }

/* ---------- FOOTER -------------------------------------------------------- */
.site-footer { background: var(--paper-2); color: var(--ink); padding-block: 64px 32px; border-top: 1px solid var(--rule); }
.footer__top { display: grid; gap: 48px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand .brand__wordmark { font-size: 1.25rem; }
.footer__brand p { margin-top: 20px; color: var(--ink-soft); max-width: 36ch; font-size: .9375rem; }
.site-footer h4 {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 16px; font-weight: 500;
}
.site-footer ul { display: grid; gap: 10px; font-size: .9375rem; }
.site-footer li a { color: var(--ink); text-decoration: none; }
.site-footer li a:hover { color: var(--accent); }
.footer__contact li { display: flex; gap: 10px; align-items: baseline; }
.footer__contact .icon { width: 14px; height: 14px; color: var(--ink-soft); margin-top: 4px; }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--rule-soft);
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.footer__bottom ul { display: flex; gap: 20px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FORMS (shared, used by dialogs) ------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > label, .field > legend, fieldset.field > legend { font-weight: 600; font-size: .9375rem; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .hint { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--rule); background: var(--field); color: var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--f-body); font-size: 1rem;
}
input[type=number], input[type=tel] { font-family: var(--f-mono); letter-spacing: .02em; }
textarea { min-height: 88px; resize: vertical; font-family: var(--f-body); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a1322' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
[aria-invalid="true"] { border-color: var(--danger) !important; background-color: #fff4f3; }
.err { color: var(--danger); font-size: .8125rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row--2 { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) { .row--2:has(input[type=number]) { grid-template-columns: 1fr 1fr; } }
.row--3.dims { grid-template-columns: repeat(3, 1fr); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--rule); border-radius: var(--radius); cursor: pointer; background: var(--field); transition: border-color .18s, background .18s; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.choice b { display: block; color: var(--ink); font-weight: 600; }
.choice span { font-size: .875rem; color: var(--ink-soft); }
.choices { display: grid; gap: 10px; }
.info-box { padding: 14px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--rule-soft); font-size: .9375rem; }
.info-box b { color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* ---------- DIALOG shell -------------------------------------------------- */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: hidden; }
dialog.modal::backdrop { background: rgba(10,19,34,.65); backdrop-filter: blur(4px); }
.modal__wrap { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; }
.modal__panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--paper); overflow: hidden; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--rule); }
.modal__head h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.025em; }
.modal__head .microcopy { margin-top: 4px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.modal__body { flex: 1; overflow-y: auto; padding: 24px; }
.modal__foot { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--paper); }
.modal__foot .btn { min-width: 128px; }
.modal__foot .btn[hidden] { display: none; }
.modal__foot .spacer { flex: 1; }
@media (min-width: 761px) {
  .modal__wrap { padding: 32px; }
  .modal__panel { max-width: 760px; height: auto; max-height: calc(100vh - 64px); border-radius: var(--radius-lg); box-shadow: 0 32px 80px rgba(0,0,0,.4); }
  .modal__panel--sm { max-width: 580px; }
}
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 24px 0; counter-reset: p; }
.progress li { counter-increment: p; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; color: var(--ink-soft); border-top: 2px solid var(--rule-soft); padding-top: 10px; letter-spacing: .08em; text-transform: uppercase; }
.progress li::before { content: "0" counter(p) "  "; }
.progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
.progress li.is-current { border-top-color: var(--accent); color: var(--ink); }
.progress li span.long { display: none; }
.progress li.is-current span.long { display: inline; }
@media (min-width: 560px) { .progress li span.long { display: inline; } }
.step[hidden] { display: none; }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; font-weight: 500; letter-spacing: -0.02em; }
.step > .microcopy { margin-bottom: 20px; color: var(--ink-soft); }
.sub-title { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 12px 0 14px; }
.summary { display: grid; gap: 0; border: 1px solid var(--rule-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.summary div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px; font-size: .9375rem; }
.summary div:nth-child(odd) { background: var(--paper-2); }
.summary dt { color: var(--ink-soft); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.summary dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.price-note { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--paper-2); color: var(--ink); margin-bottom: 20px; font-size: .9375rem; border: 1px solid var(--rule-soft); }
.price-note .icon { margin-top: 2px; color: var(--accent); }
.confirm { text-align: center; padding: 16px 0 8px; }
.confirm__tick { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.confirm__tick .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.confirm h3 { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.025em; }
.confirm__no { display: inline-block; margin: 20px 0 6px; padding: 14px 24px; border: 1.5px dashed var(--ink); border-radius: var(--radius); font-family: var(--f-mono); font-size: 1.375rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.confirm p { color: var(--ink-soft); max-width: 48ch; margin-inline: auto; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.file-name { font-size: .875rem; color: var(--ink); font-weight: 500; }
.form-ok { padding: 32px 4px; text-align: center; }

/* ---------- Motion -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.2,.6,.2,1), transform .55s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .05s; }
.reveal:nth-child(3) { transition-delay: .1s; }
.reveal:nth-child(4) { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .mobile-bar, .wa-float, .demo-bar { display: none; } }

/* ---------- Concept-demo additions (remove for production) ----------------- */
:root { --demo-h: 40px; }
html { scroll-padding-top: calc(var(--demo-h) + var(--header-h) + 16px); }
.demo-bar {
  position: sticky; top: 0; z-index: 55; height: var(--demo-h);
  display: flex; gap: 18px; align-items: center; justify-content: center;
  padding: 0 var(--gutter); background: var(--ink); color: var(--paper-on-dark);
  font-size: .8125rem; line-height: 1.2; white-space: nowrap;
}
.site-header { top: var(--demo-h); }
.demo-bar__text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 900px) { .demo-bar__long { display: none; } .demo-bar { justify-content: space-between; } }
.demo-bar a { color: var(--paper); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; text-decoration-color: var(--accent); }
.demo-bar .icon { width: 14px; height: 14px; }
.linklike { padding: 0; font-family: var(--f-mono); font-size: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
.confirm__demo { margin-top: 10px; font-size: .9375rem; }
.confirm__demo a { font-weight: 600; color: var(--accent); }
.branch--more span { display: block; max-width: 30ch; }
