/* site.css — B1 agency (strictly business, from B1 "teal landing"). Needs fonts.css, tokens.css, base.css first.
   Ground ice in light mode, deep teal in dark; Inter lowercase headlines; Michroma only for tiny tags. */

:root {
  color-scheme: light;
  --ice: #e0f0f0; --ice-2: #d8f0f0; --pale: #c0e0e0; --pale-2: #c0d8d8;
  --teal: #78c0d8; --teal-2: #60a0c0; --deep: #406080; --deep-2: #204040; --night: #002020;
  --silver: #c0c0c0; --silver-2: #a0a0a0; --ink: #101418; --amber: #e0a040; --sea: #a0c0c0; --sea-2: #609090;

  --bg: var(--ice);
  --fg: var(--ink);
  --mute: #34545c;
  --line: rgba(32, 64, 64, .16);
  --glass: rgba(255, 255, 255, .42);
  --glass-strong: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .7);
  --glass-shadow: 0 30px 70px -40px rgba(32, 64, 64, .5);
  --pill: var(--deep-2); --pill-fg: var(--ice);
  --route: var(--teal-2); --route-ghost: rgba(32, 64, 64, .14); --route-dot: var(--ice);
  --route-x: 18px;
  --sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --tech: 'Michroma', 'Eurostile', system-ui, sans-serif;
  --maxw: 1180px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b2a33; --fg: var(--ice); --mute: #a6c9d0; --line: rgba(224, 240, 240, .16);
    --glass: rgba(224, 240, 240, .07); --glass-strong: rgba(224, 240, 240, .11); --glass-line: rgba(224, 240, 240, .2);
    --glass-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7);
    --pill: var(--ice); --pill-fg: var(--night); --route: var(--teal); --route-ghost: rgba(224, 240, 240, .14); --route-dot: #0b2a33;
  }
}
@media (min-width: 821px) { :root { --route-x: 56px; } }

html { background: var(--bg); }
body {
  position: relative; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* soft teal glows that sit behind everything, so the frosted glass has something to frost */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vh at 85% 10%, color-mix(in srgb, var(--teal) 55%, transparent), transparent 70%),
    radial-gradient(50vw 50vh at 5% 60%, color-mix(in srgb, var(--pale) 80%, transparent), transparent 70%),
    radial-gradient(40vw 30vh at 70% 95%, color-mix(in srgb, var(--sea) 55%, transparent), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(60vw 40vh at 85% 10%, rgba(120, 192, 216, .22), transparent 70%),
      radial-gradient(50vw 50vh at 5% 60%, rgba(64, 96, 128, .35), transparent 70%),
      radial-gradient(40vw 30vh at 70% 95%, rgba(96, 144, 144, .25), transparent 70%);
  }
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
::selection { background: var(--teal); color: var(--night); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.02; text-transform: lowercase; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 84px); letter-spacing: -.035em; max-width: 19ch; }
h2 { font-size: clamp(30px, 4.4vw, 58px); max-width: 20ch; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { margin: 0; }
.lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--mute); max-width: 48ch; margin-top: 16px; text-wrap: pretty; }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; color: var(--mute); margin: 0 0 14px; }
.code { font: 400 10px/1.4 var(--tech); letter-spacing: .28em; color: var(--mute); margin: 0 0 18px; display: inline-block; }
.tag { font: 400 9px/1.4 var(--tech); letter-spacing: .24em; color: var(--mute); }
.small { font-size: 14px; }
.mute { color: var(--mute); }
.note { color: var(--mute); font-size: 14px; margin-top: 4px; }

/* ---------- layout ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(80px, 11vw, 150px) calc(var(--route-x) + 22px); }
.sec--tight { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap.narrow { max-width: 720px; margin-left: 0; }
@media (min-width: 1280px) { .wrap.narrow { margin-left: calc((100% - var(--maxw)) / 2); } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 500 14px/1 var(--sans); letter-spacing: .01em; text-decoration: none; text-transform: lowercase; cursor: pointer;
  background: var(--pill); color: var(--pill-fg);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(0, 32, 32, .6); }
.pill--ghost { background: var(--glass); color: var(--fg); border-color: var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill--small { padding: 9px 16px; font-size: 13px; }

/* frosted glass, used sparingly */
.glass {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: var(--glass-shadow);
}

/* ---------- top bar ---------- */
.top {
  position: fixed; z-index: var(--z-nav); top: calc(var(--safe-top) + 10px); left: calc(var(--route-x) + 22px); right: var(--gutter);
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 40px -24px rgba(0, 32, 32, .5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 200deg, #fff, var(--silver) 30%, #fff 50%, var(--teal) 70%, #fff); box-shadow: inset 0 0 0 3px var(--bg); }
.top__nav { display: none; gap: 2px; margin-left: auto; }
.top__nav a { font: 500 13px/1 var(--sans); text-decoration: none; padding: 9px 12px; border-radius: 999px; color: var(--mute); transition: background var(--dur-s), color var(--dur-s); }
.top__nav a:hover, .top__nav a[aria-current="true"] { color: var(--fg); background: var(--glass-strong); }
.top .pill { margin-left: auto; }
@media (min-width: 821px) { .top__nav { display: flex; } .top .pill { margin-left: 0; } }

/* ---------- route line ---------- */
.route { position: absolute; top: 0; left: 0; width: 80px; z-index: 1; pointer-events: none; overflow: visible; }
.route__ghost { fill: none; stroke: var(--route-ghost); stroke-width: 2; }
.route__line { fill: none; stroke: var(--route); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.route__dots circle { fill: var(--route-dot); stroke: var(--route-ghost); stroke-width: 2.5; transition: stroke var(--dur-m) var(--ease), r var(--dur-m) var(--ease); }
.route__dots circle.is-lit { stroke: var(--route); }
.route__dots circle.is-here { fill: var(--route); }
.terminus {
  position: absolute; left: calc(var(--route-x) - 13px); top: calc(clamp(80px, 11vw, 150px) + 2px); width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 210deg, #fff, #8a9296 12%, #fff 30%, var(--deep) 45%, #fff 58%, var(--silver) 72%, #fff 86%, var(--teal-2) 100%);
  box-shadow: inset 0 0 0 7px var(--bg), 0 8px 18px -8px rgba(0, 32, 32, .5);
}

/* ---------- slots and code-made plates ---------- */
.slot { color: var(--deep-2); }
.plate { outline: none; background: var(--pale); }
.plate::after { /* keep the dashed label, small, in a corner */
  position: absolute; left: 10px; bottom: 10px; z-index: 3; margin: 0; padding: 5px 8px; border-radius: 6px;
  border: 1px dashed rgba(32, 64, 64, .55); background: rgba(224, 240, 240, .55); color: var(--deep-2); opacity: .85;
  font: 500 9px/1.2 var(--sans); letter-spacing: .1em; text-align: left; max-width: 70%;
}
.plate__layer { position: absolute; inset: 0; will-change: transform; }
.plate__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.plate--terminal .plate__layer {
  inset: -8% 0;
  background:
    radial-gradient(120% 50% at 50% -5%, #fff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(60% 40% at 50% 44%, #d8f0f0 0%, rgba(216, 240, 240, 0) 70%),
    linear-gradient(180deg, #e8f4f4 0%, #c0e0e0 24%, #80c0d8 44%, #60a0c0 58%, #406080 76%, #204040 100%);
}

/* ---------- 00 hero ---------- */
.hero { min-height: 100svh; display: grid; align-content: end; padding-top: 120px; padding-bottom: calc(var(--gutter) + var(--safe-bottom) + 96px); isolation: isolate; overflow: hidden; }
.hero > .plate { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
.hero > .plate::after { left: auto; right: 12px; bottom: 12px; }
@media (max-width: 820px) { .hero > .plate::after { bottom: auto; top: calc(var(--safe-top) + 72px); right: var(--gutter); } .plate--terminal .figure { transform: translate(790px, 0); } .plate--terminal .figure--smear { transform: translate(802px, 0); } }
.hero__copy { width: 100%; }
.hero h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, .25); }
.hero .lede { color: var(--deep-2); font-weight: 500; }
.hero .eyebrow { color: var(--deep-2); }
.hero__hint { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + var(--safe-bottom) + 8px); font: 500 10px/1 var(--sans); letter-spacing: .3em; color: var(--ice); opacity: .85; writing-mode: vertical-rl; }
.hero__hint::after { content: ""; display: block; width: 1px; height: 44px; margin: 10px auto 0; background: linear-gradient(var(--ice), transparent); }
@media (prefers-color-scheme: dark) {
  .hero h1, .hero .eyebrow { color: var(--ink); }
  .hero .lede { color: var(--deep-2); }
}

/* ---------- 01 cards ---------- */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 22px 22px 18px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); cursor: pointer; text-align: left;
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease), background var(--dur-m) var(--ease), filter var(--dur-m) var(--ease);
}
.card h3 { margin-top: 4px; }
.card > p { color: var(--mute); font-size: 15px; }
.card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease); opacity: 0; }
.card__more > div { overflow: hidden; }
.card__more p { font-size: 15px; padding-bottom: 4px; }
.card .status { margin-top: auto; align-self: flex-start; padding: 6px 10px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .06em; background: var(--glass-strong); border: 1px solid var(--glass-line); color: var(--deep-2); }
.card.is-open, .card:focus-visible { background: var(--glass-strong); transform: translateY(-4px); }
.card.is-open .card__more { grid-template-rows: 1fr; opacity: 1; }
.cards.has-open .card:not(.is-open) { opacity: .45; filter: saturate(.6); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { background: var(--glass-strong); transform: translateY(-4px); }
  .card:hover .card__more { grid-template-rows: 1fr; opacity: 1; }
  .cards:has(.card:hover) .card:not(:hover) { opacity: .45; filter: saturate(.6); }
  .cards:has(.card:hover) .card.is-open:not(:hover) { opacity: .45; }
}
@media (prefers-color-scheme: dark) { .card .status { color: var(--fg); } }

.lines { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; max-width: 46ch; }
.lines li { position: relative; padding-left: 26px; font-size: 17px; }
.lines li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--teal-2); background: var(--bg); }
.lines li + li::after { content: ""; position: absolute; left: 6px; top: -14px; width: 2px; height: 18px; background: var(--route-ghost); }
/* ---------- 03 transit map ---------- */
.map { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.map li { position: relative; }
.map li::before { content: ""; position: absolute; left: 50%; right: -50%; top: 11px; height: 3px; border-radius: 2px; background: var(--route-ghost); transition: background var(--dur-m) var(--ease); }
.map li:last-child::before { display: none; }
.map li.is-done::before { background: var(--route); }
.stop { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; width: 100%; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: center; }
.stop i { display: block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--route); background: var(--bg); transition: background var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease); }
.stop span { font: 500 14px/1.3 var(--sans); max-width: 14ch; }
.map li.is-lit .stop i { background: var(--deep-2); border-color: var(--deep-2); box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 45%, transparent); }
.map li.is-lit .stop span { font-weight: 600; }
.stop__copy { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease); }
.stop__copy > div { overflow: hidden; }
.stop__copy p { margin: 16px 10px 0; font-size: 14px; color: var(--mute); text-align: center; }
.stop__copy a { display: block; margin: 8px 10px 4px; font: 500 13px/1.4 var(--sans); text-align: center; text-decoration: none; color: var(--deep); }
.stop__copy a:hover { color: var(--fg); }
.map li.is-lit .stop__copy { grid-template-rows: 1fr; opacity: 1; }

/* ---------- forms ---------- */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { display: grid; gap: 14px; }
.form.glass { padding: 26px; margin-top: 32px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--fg); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 40%, #fff); transition: border-color var(--dur-s), box-shadow var(--dur-s);
}
@media (prefers-color-scheme: dark) { .field input, .field select, .field textarea { background: rgba(224, 240, 240, .06); } }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 35%, transparent); }
.field textarea { resize: vertical; min-height: 80px; }
.form .pill { justify-self: start; margin-top: 4px; }
.thanks { font-size: 17px; }
#refer .form { margin-top: 28px; }
.refer__cond { margin-top: 14px; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; text-wrap: pretty; }
.refer__terms { margin: 18px 0 0; max-width: 62ch; }
.refer__thanks { margin-top: 28px; }
.refer__thanks p { margin: 0; }
.refer__thanks .lines { margin: 16px 0; }

/* ---------- faq ---------- */
.qa-list { margin-top: 32px; display: grid; gap: 10px; }
.qa { border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 16px/1.3 var(--sans); cursor: pointer; text-transform: lowercase; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 20px/1 var(--sans); color: var(--mute); transition: transform var(--dur-s) var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa > div { padding: 0 20px 18px; color: var(--mute); font-size: 15px; max-width: 60ch; }

/* ---------- footer ---------- */
.foot { padding-top: clamp(80px, 11vw, 150px); padding-bottom: calc(60px + var(--safe-bottom)); }
.foot__brand { font: 600 clamp(28px, 4vw, 44px)/1 var(--sans); letter-spacing: -.03em; }
.foot__line { margin-top: 14px; font-size: 14px; color: var(--mute); }
.foot__line a { text-decoration: none; }
.foot__line a:hover { color: var(--fg); }
.foot #privacy { margin-top: 28px; max-width: 54ch; }

/* ---------- phones ---------- */

/* ---------- 03 talk to our team: the switchboard ---------- */
.board { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; overflow: hidden; }
.board__lines { display: grid; align-content: start; padding: 12px; gap: 4px; border-right: 1px solid var(--line); }
.line {
  display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%;
  padding: 12px 14px; border: 0; border-radius: 14px; background: none; color: inherit; text-align: left; cursor: pointer;
  transition: background var(--dur-s) var(--ease);
}
.line i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--route-ghost); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--dur-s), box-shadow var(--dur-s); }
.line__q { font: 500 15px/1.3 var(--sans); }
.line__t { font: 400 9px/1.4 var(--tech); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.line:hover { background: var(--glass-strong); }
.line[aria-selected="true"] { background: var(--glass-strong); }
.line[aria-selected="true"] i { background: #2fb57a; box-shadow: 0 0 0 4px rgba(47, 181, 122, .18), 0 0 12px rgba(47, 181, 122, .6); }
.board__panel { padding: 26px; display: grid; align-content: start; }
.with { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--sans); color: var(--mute); }
.with b { color: var(--fg); font-weight: 600; }
.with__dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb57a; box-shadow: 0 0 10px rgba(47, 181, 122, .7); }
.with.is-connecting .with__dot { animation: ring 0.5s var(--ease) 2; }
@keyframes ring { 50% { opacity: .2; } }
.asks { display: grid; gap: 14px; }
.asks fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.asks legend { padding: 0; margin-bottom: 4px; font: 400 9px/1.4 var(--tech); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.asks fieldset + fieldset { padding-top: 16px; border-top: 1px dashed var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.more-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.more-teams label { font: 500 14px/1.3 var(--sans); color: var(--mute); }
.more-teams select { font: 500 14px/1 var(--sans); color: var(--fg); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); }
.err { color: #b0442f; font-size: 14px; }
@media (prefers-color-scheme: dark) { .err { color: #f0a08c; } }
.board .thanks { padding: 26px; }

/* ---------- 05 what we built ---------- */
.shelf { margin-top: 48px; }
.shelf__h { font-size: 15px; letter-spacing: .02em; font-weight: 600; color: var(--mute); }
.shelf__note { margin-top: 6px; font-size: 13px; color: var(--mute); }
.shelf__row { margin-top: 16px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.work {
  display: grid; align-content: start; gap: 10px; padding: 12px 12px 18px; border-radius: var(--radius); min-width: 0;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.work h4 { margin: 4px 6px 0; font: 600 18px/1.15 var(--sans); letter-spacing: -.02em; text-transform: lowercase; }
.work p { margin: 0 6px; font-size: 14px; line-height: 1.5; }
.work .how { color: var(--fg); }
.work .helps { color: var(--mute); }
.work .k { display: block; font: 400 8.5px/1.6 var(--tech); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.work__play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: none; cursor: pointer; }
.reel {
  display: block; aspect-ratio: 1 / 1; border-radius: inherit; outline: none;
  background:
    radial-gradient(70% 55% at 30% 20%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #e8f4f4 0%, #c0e0e0 35%, #78c0d8 70%, #406080 100%);
}
.reel::after { left: 10px; bottom: 10px; top: auto; right: auto; font-size: 9px; }
.work__play::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(224, 240, 240, .6) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 7l9 5-9 5z' fill='%23204040'/></svg>") center / 22px no-repeat;
  border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--dur-s) var(--ease);
}
.work__play:hover::before { transform: scale(1.06); }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .map { grid-template-columns: 1fr; gap: 6px; }
  .map li { padding-left: 0; }
  .map li::before { left: 10px; right: auto; top: 26px; bottom: -14px; width: 3px; height: auto; }
  .stop { grid-template-columns: 24px 1fr; justify-items: start; align-items: center; gap: 14px; text-align: left; }
  .stop span { max-width: none; }
  .stop__copy p, .stop__copy a { text-align: left; margin-left: 38px; }
  .board { grid-template-columns: 1fr; }
  .board__lines { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .line { padding: 10px 12px; }
  .board__panel { padding: 18px; }
  .pair { grid-template-columns: 1fr; }
  .shelf__row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); padding-bottom: 6px;
  }
  .shelf__row::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; }
  .reel { aspect-ratio: 16 / 10; }
  .hero { padding-top: 110px; }
  .hero__hint { display: none; }
  .top { left: var(--gutter); right: var(--gutter); gap: 10px; padding: 6px 6px 6px 14px; }
}

/* reduced motion: nothing moves on its own */
@media (prefers-reduced-motion: reduce) {
  .plate__layer { transform: none !important; }
  .with.is-connecting .with__dot { animation: none; }
}
.asks fieldset:first-child legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reel.has-media { background-size: cover; background-position: center; }
.reel.has-media::after { display: none; }

/* ---------- the project reels: hover preview and full-size view ---------- */
.peek {
  position: fixed; z-index: 60; overflow: hidden; border-radius: 26px; background: var(--deep-2); cursor: zoom-in;
  transform-origin: 0 0; box-shadow: 0 50px 110px -40px rgba(0, 32, 32, .7), 0 0 0 1px rgba(255, 255, 255, .6);
  transition: transform .34s var(--ease);
}
.peek video { display: block; width: 100%; height: 100%; object-fit: cover; }
.peek__hint {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 13px; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .02em;
  background: rgba(224, 240, 240, .8); color: var(--deep-2); opacity: 0; transition: opacity .2s ease .3s;
}
.peek.is-open .peek__hint { opacity: 1; }
html.box-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: calc(var(--safe-top) + 64px) 16px calc(var(--safe-bottom) + 20px);
  background: rgba(11, 42, 51, .74); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(100%, 880px, calc(100svh - 150px)); display: grid; gap: 12px; }
.lightbox__video { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 24px; background: #0b2a33; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .7); }
.lightbox__name { color: var(--ice); font: 600 18px/1.2 var(--sans); letter-spacing: -.01em; text-transform: lowercase; }
.lightbox__close {
  position: absolute; top: calc(var(--safe-top) + 14px); right: 16px; padding: 11px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(224, 240, 240, .4); background: rgba(224, 240, 240, .16); color: var(--ice); font: 500 14px/1 var(--sans);
}
.lightbox__close:hover { background: rgba(224, 240, 240, .28); }
@media (prefers-reduced-motion: reduce) { .peek { transition: none; } }

/* ---------- the policy pages: privacy and referral terms ---------- */
.doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: 18px 16px; }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 96px; }
.doc h1 { margin: 6px 0 10px; }
.doc h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.01em; }
.doc p, .doc li { max-width: 64ch; font-size: 16px; line-height: 1.55; margin: 0 0 14px; }
.doc ul { margin: 0 0 6px; padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc__date { font-weight: 600; }
.doc__how { color: var(--mute); }
.cite { display: block; margin-top: 3px; font: 500 12px/1.45 var(--sans); letter-spacing: .01em; color: var(--mute); }
.cite-line { margin-top: -4px !important; }
.refer__ask { margin: 0; font-weight: 500; }

/* ---------- the one shot (Eden, 2026-10-24): the photographed world behind the whole page, bright daylight in any system
   theme. site.js shows the stop for the section in view; between stops the camera pushes into a window, a screen or a door
   and the next place opens out of that point (a growing circle, never a fade). ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --bg: var(--ice); --fg: var(--ink); --mute: #34545c; --line: rgba(32, 64, 64, .16);
    --glass: rgba(255, 255, 255, .42); --glass-strong: rgba(255, 255, 255, .62); --glass-line: rgba(255, 255, 255, .7);
    --glass-shadow: 0 30px 70px -40px rgba(32, 64, 64, .5);
    --pill: var(--deep-2); --pill-fg: var(--ice); --route: var(--teal-2); --route-ghost: rgba(32, 64, 64, .14); --route-dot: var(--ice);
  }
  .field input, .field select, .field textarea { background: color-mix(in srgb, var(--bg) 40%, #fff); }
  .err { color: #b0442f; }
}
body { background: transparent; }
body::before { display: none; }
main { position: relative; z-index: 1; }
.hero { isolation: auto; }

.shot { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #d6f1f5; }
.kf { position: absolute; inset: 0; visibility: hidden; will-change: transform, clip-path; }
.kf.is-on { visibility: visible; }
.kf picture, .kf img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* the layers, bottom to top: the stills (site.js sets z-index 1 on the place the camera leaves and 2 on the one opening),
   then the clip frames */
.shot__frames { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; display: none; }
.shot.has-frames .shot__frames { display: block; }
/* a rest loop shows over its still only while the camera rests on that stop */
.shot__rest { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.shot__rest.is-on { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .kf img { animation: breathe 18s ease-in-out infinite alternate; }
  .kf[data-screen] img { animation: none; } /* the booking screen holds still: the days sit in its bubbles */
  .kf.is-still img { animation: none; } /* a film meets this still: it holds still, so the two line up exactly */
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05) translate3d(-.8%, -.5%, 0); } }

/* ---------- the words (Eden, 2026-10-24: "now that the visuals are there i can barely see the text"): every heading, label
   and line that would sit on a picture rides a plate of frosted glass, the same milky glass as the cells; the ink is dark
   and the small lines a step heavier ---------- */
.intro { width: fit-content; max-width: 100%; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.8vw, 34px); border-radius: 28px; }
.intro .code { margin-bottom: 12px; }
.code { font-size: 11px; letter-spacing: .2em; color: var(--deep-2); }
.lede, .lines li { font-weight: 500; }
.lede, .eyebrow, .foot__line, .refer__terms { color: var(--deep-2); }
.hero .eyebrow { font-weight: 600; }
.tag, .line__t, .asks legend { font-size: 10px; color: var(--deep-2); }
.work .k { font-size: 9.5px; color: var(--deep-2); }
.shelf__h, .shelf__note, .refer__terms, .hero__hint { width: fit-content; max-width: 100%; }
.shelf__h { padding: 9px 16px; border-radius: 999px; color: var(--fg); }
.shelf__note { margin-top: 8px; padding: 9px 14px; border-radius: 16px; font-size: 13.5px; color: var(--deep-2); }
.refer__terms { padding: 10px 14px; border-radius: 16px; }
.hero__hint { padding: 14px 8px; border-radius: 999px; color: var(--deep-2); }
@media (min-width: 821px) { .intro .map { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; } } /* three stops, one plate */
.hero__hint::after { background: linear-gradient(var(--deep-2), transparent); }

/* ---------- liquid glass (Eden, 2026-10-24: "clickable cells, every button should have some motion of that cell image and
   should resemble that liquid glass blocks"). Milky, see-through glass with a bright rim and an inner reflection, frosted
   enough that the words on it read; site.js tilts a cell toward the pointer and slides its reflection (--mx, --my, --tx,
   --ty); it presses in when touched. Plates and panels are the same glass, frosted more. ---------- */
.pill, .card, .line, .work, .qa, .stop, .bub {
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(var(--lift, 0px)) scale(var(--press, 1));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), opacity var(--dur-m) var(--ease), filter var(--dur-m) var(--ease);
}
.pill, .card, .line, .work, .qa, .stop {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .52) 52%, rgba(214, 245, 250, .6) 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, .95),
    inset 0 -10px 22px rgba(110, 200, 222, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 16px 36px -20px rgba(10, 70, 90, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5) brightness(1.04); backdrop-filter: blur(20px) saturate(1.5) brightness(1.04);
  color: var(--ink);
}
.pill::after, .card::after, .line::after, .work::after, .qa::after, .stop::after, .bub::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at var(--mx, 28%) var(--my, 0%), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 46%);
  mix-blend-mode: soft-light; opacity: .9; transition: background .2s linear;
}
.pill:hover, .card:hover, .line:hover, .work:hover, .qa:hover, .bub:hover:not(:disabled) { --lift: -2px; }
.pill:active, .card:active, .line:active, .work:active, .stop:active, .bub:active:not(:disabled) { --press: .965; }
/* the main buttons are aqua glass, the quiet ones clear glass */
.pill { background: linear-gradient(160deg, rgba(225, 252, 255, .92) 0%, rgba(120, 218, 236, .62) 55%, rgba(70, 190, 215, .6) 100%); color: #06343f; font-weight: 600; }
.pill--ghost { background: linear-gradient(160deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .52) 55%, rgba(205, 243, 250, .58) 100%); color: var(--ink); }
.card.is-open, .card:focus-visible { --lift: -4px; background: linear-gradient(160deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62) 60%, rgba(205, 243, 250, .66)); }
.line[aria-selected="true"] {
  background: linear-gradient(160deg, rgba(225, 252, 255, .95) 0%, rgba(120, 218, 236, .7) 60%, rgba(70, 190, 215, .66) 100%);
  border-color: rgba(255, 255, 255, .95); color: #06343f;
}
.stop { padding: 10px 12px; border-radius: 18px; }
.line { border-radius: 16px; }
.work { overflow: hidden; }
.qa { border-color: rgba(255, 255, 255, .85); }
.intro, .board, .form.glass, .sheet, .shelf__h, .shelf__note, .refer__terms, .hero__hint, .screen__chip, .screen__write {
  background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .58) 60%, rgba(220, 246, 250, .64));
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -14px 30px rgba(110, 200, 222, .18), 0 30px 70px -40px rgba(10, 70, 90, .55);
}
.shelf__h, .shelf__note, .refer__terms, .hero__hint, .screen__chip, .screen__write { box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), 0 12px 26px -16px rgba(10, 70, 90, .5); }
.board .line { background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12) 60%, rgba(205, 243, 250, .22)); }
/* the ripple a finger (or a click) leaves: it spreads under the words from where it let go, then it is gone */
.ripples { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.qa summary { position: relative; }
.ripple {
  position: absolute; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .12) 26%, rgba(255, 255, 255, .85) 40%, rgba(200, 248, 253, .4) 48%, rgba(170, 240, 250, 0) 60%); /* a bright ring, like water */
  transform: scale(0); animation: ripple .7s var(--ease-out) forwards;
}
@keyframes ripple { 55% { opacity: 1; } to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pill, .card, .line, .work, .qa, .stop, .bub { transition: none; }
}

/* ---------- nothing cut off (Eden: "nothing should have a awkward cut off"): on phones each project fills the width, one at
   a time ---------- */
@media (max-width: 820px) {
  .shelf__row { grid-auto-columns: 100%; margin-right: 0; padding-right: 0; }
  .shelf:has(.work + .work) .shelf__h::after { content: " · swipe for more"; font-weight: 500; color: var(--mute); }
}

/* ---------- 04 book a time on the device's own screen (Eden, 2026-10-24: "the calendar should be embedded in the phones
   actual bubbles", "same with the computer"). The dock is the scroll room; the screen inside it stays put while the camera
   holds on the picture's screen. site.js places each bubble over one of the picture's own (left, top, width, height, and
   --bw, the bubble width the words scale with); the calendar rides the camera (data-ride), so it grows out of the point
   with the screen and the chrome bursts through it; the "rather write?" bar eases in and out with --dock. The section's
   own words stay above the arriving calendar. ---------- */
#book > .wrap { position: relative; z-index: 1; }
.dock { position: relative; z-index: 0; height: calc(100svh + 80vh); margin: 28px calc(-1 * var(--gutter)) 0 calc(-1 * (var(--route-x) + 22px)); }
.screen { position: sticky; top: 0; height: 100svh; overflow-x: clip; --dock: 1; } /* a growing calendar never pushes the page sideways */
.pick, .bubs { position: absolute; inset: 0; pointer-events: none; }
.screen__chip, .bub, .screen__sheet, .screen__write { position: absolute; }
.screen__write { opacity: var(--dock); }
.screen__chip {
  left: 50%; top: 0; translate: -50% -50%; margin: 0; padding: 8px 14px; border-radius: 999px; pointer-events: auto;
  max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12.5px/1.2 var(--sans); color: var(--deep-2);
}
.bub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .14em; padding: 0; margin: 0;
  border-radius: 30%; overflow: hidden; pointer-events: auto; cursor: pointer; text-align: center; text-transform: lowercase;
  font: 600 clamp(11px, calc(var(--bw, 90px) * .17), 19px)/1.12 var(--sans); color: #06343f;
  background: radial-gradient(120% 90% at 30% 8%, rgba(255, 255, 255, .58), rgba(255, 255, 255, .12) 62%), rgba(225, 252, 250, .14);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .9), inset 0 -8px 18px rgba(60, 170, 190, .2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.bub span { font-weight: 500; font-size: .92em; }
.bub small { max-width: 90%; font: 500 .78em/1.15 var(--sans); color: var(--deep-2); }
/* the screen wakes as the camera arrives (2026-10-25: with the films the calendar would pop in at the last frame): each
   bubble inflates from the picture's own bubble, one after another, and the line at the top with them */
.pick .bub, .screen__chip {
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out),
    opacity .28s var(--ease) calc(var(--i, 0) * 16ms), scale .55s var(--spring) calc(var(--i, 0) * 16ms);
}
.pick:not(.is-awake) .bub, .pick:not(.is-awake) .screen__chip { opacity: 0; scale: .78; }
.day:disabled { cursor: default; color: var(--mute); background: rgba(255, 255, 255, .08); border-style: dashed; }
.day:disabled small { color: var(--mute); }
.time[aria-pressed="true"] { background: linear-gradient(160deg, rgba(225, 252, 255, .95), rgba(120, 218, 236, .75)); }
.bub.hour { align-items: stretch; gap: 0; cursor: default; }
.time { flex: 1; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: background .2s var(--ease); }
.time + .time { border-top: 1px solid rgba(255, 255, 255, .75); }
.time:hover { background: rgba(255, 255, 255, .32); }
.screen__sheet { display: flex; flex-direction: column; pointer-events: none; }
.sheet { margin: auto; width: 100%; max-width: 560px; padding: 18px; border-radius: 22px; pointer-events: auto; }
.pick__chosen { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font: 600 16px/1.3 var(--sans); }
.pick__change { flex: none; padding: 4px 0; border: 0; background: none; color: var(--deep); font: 500 13px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.thanks.sheet p, .pick__none { margin: 0; }
.screen__write {
  left: 50%; bottom: calc(16px + var(--safe-bottom)); translate: -50% 0; display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 6px 6px 6px 16px; border-radius: 999px; white-space: nowrap; pointer-events: auto; font: 500 14px/1 var(--sans); color: var(--deep-2);
}
