/* Cite · Paste-up shared components. Needs tokens.css first. One face
   (Plus Jakarta Sans); green is the brand and the live pin; status colours
   mean status and nothing else. */
@font-face { font-family: 'Jakarta'; src: url(/vendor/plus-jakarta-sans-variable.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.55; font-weight: 450; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--mark); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 99px; background: var(--ink); color: var(--ground); font-weight: 700; }
.skip:focus { top: 12px; }

/* ── Type: all Jakarta. Character from weight, size, tracking, colour. ── */
.display { font-weight: 800; font-size: clamp(44px, 7.4vw, 112px); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
.h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 84px); line-height: .96; letter-spacing: -.042em; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: -.038em; text-wrap: balance; }
.h3 { font-weight: 750; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; letter-spacing: -.02em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; }
.live-word { color: var(--green-ink); }
.mk { font-style: normal; background: linear-gradient(transparent 58%, var(--mark) 58% 92%, transparent 92%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink2); max-width: 36em; text-wrap: pretty; }
.body { color: var(--ink2); max-width: 38em; text-wrap: pretty; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.kick .no { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--ink); color: var(--ground); font-size: 11px; letter-spacing: .04em; }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 13.5px; color: var(--ink3); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--well); color: var(--ink2); font-size: 12px; font-weight: 700; }
.proposed { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1.3px dashed currentColor; border-radius: 4px; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; line-height: 16px; color: var(--ink3); vertical-align: 1px; }

.wrap { width: 100%; padding-left: var(--gut); padding-right: var(--gut); }
.measure { max-width: 1680px; margin-left: auto; margin-right: auto; }

/* ── One button treatment: an ink pill. The quiet one is the same pill, outlined. ── */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease; box-shadow: 0 10px 22px -14px rgba(0,0,0,.6); }
.btn:active { transform: scale(.97); }
/* No green dot on buttons. The slot only shows while a button is busy, as the spinner. */
.btn .dot { display: none; }
.btn[aria-busy="true"] .dot { display: inline-block; flex: none; border-radius: 50%; }
.btn svg { width: 18px; height: 18px; }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sm { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (hover: hover) { .btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ground)); } .btn.quiet:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } }
.link { font-weight: 700; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 1px; transition: background-size 240ms var(--ease-out); }
@media (hover: hover) { .link:hover { background-size: 0 1.5px; background-position: 100% 100%; } }
.arrow::after { content: ' →'; }

/* Store buttons: the store's mark, then the two-line label, on the ink pill. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { flex-direction: row; align-items: center; gap: 10px; line-height: 1.1; padding: 0 22px 0 18px; }
.store > span { display: flex; flex-direction: column; align-items: flex-start; }
.store .si { flex: none; width: 22px; height: 22px; fill: currentColor; }
.store .si path[d^="M16.4"] { transform: scale(1.18); transform-origin: 50% 55%; }
.store .si path[d^="M22.018"] { transform: scale(.86); transform-origin: center; }
.store small { font-size: 10.5px; font-weight: 600; opacity: .72; letter-spacing: .02em; }
.store b { font-size: 16px; font-weight: 750; }

/* ── Status plates ── */
.plate { --pc: var(--s-open); position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px 0 18px; border-radius: 10px; background: var(--pc); color: #FBF8F1; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 0 3px var(--sheet), 0 0 0 4.5px rgba(0,0,0,.08), 0 12px 20px -12px rgba(0,0,0,.6); white-space: nowrap; }
.plate::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #FBF8F1; opacity: .9; }
.plate.lg { height: 56px; padding: 0 28px 0 24px; font-size: 19px; border-radius: 12px; }
.plate.sm { height: 28px; padding: 0 12px 0 11px; font-size: 11px; border-radius: 7px; gap: 7px; box-shadow: 0 0 0 2px var(--sheet), 0 6px 12px -8px rgba(0,0,0,.6); }
.plate.sm::before { width: 5px; height: 5px; }
.plate.busy, .plate.queue { --pc: var(--s-busy); color: #2A1E06; }
.plate.busy::before, .plate.queue::before { background: #2A1E06; }
.plate.sold { --pc: var(--s-sold); }
.plate.closed { --pc: var(--s-closed); }
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--s-open); box-shadow: 0 0 0 1.5px var(--sheet); flex: none; }
.sdot.busy { background: var(--s-busy); } .sdot.sold { background: var(--s-sold); } .sdot.closed { background: var(--s-closed); }

/* ── Art tiles: one webp per tile under assets/collage/ ── */
.art { position: relative; display: block; overflow: hidden; border-radius: 4px; background-color: var(--oat); background-repeat: no-repeat; aspect-ratio: 1; filter: var(--art-filter); box-shadow: inset 0 0 0 1px var(--art-ring); }
.art.free { aspect-ratio: auto; }
/* drift.js: tiles pinned to the wall. Hover lifts one and deepens its shadow. */
.drift-item { transition: box-shadow 320ms ease, filter 320ms ease; }
.drift-item.drift-lift { z-index: 3; }
.art.drift-lift { box-shadow: inset 0 0 0 1px var(--art-ring), var(--shadow-lift); }
.art[data-art^="h-"] { background-color: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.art[data-art^="h-"].drift-lift { box-shadow: none; filter: drop-shadow(0 16px 18px rgba(20,16,10,.28)); }
.art .cap { position: absolute; left: 8px; bottom: 7px; z-index: 2; padding: 3px 7px; border-radius: 4px; background: rgba(251,248,241,.88); color: #1D1F22; font-size: 11px; font-weight: 650; line-height: 1.2; letter-spacing: -.005em; }
.fig { margin-top: 8px; font-size: 12px; color: var(--ink3); font-weight: 550; }
.fig b { color: var(--ink2); font-weight: 700; }

/* The motif, drawn: a grid with one live pin. Used as the open indicator. */
.motif { position: relative; display: inline-grid; grid-template-columns: repeat(var(--n, 4), 1fr); width: var(--ms, 64px); aspect-ratio: 1; box-shadow: inset 0 0 0 var(--mw, 1.5px) var(--ink); background:
  repeating-linear-gradient(90deg, var(--ink) 0 var(--mw, 1.5px), transparent var(--mw, 1.5px) calc(100% / var(--n, 4))),
  repeating-linear-gradient(180deg, var(--ink) 0 var(--mw, 1.5px), transparent var(--mw, 1.5px) calc(100% / var(--n, 4))); }
.motif i { position: absolute; width: calc(100% / var(--n, 4) * .62); aspect-ratio: 1; border-radius: 50%; background: var(--pin, var(--green)); left: calc(100% / var(--n, 4) * (var(--x, 2) + .19)); top: calc(100% / var(--n, 4) * (var(--y, 1) + .19)); transition: left 600ms var(--ease-out), top 600ms var(--ease-out), background-color 300ms ease; }
.motif i::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--pin, var(--green)); animation: ring 2.6s var(--ease-out) infinite; }
.motif.off i { --pin: var(--s-closed); } .motif.off i::after { animation: none; opacity: 0; }
.motif.busy i { --pin: var(--s-busy); } .motif.sold i { --pin: var(--s-sold); }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav .in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -.035em; }
.brand svg { width: 26px; height: 26px; color: var(--ink); }
.brand .mark-dot { color: var(--green); }
.navl { display: flex; gap: 2px; margin-left: 8px; }
.navl a { height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 99px; color: var(--ink2); font-size: 14.5px; font-weight: 600; transition: background-color 160ms ease, color 160ms ease; }
.navl a[aria-current] { color: var(--ink); background: var(--well); }
@media (hover: hover) { .navl a:hover { color: var(--ink); background: var(--well); } }
.nav .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .signin { font-weight: 650; font-size: 14.5px; color: var(--ink2); padding: 0 8px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 99px; place-items: center; background: var(--well); }
.menu-btn svg { width: 20px; height: 20px; }
.mnav { display: none; }
@media (max-width: 980px) {
  .navl, .nav .signin, .nav .end .btn { display: none; }
  .menu-btn { display: grid; }
  .mnav { display: block; position: fixed; inset: 68px 0 auto 0; z-index: 49; padding: 10px var(--gut) 22px; background: var(--ground); box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s 260ms; }
  .mnav.open { transform: none; opacity: 1; visibility: visible; transition: opacity 200ms ease, transform 260ms var(--ease-out); }
  .mnav a { display: flex; align-items: center; justify-content: space-between; height: 52px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
  .mnav .btn { margin-top: 12px; width: 100%; }
}

/* Theme switch: light / dark / system */
.theme { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--well); }
.theme button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; color: var(--ink3); transition: background-color 160ms ease, color 160ms ease; }
.theme button svg { width: 16px; height: 16px; }
.theme button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.14); }

/* Trust line */
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink3); font-size: 13.5px; font-weight: 550; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--ink2); flex: none; }

/* Cards */
.card { position: relative; background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.field { border-radius: var(--r-lg); background: var(--fc, var(--sage)); color: var(--on-field); }
.field .lede, .field .body, .field p { color: var(--on-field2); }
.field .link { color: var(--on-field); }
.field .btn { background: #1D1F22; color: #FBF8F1; }
.field .btn.quiet { background: transparent; color: #1D1F22; box-shadow: inset 0 0 0 1.5px #1D1F22; }
.field .kick { color: rgba(29,31,34,.7); }
.field .kick .no { background: #1D1F22; color: #FBF8F1; }

/* Sections */
.sec { padding-top: clamp(72px, 9vw, 140px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 52px); }
.sec-head .lede { justify-self: end; }
.sec-head .kick { grid-column: 1 / -1; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lede { justify-self: start; } }

/* Hover/tap acting tiles */
.acts { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out) var(--rd, 0ms), transform 900ms var(--ease-out) var(--rd, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Footer */
.foot { margin-top: clamp(80px, 10vw, 150px); padding: 56px 0 30px; background: var(--ground2); }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.foot li { list-style: none; margin: 7px 0; }
.foot li a { color: var(--ink2); font-weight: 550; }
@media (hover: hover) { .foot li a:hover { color: var(--ink); } }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; color: var(--ink3); font-size: 13px; }
.foot .trust { margin-top: 18px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 260; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 99px; background: var(--ink); color: var(--ground); font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 300ms var(--ease-out); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { height: 32px; padding: 0 12px; border-radius: 99px; background: color-mix(in srgb, var(--ground) 16%, transparent); font-weight: 700; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
