/* Earlyworks public site (November 2026 overhaul, docs/OVERHAUL-2026-11.md).
   Every value comes from ew-tokens.css; this file only arranges them.
   Shared by index.html, the four city pages and the four information pages. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.num, .tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink);
  padding: 10px 16px; border-radius: var(--pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

:root { --hdr-h: 72px; }
@media (max-width: 600px) { :root { --hdr-h: 64px; } }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(780px + 2 * var(--gutter)); }
.band { padding-block: var(--section-y); position: relative; }
.band--paper { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--text-inv-2); }
.band--ink h1, .band--ink h2, .band--ink h3 { color: var(--text-inv); }

/* ---------- type ---------- */
.h2, .band h2, .closing h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 700; letter-spacing: -0.036em; line-height: 1.0; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.012em; line-height: 1.25; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 38em; }
.band--ink .lead { color: var(--text-inv-2); }
.small { font-size: var(--fs-small); }
.muted { color: var(--text-2); }
.head { max-width: 760px; }
.head .lead, h2 + .lead { margin-top: 20px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lead { margin-inline: auto; }
@media (max-width: 600px) { .lead { font-size: 17px; } }

/* ---------- buttons: pills, 48 px, one primary per view ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--tap); padding: 0 24px; border-radius: var(--pill);
  font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:active { transform: scale(.97); transition-duration: .08s; }
a, button { -webkit-tap-highlight-color: transparent; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #F6B259; box-shadow: 0 12px 26px -14px rgba(242, 163, 58, .85); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: rgba(15, 16, 18, .05); }
.btn--inv { border-color: rgba(255, 255, 255, .78); color: var(--text-inv); background: transparent; }
.btn--inv:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink);
  min-height: 44px; }
.tlink svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tlink:hover svg { transform: translateX(3px); }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.band--ink .tlink { color: var(--amber); }

/* ---------- the mark ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--text-inv); text-decoration: none; flex: none; min-height: 44px; }
.mark__bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.mark__bars i { display: block; width: 6px; border-radius: 1.5px; background: var(--amber); }
.mark__bars i:first-child { height: 13px; }
.mark__bars i:last-child { height: 20px; }
.mark__word { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; line-height: 1; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease; }
.hdr.is-solid { background: var(--ink); border-bottom-color: var(--line-inv); }
.hdr__in { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px; }
.hdr__nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.hdr__nav a { color: var(--text-inv-2); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 12px;
  transition: color .2s ease; }
.hdr__nav a:hover { color: var(--text-inv); }
.hdr__cta { transition: opacity .25s ease, visibility .25s ease; }
.hdr[data-cta="hidden"] .hdr__cta { opacity: 0; visibility: hidden; }
@media (min-width: 900px) { .hdr[data-cta="hidden"] .hdr__cta { display: none; } }
.hdr__menu { display: none; width: var(--tap); height: var(--tap); border-radius: var(--pill); border: 1px solid var(--line-inv);
  align-items: center; justify-content: center; color: var(--text-inv); flex: none; }
.hdr__menu svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .hdr__in { gap: 12px; }
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 380px) {
  .hdr__cta .btn { padding: 0 16px; font-size: 15px; }
  .mark__word { font-size: 18px; }
}

/* the menu sheet (phones and tablets) */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--text-inv);
  display: flex; flex-direction: column; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; overflow-y: auto; }
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet[hidden] { display: none; }
.sheet__top { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.sheet__close { width: var(--tap); height: var(--tap); border-radius: var(--pill); border: 1px solid var(--line-inv);
  display: inline-flex; align-items: center; justify-content: center; }
.sheet__close svg { width: 20px; height: 20px; }
.sheet__links { margin-top: 16px; border-top: 1px solid var(--line-inv); }
.sheet__links a { display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  border-bottom: 1px solid var(--line-inv); color: var(--text-inv); text-decoration: none;
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.sheet__links svg { width: 18px; height: 18px; color: var(--text-inv-2); }
.sheet__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.sheet__mail { color: var(--text-inv-2); font-size: 15px; text-align: center; }
.sheet__mail a { color: var(--text-inv); }
.sheet .sheet__links a { transform: translateY(8px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.sheet.is-open .sheet__links a { transform: none; opacity: 1; }
.sheet.is-open .sheet__links a:nth-child(2) { transition-delay: .03s; }
.sheet.is-open .sheet__links a:nth-child(3) { transition-delay: .06s; }
.sheet.is-open .sheet__links a:nth-child(4) { transition-delay: .09s; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- small shared pieces ---------- */
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--pill);
  background: var(--paper-2); color: var(--text-2); font-size: 13px; font-weight: 550; letter-spacing: 0; white-space: nowrap; }
.band--ink .tag { background: var(--ink-3); color: var(--text-inv-2); }
.dash { border: 0; border-top: 1.5px dashed rgba(15, 16, 18, .16); margin: 20px 0 16px; width: 100%; }
.band--ink .dash { border-top-color: rgba(255, 255, 255, .16); }
.lines { display: grid; gap: 9px; font-size: 15px; text-align: left; }
.lines div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lines dt { color: var(--text-2); }
.lines dd { color: var(--ink); font-weight: 600; text-align: right; font-feature-settings: "tnum"; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--pill);
  background: var(--amber-soft); color: var(--amber-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* stat cards: a small tag, one large value, a dashed rule, short lines */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 24px 22px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.scard__v { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 7px; }
.scard__v b { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink);
  font-feature-settings: "tnum"; }
.scard__v span { font-size: 15px; font-weight: 500; color: var(--text-2); }
.scard .dash { margin: 18px 0 14px; }
.scard .lines { width: 100%; font-size: 14px; gap: 7px; }
.scard__note { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.scard__v.is-long b { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -0.025em; padding-block: 5px; }
@media (max-width: 899px) {
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .scard { padding: 20px 14px 16px; }
}
@media (max-width: 360px) { .scard .lines { font-size: 13px; } }

/* ---------- reveal (only when scripts run; off for reduced motion) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .sheet, .sheet .sheet__links a, .hdr, .hdr__cta { transition: none; }
}

/* =====================================================================
   HOME
   ===================================================================== */
.hero { position: relative; background: var(--ink); color: var(--text-inv-2); overflow: hidden; isolation: isolate; }
.hero__media { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -1; overflow: hidden; }
.hero__pan { position: absolute; inset: 0; }
.hero__pan img, .hero__pan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__pan video { opacity: 0; transition: opacity 1.4s ease; }
.hero__pan video.is-on { opacity: 1; }
/* on computers the text sits on the left, so the scene is mirrored: the tower on the right, its lit jibs reaching toward the headline */
@media (min-width: 900px) { .hero__pan { scale: -1 1; } }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(15, 16, 18, .82) 16%, rgba(15, 16, 18, .30) 46%, rgba(15, 16, 18, .10) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(15, 16, 18, 0) 26%),
    linear-gradient(180deg, rgba(15, 16, 18, .55) 0%, rgba(15, 16, 18, 0) 22%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end;
  min-height: min(880px, 100svh); padding-top: calc(var(--hdr-h) + 64px); padding-bottom: 64px; }
.hero__copy { align-self: center; max-width: 700px; }
.hero__where { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-inv-2); margin-bottom: 22px; text-wrap: balance; }
.hero__where svg { width: 16px; height: 16px; color: var(--amber); flex: none; }
.hero h1 { font-size: var(--fs-hero); font-weight: 750; letter-spacing: -0.036em; line-height: .96; color: var(--text-inv); text-wrap: wrap; }
.hero h1 .accent { color: var(--amber); font-feature-settings: "tnum"; }
.hero__lede { margin-top: 26px; font-size: 19px; line-height: 1.55; color: rgba(243, 242, 238, .78); max-width: 32em; }
.hero .btns { margin-top: 34px; }
.hero__aside { justify-self: end; width: min(400px, 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__pan { animation: heroPan 26s cubic-bezier(.2, .6, .2, 1) both; transform-origin: 50% 35%; }
  @keyframes heroPan { from { transform: scale(1.07); } to { transform: scale(1); } }
}
@media (max-width: 899px) {
  .hero__media { position: relative; width: 100%; height: min(54svh, 440px); }
  .hero__media::after { background:
    linear-gradient(0deg, var(--ink) 0%, rgba(15, 16, 18, .55) 34%, rgba(15, 16, 18, 0) 62%),
    linear-gradient(180deg, rgba(15, 16, 18, .65) 0%, rgba(15, 16, 18, 0) 30%); }
  .hero__grid { display: block; min-height: 0; padding-top: 0; margin-top: -96px; padding-bottom: 48px; }
  .hero h1 { text-wrap: balance; }
  .hero__lede { font-size: 17px; margin-top: 18px; }
  .hero .btns { margin-top: 26px; }
  .hero__aside { width: 100%; margin-top: 40px; }
}

/* the live project card in the hero */
.pcard { background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden; }
.pcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.pcard__metro { font-size: 15px; font-weight: 650; color: var(--ink); }
.pcard__meta { font-size: 13px; color: var(--text-2); }
.pcard__rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 18px; border-top: 1px solid var(--line); }
.prow__st { text-align: center; }
.prow__st b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; }
.prow__st i { display: block; font-style: normal; font-size: 12px; color: var(--text-2); margin-top: 3px; }
.prow__main { min-width: 0; }
.prow__main b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3;
  text-wrap: balance; }
.prow__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.pcard__foot { background: var(--paper); border-top: 1px solid var(--line); }
.pcard__foot a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px;
  color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.pcard__foot a svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.pcard__foot a:hover svg { transform: translateX(3px); }

/* stat strip (city pages) */
.stats { background: var(--paper); padding-block: clamp(40px, 6vw, 72px); }

/* ---------- the live strip under the hero: projects added to the list ---------- */
.ticker { position: relative; display: flex; align-items: center; border-top: 1px solid var(--line-inv); background: rgba(15, 16, 18, .92);
  padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.ticker[hidden] { display: none; }
.ticker__label { flex: none; display: flex; align-items: center; gap: 10px; padding-right: 22px; font-size: 14px; font-weight: 600;
  color: var(--text-inv); white-space: nowrap; }
.ticker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.ticker__view { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.ticker__track { display: flex; width: max-content; animation: tick var(--tick-dur, 80s) linear infinite; }
.ticker:hover .ticker__track, .ticker.is-held .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 26px; border-left: 1px solid var(--line-inv);
  white-space: nowrap; font-size: 14.5px; color: var(--text-inv-2); }
.tk__s { display: flex; align-items: baseline; gap: 4px; color: var(--text-inv); }
.tk__s b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-feature-settings: "tnum"; }
.tk__a { color: var(--text-inv); font-weight: 600; }
.tk__d { font-size: 13px; color: var(--text-inv-2); }
.pill--dark { background: rgba(242, 163, 58, .14); color: var(--amber); }
@media (max-width: 899px) {
  .ticker { flex-direction: column; align-items: stretch; padding-left: 0; }
  .ticker__label { padding: 14px var(--gutter) 0; font-size: 13.5px; }
  .tk { height: 58px; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- the product: 1 phone, real screens in turn ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); grid-template-areas: "head phone" "steps phone";
  grid-template-rows: auto 1fr; column-gap: 72px; align-items: start; }
.prod__head { grid-area: head; }
.prod__steps { grid-area: steps; display: grid; gap: 10px; margin-top: 40px; align-self: start; }
.prod__phone { grid-area: phone; justify-self: center; align-self: center; display: flex; flex-direction: column; align-items: center; }
.phone { border-radius: 48px; background: #0B0C0E; padding: 10px;
  box-shadow: 0 50px 80px -40px rgba(15, 16, 18, .6), 0 2px 6px rgba(15, 16, 18, .14), inset 0 0 0 1.5px #2B2E34; }
.phone--lg { width: 320px; }
.phone__screens { position: relative; aspect-ratio: 390 / 844; border-radius: 38px; overflow: hidden; background: #0F1012; }
.phone__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.phone__screens img.is-on { opacity: 1; }
.prod__note { margin-top: 18px; font-size: 13.5px; color: var(--text-2); }
.pstep { position: relative; display: block; width: 100%; text-align: left; padding: 20px 22px 24px; border-radius: var(--radius);
  background: transparent; transition: background-color .3s ease, box-shadow .3s ease; }
.pstep b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.pstep > span { display: block; margin-top: 6px; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.pstep[aria-selected="false"] b { color: var(--text-2); }
.pstep[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow-1); }
.pstep__bar { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; }
.pstep__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--amber); }
.pstep[aria-selected="true"] .pstep__bar { opacity: 1; }
.pstep.run .pstep__bar i { animation: pfill var(--pdur, 5.5s) linear forwards; }
@keyframes pfill { to { transform: scaleX(1); } }
@media (max-width: 899px) {
  .prod { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "phone" "steps"; }
  .prod__phone { margin-top: 36px; }
  .phone--lg { width: min(270px, 72vw); border-radius: 42px; padding: 8px; }
  .phone__screens { border-radius: 34px; }
  .prod__steps { margin-top: 28px; gap: 6px; }
  .pstep { padding: 14px 18px 18px; }
  .pstep b { font-size: 18px; }
  .pstep > span { font-size: 15px; }
  .pstep[aria-selected="false"] > span { display: none; }
  .pstep__bar { left: 18px; right: 18px; bottom: 10px; }
}

/* ---------- the night map ---------- */
.nm { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.seg { display: inline-flex; gap: 2px; padding: 4px; margin-top: 30px; border-radius: var(--pill); background: var(--ink-2); border: 1px solid var(--line-inv); max-width: 100%; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: var(--pill); color: var(--text-inv-2); font-size: 15px; font-weight: 600;
  transition: background-color .2s ease, color .2s ease; }
.seg button:hover { color: var(--text-inv); }
.seg button[aria-selected="true"] { background: var(--text-inv); color: var(--ink); }
.nm__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; margin-top: 40px; }
.nm__nums div { display: flex; flex-direction: column-reverse; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-inv); }
.nm__nums dt { font-size: 14.5px; color: var(--text-inv-2); }
.nm__nums dd { font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text-inv); font-feature-settings: "tnum"; }
.nm__map { position: relative; aspect-ratio: 1.12; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-inv);
  background: radial-gradient(ellipse 70% 60% at 50% 52%, #17191D 0%, #0D0E10 72%); }
.nm__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity .3s ease; }
.nm__tiles { position: absolute; inset: 0; z-index: 0; }
/* Leaflet adds tiles with plus-lighter, which leaves a bright hairline when the fitted zoom is fractional;
   normal blending with a 1 px overlap joins them cleanly */
.nm__map .leaflet-container img.leaflet-tile { mix-blend-mode: normal; width: 257px !important; height: 257px !important; }
.nm__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.nm__labels span { position: absolute; left: 0; top: 0; padding: 3px 8px; border-radius: 7px; background: rgba(15, 16, 18, .78);
  color: rgba(243, 242, 238, .88); font-size: 12.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
@media (min-width: 900px) { .nm__labels span { font-size: 13.5px; padding: 4px 9px; } }
.nm__map .leaflet-container { background: #111214; font-family: var(--font); }
.nm__map .leaflet-tile-pane { opacity: .9; }
.nm__map .leaflet-container .leaflet-control-attribution { background: rgba(15, 16, 18, .66); color: rgba(243, 242, 238, .5);
  font-size: 9.5px; line-height: 1.4; padding: 1px 6px; border-top-left-radius: 6px; }
.nm__map .leaflet-container .leaflet-control-attribution a { color: inherit; }
.nm__cap { margin-top: 14px; font-size: 14px; color: var(--text-inv-2); }
@media (max-width: 899px) {
  .nm { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nm__fig { order: 2; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding: 0 8px; font-size: 14.5px; }
  .nm__map { aspect-ratio: .95; }
  .nm__nums { margin-top: 32px; gap: 24px 18px; }
}

/* ---------- the trades: tall photo cards, general contractors double width ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tcards .tcard--wide { grid-column: span 2; aspect-ratio: auto; }
@media (min-width: 1240px) {
  .tcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .tcard__body { padding: 20px; }
  .tcard__n b { font-size: 42px; }
  .tcard__plus { width: 36px; height: 36px; }
}
.tcard { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--ink); color: var(--text-inv); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 16, 18, .28) 0%, rgba(15, 16, 18, 0) 18%, rgba(15, 16, 18, .30) 36%, rgba(15, 16, 18, .84) 56%, rgba(15, 16, 18, .97) 100%); }
.tcard h3, .tcard__n b { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.tcard:hover img { transform: scale(1.035); }
.tcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.tcard h3 { color: var(--text-inv); font-size: 22px; }
.tcard__n { margin-top: 14px; }
.tcard__n b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text-inv); font-feature-settings: "tnum"; }
.tcard__n span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: rgba(243, 242, 238, .82); }
.tcard__ex { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; line-height: 1.4; color: rgba(243, 242, 238, .78); }
.tcard__ex b { color: var(--text-inv); font-weight: 600; }
.tcard__plus { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: inline-flex;
  align-items: center; justify-content: center; color: var(--text-inv); transition: background-color .2s ease; }
.tcard__plus svg { width: 18px; height: 18px; }
.tcard:hover .tcard__plus { background: var(--amber); color: var(--ink); }
.tcard__hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.tcard__hit:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; border-radius: var(--radius); }
@media (max-width: 899px) {
  .wrap--bleed { padding-inline: 0; }
  .tcards { display: flex; gap: 14px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tcards::-webkit-scrollbar { display: none; }
  .tcard, .tcards .tcard--wide { flex: 0 0 min(80%, 340px); scroll-snap-align: start; aspect-ratio: 3 / 4.25; }
  .tcard__body { padding: 20px; }
  .tcard__n b { font-size: 42px; }
}

/* ---------- try the list ---------- */
.try { margin-top: 44px; }
.try__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.tchip { flex: none; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white);
  color: var(--text); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.tchip:hover { border-color: rgba(15, 16, 18, .22); }
.tchip:active, .seg button:active { transform: scale(.96); }
.seg button { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease; }
.tchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--text-inv); }
.seg--light { margin-top: 0; background: var(--paper-2); border-color: transparent; }
.seg--light button { min-height: 44px; color: var(--text-2); font-size: 14.5px; }
.seg--light button:hover { color: var(--text); }
.seg--light button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 16, 18, .10), 0 2px 8px rgba(15, 16, 18, .06); }
.tlist { margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.tlist li + li { border-top: 1px solid var(--line); }
.tlist__row { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 18px; gap: 12px; align-items: center;
  padding: 14px 18px 14px 12px; text-align: left; color: inherit; transition: background-color .15s ease; }
.tlist__row:hover { background: var(--paper); }
.tlist__row:active { background: var(--paper-2); }
.tlist__row:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.tlist__row .prow__main b { text-wrap: balance; }
.tlist__chev { width: 18px; height: 18px; color: rgba(15, 16, 18, .32); transition: transform .2s ease, color .2s ease; }
.tlist__row:hover .tlist__chev { transform: translateX(2px); color: var(--ink); }
.tlist__c { display: none; }
@media (min-width: 900px) {
  .tlist__row { grid-template-columns: 64px minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)) 18px; padding: 14px 22px 14px 12px; }
  .tlist__c { display: block; min-width: 0; }
  .tlist__c b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3; font-feature-settings: "tnum"; white-space: nowrap; }
  .tlist__c i { display: block; font-style: normal; font-size: 12.5px; color: var(--text-2); margin-top: 4px; }
}
.try__more { margin-top: 18px; display: flex; justify-content: center; }
.try__more[hidden] { display: none; }
.try__note { margin-top: 16px; font-size: 13.5px; color: var(--text-2); text-align: center; }
@media (max-width: 899px) {
  .try { margin-top: 32px; }
  .try__bar { display: block; }
  .seg--light { display: flex; width: 100%; margin-top: 12px; }
  .seg--light button { flex: 1; }
  .tlist__row { padding: 13px 14px 13px 6px; gap: 10px; }
}

/* ---------- the example sheet ---------- */
.tsheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.tsheet[hidden] { display: none; }
.tsheet__scrim { position: absolute; inset: 0; background: rgba(15, 16, 18, .58); opacity: 0; transition: opacity .4s ease; }
.tsheet.is-open .tsheet__scrim { opacity: 1; }
.tsheet__panel { position: relative; width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--white); color: var(--text);
  border-radius: 22px 22px 0 0; padding: 12px 22px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(102%); transition: transform .5s cubic-bezier(.32, .72, 0, 1); overscroll-behavior: contain; }
.tsheet__panel.is-drag { transition: none; }
.tsheet.is-open .tsheet__panel { transform: none; }
.tsheet__grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(15, 16, 18, .16); margin: 0 auto 16px; }
.tsheet__trade { font-size: 14px; font-weight: 600; color: var(--amber-ink); }
.tsheet h3 { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tsheet__where { margin-top: 4px; color: var(--text-2); }
.tsheet__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; border-radius: 12px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); }
.tsheet__facts div { background: var(--paper); padding: 14px 14px 12px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.tsheet__facts dt { font-size: 13px; color: var(--text-2); }
.tsheet__facts dd { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); font-feature-settings: "tnum"; }
.tsheet .lines { margin-top: 18px; font-size: 14.5px; }
.tsheet .lines dd { font-weight: 600; max-width: 62%; }
.tsheet .btns { margin-top: 24px; }
.tsheet .btn[hidden] { display: none; }
@media (min-width: 900px) {
  .tsheet { align-items: center; }
  .tsheet__panel { border-radius: var(--radius); padding: 28px; transform: translateY(14px) scale(.98); opacity: 0;
    transition: transform .25s ease, opacity .25s ease; }
  .tsheet.is-open .tsheet__panel { transform: none; opacity: 1; }
  .tsheet__grab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tsheet__panel, .tsheet__scrim { transition: none; } }

/* ---------- how it works: the record journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.jstep h3 { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; color: var(--text-inv); min-height: 2.6em; }
.jstep h3::before { margin-top: .45em; }
.jrow .prow__main b { white-space: normal; }
.jstep h3::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.jcard { margin-top: 16px; min-height: 200px; padding: 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-inv);
  color: var(--text-inv-2); font-size: 14.5px; line-height: 1.5; }
.jcard--doc { background: #F3F1EB; border-color: transparent; color: var(--text); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); }
.jdoc__src { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.jdoc__ref { margin-top: 2px; font-size: 13px; color: var(--text-2); font-feature-settings: "tnum"; }
.jdoc__q { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid rgba(15, 16, 18, .2); font-size: 15px; line-height: 1.5; color: var(--ink); }
.jdoc__as { margin-top: 12px; font-size: 12.5px; color: var(--text-2); }
.jcard__big { font-size: 15px; color: var(--text-inv); }
.jcard__big b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; font-feature-settings: "tnum"; }
.jrecs { margin-top: 14px; display: grid; gap: 8px; }
.jrecs li { display: grid; gap: 1px; padding-top: 8px; border-top: 1px solid var(--line-inv); }
.jrecs b { color: var(--text-inv); font-weight: 600; font-size: 13.5px; font-feature-settings: "tnum"; }
.jrecs span { font-size: 13px; }
.jcard__note { margin-top: 14px; font-size: 14px; }
.jcard--row .jrow { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--white); }
.jsaved { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--pill); background: var(--amber); color: var(--ink); font-weight: 650; }
.jsaved svg { width: 18px; height: 18px; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line-inv); }
.check { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.check__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-inv); display: inline-flex;
  align-items: center; justify-content: center; color: var(--amber); }
.check__ic svg { width: 20px; height: 20px; }
.check h3 { font-size: 18px; color: var(--text-inv); }
.check p { margin-top: 6px; font-size: 15px; }
.check .tlink { margin-top: 6px; }
@media (max-width: 1099px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .checks { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 48px; } }
@media (max-width: 600px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
  .jcard { min-height: 0; }
  .jstep h3 { min-height: 0; }
}

/* ---------- questions and answers, beside a photograph ---------- */
.faqgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__photo { position: sticky; top: calc(var(--hdr-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; }
.faqgrid .qa { margin: 32px 0 0; }
@media (max-width: 899px) {
  .faqgrid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq__photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .faq__photo img { object-position: 50% 35%; }
}

/* ---------- pricing, on a night photograph ---------- */
.price { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--text-inv-2); padding-block: var(--section-y); }
.price__media { position: absolute; inset: 0; z-index: -1; }
.price__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.price__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 16, 18, .94) 0%, rgba(15, 16, 18, .72) 42%, rgba(15, 16, 18, .36) 100%); }
.price__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.price h2 { color: var(--text-inv); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.price .lead { margin-top: 22px; color: rgba(243, 242, 238, .82); }
.price__fine { margin-top: 18px; font-size: 14px; color: rgba(243, 242, 238, .64); }
.plan1 { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.bill { display: inline-flex; gap: 2px; padding: 4px; margin-top: 18px; border-radius: var(--pill); background: var(--paper-2); }
.bill button { min-height: 44px; padding: 0 22px; border-radius: var(--pill); font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.bill button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 16, 18, .14); }
.plan1__view { width: 100%; }
.plan1__view[hidden] { display: none; }
.plan1 .plan__price { margin-top: 22px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.plan1 .plan__price b { font-size: 64px; font-weight: 750; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; }
.plan1 .plan__price span { font-size: 16px; color: var(--text-2); }
.plan1__note { margin-top: 10px; min-height: 2.9em; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.plan1 .dash { margin: 18px 0 16px; }
.plan1 .lines { width: 100%; }
.plan1 .btn { margin-top: 24px; }
.plan1 .btn[hidden] { display: none; }
@media (max-width: 899px) {
  .price__media::after { background: linear-gradient(180deg, rgba(15, 16, 18, .9) 0%, rgba(15, 16, 18, .78) 50%, rgba(15, 16, 18, .9) 100%); }
  .price__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .plan1 { padding: 24px 20px; }
  .plan1 .plan__price b { font-size: 56px; }
}

/* questions and answers */
.qa { max-width: 840px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 20px; height: 20px; flex: none; color: var(--text-2); transition: transform .2s ease; }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa .qa__a { padding: 0 44px 24px 0; color: var(--text-2); }
.qa .qa__a p + p { margin-top: 12px; }
.qa .qa__a a { color: var(--ink); }
.prose .qa { margin-left: 0; margin-right: 0; }
@media (max-width: 600px) { .qa summary { font-size: 17px; } .qa .qa__a { padding-right: 0; } }

/* footer */
.ftr { background: var(--ink); color: var(--text-inv-2); padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-inv); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr__about { margin-top: 18px; max-width: 30em; font-size: 15px; line-height: 1.6; }
.ftr h2 { font-size: 14px; font-weight: 600; color: var(--text-inv); letter-spacing: 0; line-height: 1.4; }
.ftr ul { margin-top: 8px; display: grid; gap: 0; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text-inv-2); text-decoration: none; font-size: 15px; }
.ftr ul a:hover { color: var(--text-inv); }
.ftr__base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-inv); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px 24px; font-size: 14px; }
.ftr__base a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .ftr__grid { gap: 32px 20px; } }

/* =====================================================================
   CITY PAGES AND INFORMATION PAGES
   ===================================================================== */
.phero { background: var(--ink); color: var(--text-inv-2); padding: calc(var(--hdr-h) + clamp(40px, 7vw, 88px)) 0 clamp(48px, 7vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-inv-2); margin-bottom: 20px; }
.crumbs a { color: var(--text-inv-2); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin-block: -12px; }
.crumbs a:hover { color: var(--text-inv); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.phero h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.02; color: var(--text-inv); max-width: 15em; }
.phero .lead { margin-top: 22px; color: rgba(243, 242, 238, .78); max-width: 40em; }
.phero .lead b { color: var(--text-inv); font-weight: 600; }
.phero .btns { margin-top: 32px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.phero__map .nm__map { aspect-ratio: 1.15; }
@media (max-width: 899px) { .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .phero__map .nm__map { aspect-ratio: 1.05; } }
.stamp { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.prose h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 16px; }
.prose h2:not(:first-child) { margin-top: 64px; }
.prose p { color: var(--text-2); max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.prose p a { color: var(--ink); }
.prose .note { margin-top: 14px; font-size: 15px; }

/* the project table: rows on a computer, stacked cards on a phone */
.ptable { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15.5px; }
.ptable th { text-align: left; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 0 12px 12px 0; border-bottom: 1px solid rgba(15, 16, 18, .18); }
.ptable td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.ptable td.a { color: var(--ink); font-weight: 600; }
.ptable td.a span { display: block; font-weight: 400; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.ptable .n { text-align: right; font-feature-settings: "tnum"; color: var(--ink); white-space: nowrap; }
.ptable th.n { color: var(--text-2); }
.ptable .u { display: none; }
.ptable td.na { color: var(--text-2); }
@media (max-width: 700px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; width: 100%; }
  .ptable tr { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
  .ptable td { display: inline; padding: 0; border: 0; text-align: left; font-size: 15px; color: var(--text-2); }
  .ptable td.a { display: block; font-size: 17px; margin-bottom: 4px; }
  .ptable td.a span { display: block; font-size: 15px; }
  .ptable td.n { color: var(--ink); font-weight: 600; }
  .ptable td.na { display: none; }
  .ptable .u { display: inline; font-weight: 400; color: var(--text-2); }
  .ptable td:not(.a):not(.first)::before { content: " \00B7  "; color: var(--text-2); font-weight: 400; }
}
.stagetable { width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 22px; font-size: 15.5px; }
.stagetable td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.stagetable td.n { text-align: right; color: var(--ink); font-weight: 600; font-feature-settings: "tnum"; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--pill);
  background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.chips b { font-weight: 600; color: var(--amber-ink); font-feature-settings: "tnum"; }
.ctaband { margin-top: 72px; background: var(--ink); color: var(--text-inv-2); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); }
.ctaband h2 { color: var(--text-inv); margin: 0; }
.ctaband p { color: var(--text-inv-2); margin-top: 14px; max-width: 46em; }
.ctaband .btns { margin-top: 26px; }
.othermetros { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.othermetros a { color: var(--ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* information pages (sources, accuracy, privacy, terms) */
.dhead { background: var(--paper); padding: calc(var(--hdr-h) + clamp(40px, 7vw, 80px)) 0 8px; }
.dhead h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; max-width: 16em; }
.dhead .lead { margin-top: 18px; }
.dbody { padding: 28px 0 var(--section-y); }
.doc { max-width: 760px; }
.doc h2 { font-size: 23px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; margin: 48px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p { color: var(--text-2); margin-bottom: 14px; max-width: 68ch; }
.doc p b, .doc li b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc ul { margin: 0 0 16px; padding-left: 0; display: grid; gap: 10px; }
.doc ul li { position: relative; padding-left: 22px; color: var(--text-2); max-width: 66ch; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.doc .olist { list-style: decimal; padding-left: 24px; display: grid; gap: 12px; margin: 0 0 18px; }
.doc .olist li { color: var(--text-2); padding-left: 4px; max-width: 66ch; }
.doc .olist li::marker { color: var(--amber-ink); font-weight: 600; }
.doc .note { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 20px 22px; margin: 8px 0 28px;
  color: var(--text); border-left: 3px solid var(--amber); }
.doc .note b { display: block; margin-bottom: 8px; }
.doc .note ul { margin: 0; }
.tbl { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 0 14px 10px 0; border-bottom: 1px solid rgba(15, 16, 18, .18); }
.tbl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.tbl td b { color: var(--ink); font-weight: 600; }
.tbl td.n, .tbl th.n { text-align: right; font-feature-settings: "tnum"; }
.tbl td.n { color: var(--ink); }
@media (max-width: 700px) {
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl--stack tr:first-child { border-top: 1px solid var(--line); }
  .tbl--stack td { padding: 2px 0; border: 0; text-align: left !important; }
  .tbl--stack td[data-k]::before { content: attr(data-k) ": "; color: var(--text-2); font-weight: 500; }
  .tbl--stack td:first-child { font-size: 16.5px; margin-bottom: 2px; }
  .tbl--stack td:first-child::before { content: none; }
}
.livecheck { margin-top: 18px; }
.liverow { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-1); padding: 14px 16px; margin-bottom: 10px; font-size: 15px; color: var(--text-2); }
.liverow b { color: var(--ink); }
.liverow .ok { color: var(--ok); font-weight: 600; }
.liverow .bad { color: var(--warn); font-weight: 600; }
.livesum { font-weight: 600; color: var(--ink); margin-top: 12px; }

/* ---------- the checkout overlay (restyled only; markup ids unchanged) ---------- */
#paywrap { position: fixed; inset: 0; z-index: 900; background: rgba(15, 16, 18, .78); align-items: center; justify-content: center; padding: 16px; }
.paybox { position: relative; width: min(500px, 100%); max-height: 92vh; overflow: auto; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-2), 0 40px 90px rgba(0, 0, 0, .45); padding: 14px; }
#payclose { position: sticky; top: 0; float: right; z-index: 2; height: 44px; padding: 0 18px; border-radius: var(--pill);
  border: 1px solid var(--ink); background: var(--white); color: var(--ink); font: 600 15px var(--font); cursor: pointer; }
#payclose:hover { background: var(--paper); }
#payframe { clear: both; min-height: 320px; }
#payframe p { color: var(--text-2) !important; font-family: var(--font) !important; }
