/* FlashWeb · Deep Orbit prototype. Palette per shot plan (proposed). */
:root {
  --bg: #100C20;
  --panel: #19122B;
  --text: #F7F2FF;
  --muted: #C8BEDB;
  --signal: #B798FF;
  --signal-hot: #DCCBFF;
  --rule: rgba(200, 190, 219, .16);
  --gutter: clamp(20px, 5vw, 88px);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--signal);
  background: var(--signal); color: #120c22; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.btn:hover { background: var(--signal-hot); box-shadow: 0 0 28px -6px rgba(183, 152, 255, .7); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(200, 190, 219, .35); }
.btn-ghost:hover { background: rgba(183, 152, 255, .12); border-color: var(--signal); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; color: var(--muted); letter-spacing: .02em; vertical-align: 1px; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px var(--gutter);
  background: linear-gradient(rgba(16, 12, 32, .85), rgba(16, 12, 32, 0)); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; font-size: 18px; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 180px; padding: 8px; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; }
.menu-panel a { padding: 12px 14px; text-decoration: none; border-radius: 8px; }
.menu-panel a:hover { background: rgba(183, 152, 255, .1); }

/* ---------- chapter index ---------- */
.chapters { position: fixed; right: calc(var(--gutter) * .5); top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 18px; transition: opacity .4s, visibility .4s; }
.js .chapters:not(.show) { opacity: 0; visibility: hidden; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; min-height: 24px; }
.chapters a::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(200, 190, 219, .6); transition: .3s; }
.chapters a span { opacity: .65; transition: opacity .3s; }
.chapters a:hover span, .chapters a:focus-visible span, .chapters a[aria-current] span { opacity: 1; }
.chapters a[aria-current] { color: var(--text); }
.chapters a[aria-current]::after { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 10px 2px rgba(183, 152, 255, .6); }

/* ---------- orbit stage ---------- */
.orbit { position: relative; height: 100svh; }
.js .orbit { height: 360svh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; will-change: transform; }

/* Sphere: static fallback position (opening frame); JS takes over with transforms. */
.sphere { position: absolute; left: calc(61vw - 45svh); top: calc(49svh - 45svh); width: 90svh; height: 90svh; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(220, 205, 255, .16), transparent 20%),
    radial-gradient(ellipse 60% 40% at 58% 74%, rgba(118, 66, 222, .42), transparent 70%),
    radial-gradient(ellipse 30% 55% at 40% 55%, rgba(150, 100, 255, .16), transparent 70%),
    radial-gradient(circle at 56% 48%, #140c28 0%, #0b0717 58%, #06040d 100%);
  box-shadow:
    inset 2.5px 1px 0 0 rgba(240, 232, 255, .95),
    inset 14px 5px 22px -6px rgba(200, 176, 255, .75),
    inset 60px 20px 90px -30px rgba(150, 108, 255, .35),
    -14px 2px 34px -18px rgba(196, 168, 255, .95),
    -50px 0 140px -50px rgba(160, 118, 255, .6);
}
/* shade the far (right) side so the lit edge reads as a crescent */
.sphere::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: linear-gradient(105deg, transparent 38%, rgba(9, 6, 19, .55) 70%, rgba(9, 6, 19, .85)); }
.js .sphere { left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.sphere::before { content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: conic-gradient(from 210deg at 58% 62%, transparent 0 14%, rgba(150, 96, 255, .45) 18%, transparent 24% 52%, rgba(196, 160, 255, .3) 57%, transparent 63%);
  filter: blur(22px); mix-blend-mode: screen; }
.sheen { position: absolute; left: 22%; top: 58%; width: 40%; height: 1.6%; transform: rotate(-40deg); border-radius: 50%; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(220, 200, 255, .5) 55%, transparent); filter: blur(1.5px); mix-blend-mode: screen; }
.sheen::after { content: ""; position: absolute; left: 20%; top: 260%; width: 60%; height: 70%; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(200, 170, 255, .3), transparent); filter: blur(2px); }

.tethers { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tether { fill: none; stroke: rgba(183, 152, 255, .5); stroke-width: 1.1; transition: stroke .3s, stroke-width .3s; }
.tether.hot { stroke: rgba(220, 203, 255, .95); stroke-width: 1.6; }
.tether-lit { fill: none; stroke: var(--signal-hot); stroke-width: 1.8; filter: drop-shadow(0 0 4px #B798FF) drop-shadow(0 0 10px rgba(183, 152, 255, .7)); }
.node { fill: #F2EAFF; filter: drop-shadow(0 0 5px #B798FF); }
.pulse { fill: #fff; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px #B798FF); }

/* Project satellites: real DOM buttons. */
.sat { position: absolute; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; border-radius: 14px; z-index: 2; }
.sat .mini { transition: box-shadow .35s, border-color .35s; }
.sat:hover .mini, .sat:focus-visible .mini, .sat.lit .mini { border-color: rgba(220, 203, 255, .9); box-shadow: 0 0 0 1px rgba(183, 152, 255, .4), 0 0 40px -6px rgba(183, 152, 255, .55); }
.sat:focus-visible { outline-offset: 6px; }
/* no-JS positions = opening composition */
html:not(.js) .sat[data-project="coastal"] { left: 74.5vw; top: 5vh; width: 21vw; }
html:not(.js) .sat[data-project="iris"] { left: 77.5vw; top: 37vh; width: 21vw; }
html:not(.js) .sat[data-project="alpine"] { left: 65vw; top: 72vh; width: 22vw; }
.js .sat { left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }

/* Mini site layout, scales with its container. */
.mini { display: block; container-type: inline-size; font-family: var(--font); width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(200, 180, 255, .45); background: #1a1430; box-shadow: 0 0 30px -10px rgba(183, 152, 255, .35); }
.mini { position: relative; color: #fff; }
/* nav bar */
.m-bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; gap: 3cqw; height: 8.5cqw; padding: 0 3.6cqw; font-size: 1.45cqw; letter-spacing: .01em; }
.m-logo { display: inline-flex; align-items: center; gap: 1cqw; margin-right: auto; font-weight: 600; font-size: 1.95cqw; letter-spacing: .01em; }
.m-mark { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; border: .25cqw solid currentColor; }
.m-mark.sq { border-radius: .4cqw; transform: rotate(45deg); width: 1.3cqw; height: 1.3cqw; }
.m-mark.leaf { border-radius: 0 60% 0 60%; }
.m-nav { display: flex; gap: 2.6cqw; opacity: .88; }
.m-cta { padding: .9cqw 1.9cqw; border-radius: 99px; background: rgba(255, 255, 255, .94); color: #1a1330; font-weight: 600; }
.m-cta.line { background: transparent; color: #fff; border: .12cqw solid rgba(255, 255, 255, .6); }
/* hero */
.mini-hero { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 6cqw 3.6cqw 4cqw; background-size: cover; background-position: center; }
.mini-hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 9, 28, .74), rgba(14, 9, 28, .38) 46%, rgba(14, 9, 28, 0) 72%), linear-gradient(180deg, rgba(14, 9, 28, .5), transparent 22%, transparent 70%, rgba(14, 9, 28, .45)); }
.m-copy { position: relative; max-width: 50cqw; }
.m-kicker { display: block; font-size: 1.25cqw; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 1.4cqw; }
.m-title { display: block; font-size: 5cqw; font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.m-sub { display: block; margin-top: 1.6cqw; font-size: 1.6cqw; line-height: 1.45; opacity: .82; max-width: 38cqw; }
.m-actions { display: flex; gap: 1.2cqw; margin-top: 2.6cqw; }
.m-btn { padding: 1.15cqw 2.3cqw; border-radius: 99px; font-size: 1.4cqw; font-weight: 600; background: #fff; color: #1a1330; }
.m-btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: .12cqw solid rgba(255, 255, 255, .55); }
.m-btn.violet { background: #B798FF; color: #160f28; }
/* real estate: search + featured listing */
.m-search { position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 3.4cqw; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; gap: 1cqw;
  padding: 1cqw 1cqw 1cqw 2.2cqw; border-radius: 1.6cqw; background: rgba(18, 12, 34, .62); border: .1cqw solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); font-size: 1.45cqw; }
.m-search span small { display: block; font-size: 1.05cqw; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: .3cqw; }
.m-search .m-btn { padding: 1.3cqw 2.6cqw; }
.m-listing { position: absolute; right: 3.6cqw; bottom: 13cqw; padding: 1.2cqw 1.8cqw; border-radius: 1.2cqw; background: rgba(255, 255, 255, .92); color: #1a1330; font-size: 1.3cqw; line-height: 1.4; }
.m-listing b { display: block; font-size: 1.9cqw; }
.m-listing small { font-size: 1.05cqw; letter-spacing: .12em; text-transform: uppercase; color: #6a5a8c; }
/* landscaping: service chips */
.m-chips { position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 3.6cqw; display: flex; flex-wrap: wrap; gap: 1cqw; font-size: 1.3cqw; }
.m-chips span { padding: .9cqw 1.8cqw; border-radius: 99px; border: .12cqw solid rgba(255, 255, 255, .45); background: rgba(14, 9, 28, .35); backdrop-filter: blur(4px); }
/* fragrance: product line */
.m-price { display: flex; gap: 1.6cqw; margin-top: 2cqw; font-size: 1.35cqw; opacity: .9; }
.m-price b { font-weight: 600; }
.m-dots { position: absolute; left: 3.6cqw; bottom: 3.6cqw; display: flex; gap: .9cqw; }
.m-dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.m-dots i:first-child { background: #fff; width: 3cqw; border-radius: 99px; }
/* small previews (phone arrival, secondary cards): drop the fine print */
@container (max-width: 520px) {
  .m-nav, .m-sub, .m-listing, .m-search span small, .m-price span:not(:first-child) { display: none; }
  .m-bar { font-size: 2.6cqw; height: 11cqw; }
  .m-logo { font-size: 3.2cqw; }
  .m-copy { max-width: 70cqw; }
  .m-kicker { font-size: 2.2cqw; }
  .m-title { font-size: 7cqw; }
  .m-btn, .m-search, .m-chips, .m-price { font-size: 2.6cqw; }
  .m-search { grid-template-columns: 1fr auto; }
  .m-search span:nth-child(2), .m-search span:nth-child(3), .m-chips span:nth-child(n+4) { display: none; }
}

/* Copy layers on the stage */
.copy { position: absolute; left: var(--gutter); z-index: 3; max-width: min(40vw, 620px); }
.copy { top: 50%; transform: translateY(-50%); }
.copy h1 { font-size: clamp(44px, 6.4vw, 108px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.support { margin-top: 30px; font-size: clamp(17px, 1.5vw, 22px); color: var(--muted); max-width: 26ch; }
.support .line { display: block; }
.js .support .line { opacity: 0; transform: translateY(14px); }
.js .copy-sel, .js .copy-arrive { opacity: 0; visibility: hidden; }
.sel-title { font-size: clamp(36px, 4.6vw, 76px); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
.arrive-name { font-size: clamp(34px, 4vw, 64px); }
.arrive-meta { margin: 14px 0 26px; color: var(--muted); }
.copy-sel, .copy-arrive { display: none; }
.js .copy-sel, .js .copy-arrive { display: block; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 34px; margin-top: 10px; background: linear-gradient(var(--signal), transparent); }
.js:not(.has-scroll) .scroll-cue { display: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 14vh, 180px) var(--gutter); }
.sec-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 88px); }
.lede { margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 52ch; }

.lead-project { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end;
  padding-bottom: clamp(56px, 8vw, 120px); margin-bottom: clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--rule); }
.lead-project.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.lead-project.flip .frame { order: 2; }
.frame .mini { border-radius: 18px; }
.lp-text .num { font-size: 13px; color: var(--signal); letter-spacing: .14em; margin-bottom: 14px; }
.lp-text h3 { font-size: clamp(30px, 3vw, 48px); }
.lp-text .meta { margin: 12px 0 22px; color: var(--muted); font-size: 15px; }
.lp-text p:not(.meta):not(.num) { color: var(--muted); margin-bottom: 28px; max-width: 46ch; }
.secondary { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.sec-card { display: flex; gap: 18px; align-items: center; padding: 12px 24px 12px 12px; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .3s; }
.sec-card:hover { border-color: var(--signal); }
.sec-img { width: 120px; aspect-ratio: 16 / 10; border-radius: 10px; background-size: cover; background-position: center; }
.sec-card small { color: var(--muted); font-size: 14px; }

/* Signal line */
.signal { position: relative; display: block; height: 1px; background: linear-gradient(90deg, var(--signal), rgba(183, 152, 255, .25)); transform-origin: left; box-shadow: 0 0 8px rgba(183, 152, 255, .6); }
.signal::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--signal); }
.js .signal { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .signal::after { opacity: 0; transition: opacity .6s 1.4s; }
.js .signal.in { transform: none; }
.js .signal.in::after { opacity: 1; }

/* Strip */
.strip { position: relative; padding: 40px 0 34px; border-block: 1px solid var(--rule); background: linear-gradient(var(--bg), #120d24); }
.strip .signal { margin: 0 var(--gutter) 28px; }
.marquee { overflow: hidden; }
.track { display: flex; width: max-content; gap: 4vw; align-items: center; font-size: clamp(48px, 9vw, 150px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(200, 190, 219, .5); animation: drift 60s linear infinite; padding-left: 4vw; }
.track i { font-style: normal; color: var(--signal); -webkit-text-stroke: 0; font-weight: 300; }
.strip.paused .track, .strip.offscreen .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.pause { margin: 22px var(--gutter) 0; background: none; border: 1px solid var(--rule); color: var(--muted); border-radius: 999px; padding: 8px 14px; font: 500 13px var(--font); cursor: pointer; min-height: 36px; }
.pause:hover { color: var(--text); border-color: var(--signal); }

/* Services */
.services { background: #120d24; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.cols h3 { font-size: 24px; margin-bottom: 12px; }
.cols p, .process p { color: var(--muted); }
.process { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process li { border-top: 1px solid var(--rule); padding-top: 22px; }
.process span { color: var(--signal); font-size: 13px; letter-spacing: .14em; }
.process b { display: block; font-size: 20px; margin: 10px 0 8px; font-weight: 600; }

/* Plans */
.plans .signal-v { position: absolute; left: calc(var(--gutter) * .45); top: 120px; width: 1px; height: 0; }
.js .plans .signal-v { transform: none; height: 0; transition: height 1.8s var(--ease); }
.js .plans .signal-v.in { height: calc(100% - 240px); }
.plans .signal-v { background: linear-gradient(var(--signal), rgba(183, 152, 255, .1)); }
.plans .signal-v::after { right: -3px; top: auto; bottom: -3px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 36px 32px; background: var(--panel); border: 1px solid var(--rule); border-radius: 22px; }
.plan h3 { font-size: 30px; }
.plan .price { color: var(--signal); font-size: 14px; margin: 10px 0 22px; letter-spacing: .02em; }
.plan > p:not(.price) { color: var(--muted); }
.plan ul { padding: 0; list-style: none; margin: 24px 0 32px; flex: 1; }
.plan li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.plan-sig { border-color: rgba(183, 152, 255, .55); box-shadow: 0 0 60px -30px rgba(183, 152, 255, .7); }
.unsure { margin-top: 32px; color: var(--muted); }
.unsure a { color: var(--text); text-decoration-color: var(--signal); text-underline-offset: 4px; }

/* Contact */
.contact { overflow: hidden; }
.far-crescent { position: absolute; right: -9vw; top: 8%; width: 30vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  box-shadow: inset 2px 1px 0 -1px rgba(240, 232, 255, .8), inset 10px 2px 20px -8px rgba(183, 152, 255, .5), -8px 0 40px -14px rgba(183, 152, 255, .6); opacity: .8; }
.intake { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; max-width: 980px; }
.intake label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.intake .wide { grid-column: 1 / -1; }
.intake input, .intake select, .intake textarea { font: 16px var(--font); color: var(--text); background: var(--panel); border: 1px solid rgba(200, 190, 219, .28); border-radius: 12px; padding: 14px 16px; min-height: 50px; }
.intake input:focus, .intake select:focus, .intake textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(183, 152, 255, .25); }
.submit-row { display: flex; align-items: center; gap: 0; }
.signal-end { flex: 1; }
.submit-row .btn { margin-left: 0; }
.form-status { min-height: 1.5em; color: var(--signal-hot); }
.contact-alt { margin-top: 40px; color: var(--muted); }
.tbd { border-bottom: 1px dashed var(--rule); }
.site-foot { display: flex; justify-content: space-between; padding: 32px var(--gutter); border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }

/* Dialog */
.project-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid rgba(183, 152, 255, .4); border-radius: 22px; background: var(--panel); color: var(--text); }
.project-dialog::backdrop { background: rgba(8, 5, 18, .78); backdrop-filter: blur(6px); }
.pd-inner { position: relative; }
.pd-close { position: absolute; right: 16px; top: 16px; z-index: 2; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(16, 12, 32, .7); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.pd-body .mini { border-radius: 0; border: 0; aspect-ratio: 16 / 9; }
.pd-text { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 36px 40px 44px; }
.pd-text h2 { font-size: clamp(30px, 3.4vw, 48px); }
.pd-text .meta { margin-top: 12px; color: var(--muted); }
.pd-text p.goal { color: var(--muted); }
.pd-text .note { margin-top: 18px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--signal); padding-left: 12px; }

/* Compare panel (?compare) */
.compare { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; gap: 6px; padding: 6px; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; font-size: 13px; }
.compare button { background: none; color: var(--text); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; cursor: pointer; font: inherit; }
.compare button[aria-pressed="true"] { border-color: var(--signal); background: rgba(183, 152, 255, .15); }
.ref-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 4; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav, .site-head > .btn-sm { display: none; }
  .menu { display: block; margin-left: auto; }
  .chapters { display: none; }
  .lead-project, .lead-project.flip { grid-template-columns: 1fr; }
  .lead-project.flip .frame { order: 0; }
  .cols, .plan-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .intake { grid-template-columns: 1fr; }
  .pd-text { grid-template-columns: 1fr; padding: 24px 22px 30px; gap: 20px; }
}
@media (max-width: 760px) {
  .copy { max-width: calc(100vw - 2 * var(--gutter)); }
  .copy h1 { font-size: clamp(42px, 12vw, 64px); }
  .copy { top: auto; bottom: 8svh; transform: none; }
  .ctas { margin-top: 24px; }
  .support { margin-top: 22px; }
  html:not(.js) .sat[data-project="coastal"] { left: 6vw; top: 12vh; width: 42vw; }
  html:not(.js) .sat[data-project="iris"] { left: 60vw; top: 44vh; width: 34vw; }
  html:not(.js) .sat[data-project="alpine"] { left: 12vw; top: 36vh; width: 36vw; }
  .sphere { left: calc(80vw - 24svh); top: 2svh; width: 48svh; height: 48svh; }
  .process { grid-template-columns: 1fr; }
  .site-foot { flex-direction: column; gap: 6px; }
  .secondary { flex-direction: column; }
}

/* Reduced motion: no scrubbed travel, no marquee, static signal lines. */
@media (prefers-reduced-motion: reduce) {
  .js .orbit { height: 100svh; }
  .track { animation: none; }
  .js .signal { transform: none; transition: none; }
  .js .signal::after { opacity: 1; transition: none; }
  .js .plans .signal-v { height: calc(100% - 240px); transition: none; }
  .pause { display: none; }
}
.pd-body .m-bar { padding-right: 112px; }

/* ---------- Filmed sequence (replaces the CSS sphere when JS runs) ---------- */
.film { position: absolute; inset: 0; }
.film video, .film canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film canvas { opacity: 0; }
.has-film .sphere, .has-film .stars { display: none; }
/* soften the film under the copy column so headline contrast holds on any frame */
.has-film .scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 12, 32, .55), rgba(16, 12, 32, 0) 45%); }
@media (max-width: 760px) {
  .has-film .scene::after { background: linear-gradient(0deg, rgba(16, 12, 32, .7), rgba(16, 12, 32, 0) 45%); }
}
.contact-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; opacity: .9; }
.contact > :not(.contact-film):not(.far-crescent) { position: relative; z-index: 1; }
.js .contact .far-crescent { display: none; }
.contact-film { height: min(100%, 100svh); -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
@media (max-width: 760px) {
  /* keep the distant sphere in the top-right corner, clear of the heading and intro */
  .contact-film { transform: translate(20%, -8%); opacity: .8; }
}
/* three equal lead projects: no rule after the last one */
.lead-project:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

/* ================= Live-site content (2026-11-07) ================= */
.logo img { width: 26px; height: 26px; display: block; }
.nav a[aria-current] { color: var(--text); }

/* homepage services: four columns */
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.more-link { margin: 36px 0 0; }
.process-h { font-size: clamp(24px, 2.4vw, 34px); margin: clamp(56px, 7vw, 96px) 0 0; }
.process { margin-top: 28px; }

/* plans: comparison rows */
.plan > p { color: var(--muted); }
.plan-rows { margin: 24px 0 32px; flex: 1; }
.plan-rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.plan-rows dt { color: var(--muted); font-size: 13px; letter-spacing: .04em; padding-top: 1px; }
.plan-rows dd { margin: 0; }
.care { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.care h3 { font-size: clamp(26px, 2.6vw, 38px); }
.care .lede { margin-top: 12px; }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.care-grid article { padding: 28px 30px; background: var(--panel); border: 1px solid var(--rule); border-radius: 20px; }
.care-grid h4 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.care-grid p { color: var(--muted); }

/* homepage closing call to action */
.closing h2 { font-size: clamp(36px, 5vw, 80px); max-width: 16ch; }
.closing .submit-row { max-width: 980px; margin-top: 40px; }
.section.closing { position: relative; }

/* footer */
.site-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 40px; padding: 56px var(--gutter) 40px; align-items: start; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { color: var(--muted); max-width: 32ch; }
.foot-nav, .foot-contact { display: grid; gap: 10px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--signal); }
.foot-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.foot-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 12px; }

/* subpages */
.page-hero { position: relative; padding: clamp(130px, 20vh, 220px) var(--gutter) clamp(32px, 5vw, 64px); max-width: 1100px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 112px); }
.page-hero .lede { font-size: clamp(18px, 1.6vw, 23px); max-width: 48ch; }
.page-section { padding-top: clamp(24px, 4vw, 48px); }
.sub-h { font-size: clamp(22px, 2vw, 30px); margin: 0 0 18px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-list > li { padding: 32px 32px 28px; background: var(--panel); border: 1px solid var(--rule); border-radius: 22px; }
.service-list .num { color: var(--signal); font-size: 13px; letter-spacing: .14em; }
.service-list h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 10px 0 12px; }
.service-list p { color: var(--muted); }
.service-list ul { list-style: none; padding: 0; margin: 22px 0 0; }
.service-list ul li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.about-body { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; max-width: 52ch; margin-bottom: clamp(48px, 6vw, 80px); }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.principles li { padding: 26px 28px; background: var(--panel); border: 1px solid var(--rule); border-radius: 20px; color: var(--muted); }
.principles b { display: block; color: var(--text); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose b, .prose a { color: var(--text); }

/* contact page */
.contact-hero { max-width: none; overflow: hidden; }
.contact-hero > :not(.contact-film) { position: relative; z-index: 1; max-width: 1100px; }
.contact-hero .contact-film { height: 100%; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.intake .field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
#contact-form { grid-template-columns: 1fr 1fr; }
.field-error { margin: 0; color: #FFB8C6; font-size: 13px; }
.intake [aria-invalid="true"] { border-color: #FF8FA6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; background: rgba(183, 152, 255, .12); border: 1px solid rgba(183, 152, 255, .35); }
.form-status--error { color: #FFD0DA; background: rgba(255, 120, 150, .1); border-color: rgba(255, 120, 150, .4); }
.form-note { color: var(--muted); font-size: 14px; }
.form-note a { color: var(--text); }
.contact-aside .sub-h { font-size: 22px; }
.next-steps { margin: 0 0 40px; padding-left: 20px; color: var(--muted); }
.next-steps li { margin: 0 0 12px; }
.direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.direct a { color: var(--text); text-decoration-color: var(--signal); text-underline-offset: 4px; }
.page .closing { padding-top: clamp(64px, 9vw, 120px); }
.page .closing .signal { max-width: 420px; margin-bottom: 40px; }
.page .closing h2 { margin-bottom: 32px; }

@media (max-width: 900px) {
  .cols-4, .care-grid, .service-list, .principles, .contact-grid { grid-template-columns: 1fr; }
  .site-foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  #contact-form { grid-template-columns: 1fr; }
  .contact-hero .contact-film { transform: translate(22%, -4%); opacity: .75; }
  .foot-legal a { display: inline-block; margin: 8px 12px 0 0; }
}
