/* Ozona site kit. Tokens come from kami contract/tokens.json (theme "canyon") plus the desert extensions.
   Directions skin the same markup: .d1 photo-led, .d2 product-led, .d3 desert-tinted. */
/* JetBrains Mono, self-hosted (SIL OFL, fonts/OFL.txt): no request leaves the site */
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-500.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("fonts/jetbrains-mono-700.woff2") format("woff2"); }

:root {
  --bg: #100c14; --card: #181220; --raised: #201828; --line: #2c2138; --line-2: #3a2c48;
  --ink: #f2ecf4; --soft: #d9cfe0; --dim: #a393ad;
  --sun: #ffd27f; --pink: #f0a3c0; --jade: #8be9c9; --rose: #ff8fa3;
  --plum: #3a2236; --mesa: #6b3a4e; --sand: #c98b6b; --paper: #f4ede4; --paper-ink: #1d1620;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 40px; --sp-7: 64px; --sp-8: 96px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --tap: 44px; --vh: 1vh; --max: 1200px;
  --pad: clamp(20px, 4.5vw, 64px);
  --sec: clamp(56px, 9vw, 120px);
  --t-display: clamp(38px, 6.4vw, 76px);
  --t-h2: clamp(28px, 3.6vw, 44px);
  --t-h3: clamp(19px, 1.6vw, 22px);
  --t-lead: clamp(17px, 1.5vw, 20px);
  --t-body: 16px; --t-small: 14px; --t-label: 11px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: var(--t-body)/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; }
.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* type */
.eyebrow { font: 600 var(--t-label)/1 var(--mono); letter-spacing: .12em; color: var(--sun); text-transform: uppercase; }
.display { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: var(--t-h2); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
.h3 { font-size: var(--t-h3); line-height: 1.25; font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--soft); max-width: 36em; }
.body { color: var(--soft); max-width: 40em; }
.small { font-size: var(--t-small); color: var(--dim); }
.label { font: 600 var(--t-label)/1 var(--mono); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.num { font: 500 22px/1 var(--mono); }

/* mark */
.mark { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); color: var(--ink); white-space: nowrap; }
.mark .word { font: 700 15px/1 var(--mono); letter-spacing: .18em; }
.mark .sub { color: var(--dim); letter-spacing: .12em; }
.appicon { display: inline-flex; align-items: center; justify-content: center; background: var(--plum); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* nav */
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) var(--pad); }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links a:not(.btn) { min-height: var(--tap); display: flex; align-items: center; font-size: 15px; white-space: nowrap; color: var(--soft); }
.nav-links a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sun); }
.menu-btn { display: none; width: var(--tap); height: var(--tap); border-radius: var(--r-pill); border: 1px solid rgba(242, 236, 244, .25); background: rgba(16, 12, 20, .4); color: var(--ink); align-items: center; justify-content: center; }
@media (max-width: 899px) { .nav-links { display: none; } .menu-btn { display: flex; } }
.over-nav { margin-top: calc(-1 * (var(--tap) + 24px)); }

/* mobile menu */
.sheet { position: fixed; inset: 0; z-index: 10; background: rgba(16, 12, 20, .97); display: flex; flex-direction: column; padding: var(--sp-3) var(--pad) var(--sp-6); gap: var(--sp-5); }
.sheet .top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-size: 24px; font-weight: 600; border-bottom: 1px solid var(--line); }
.sheet nav a span { font: 500 var(--t-label)/1 var(--mono); color: var(--dim); letter-spacing: .08em; }

/* buttons, chips, fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 600 16px/1 var(--sans); white-space: nowrap; border: 0; cursor: pointer; }
.btn.sm { min-height: var(--tap); padding: 0 18px; font-size: 15px; }
.btn.sun { background: var(--sun); color: var(--bg); }
.btn.ink { background: var(--bg); color: var(--sun); }
.btn.ghost { background: transparent; border: 1px solid rgba(242, 236, 244, .3); color: var(--ink); font-weight: 500; }
.btn.text { min-height: var(--tap); padding: 0; color: var(--sun); font-weight: 600; }
.btn[disabled] { opacity: .45; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card); color: var(--soft); font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer; }
.chip.on { border-color: var(--sun); color: var(--ink); background: var(--raised); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.chip.on i { background: var(--sun); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.field label, .field .legend { font: 600 var(--t-label)/1 var(--mono); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.input { min-height: 52px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 0 16px; font: 400 16px/1 var(--sans); width: 100%; }
.input::placeholder { color: var(--dim); }
.input.bad { border-color: var(--rose); }
.hint { font-size: 13px; color: var(--dim); }
.hint.bad { color: var(--rose); }
.inline-form { display: flex; flex-wrap: wrap; gap: var(--sp-3); max-width: 520px; }
.inline-form .input { flex: 1 1 240px; }
.check { min-height: 64px; border: 1px dashed var(--line-2); border-radius: var(--r-md); display: flex; align-items: center; gap: var(--sp-3); padding: 0 16px; color: var(--dim); font: 500 12px/1 var(--mono); letter-spacing: .06em; }

/* cards */
.grid2 { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid3 { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid4 { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.card.flat { border-radius: var(--r-md); padding: var(--sp-4); }
.product { overflow: hidden; padding: 0; }
.product .shot { background: var(--raised); display: flex; align-items: flex-end; justify-content: center; padding: var(--sp-5) var(--sp-5) 0; min-height: 320px; overflow: hidden; border-bottom: 1px solid var(--line); }
.product .copy { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--sun); }

/* phone and desk shots */
.phone { width: 260px; max-width: 70%; border-radius: 34px 34px 0 0; overflow: hidden; box-shadow: 0 -2px 0 1px #2a2232, 0 30px 60px rgba(0, 0, 0, .5); }
.phone img { width: 100%; }
.phone.full { border-radius: 34px; box-shadow: 0 0 0 1px #2a2232, 0 30px 60px rgba(0, 0, 0, .5); }
.desk { width: 100%; max-width: 640px; background: #0f0c13; border: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.desk .bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line); }
.desk .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.desk .bar span { margin-left: 8px; font: 600 var(--t-label)/1 var(--mono); letter-spacing: .1em; color: var(--dim); }
.desk .bar b { margin-left: auto; font: 500 var(--t-label)/1 var(--mono); color: var(--dim); }
.desk .body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 300px; background-image: radial-gradient(rgba(242, 236, 244, .07) 1px, transparent 1.3px); background-size: 14px 14px; }
.desk .side { border-right: 1px solid var(--line); padding: var(--sp-3); display: flex; flex-direction: column; gap: 2px; background: rgba(16, 12, 20, .6); }
.desk .side span { font: 500 12px/1 var(--mono); color: var(--dim); padding: 8px; border-radius: 6px; white-space: nowrap; }
.desk .side span.on { background: var(--raised); color: var(--ink); }
.desk .tiles { padding: var(--sp-4); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); align-content: start; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--sp-3); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile b { font: 500 18px/1.15 var(--mono); }
@media (max-width: 520px) { .desk .body { grid-template-columns: minmax(0, 1fr); } .desk .side { display: none; } }

/* Outspan thread */
.thread { width: 100%; max-width: 360px; background: rgba(24, 18, 32, .95); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.thread .top { display: flex; justify-content: space-between; align-items: center; font: 700 12px/1 var(--mono); letter-spacing: .1em; }
.thread .live { font: 500 var(--t-label)/1 var(--mono); color: var(--jade); letter-spacing: .06em; }
.bubble { max-width: 88%; border-radius: 16px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.bubble.me { align-self: flex-end; background: var(--line); border-bottom-right-radius: 4px; }
.bubble.lars { background: var(--raised); border-bottom-left-radius: 4px; color: #e6dcea; }
.place { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-3); display: flex; flex-direction: column; gap: 6px; }
.place b { font-size: 15px; }
.place .m { font: 500 12px/1.3 var(--mono); color: var(--dim); }

/* photos */
.photo { position: relative; overflow: hidden; background: var(--plum); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.truck { border-radius: var(--r-lg); }
.photo.truck.wide { aspect-ratio: 3 / 2; }
.photo.truck.tall { aspect-ratio: 4 / 5; }
.photo .credit { position: absolute; right: var(--sp-3); bottom: var(--sp-3); font: 500 10px/1 var(--mono); letter-spacing: .06em; color: rgba(242, 236, 244, .8); background: rgba(16, 12, 20, .6); padding: 5px 7px; border-radius: 5px; }
.fade-up { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(to top, var(--bg) 8%, rgba(16, 12, 20, .55) 55%, rgba(16, 12, 20, 0)); pointer-events: none; }
.fade-down { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(to bottom, rgba(16, 12, 20, .75), rgba(16, 12, 20, 0)); pointer-events: none; }
.band { height: clamp(220px, 38vw, 480px); border-radius: var(--r-lg); }

/* hero, three directions */
.hero { position: relative; overflow: hidden; }
.hero .photo.bg { position: absolute; inset: 0; }
.hero-1 { min-height: max(600px, calc(var(--vh) * 90)); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--tap) + 96px) 0 var(--sp-6); }
.hero-1 .inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); }
.hero-1 .copy { flex: 1 1 420px; max-width: 640px; }
.hero-1 .thread { flex: 0 1 340px; }
.hero-2 { padding: clamp(40px, 8vw, 96px) 0 0; text-align: center; }
.hero-2 .copy { align-items: center; margin: 0 auto; max-width: 860px; }
.hero-2 .row { justify-content: center; }
.hero-2 .stage { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: var(--sp-5); padding-top: clamp(36px, 6vw, 72px); }
.hero-2 .stage .desk { flex: 1 1 460px; }
@media (min-width: 860px) and (max-width: 1000px) { .hero-2 { text-align: left; } .hero-2 .copy { align-items: flex-start; } .hero-2 .row { justify-content: flex-start; } }
.hero-3 { min-height: max(620px, calc(var(--vh) * 92)); display: flex; flex-direction: column; padding-top: calc(var(--tap) + 24px); background: var(--pink); color: var(--paper-ink); }
/* the landscape sits under the copy, never behind it; the signs stand on its ground */
.hero-3 .land { display: block; width: 100%; height: clamp(170px, 22vw, 290px); margin-top: auto; flex: none; }
.hero-3 .ground { background: #3a2236; margin-top: -2px; }
.hero-3 > .wrap { width: 100%; }
.hero-3 .copy { position: relative; padding-top: clamp(28px, 6vw, 80px); padding-bottom: var(--sp-6); max-width: 760px; }
.hero-3 .eyebrow { color: var(--plum); }
.hero-3 .lead { color: #2a1a26; }
.hero-3 .btn.ghost { border-color: rgba(16, 12, 20, .5); color: var(--paper-ink); }
.hero-3 .signs { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--sp-4); padding: var(--sp-6) 0 var(--pad); }
@media (min-width: 860px) and (max-width: 1000px) { .hero-3 .signs { grid-template-columns: minmax(0, 412px) minmax(0, 1fr); column-gap: 44px; } }
.sign { background: rgba(16, 12, 20, .9); color: var(--ink); border: 1px solid rgba(255, 210, 127, .35); border-radius: var(--r-md); padding: var(--sp-4); display: flex; flex-direction: column; gap: 6px; }
.sign b { font: 700 15px/1 var(--mono); letter-spacing: .14em; }
.sign span { font-size: 14px; color: var(--soft); }
.d3 .on-pink .mark, .d3 .on-pink .nav-links a:not(.btn) { color: var(--paper-ink); }
.d3 .on-pink .mark .sub { color: var(--plum); }
.d3 .on-pink .menu-btn { color: var(--paper-ink); border-color: rgba(16, 12, 20, .4); background: rgba(240, 163, 192, .5); }
.d3 .on-pink .nav-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--paper-ink); }

/* direction skins */
.d2 { background-image: radial-gradient(rgba(242, 236, 244, .06) 1px, transparent 1.3px); background-size: 16px 16px; }
.d3 .display, .d3 .h2, .t3 .display, .t3 .h2 { font-family: var(--mono); text-transform: uppercase; letter-spacing: -.03em; }
.d3 .display, .t3 .display { font-size: clamp(32px, 5.4vw, 64px); line-height: 1.04; }
.d3 .h2, .t3 .h2 { font-size: clamp(24px, 3vw, 38px); }
.d3 .card, .t3 .card { border-radius: var(--r-md); }
.d3 .sec.alt, .t3 .sec.alt { background: var(--plum); }
.page-hero { position: relative; overflow: hidden; }
.page-hero .photo.bg { position: absolute; inset: 0; }
.page-hero .inner { position: relative; padding: calc(var(--tap) + 120px) 0 var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-4); max-width: 760px; }
.page-hero.plain .inner { padding-top: calc(var(--tap) + 72px); }
.page-hero.band .inner { padding: calc(var(--tap) + 64px) 0 var(--sp-6); }   /* H2: a shorter photo band */
.d3 .page-hero.plain { background: var(--pink); color: var(--paper-ink); }
.d3 .page-hero.plain .lead { color: #2a1a26; }
.d3 .page-hero.plain .eyebrow { color: var(--plum); }

/* compare table */
.tablebox { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 320px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font: 600 var(--t-label)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.compare td:first-child { color: var(--soft); }
.compare td.y, .compare td.n { white-space: nowrap; font: 500 14px/1.2 var(--mono); width: 1%; }
.compare td.y { color: var(--jade); }
.compare td.n { color: var(--dim); }
.compare th.ozona { color: var(--sun); }
@media (max-width: 599px) {
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); padding: 12px 0; gap: 6px 12px; }
  .compare td { border: 0; padding: 0; }
  .compare td:first-child { grid-column: 1 / -1; color: var(--ink); font-weight: 600; }
  .compare td.y, .compare td.n { width: auto; white-space: normal; }
  .compare td.y::before, .compare td.n::before { display: block; font: 600 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); content: attr(data-l); }
  .compare td.y::before { color: var(--sun); }
}

/* steps, diagram, faq */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { border-top: 2px solid var(--sun); padding-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.step .n { font: 700 13px/1 var(--mono); color: var(--sun); letter-spacing: .1em; }
.flow { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: stretch; }
.node { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: var(--sp-4); background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.node.you { border-color: var(--sun); }
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font: 500 18px/1 var(--mono); color: var(--sun); }
.faq p { padding: 0 0 var(--sp-4); color: var(--soft); max-width: 44em; }

/* merch */
.merch .tile-img { aspect-ratio: 1; border-radius: var(--r-md); background: var(--raised); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); }
.merch .price { font: 600 15px/1 var(--mono); color: var(--sun); }

/* CTA band, footer */
.cta { border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); background: var(--card); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.d3 .cta, .t3 .cta { background: var(--plum); border-color: var(--mesa); }
.foot { border-top: 1px solid var(--line); padding: var(--sp-7) 0 var(--sp-6); }
.foot .cols { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.foot .col { display: flex; flex-direction: column; gap: 2px; }
.foot .col a { min-height: var(--tap); display: flex; align-items: center; color: var(--soft); font-size: 15px; }
.foot .legal { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); }

/* style guide */
.swatches { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card); }
.swatch .chipc { height: 72px; }
.swatch .meta { padding: var(--sp-3); display: flex; flex-direction: column; gap: 4px; }
.swatch b { font: 600 13px/1.2 var(--mono); }
.swatch .small { font-family: var(--mono); font-size: 12px; }
.specimen { display: flex; flex-direction: column; gap: var(--sp-4); }
.spec { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-4); align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: var(--sp-4); }
@media (max-width: 599px) { .spec { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); } }
.scale { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-4); }
.scale .bar { background: var(--sun); border-radius: 3px; width: 24px; }
.logos { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.logo-card { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.logo-card .art { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: var(--sp-5); }
.logo-card .art.dark { background: var(--bg); color: var(--ink); }
.logo-card .art.light { background: var(--paper); color: var(--paper-ink); }
.logo-card .art.light .mark, .logo-card .art.pink .mark { color: var(--paper-ink); }
.logo-card .art.light .mark .sub, .logo-card .art.pink .mark .sub { color: var(--plum); }
.logo-card .art.pink { background: var(--pink); color: var(--paper-ink); }
.logo-card .uses { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: var(--card); border-top: 1px solid var(--line); }
.logo-card .uses .fav { display: flex; align-items: center; gap: var(--sp-2); }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 6px; background: var(--sun); color: var(--bg); font: 700 11px/1 var(--mono); letter-spacing: .08em; white-space: nowrap; }
.bigmark .mark .word { font-size: 30px; }

/* boards: the brand sheet and the style guide, read top to bottom, no device */
body.board { padding: var(--sp-5); }
.bhead { display: flex; justify-content: space-between; gap: var(--sp-4); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); }
.btitle { margin: var(--sp-5) 0 var(--sp-3); }
.lg { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.lg:last-child { border-bottom: 0; }
.lg-top { display: flex; align-items: center; gap: var(--sp-3); }
.lg .art { display: flex; align-items: center; justify-content: center; border-radius: var(--r-lg); border: 1px solid var(--line); padding: var(--sp-5); min-height: 120px; }
.lg .art.hero { min-height: 200px; }
.lg .art.dark { background: var(--bg); }
.lg .art.light { background: var(--paper); }
.lg .art.pink { background: var(--pink); }
.lg .art.light .mark, .lg .art.pink .mark { color: var(--paper-ink); }
.lg .art.light .mark .sub, .lg .art.pink .mark .sub { color: var(--plum); }
.bmark .mark .word { font-size: calc(var(--mk) * .47); }
.bmark .mark { gap: calc(var(--mk) * .3); }
.lg-uses { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-5); padding-top: var(--sp-2); }
.lg-uses figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.lg-uses .tab { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 32px; padding: 0 var(--sp-3); border-radius: 8px 8px 0 0; background: var(--raised); color: var(--soft); font-size: 13px; }

/* on a light or pink ground the sun gets a fine ink edge, like the drawn sun in D3 */
.art.light, .art.pink, .d3 .on-pink { --mark-edge: var(--paper-ink); --mark-ring: var(--paper-ink); }

/* blends: D1's photo or D3's desert with one screen, Outspan in a real iPhone, standing at the foot of the hero */
.hero-phone { position: relative; z-index: 1; width: min(76%, 300px); margin: 0 auto; flex: none; }
.hero-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5)); }
.hero-ps { padding-bottom: 0; overflow: hidden; }
.hero-ps .inner { flex-direction: column; align-items: stretch; gap: clamp(32px, 6vw, 56px); }
.hero-ps .copy { flex: none; }
.hero-ls { overflow: hidden; }
.hero-ls .copy { max-width: 640px; }
@media (min-width: 1000px) {
  .hero-ps .inner { flex-direction: row; align-items: flex-end; }
  .hero-ps .copy { flex: 1 1 0; align-self: center; }
  .hero-ps .hero-phone, .hero-ls .hero-phone { margin: 0 6% 0 0; }
}
/* B3: the desert stays in view: it fills the lower part of the hero, and the devices stand on it */
.hero-ls { padding-bottom: 0; }
.hero-ls .land { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; margin: 0; z-index: 0; }
.hero-ls .duo { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6); }
.hero-ls .sun-l { display: none; }
@media (min-width: 1000px) {
  .hero-ls .land { height: 30%; }
  .hero-ls .copy { padding-top: var(--sp-5); }
  .hero-ls .sun-l { display: inline; }
  .hero-ls .sun-r { display: none; }
  .hero-ls .duo { flex-direction: row; align-items: flex-end; }
  .hero-ls .copy { align-self: flex-start; }
}

/* B4: a light, pink-sky photo, so the hero's type is ink, as on D3's sky */
.b4 .hero-1 .fade-down { background: linear-gradient(rgba(244, 237, 228, .55), transparent); }
.b4 .hero-1 .fade-up { background: linear-gradient(transparent 55%, rgba(16, 12, 20, .55)); }
.b4 .hero-1 .eyebrow { color: var(--plum); }
.b4 .hero-1 .display { color: var(--paper-ink); }
.b4 .hero-1 .lead { color: #2a1a26; }
.b4 .hero-1 .btn.ghost { border-color: rgba(16, 12, 20, .5); color: var(--paper-ink); background: rgba(244, 237, 228, .72); }
.b4 .nav.on-pink .mark, .b4 .nav.on-pink .nav-links a:not(.btn) { color: var(--paper-ink); }
.b4 .nav.on-pink .menu-btn { color: var(--paper-ink); border-color: rgba(16, 12, 20, .4); background: rgba(244, 237, 228, .5); }
.b4 .on-pink { --mark-edge: var(--paper-ink); --mark-ring: var(--paper-ink); }

/* photo heroes: a scrim deep enough for the copy, and on phones the photo set lower so its brightest part sits under the copy */
.hero-ps .fade-down { height: 55%; background: linear-gradient(rgba(16, 12, 20, .7), rgba(16, 12, 20, .3) 70%, rgba(16, 12, 20, 0)); }
.page-hero.has-photo .fade-down { background: linear-gradient(rgba(16, 12, 20, .85), rgba(16, 12, 20, 0)); }
@media (max-width: 599px) { .hero-ps .photo.bg img { height: 140%; } .hero-ps .hero-phone { width: 62%; } }
.b4 .hero-ps .fade-down { height: 70%; background: linear-gradient(rgba(244, 237, 228, .94), rgba(244, 237, 228, .8) 65%, rgba(244, 237, 228, 0)); }
.page-hero.has-photo .photo img { filter: brightness(.8); }
.b4 .hero-ps .fade-down { height: 80%; }
@media (min-width: 1000px) { .b4 .hero-ps .copy { align-self: flex-start; padding-top: var(--sp-5); } }

/* a brighter photo gets a deeper scrim behind the copy */
.scrim-2 .hero-ps .fade-down { height: 72%; background: linear-gradient(rgba(16, 12, 20, .84), rgba(16, 12, 20, .58) 65%, rgba(16, 12, 20, 0)); }

/* a screenshot of the real product, in its device */
.screenshot { margin: 0; display: flex; justify-content: center; }
.screenshot img { display: block; width: 100%; max-width: 900px; height: auto; }

/* the splash: the email right in the hero, and a one-line footer */
.join { display: flex; flex-wrap: wrap; gap: var(--sp-3); width: 100%; max-width: 480px; }
.join .input { flex: 1 1 220px; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-min { border-top: 1px solid var(--line); padding: var(--sp-5) 0; color: var(--soft); font-size: 14px; }
.foot-min .wrap { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; }
.foot-min .wrap > span { flex: 1 1 auto; }
.foot-min a { color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; }

/* the empty field that catches form bots: off screen, never read aloud */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- round 07: the site around the splash ------------------------------------------------------------------------ */
/* the header: M1 bar, M2 centred, M3 console */
.nav .brand { display: inline-flex; min-width: 0; }
.nav .end { display: flex; align-items: center; gap: var(--sp-2); }
.bag { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border-radius: var(--r-pill); color: var(--ink); border: 1px solid rgba(242, 236, 244, .25); background: rgba(16, 12, 20, .4); }
.bag b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--sun); color: var(--bg); font: 700 11px/18px var(--mono); text-align: center; }
.h-centre { display: grid; grid-template-columns: 1fr auto 1fr; }
.h-centre .nav-links.l { justify-self: start; } .h-centre .nav-links.r { justify-self: end; }
.h-centre .brand { justify-self: center; }
.h-centre .end { grid-column: 3; grid-row: 1; justify-self: end; }
.h-centre .nav-links.r + .end:empty { display: none; }
.h-centre .nav-links.r:has(+ .end:not(:empty)) { margin-right: calc(var(--tap) + var(--sp-4)); }
@media (max-width: 899px) { .h-centre .menu-btn { grid-column: 1; justify-self: start; } .h-centre .brand { grid-column: 2; } }
@media (min-width: 900px) { .h-centre .menu-btn { display: none; } .h-centre .end { position: relative; } }
.h-console { border-bottom: 1px solid rgba(242, 236, 244, .14); background: rgba(16, 12, 20, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-console .mark .word { font-size: 13px; }
.h-console .nav-links { gap: var(--sp-4); }
.h-console .nav-links a:not(.btn) { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.h-console .nav-links a i, .s3 nav a i { font-style: normal; color: var(--dim); margin-right: 6px; }
.status { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); padding: 0 var(--sp-3); font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--jade); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 4px rgba(139, 233, 201, .18); }
.menu-btn.txt { width: auto; padding: 0 var(--sp-4); font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 899px) { .h-console .status { display: none; } }
@media (max-width: 420px) { .nav .mark .word { font-size: 13px; letter-spacing: .14em; } }
.sheet .menu-btn { display: flex; }
.sheet.s2 { text-align: center; } .sheet.s2 .top { display: grid; grid-template-columns: 1fr auto 1fr; } .sheet.s2 .top .brand { grid-column: 2; } .sheet.s2 .top .menu-btn { grid-column: 3; justify-self: end; }
.sheet.s2 nav a { justify-content: center; gap: var(--sp-3); }
.s3 nav a { font: 600 18px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.s3 .status { padding: 0; }
.foot-min.site nav { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }

/* company, press */
.contacts { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contacts > div { display: flex; flex-direction: column; gap: var(--sp-2); }
.contacts a { color: var(--ink); font-size: 17px; min-height: var(--tap); display: flex; align-items: center; }
.rels { border-top: 1px solid var(--line); }
.rel { display: grid; grid-template-columns: 140px 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.rel .t { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.rel .go { color: var(--sun); font-size: 20px; }
@media (max-width: 599px) { .rel { grid-template-columns: 1fr auto; } .rel .label { grid-column: 1 / -1; } }
.kit .label { color: var(--sun); margin-top: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-4); margin: 0; }
.facts > div { display: flex; flex-direction: column; gap: var(--sp-2); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }
.facts dd { margin: 0; color: var(--ink); }
.facts.tight { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }

/* articles: a release, a post */
.article { padding: calc(var(--tap) + var(--sp-7)) 0 var(--sec); }
.article .wrap { max-width: 760px; }
.a-head { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.a-head .h2 { font-size: clamp(30px, 4.4vw, 48px); }
.back { min-height: var(--tap); display: inline-flex; align-items: center; color: var(--soft); }
.fig { margin: 0 0 var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.fig img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 3 / 2; object-fit: cover; }
.prose { display: flex; flex-direction: column; gap: var(--sp-4); }
.prose p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--soft); }
.prose b { color: var(--ink); }
.prose .h3 { margin-top: var(--sp-4); }
.quote { margin: var(--sp-3) 0; padding-left: var(--sp-5); border-left: 2px solid var(--sun); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink); display: flex; flex-direction: column; gap: var(--sp-3); }
.quote cite { font-style: normal; }
.prose .end { text-align: center; color: var(--dim); }
.a-foot { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; }
.a-foot > div { display: flex; flex-direction: column; gap: var(--sp-2); }
.a-foot a:not(.btn) { color: var(--ink); min-height: var(--tap); display: flex; align-items: center; }
.a-join { margin-top: var(--sp-6); }
.byline { color: var(--soft); }

/* blog */
.post { padding: 0; overflow: hidden; color: var(--ink); }
.post .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.post .copy { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
@media (min-width: 900px) { .lead-post { flex-direction: row; } .lead-post .cover { width: 58%; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); } .lead-post .copy { justify-content: flex-end; padding: var(--sp-6); } }

/* merch: the shop, a product, the bag */
.good { color: var(--ink); }
.buy { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; padding-top: calc(var(--tap) + var(--sp-5)); }
.gallery { display: flex; flex-direction: column; gap: var(--sp-3); }
.gallery .main, .bag-line .tile-img { border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; aspect-ratio: 1; color: var(--ink); }
.thumbs { display: flex; gap: var(--sp-3); }
.thumbs button { width: 72px; height: 72px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--raised); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.thumbs button span { display: flex; width: 100%; justify-content: center; }
.thumbs button.on { border-color: var(--sun); }
.swatch-btn { width: var(--tap); height: var(--tap); border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.swatch-btn i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1px solid rgba(242, 236, 244, .25); }
.swatch-btn.on { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.link { color: var(--sun); min-height: var(--tap); display: inline-flex; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); min-height: 48px; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); font: 500 20px/1 var(--sans); cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font: 600 16px/1 var(--mono); }
.qty.sm { min-height: var(--tap); } .qty.sm button { width: var(--tap); height: var(--tap); }
.btn.grow { flex: 1 1 200px; }
.checkout { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr) 360px; } }
.lines { border-top: 1px solid var(--line); }
.bag-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-line .tile-img { border-radius: var(--r-md); }
.bag-line .end { align-items: flex-end; gap: var(--sp-2); }
.summary .sum { display: flex; justify-content: space-between; gap: var(--sp-3); }
.summary .sum b { font: 600 18px/1 var(--mono); }
.nav-links a:not(.btn), .foot-min a { min-width: var(--tap); justify-content: center; }
.chip { min-width: var(--tap); justify-content: center; }
.btn.text { background: transparent; }
.h-bar .nav-links, .h-console .nav-links { margin-left: auto; }
.h-bar .end:has(.bag), .h-console .end { margin-left: var(--sp-2); }
.qty { align-self: flex-start; width: max-content; }
.article { padding-top: var(--sp-6); }
.buy { padding-top: 0; }
.sheet { background: var(--bg); }
.sheet.s2 nav a span { display: none; }
.s3 nav a { justify-content: flex-start; gap: var(--sp-4); }
.s3 nav a span { margin-left: auto; }
/* round 07: the inner pages start close under the header */
:is(.m1, .m2, .m3) .page-hero.plain .inner { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
:is(.m1, .m2, .m3) .page-hero.has-photo .inner { padding-top: calc(var(--tap) + var(--sp-7)); }
.sec.top { padding-top: var(--sp-6); }
:is(.m1, .m2, .m3) .hero-1 { min-height: max(560px, calc(var(--vh) * 74)); padding-top: calc(var(--tap) + 64px); }
:is(.m1, .m2, .m3) .page-hero.has-photo .photo img { filter: brightness(.62); }
:is(.m1, .m2, .m3) .page-hero.has-photo .inner { padding-bottom: var(--sp-6); }
.draft { align-self: flex-start; font: 600 var(--t-label)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--sun); padding: 6px 10px; border-radius: var(--r-pill); }
.sheet.target:not(:target) { display: none; }
.bag b:empty { display: none; }

/* ---- round 08: Outspan alone. App screens in Apple's bezels (site/devices.py), all at one scale ---------------------------
   --dev is an iPhone 17 Pro Max's height; --r is each device's width as a share of it, so a Duo next to a Pro is true to
   size. Pro .49 · Duo closed .52 (it's .72 as tall) · Duo upright .73 · Duo open 1 (.73 as tall). */
:root { --dev: clamp(360px, 40vw, 540px); --dev-hero: clamp(320px, 34vw, 480px); --dev-tile: clamp(320px, 28vw, 420px);
        --dev-band: min(860px, 100%); --dev-mini: 400px; --dev-shadow: drop-shadow(0 24px 40px color-mix(in srgb, var(--bg) 70%, transparent)); }
.dev { --r: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); width: calc(var(--dev) * var(--r)); max-width: 100%; min-width: 0; }
.dev.pro { --r: .49; } .dev.duo-closed { --r: .52; } .dev.duo-seated { --r: .73; } .dev.duo-open { --r: 1; }
.dev img { width: 100%; height: auto; filter: var(--dev-shadow); }
.dev figcaption { text-align: center; }
/* two side by side: each takes its share of the row, never past its true size */
.pair, .stage { display: flex; justify-content: center; align-items: flex-end; gap: var(--sp-5); min-width: 0; }
.pair > .dev, .stage > .dev { flex: var(--r) 1 0%; width: auto; max-width: calc(var(--dev) * var(--r)); }
/* hero: copy, then the two devices (story: the Duo open and a Pro; tiles: a Pro and the Duo closed) */
.hero-dev .stage { --dev: var(--dev-hero); flex: none; gap: var(--sp-4); }  /* stacked: sized by its device from the first paint */
@media (min-width: 1000px) { .hero-dev .stage { flex: 1 1 0; } }
@media (max-width: 999px) { .hero-dev .stage.stage-one > .dev { flex: none; width: calc(var(--dev) * var(--r)); } }  /* a definite width, so its height is known before the image arrives */
@media (max-width: 899px) { .hero-dev .stage { --dev: min(560px, 62vw); } }
@media (min-width: 900px) { .hero-dev .stage { justify-content: flex-end; } .hero-dev .copy { flex: 0 1 460px; } }
/* one device in the first screen: the Duo open; under 600 px the Duo closed, which still reads at that width */
.hero-dev .stage.stage-one { --dev: clamp(360px, 38vw, 600px); }
.hero-dev .stage.stage-one > .dev { flex: 1 1 0%; }  /* alone, it takes the row up to its true size */
.stage-one .on-narrow { display: none; }
@media (max-width: 599px) { .stage-one .on-wide { display: none; } .stage-one .on-narrow { display: flex; } .hero-dev .stage.stage-one { --dev: min(600px, 150vw); } }
@media (min-width: 600px) and (max-width: 899px) { .hero-dev .stage.stage-one { --dev: min(640px, 90vw); } }
/* O2: the copy centred over the device */
@media (min-width: 900px) {
  .hero-centre .inner { flex-direction: column; align-items: center; }
  .hero-centre .copy { flex: none; align-self: center; align-items: center; text-align: center; max-width: 720px; }
  .hero-centre .join { justify-content: center; }
  .hero-centre .stage.stage-one { flex: none; width: 100%; justify-content: center; --dev: clamp(480px, 50vw, 760px); }
}
/* the data streams: one tile each, its icon in the hazard's colour (neutral or jade when it isn't a hazard) */
.streams { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.streams li { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
.streams svg { flex: none; color: var(--soft); }
.streams .flood svg { color: var(--hz-flood); } .streams .fire svg { color: var(--hz-fire); } .streams .caution svg { color: var(--hz-caution); } .streams .teal svg { color: var(--jade); }
/* the email box and Join the beta on one row, at every width (set 08) */
:is(.o1, .o2, .o3) .join { flex-wrap: nowrap; }
:is(.o1, .o2, .o3) .join .input { flex: 1 1 0; min-width: 0; }
:is(.o1, .o2, .o3) .join .btn { flex: none; }
/* O1 story: words on one side, two devices on the other */
.ch { display: grid; gap: var(--sp-6); align-items: center; grid-template-columns: minmax(0, 1fr); }
.ch-copy { max-width: 520px; }
@media (min-width: 900px) { .ch { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .chapter.alt-side .ch-copy { order: 2; } }
/* O2 tiles: three cards, a device in each; then the Duo, open, on its own */
.watch { --dev: var(--dev-tile); gap: var(--sp-3); }
.watch .dev { margin-top: auto; padding-top: var(--sp-4); align-self: center; }
.duo-band { --dev: var(--dev-band); }
.duo-band .dev { align-self: center; }
/* O3 rows: one device and its words, sides alternating */
.watch-row { display: grid; gap: var(--sp-5) var(--sp-7); align-items: center; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.watch-row .ch-copy { justify-self: stretch; }
@media (min-width: 900px) { .watch-row { grid-template-columns: auto minmax(0, 1fr); justify-items: start; } .watch-row.alt-side .dev { order: 2; } }
/* the rest of the trip: four small phones */
.minis { --dev: var(--dev-mini); }
.minis .mini { display: flex; flex-direction: column; gap: var(--sp-2); }
.minis .dev { margin-bottom: var(--sp-3); align-items: flex-start; }
@media (max-width: 599px) { .grid4.minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* O3: the hero is the map itself, the copy over its empty side */
.hero-map { position: relative; overflow: hidden; min-height: max(620px, calc(var(--vh) * 80)); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--tap) + 64px) 0 var(--sp-6); }
.hero-map .map-bg, .hero-map .map-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-map .map-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 92%, transparent) 30%, color-mix(in srgb, var(--bg) 40%, transparent) 55%, transparent 70%, color-mix(in srgb, var(--bg) 80%, transparent)); }
.hero-map .inner { position: relative; width: 100%; display: flex; flex-direction: column; gap: var(--sp-5); }
.hero-map .copy { max-width: 560px; }
.map-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.map-key li { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 32px; padding: 0 var(--sp-3); border-radius: var(--r-pill); background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--soft); white-space: nowrap; }
.map-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
/* hazards by kind, as the app draws them: kami contract/tokens.json "hazard" (dark) */
:root { --hz-fire: #ff6a55; --hz-flood: #7aa6ff; --hz-caution: #e0b46a; }
.map-key i.fire { background: var(--hz-fire); } .map-key i.flood { background: var(--hz-flood); } .map-key i.caution { background: var(--hz-caution); }
/* on a phone the map sits under the copy, not behind it, so it can be seen */
@media (max-width: 699px) {
  .hero-map { min-height: 0; justify-content: flex-start; padding-bottom: 0; }
  .hero-map .inner { display: contents; }
  .hero-map .copy, .hero-map .map-key, .hero-map .map-note { padding: 0 var(--pad); }
  .hero-map .copy { order: 1; }
  .hero-map .map-bg { order: 2; position: relative; display: block; margin: var(--sp-5) 0 var(--sp-4); aspect-ratio: 640 / 720; }
  .hero-map .map-key { order: 3; }
  .hero-map .map-note { order: 4; padding-top: var(--sp-3); padding-bottom: var(--sp-5); }
  .hero-map .map-bg img { position: absolute; inset: 0; }
  .hero-map .map-scrim { display: none; }
}
@media (min-width: 700px) { .hero-map { justify-content: center; } .hero-map .map-scrim { background: linear-gradient(to right, color-mix(in srgb, var(--bg) 94%, transparent) 30%, color-mix(in srgb, var(--bg) 50%, transparent) 46%, transparent 60%); } .hero-map .copy { max-width: 520px; } }
/* materials: 1200×630 social cards (SC) and 1080×1350 captioned stills (PS); the id shows on the review copy only */
body.material { margin: 0; overflow: hidden; }
.sc-1200, .sc-1200 .sc { width: 1200px; height: 630px; }
.ps-1080, .ps-1080 .ps { width: 1080px; height: 1350px; }
.sc { position: relative; overflow: hidden; display: flex; align-items: center; }
.sc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.sc-scrim { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--bg) 90%, transparent) 38%, color-mix(in srgb, var(--bg) 20%, transparent) 80%); }
.sc-copy { position: relative; display: flex; flex-direction: column; gap: var(--sp-5); padding: 0 0 0 72px; width: 600px; }
.sc-h { font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.sc-copy .eyebrow { font-size: 16px; }
/* the Duo, then a Pro; open, the Pro stands in front of the Duo's side bar */
.sc-stage { position: absolute; inset: 0 0 0 auto; width: 600px; }
.sc-stage .dev { position: absolute; width: auto; }
.sc-stage .dev:first-child { right: 262px; top: 96px; width: 310px; }
.sc-stage.duo-open .dev:first-child { right: 120px; top: 120px; width: 540px; }
.sc-stage .dev.pro { right: 36px; top: 150px; width: 216px; }
.sc-stage.pro .dev:first-child { right: 280px; top: 110px; width: 216px; }
.sc-stage.single .dev.pro { right: 150px; top: 96px; width: 240px; }
.sc-stage.single .dev.duo-open { right: 40px; top: 129px; width: 520px; }
.sc-stage.single .dev.duo-closed { right: 110px; top: 78px; width: 340px; }
.ps { position: relative; display: flex; flex-direction: column; align-items: center; background: var(--bg); background-image: radial-gradient(color-mix(in srgb, var(--ink) 7%, transparent) 1.5px, transparent 1.8px); background-size: 28px 28px; padding: 96px 96px 0; }
.ps-copy { display: flex; flex-direction: column; gap: var(--sp-4); width: 100%; }
.ps-copy .eyebrow { font-size: 18px; }
.ps-h { font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
.ps-dev { margin-top: 64px; display: flex; justify-content: center; width: 100%; }
.ps-dev .dev { width: 480px; }
.ps.duo-closed .ps-dev .dev { width: 600px; }
.ps.duo-open .ps-dev { margin-top: 96px; } .ps.duo-open .ps-dev .dev { width: 888px; }
.ps-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: center; justify-content: space-between; padding: 0 96px; background: linear-gradient(transparent, var(--bg) 45%); }
.ps-note { position: absolute; left: 96px; right: 96px; bottom: 120px; font-size: 18px; color: var(--dim); }
.ps-url { font: 600 20px/1 var(--mono); letter-spacing: .08em; color: var(--sun); }
.sc-id { display: none; }
.review .sc-id { display: block; position: absolute; top: 20px; right: 20px; z-index: 3; font: 700 16px/1 var(--mono); letter-spacing: .1em; color: var(--bg); background: var(--sun); padding: 6px 10px; border-radius: 6px; }
/* set 08: the phone hero is storm, cut tall (storm-tall), shown whole: the sky behind the words, the lit slickrock
   under the device; a short fade at the foot only, so it isn't murky */
@media (max-width: 599px) { .o1 .hero-ps .photo.bg img { height: 100%; object-position: 50% 100%; } .o1 .hero-ps .fade-up { height: 18%; } }
/* ---- set 10: below the fold, the seven differentiators ------------------------------------------------------------
   F1: a chapter each (.chapter, above); the route's chapter holds the data streams. F2: a glance, then a card each. */
.chapter .ch-copy .streams { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.overview { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
.overview a { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.overview svg { flex: none; color: var(--sun); }
.bentos { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); }
.bento { --dev: var(--dev-tile); overflow: hidden; }
.bento .eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); }
.bento .eyebrow svg { width: 16px; height: 16px; }
.bento .dev { margin-top: auto; padding-top: var(--sp-4); align-self: center; }
@media (min-width: 900px) {
  .bentos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--sp-5); }
  .bento.wide .dev { margin-top: 0; padding-top: 0; }
  .bento.wide .b-copy { align-self: start; }
}
.bento .streams { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 600px) { .overview { grid-template-columns: repeat(4, minmax(0, 1fr)); } .overview a { flex-direction: column; justify-content: center; text-align: center; padding: var(--sp-4) var(--sp-2); } }
@media (min-width: 1100px) { .overview { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* the Duo open where there's room, closed on a phone */
.pair .on-narrow, .bento .on-narrow { display: none; }
@media (max-width: 599px) { .pair .on-wide, .bento .on-wide { display: none; } .pair .on-narrow, .bento .on-narrow { display: flex; } }
.bento.wide .dev.duo-open { --dev: var(--dev-band); }
/* set 09 Q2: the privacy promises two by two from the Duo up, never three and one */
@media (min-width: 600px) { .grid4.pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
