/* =====================================================================
   ATLAS :: pages.css
   Interior pages only. The home page carries the Earth-to-Moon flight;
   these pages get a quieter device of their own so they feel alive
   without repeating it: a gold orbital arc in the right margin that
   traces with scroll position, plus section rules that draw in once.
   Everything here degrades to a readable static page with JS off.
   ===================================================================== */

/* --- page shell ---------------------------------------------------- */
body.page{ background:var(--ink); }

body.page .site-head{
  position:relative; z-index:6;
  padding-top:clamp(20px,2.6vw,34px);
  padding-bottom:clamp(14px,1.8vw,22px);
}

/* --- starfield: pure CSS, no image, no request ---------------------- */
.stars{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(214,168,92,.20) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 9%,  rgba(255,255,255,.13) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 62%, rgba(255,255,255,.10) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 47%, rgba(214,168,92,.15) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 83%, rgba(255,255,255,.09) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 91%, rgba(214,168,92,.12) 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 31%, rgba(255,255,255,.11) 50%, transparent 51%);
}

/* --- the arc: reading progress, drawn as an orbit ------------------- */
.arc{
  position:fixed; z-index:5; pointer-events:none;
  top:50%; right:clamp(-64px,-2vw,-18px); transform:translateY(-50%);
  width:clamp(180px,17vw,300px); height:clamp(360px,34vw,600px);
}
.arc svg{ width:100%; height:100%; overflow:visible; display:block }
.arc .track{ fill:none; stroke:rgba(214,168,92,.14); stroke-width:1 }
.arc .live{
  fill:none; stroke:var(--gold); stroke-width:1.4; stroke-linecap:round;
  /* dash offset is driven from pages.js */
}
.arc .pip{ fill:var(--gold-hi) }
@media (max-width:900px){ .arc{ display:none } }

/* --- interior masthead --------------------------------------------- */
.page-head{
  position:relative; z-index:3;
  padding-top:clamp(46px,8vw,104px);
  padding-bottom:clamp(30px,4.4vw,56px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.page-head h1{
  font-family:var(--display); font-weight:400;
  font-size:clamp(34px,6.1vw,74px); line-height:1.02;
  letter-spacing:-.012em; color:var(--text-hi); margin:.30em 0 0;
  max-width:16ch;
}
.page-head .stand{
  margin-top:clamp(18px,2.2vw,28px); max-width:60ch;
  font-size:clamp(16px,1.24vw,18px); line-height:1.62; color:var(--text);
}

/* --- body flow ------------------------------------------------------ */
.page-body{ position:relative; z-index:3; padding-bottom:clamp(40px,6vw,88px) }
.page-body section{
  padding-top:clamp(38px,5.4vw,72px);
  max-width:74ch;
}
.page-body h2{
  font-family:var(--display); font-weight:400;
  font-size:clamp(23px,2.7vw,36px); line-height:1.16;
  color:var(--text-hi); margin:.34em 0 0; letter-spacing:-.006em;
}
.page-body h3{
  font-size:clamp(16px,1.35vw,19px); font-weight:500;
  color:var(--text-hi); margin:2.1em 0 .5em; line-height:1.3;
}
.page-body p{
  margin:1.05em 0 0; font-size:clamp(16px,1.16vw,16.8px);
  line-height:1.72; color:var(--text); max-width:34em; /* V6: about 70 characters in Archivo; 68ch measured 86 to 93 */
}
.page-body p.first{ margin-top:1.3em }
.page-body strong{ color:var(--text-hi); font-weight:500 }

/* --- rule that draws itself in once -------------------------------- */
/* The element that gets OBSERVED must never be the element that gets
   hidden. Two ways of hiding it were tried and both broke the observer
   for the same underlying reason: transform:scaleX(0) collapses the box
   to zero area, and clip-path:inset(0 100% 0 0) clips the intersection
   rectangle to zero width. In both cases intersectionRatio stays 0, no
   threshold is ever crossed, and the reveal silently never runs.
   So .rule keeps its full 1290x1 box and stays unclipped, and the inner
   <i> is the thing that animates. .rule is what pages.js observes.
   The hidden state is scoped to .js so that with scripting off the line
   is simply drawn, rather than hidden by CSS with nothing left to show it. */
.rule{ height:1px; overflow:hidden; margin-top:clamp(34px,5vw,64px) }
.rule i{
  display:block; height:1px; background:rgba(255,255,255,.10);
  transform-origin:left center;
  transition:transform 1.05s cubic-bezier(.2,.7,.2,1);
}
.js .rule i{ transform:scaleX(0) }
.js .rule.in i{ transform:scaleX(1) }
@media (prefers-reduced-motion:reduce){
  .js .rule i{ transition:none; transform:scaleX(1) }
}

/* --- typographic list: hanging gold tick, never a decorated bullet -- */
.page-body ul{ list-style:none; padding:0; margin:1.25em 0 0 }
.page-body ul li{
  position:relative; padding-left:26px; margin:0 0 .95em;
  font-size:clamp(16px,1.16vw,16.8px); line-height:1.7;
  color:var(--text); max-width:34em;
}
.page-body ul li::before{
  content:""; position:absolute; left:0; top:.72em;
  width:13px; height:1px; background:var(--gold);
}

/* --- data table: hairlines only, mono heads ------------------------- */
.tbl{ width:100%; border-collapse:collapse; margin:1.6em 0 0; max-width:74ch }
.tbl th{
  font-family:var(--body); font-size:13px; font-weight:500;
  letter-spacing:.02em; color:var(--muted);
  text-align:left; padding:0 18px 10px 0; vertical-align:bottom;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.tbl td{
  padding:13px 18px 13px 0; vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.07);
  font-size:clamp(13.4px,1.03vw,15px); line-height:1.58; color:var(--text);
}
.tbl td:last-child,.tbl th:last-child{ padding-right:0 }
.tbl .k{ color:var(--text-hi) }
.tbl .g{ font-family:var(--mono); color:var(--gold-hi); white-space:nowrap }

/* --- pull statement: thin gold left rule, never a tinted box -------- */
.pull{
  border-left:2px solid var(--gold); padding-left:clamp(18px,2vw,30px);
  margin:1.9em 0 0; max-width:34em;
}
.pull p{ margin-top:0; color:var(--text-hi); font-size:clamp(15.5px,1.32vw,19px); line-height:1.6 }

/* --- question and answer blocks ------------------------------------- */
.qa{ margin-top:1.7em; max-width:70ch }
.qa h3{
  margin:1.9em 0 0; font-family:var(--display); font-weight:400;
  font-size:clamp(18px,1.8vw,24px); line-height:1.28; color:var(--text-hi);
}
.qa h3:first-child{ margin-top:0 }
.qa p{ margin-top:.62em }

/* --- next-step strip ------------------------------------------------ */
.onward{
  margin-top:clamp(44px,6vw,86px); padding-top:clamp(24px,3vw,36px);
  border-top:1px solid rgba(255,255,255,.10);
  display:flex; flex-wrap:wrap; gap:14px 28px; align-items:baseline;
}
.onward .lbl{ margin:0 }
.onward a{
  color:var(--gold-hi); font-size:clamp(16px,1.16vw,16.8px);
  border-bottom:1px solid rgba(214,168,92,.34); padding-bottom:1px;
}
.onward a:hover{ border-bottom-color:var(--gold-hi) }

/* --- findings index entries ----------------------------------------- */
.entry{ display:block; padding:clamp(22px,2.8vw,32px) 0; border-bottom:1px solid rgba(255,255,255,.08) }
.entry:first-of-type{ border-top:1px solid rgba(255,255,255,.18) }
.entry h2.etitle{ margin:.42em 0 0; font-family:var(--display); font-weight:400;
  font-size:clamp(20px,2.2vw,29px); line-height:1.2; color:var(--text-hi) }
a.entry:hover h2.etitle{ color:var(--gold-hi) }
.entry p{ margin-top:.62em; max-width:34em } /* V6: 66ch ran to about 90 characters */
.entry .st{ font-family:var(--body); font-size:13px; font-weight:500; letter-spacing:.02em;
  color:var(--muted) }
.entry .st.brief{ color:#7A818D }

/* =====================================================================
   ATLAS :: paper theme  (body.light)
   Used on the Findings index and on each write-up, because those pages
   are long-form reading and a dark ground is harder to read at length.
   The switch is functional: it tells you what kind of page you are on
   before you read a word.

   Still ONE accent. The gold is darkened from #D6A85C to #8F6420 on
   paper, because the screen gold lands at 1.93:1 against the paper and
   fails contrast outright. #8F6420 measures 4.63:1.

   The footer stays a dark band. That keeps the footer mark, which is a
   dark-ground asset, working without a second variant of it.
   ===================================================================== */

/* V6 tell pass: the reading sheet is a neutral paper, not the warm cream that
   now reads as the default AI-site background. Same luminance band, so the
   measured contrast pairs below still hold. */
body.light{ background:var(--paper) }

/* Ratios below are against --paper (#F1F1EE), the V6 off-white. They were
   written against the old warm #F0EEE9 and were quietly stale for a release:
   the numbers still passed, so nothing caught it. Recomputed, not guessed.
   --mute-t was #6B7280, which measures 4.27:1 and fails AA for the 10 and
   11px labels that use it. #5F6670 measures 5.12:1. */
:root{ --ink-t:#14171C; --body-t:#3A4048; --mute-t:#5F6670;
       --gold-p:#8F6420; --rule-p:rgba(20,23,28,.13) }

/* the starfield belongs to night; on paper it reads as dust */
body.light .stars{ display:none }

body.light .arc .track{ stroke:rgba(143,100,32,.20) }
body.light .arc .live { stroke:var(--gold-p) }
body.light .arc .pip  { fill:var(--gold-p) }

body.light .site-head nav a{ color:var(--body-t) }
/* On paper, gold already marks the current page, so House plans keeps the ink color and the rule sets it apart. */
body.light .site-head nav a.nav-plans{ color:var(--ink-t); font-weight:500; border-left-color:var(--rule-p) }
body.light .site-head nav a.nav-plans:hover{ color:var(--gold-p) }
body.light .site-head nav a:hover,
body.light .site-head nav a.here{ color:var(--gold-p) }

/* Scoped away from the footer. The footer keeps its dark band on paper
   pages, so a dark label colour there is dark-on-dark: it measured 3.35:1.
   Footer labels keep the dark-theme value, which is 7.46:1 on that band. */
body.light .lbl{ color:var(--mute-t) }
body.light footer .lbl{ color:var(--muted) }

body.light .page-head{ border-bottom-color:var(--rule-p) }
body.light .page-head h1{ color:var(--ink-t) }
body.light .page-head .stand{ color:var(--body-t) }

body.light .page-body h2,
body.light .entry h2.etitle,
body.light .page-body h3,
body.light .page-body strong{ color:var(--ink-t) }
body.light .page-body p,
body.light .page-body ul li{ color:var(--body-t) }
body.light .page-body ul li::before{ background:var(--gold-p) }

body.light .rule i{ background:var(--rule-p) }
body.light .pull{ border-left-color:var(--gold-p) }
body.light .pull p{ color:var(--ink-t) }

body.light .tbl th{ color:var(--mute-t); border-bottom-color:rgba(20,23,28,.30) }
body.light .tbl td{ color:var(--body-t); border-bottom-color:var(--rule-p) }
body.light .tbl .k{ color:var(--ink-t) }
body.light .tbl .g{ color:var(--gold-p) }

body.light .entry{ border-bottom-color:var(--rule-p) }
body.light .entry:first-of-type{ border-top-color:rgba(20,23,28,.30) }
body.light .entry h3{ color:var(--ink-t) }
body.light a.entry:hover h3{ color:var(--gold-p) }
body.light .entry .st{ color:var(--mute-t) }
body.light .entry .st.brief{ color:#646A73 }   /* 4.70:1 on paper */

body.light .onward{ border-top-color:var(--rule-p) }
body.light .onward a{ color:var(--gold-p); border-bottom-color:rgba(143,100,32,.38) }
body.light .onward a:hover{ border-bottom-color:var(--gold-p) }

/* footer keeps the night, so the dark-ground mark still works */
body.light footer.edge{
  background:var(--ink); margin-top:clamp(50px,7vw,96px);
  padding-top:clamp(40px,5vw,72px); padding-bottom:clamp(30px,4vw,54px);
}

/* ---------------- Atlas Ascent product page (/ascent/) ----------------
   Rebuilt 2026-10-16 around real Build 16 screenshots. The screens are the
   app's own dark theme, which is close to this site's charcoal but is the
   app's palette, not the site's. Every selector is scoped under .page-body
   because `.page-body p` carries a colour and beats a bare class. */
.page-body section.asc-wide{ max-width:none }
.page-body .asc-facts{ margin:0; display:grid; gap:0 clamp(20px,2.4vw,36px);
  grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1100px;
  border-top:1px solid rgba(255,255,255,.10) }
.page-body .asc-facts div{ padding:16px 0 18px; border-bottom:1px solid rgba(255,255,255,.10) }
.page-body .asc-facts dt{ font-family:var(--mono); font-size:11.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--gold) }
.page-body .asc-facts dd{ margin:6px 0 0; font-size:15px; line-height:1.55; color:var(--text) }

.page-body .asc-gallery{ margin-top:clamp(30px,3.6vw,52px); display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(18px,2vw,30px) clamp(14px,1.6vw,24px);
  max-width:1180px }
.page-body .asc-shot2{ margin:0; min-width:0 }
.page-body .asc-shot2 img{ display:block; width:100%; height:auto; border-radius:22px;
  border:1px solid rgba(214,168,92,.28); background:#141614;
  box-shadow:0 16px 40px rgba(0,0,0,.45) }
.page-body .asc-shot2 figcaption{ margin-top:12px; font-size:14px; line-height:1.5; color:var(--muted) }
.page-body .asc-shot2 figcaption b{ color:var(--text-hi); font-weight:500 }
.page-body .asc-legend{ margin-top:18px; font-size:14px; color:var(--muted); max-width:60ch }
.page-body .asc-cta{ margin-top:1.4em }

@media (max-width:1100px){
  .page-body .asc-gallery{ grid-template-columns:repeat(4,minmax(0,1fr)) }
}
@media (max-width:860px){
  .page-body .asc-facts{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  /* on phones and small tablets the screens become a swipeable strip */
  .page-body .asc-gallery{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory;
    gap:16px; padding-bottom:10px; margin-left:calc(-1 * clamp(24px,5.2vw,92px));
    margin-right:calc(-1 * clamp(24px,5.2vw,92px)); padding-left:clamp(24px,5.2vw,92px);
    padding-right:clamp(24px,5.2vw,92px); scroll-padding-left:clamp(24px,5.2vw,92px);
    -webkit-overflow-scrolling:touch }
  .page-body .asc-shot2{ flex:0 0 clamp(200px,58vw,260px); scroll-snap-align:start }
}
@media (max-width:520px){
  .page-body .asc-facts{ grid-template-columns:minmax(0,1fr) }
}
body.light .page-body .asc-facts,
body.light .page-body .asc-facts div{ border-color:var(--rule-p) }
body.light .page-body .asc-facts dt{ color:var(--gold-p) }
body.light .page-body .asc-facts dd,
body.light .page-body .asc-shot2 figcaption{ color:var(--body-t) }
body.light .page-body .asc-shot2 figcaption b{ color:var(--ink-t) }
body.light .page-body .asc-shot2 img{ box-shadow:0 12px 30px rgba(20,23,28,.18) }

/* =====================================================================
   V6.4, 2026-10-15: desktop layout for interior pages. Below 1100px
   nothing changes. The section label moves into a left rail and the
   content takes the column beside it, so a wide window is used instead
   of leaving the right half empty.
   ===================================================================== */
@media (min-width:1100px){
  .page-head,.page-body section{display:grid;
    grid-template-columns:minmax(170px,21%) minmax(0,1fr);
    column-gap:clamp(40px,5vw,96px);row-gap:0;max-width:none}
  .page-head>*,.page-body section>*{grid-column:2}
  .page-head>.lbl,.page-body section>.lbl{grid-column:1;grid-row:1 / span 40;margin:0;padding-top:.5em}
  .page-head h1{max-width:20ch}
  .page-body .tbl{max-width:80ch}
  .page-body .qa{max-width:72ch}
  .page-body .rule{max-width:none}
  .page-body section.asc-wide>*{grid-column:1 / -1}
}

/* ---------------- Products (/products/), 2026-10-16 ---------------- */
.page-body .prod-shots{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;
  margin-top:1.6em; max-width:600px }
.page-body .prod-shots img{ display:block; width:100%; height:auto; border-radius:18px;
  border:1px solid rgba(214,168,92,.28); box-shadow:0 14px 34px rgba(0,0,0,.42) }
.page-body .tbl td a{ color:var(--text-hi) }
@media (max-width:520px){ .page-body .prod-shots{ gap:10px } }
@media (max-width:620px){
  .page-body .prod-tbl th:nth-child(4), .page-body .prod-tbl td:nth-child(4){ display:none }
}

/* =====================================================================
   ATLAS :: /house-plans/  (body.light.hp-page), added 2026-10-22
   The plain-language door for designers and builders. Paper theme tokens
   only (--ink-t, --body-t, --mute-t, --gold-p, --rule-p); one set-piece,
   the example plan listing, and everything else quiet.
   ===================================================================== */
.hp-page .site-head nav{ flex-wrap:wrap; row-gap:8px }
.hp-page .site-head nav .hp-tech{ color:var(--mute-t); border-left:1px solid var(--rule-p); padding-left:28px }
.hp-page .lbl{ color:var(--mute-t) }

.hp-hero{ position:relative; z-index:3; display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:clamp(32px,6vw,80px); align-items:center;
  padding-top:clamp(40px,7vw,96px); padding-bottom:clamp(48px,7vw,88px) }
.hp-hero-copy{ display:grid; gap:22px }
.hp-hero h1{ font-family:var(--display); font-weight:400; color:var(--ink-t);
  font-size:clamp(36px,5.4vw,64px); line-height:1.06; letter-spacing:-.008em; margin:0; text-wrap:balance; max-width:15ch }
.hp-lede{ font-size:clamp(17px,1.4vw,19px); line-height:1.66; color:var(--body-t); max-width:34em }
.hp-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px }
.hp-btn{ display:inline-block; font-weight:500; font-size:15px; padding:13px 22px; border-radius:2px;
  background:var(--ink-t); color:var(--paper); border:1px solid var(--ink-t) }
.hp-btn:hover{ background:#2A2F37 }
.hp-btn.ghost{ background:transparent; color:var(--ink-t); border-color:var(--rule-p) }
.hp-btn.ghost:hover{ border-color:var(--gold-p); color:var(--gold-p) }

.hp-listing{ margin:0; background:#FAFAF8; border:1px solid var(--rule-p); padding:26px 26px 22px;
  display:grid; gap:16px; position:relative }
.hp-tag{ position:absolute; top:-11px; left:22px; background:var(--paper); padding:0 8px;
  font-size:12px; font-weight:500; color:var(--gold-p); letter-spacing:.02em }
.hp-name{ font-family:var(--display); font-size:28px; color:var(--ink-t); line-height:1.1; margin:0 }
.hp-sub{ font-size:14px; color:var(--mute-t); margin:4px 0 0 }
.hp-specs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--rule-p); border-left:1px solid var(--rule-p) }
.hp-specs div{ border-right:1px solid var(--rule-p); border-bottom:1px solid var(--rule-p); padding:10px 12px; display:grid; gap:2px }
.hp-specs b{ font-weight:500; color:var(--ink-t); font-size:17px; font-variant-numeric:tabular-nums }
.hp-specs span{ font-size:12px; color:var(--mute-t) }
.hp-lfoot{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:14px }
.hp-price{ color:var(--ink-t); font-weight:500 }
.hp-note{ color:var(--mute-t) }
.hp-cap{ font-size:13px; color:var(--mute-t); border-top:1px dashed var(--rule-p); padding-top:12px; line-height:1.55 }

.hp{ position:relative; z-index:3 }
.hp-s{ border-top:1px solid var(--rule-p); padding-top:clamp(48px,7vw,84px); padding-bottom:clamp(48px,7vw,84px) }
.hp-s h2, .hp-band h2{ font-family:var(--display); font-weight:400; color:var(--ink-t);
  font-size:clamp(26px,3.2vw,38px); line-height:1.15; margin:0; text-wrap:balance }
.hp-s h3{ font-weight:500; font-size:17px; color:var(--ink-t); margin:0 }
.hp-s p, .hp-s li{ color:var(--body-t); font-size:16.5px; line-height:1.68; margin:0 }
.hp-shead{ display:grid; gap:12px; max-width:40em; margin-bottom:36px }
.hp-shead > p:not(.lbl){ font-size:18px }
.hp-two{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(24px,4vw,56px) }
.hp-col{ display:grid; gap:12px; align-content:start; min-width:0 }
.hp-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
.hp-col li{ position:relative; padding-left:24px }
.hp-col li::before{ content:""; position:absolute; left:0; top:.8em; width:12px; height:1px; background:var(--gold-p) }

.hp-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; counter-reset:st }
.hp-steps li{ counter-increment:st; display:grid; gap:10px; align-content:start; border-top:2px solid var(--ink-t); padding-top:16px; min-width:0 }
.hp-steps li::before{ content:counter(st); font-family:var(--display); font-size:30px; color:var(--gold-p); line-height:1 }
.hp-steps p{ font-size:16px }

.hp-proof{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(28px,5vw,72px); align-items:start }
.hp-story{ display:grid; gap:16px }
.hp-quote{ margin:8px 0 0; border-left:2px solid var(--gold-p); padding-left:22px; display:grid; gap:8px }
.hp-quote p{ font-family:var(--display); font-size:21px; line-height:1.45; color:var(--ink-t) }
.hp-quote .hp-cite{ font-size:14px; color:var(--mute-t) }
.hp-figs{ border-top:1px solid var(--rule-p) }
.hp-fig{ display:grid; grid-template-columns:150px minmax(0,1fr); gap:20px; padding:18px 0; border-bottom:1px solid var(--rule-p); align-items:baseline }
.hp-fig .n{ font-family:var(--display); font-size:30px; color:var(--ink-t); line-height:1; font-variant-numeric:tabular-nums }
.hp-fig p{ font-size:16px }

.hp-terms{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,40px) }
.hp-terms p{ font-size:16px }
.hp-builders{ background:#FAFAF8; border:1px solid var(--rule-p); padding:clamp(24px,4vw,44px);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:clamp(24px,4vw,56px) }
.hp-builders p{ font-size:16px }

/* contact band: the night ground, so it runs straight into the shared dark footer */
.hp-band{ position:relative; z-index:3; background:var(--panel) }
.hp-band-in{ padding-top:clamp(56px,8vw,96px); padding-bottom:clamp(56px,8vw,96px);
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:40px; align-items:end }
.hp-page .hp-band .lbl{ color:var(--muted) }
.hp-band h2{ color:var(--text-hi) }
.hp-band p{ color:var(--text); font-size:17px; line-height:1.65; margin:0 }
.hp-mail{ font-family:var(--display); font-size:clamp(24px,3vw,32px); color:var(--gold); word-break:break-word }
.hp-mail:hover{ color:var(--gold-hi) }
.hp-band .hp-small{ font-size:14px; color:var(--muted) }
.hp-band .hp-small a{ color:var(--text-hi); text-decoration:underline; text-underline-offset:3px }

@media (max-width:860px){
  .hp-hero, .hp-proof, .hp-builders, .hp-band-in{ grid-template-columns:minmax(0,1fr) }
  .hp-steps{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hp-terms{ grid-template-columns:minmax(0,1fr) }
}
@media (max-width:560px){
  .hp-two, .hp-steps{ grid-template-columns:minmax(0,1fr) }
  .hp-fig{ grid-template-columns:minmax(0,1fr); gap:6px }
  .hp-specs{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hp-page .site-head nav .hp-tech{ border-left:0; padding-left:0 }
}
/* the contact band already carries the night ground, so the shared footer
   below it drops its usual top gap instead of stacking a second one */
body.light.hp-page footer.edge{ padding-top:clamp(36px,4vw,56px); border-top:1px solid rgba(255,255,255,.06) }
/* the Heron listing (2026-10-22): a real plan with Atlas's render replaces the sample card */
.hp-shot{ display:block; margin:-26px -26px 0; overflow:hidden; background:#E4E5E1 }
.hp-shot img{ display:block; width:100%; height:auto; aspect-ratio:1200/647; transition:transform .6s cubic-bezier(.2,.7,.2,1) }
.hp-shot:hover img{ transform:scale(1.02) }
@media (prefers-reduced-motion:reduce){ .hp-shot img{ transition:none } .hp-shot:hover img{ transform:none } }
.hp-listing .hp-tag{ z-index:2 }
.hp-cap a{ color:var(--gold-p); text-decoration:underline; text-underline-offset:3px }

/* ---------------------------------------------------------------------
   /house-plans/ v2 (2026-10-22): statement band, gallery, the work done,
   charts, model-to-render slider, orbit video, spec sheet, offer.
   Paper tokens only. The statement band is the one bold move: the night
   ground and the display serif at size, between hero and gallery.
   --------------------------------------------------------------------- */
.hp-statement-band{ position:relative; z-index:3; background:var(--panel) }
.hp-statement{ padding-top:clamp(52px,7vw,96px); padding-bottom:clamp(52px,7vw,96px); display:grid; gap:18px }
.hp-page .hp-statement .lbl{ color:var(--muted) }
.hp-big{ font-family:var(--display); font-weight:400; color:var(--text-hi);
  font-size:clamp(28px,3.9vw,50px); line-height:1.18; max-width:26ch; margin:0; text-wrap:balance;
  border-left:2px solid var(--gold); padding-left:clamp(18px,2.4vw,34px) }

.hp-s a:not(.hp-gi):not(.hp-btn){ color:var(--gold-p); text-decoration:underline; text-underline-offset:3px }
.hp-textlink{ font-weight:500 }

.hp-note-box{ background:#FAFAF8; border:1px solid var(--rule-p); border-top:2px solid var(--gold-p);
  padding:20px 22px; display:grid; gap:8px; align-content:start }
.hp-note-k{ font-family:var(--display); font-size:20px !important; color:var(--ink-t) !important; line-height:1.25 }
.hp-note-box p{ font-size:15px }

.hp-gallery-head{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:end; margin-bottom:28px }
.hp-gallery-head .hp-shead{ margin-bottom:0 }
.hp-gallery{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.hp-gi{ position:relative; display:block; overflow:hidden; background:#E4E5E1; aspect-ratio:16/9 }
.hp-gi.big{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto }
.hp-gi img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .7s cubic-bezier(.2,.7,.2,1) }
.hp-gi:hover img{ transform:scale(1.03) }
.hp-gcap{ position:absolute; left:0; right:0; bottom:0; padding:28px 14px 12px; display:grid; gap:2px;
  background:linear-gradient(transparent,rgba(14,16,19,.78)); color:#F0EEE9; font-size:13px; line-height:1.4 }
.hp-gcap b{ font-family:var(--display); font-weight:400; font-size:18px }
.hp-gcap span{ color:#D9DCE0 }
.hp-gi.big .hp-gcap b{ font-size:24px }

.hp-done{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(22px,3vw,40px) clamp(20px,3vw,40px) }
.hp-done > div{ border-top:1px solid var(--ink-t); padding-top:14px; display:grid; gap:8px; align-content:start; min-width:0 }
.hp-done p{ font-size:15.5px }

.hp-charts{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(20px,3vw,36px); margin-bottom:28px }
.hp-chartbox{ margin:0; background:#FAFAF8; border:1px solid var(--rule-p); padding:clamp(18px,2.4vw,28px); display:grid; gap:14px; align-content:start; min-width:0 }
.hp-chart-h{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:14px; font-weight:500; color:var(--ink-t) }
.hp-legend{ display:flex; align-items:center; gap:8px; font-weight:400; color:var(--mute-t); font-size:13px }
.hp-legend i{ display:inline-block; width:12px; height:12px; margin-left:8px }
.hp-legend i.k25, .hp-chart .b25{ background:#BFC3C8; fill:#BFC3C8 }
.hp-legend i.k26, .hp-chart .b26{ background:var(--gold-p); fill:var(--gold-p) }
.hp-chart{ width:100%; height:auto; display:block; overflow:visible }
.hp-chart .g{ stroke:var(--rule-p); stroke-width:1 }
.hp-chart text{ font-family:var(--body); fill:var(--mute-t); font-size:12px; font-variant-numeric:tabular-nums }
.hp-chart text.v{ font-size:11px; fill:var(--body-t) }
.hp-chart text.m{ font-size:13px; fill:var(--ink-t) }
.hp-chart-note{ font-size:13px !important; color:var(--mute-t) !important }
.hp-srcs{ display:grid; gap:16px; padding-top:6px }
.hp-src{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; align-items:baseline }
.hp-src-n{ font-size:14px; color:var(--ink-t) }
.hp-src-v{ font-size:14px; color:var(--ink-t); font-variant-numeric:tabular-nums; text-align:right }
.hp-src-v em{ font-style:normal; color:var(--mute-t); margin-left:6px }
.hp-src-bar{ grid-column:1 / -1; height:10px; background:#E7E8E4 }
.hp-src-bar i{ display:block; height:100%; background:var(--gold-p) }
.hp-figs-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 28px; border-top:0 }
.hp-figs-row .hp-fig{ grid-template-columns:minmax(0,1fr); gap:8px; border-top:1px solid var(--rule-p); border-bottom:0 }

.hp-media{ display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:clamp(18px,2.6vw,32px); align-items:start }
.hp-media figure{ margin:0; display:grid; gap:10px; min-width:0 }
.hp-media figcaption{ font-size:13px; color:var(--mute-t); line-height:1.55 }
.hp-ba{ --p:50% }
.hp-ba-frame{ position:relative; overflow:hidden; aspect-ratio:1400/788; background:#E4E5E1; user-select:none }
.hp-ba-frame img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block }
.hp-ba-before{ position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--p)) 0 0) }
.hp-ba-line{ position:absolute; top:0; bottom:0; left:var(--p); width:2px; margin-left:-1px; background:#F0EEE9; box-shadow:0 0 0 1px rgba(20,23,28,.18); pointer-events:none }
.hp-ba-line::after{ content:""; position:absolute; top:50%; left:50%; width:34px; height:34px; margin:-17px 0 0 -17px;
  border-radius:50%; background:#F0EEE9; border:1px solid rgba(20,23,28,.25) }
.hp-ba-tag{ position:absolute; top:12px; font-size:12px; font-weight:500; padding:4px 9px; background:rgba(14,16,19,.7); color:#F0EEE9; pointer-events:none }
.hp-ba-tag.l{ left:12px } .hp-ba-tag.r{ right:12px }
.hp-ba-range{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize }
.hp-ba-range:focus-visible + *, .hp-ba-frame:focus-within{ outline:1px solid var(--gold-p); outline-offset:3px }
.hp-video video{ width:100%; height:auto; display:block; background:#0E1013; aspect-ratio:16/9 }
.hp-flow{ list-style:none; margin:clamp(28px,4vw,44px) 0 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; counter-reset:fl }
.hp-flow li{ counter-increment:fl; display:grid; gap:8px; align-content:start; min-width:0; border-top:1px solid var(--rule-p); padding-top:14px }
.hp-flow li h3::before{ content:counter(fl) "  "; font-family:var(--display); color:var(--gold-p); font-weight:400 }
.hp-flow p{ font-size:15.5px }

.hp-spec-wrap{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(28px,5vw,72px); align-items:start }
.hp-spec-wrap .hp-shead{ margin-bottom:0 }
.hp-alsolist{ list-style:none; margin:4px 0 0; padding:0; display:grid; gap:8px }
.hp-alsolist li{ position:relative; padding-left:24px; font-size:15.5px }
.hp-alsolist li::before{ content:""; position:absolute; left:0; top:.8em; width:12px; height:1px; background:var(--gold-p) }
.hp-sheet{ background:#FAFAF8; border:1px solid var(--ink-t); box-shadow:6px 6px 0 rgba(20,23,28,.06) }
.hp-sheet-head{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:baseline;
  padding:14px 20px; border-bottom:1px solid var(--ink-t) }
.hp-sheet-head span:first-child{ font-family:var(--display); font-size:24px; color:var(--ink-t) }
.hp-sheet-head span:last-child{ font-size:12px; color:var(--mute-t); letter-spacing:.04em }
.hp-sheet dl{ margin:0 }
.hp-sheet dl > div{ display:grid; grid-template-columns:150px minmax(0,1fr); gap:16px; padding:11px 20px; border-bottom:1px solid var(--rule-p) }
.hp-sheet dt{ font-size:13px; color:var(--mute-t) }
.hp-sheet dd{ margin:0; font-size:15px; color:var(--ink-t); font-variant-numeric:tabular-nums }
.hp-sheet-foot{ padding:12px 20px; font-size:12px !important; color:var(--mute-t) !important }

.hp-offer-foot{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); margin-top:clamp(32px,4vw,48px); align-items:start }

@media (max-width:860px){
  .hp-gallery-head, .hp-charts, .hp-media, .hp-spec-wrap, .hp-offer-foot{ grid-template-columns:minmax(0,1fr) }
  .hp-done, .hp-flow, .hp-figs-row{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:560px){
  .hp-gallery{ grid-template-columns:minmax(0,1fr) }
  .hp-gi.big{ grid-column:auto; grid-row:auto; aspect-ratio:16/9 }
  .hp-done, .hp-flow, .hp-figs-row{ grid-template-columns:minmax(0,1fr) }
  .hp-sheet dl > div{ grid-template-columns:minmax(0,1fr); gap:2px }
}
@media (prefers-reduced-motion:reduce){ .hp-gi img{ transition:none } .hp-gi:hover img{ transform:none } }
/* the shared footer carries a 96px top margin for paper pages; here the dark contact band meets it directly */
body.light.hp-page footer.edge{ margin-top:0 }
/* multiples on the 2026 bars (2026-10-22: the page shows no raw counts) */
.hp-chart text.v.x{ font-size:13px; font-weight:500; fill:var(--gold-p) }
/* hero sits higher (2026-10-22 review): the buttons and the foot of the plan card now clear the fold at 1440x900 */
.hp-hero{ padding-top:clamp(16px,2.6vw,40px); padding-bottom:clamp(40px,5vw,72px); align-items:start }
.hp-hero-copy{ padding-top:clamp(0px,3vw,48px) }

/* ---------------------------------------------------------------------
   /house-plans/ portfolio pass (2026-10-22): tighter opening, caption
   credit, featured storefront and software, one explanation under the
   charts, no decorative arc on this page.
   --------------------------------------------------------------------- */
.hp-page .arc{ display:none }
.hp-page .site-head{ padding-bottom:0 }
.hp-hero{ padding-top:clamp(12px,1.8vw,28px); align-items:start }
.hp-hero-copy{ padding-top:0; gap:18px }
.hp-hero .lbl{ margin-top:2px }

.hp-gallery-shead{ max-width:46em; margin-bottom:24px }
.hp-credit{ font-size:14px !important; color:var(--mute-t) !important }

.hp-fh{ font-family:var(--display) !important; font-weight:400 !important; font-size:clamp(24px,2.6vw,32px) !important; line-height:1.18 !important; color:var(--ink-t) }
.hp-feature{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(28px,4.5vw,64px); align-items:center;
  padding-block:clamp(16px,2vw,24px) clamp(44px,6vw,72px); border-bottom:1px solid var(--rule-p) }
.hp-feature-text{ display:grid; gap:14px; min-width:0 }
.hp-feature-text ul{ list-style:none; margin:4px 0 0; padding:0; display:grid; gap:9px }
.hp-feature-text li{ position:relative; padding-left:24px; font-size:15.5px }
.hp-feature-text li::before{ content:""; position:absolute; left:0; top:.8em; width:12px; height:1px; background:var(--gold-p) }
.hp-feature-shot{ margin:0 }
.hp-feature-shot .hp-gi{ aspect-ratio:1000/539 }

.hp-software{ padding-block:clamp(44px,6vw,72px); border-bottom:1px solid var(--rule-p); display:grid; gap:28px }
.hp-sw-head{ display:grid; gap:14px; max-width:44em }
.hp-sw-fig{ margin:0; display:grid; grid-template-columns:minmax(0,2.4fr) minmax(0,1fr); gap:clamp(20px,3vw,36px); align-items:start }
.hp-sw-frame{ position:relative; border-radius:6px; overflow:hidden; box-shadow:0 1px 0 rgba(20,23,28,.08), 0 18px 40px -18px rgba(20,23,28,.45); background:#0B0D11 }
.hp-sw-frame img{ display:block; width:100%; height:auto }
.hp-pin{ position:absolute; width:26px; height:26px; margin:-13px 0 0 -13px; border-radius:50%; background:#F0EEE9; color:#14171C;
  font-size:13px; font-weight:600; display:grid; place-items:center; box-shadow:0 0 0 3px rgba(214,168,92,.85) }
.hp-sw-notes{ list-style:none; margin:0; padding:0; display:grid; gap:18px; counter-reset:pn }
.hp-sw-notes li{ counter-increment:pn; position:relative; padding-left:40px; display:grid; gap:4px }
.hp-sw-notes li::before{ content:counter(pn); position:absolute; left:0; top:0; width:26px; height:26px; border-radius:50%;
  background:var(--ink-t); color:var(--paper); font-size:13px; font-weight:600; display:grid; place-items:center }
.hp-sw-notes h4{ margin:2px 0 0; font-size:15.5px; font-weight:500; color:var(--ink-t) }
.hp-sw-notes p{ font-size:14.5px !important }
.hp-sw-fig figcaption{ grid-column:1 / -1; font-size:13px; color:var(--mute-t) }
.hp-software + .hp-done{ margin-top:clamp(36px,5vw,56px) }
.hp-done{ grid-template-columns:repeat(3,minmax(0,1fr)) }
.hp-done > div{ border-top-color:var(--rule-p) }

.hp-explain{ display:grid; grid-template-columns:minmax(0,180px) minmax(0,1fr); gap:20px; align-items:baseline; max-width:60em;
  border-top:1px solid var(--rule-p); padding-top:20px }
.hp-explain p:not(.lbl){ font-size:16.5px }

@media (max-width:860px){
  .hp-feature, .hp-sw-fig{ grid-template-columns:minmax(0,1fr) }
  .hp-explain{ grid-template-columns:minmax(0,1fr); gap:8px }
}
@media (max-width:560px){ .hp-pin{ width:20px; height:20px; margin:-10px 0 0 -10px; font-size:11px } }
.hp-feature-shot{ display:grid; gap:10px }
.hp-feature-shot figcaption{ font-size:13px; color:var(--mute-t) }
.hp-browser{ display:block; border:1px solid var(--rule-p); border-radius:8px; overflow:hidden; background:#fff;
  box-shadow:0 18px 40px -20px rgba(20,23,28,.45) }
.hp-browser img{ display:block; width:100%; height:auto }
.hp-browser-bar{ display:flex; align-items:center; gap:6px; padding:9px 12px; background:#E9EAE6; border-bottom:1px solid var(--rule-p) }
.hp-browser-bar i{ width:9px; height:9px; border-radius:50%; background:#C9CBC6 }
.hp-browser-bar em{ font-style:normal; font-size:12px; color:var(--mute-t); margin-left:10px; background:#F6F6F3; padding:3px 10px; border-radius:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0 }

/* finishing pass (2026-10-22): enlargeable screenshots, single marketplaces note */
.hp-zoom{ position:relative; display:block; width:100%; padding:0; margin:0; border:0; background:none; cursor:zoom-in; font:inherit; text-align:left }
button.hp-browser{ border:1px solid var(--rule-p); border-radius:8px; overflow:hidden; background:#fff; box-shadow:0 18px 40px -20px rgba(20,23,28,.45) }
.hp-sw-btn img{ display:block; width:100%; height:auto }
.hp-zoom-tag{ position:absolute; right:10px; bottom:10px; font-size:12px; font-weight:500; padding:5px 10px; border-radius:999px;
  background:rgba(14,16,19,.78); color:#F0EEE9; pointer-events:none; transition:background .2s }
.hp-zoom:hover .hp-zoom-tag, .hp-zoom:focus-visible .hp-zoom-tag{ background:var(--gold-p) }
.hp-zoom:focus-visible{ outline:2px solid var(--gold-p); outline-offset:3px }
.hp-pin{ pointer-events:none }
.hp-feature-shot figcaption a{ color:var(--gold-p); text-decoration:underline; text-underline-offset:3px }
.hp-market-note{ margin-top:clamp(28px,4vw,44px); max-width:44em }
.hp-lb{ border:0; padding:0; background:transparent; max-width:min(96vw,1800px); max-height:94vh; overflow:visible }
.hp-lb::backdrop{ background:rgba(11,13,17,.86) }
.hp-lb img{ display:block; max-width:min(96vw,1800px); max-height:88vh; width:auto; height:auto; border-radius:6px; box-shadow:0 30px 80px -20px rgba(0,0,0,.6) }
.hp-lb-close{ position:absolute; top:-40px; right:0; border:0; background:none; color:#F0EEE9; font:500 14px var(--body); cursor:pointer; padding:8px 4px }
.hp-lb-close:hover{ color:var(--gold-hi) }

/* review pass (2026-10-23): one-line terms under the hero CTAs, builder pointer */
.hp-terms-line{ font-size:14.5px; color:var(--mute-t); margin-top:4px }
.hp-terms-line a, .hp-builders-link a, .hp-explain a{ color:var(--gold-p); text-decoration:underline; text-underline-offset:3px }
.hp-builders-link{ position:relative; z-index:3; border-top:1px solid var(--rule-p); padding-top:28px; padding-bottom:clamp(40px,5vw,64px); font-size:16px; color:var(--body-t); margin:0 }
.hp-done h3{ line-height:1.3 }
/* case-study links (2026-10-23) */
body:not(.light) .page-body a.case-link, body:not(.light) .page-body p a{ color:var(--gold-hi); border-bottom:1px solid rgba(214,168,92,.45) }
body:not(.light) .page-body a.case-link:hover, body:not(.light) .page-body p a:hover{ border-bottom-color:var(--gold-hi) }
.page-body code{ font-family:var(--mono); font-size:.92em; color:var(--text-hi) }


/* ---------------------------------------------------------------------
   Case study proof (2026-10-23): screenshots and code excerpts on the
   dark page, so a reviewer skimming for evidence finds it.
   --------------------------------------------------------------------- */
.cs-fig{ margin:2em 0 0; max-width:74ch; display:grid; gap:10px }
.cs-fig img{ width:100%; height:auto; display:block; border:1px solid rgba(166,175,189,.22); background:#fff }
.cs-fig figcaption, .cs-cap{ font-size:13.5px; color:var(--muted); line-height:1.55 }
.cs-fig figcaption a, .cs-cap a{ color:var(--gold-hi) }
.cs-code{ margin:1.6em 0 0; max-width:760px; overflow-x:auto; background:var(--lift);
  border:1px solid rgba(166,175,189,.18); border-left:2px solid var(--gold); padding:18px 20px }
.cs-code code{ font-family:var(--mono); font-size:12.5px; line-height:1.6; color:var(--text); white-space:pre }
.cs-code:focus-visible{ outline:1px solid var(--gold); outline-offset:3px }
.cs-cap{ margin-top:10px !important; max-width:74ch }
