/* =========================================================
   Interwoven Arts — shared stylesheet (v2 rebuild, 2026-07-03)
   Warm paper · amber accent · founder-voice components
   ========================================================= */

:root {
  --paper:        #ffffff;
  --paper-soft:   #faf7f1;
  --paper-card:   #fffdf8;
  --ink:          #1f1a14;
  --ink-muted:    #5a5040;
  --ink-dim:      #8a8170;
  --rule:         #e6dcc7;
  --rule-soft:    #eee6d3;

  --accent:       #c08543;
  --accent-hi:    #d99f5e;
  --accent-soft:  #f3d9b3;

  --font-serif:   'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-sans:    'Mulish', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --page:         1180px;
  --prose:        62ch;

  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem;
  --s5: 2.5rem; --s6: 4rem;   --s7: 6rem; --s8: 9rem; --s9: 12rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
img, svg { max-width: 100%; display: block; }
::selection { background: var(--accent-soft); color: var(--ink); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 600; }

em { font-style: italic; color: var(--accent); }
strong { font-weight: 600; color: var(--ink); }

p {
  margin: 0 0 1em;
  max-width: var(--prose);
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s5);
}
@media (max-width: 640px) { .wrap { padding: 0 var(--s4); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: var(--s3) var(--s5);
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink);
}
.nav__brand img { width: 52px; height: 52px; flex: none; }
.nav__brand__name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
}
.nav__links {
  display: flex; gap: var(--s5);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav__links a { color: var(--ink-muted); transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__links a[aria-current="page"] { color: var(--accent); }
@media (max-width: 900px) {
  .nav { padding: var(--s2) var(--s4); }
  .nav__links { display: none; }
  .nav__brand__name { font-size: 1.5rem; }
  .nav__brand img { width: 44px; height: 44px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 86vh;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--rule-soft);
  color: #fff;
}
.hero--short { min-height: 56vh; }
.hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.4s ease;
}
.hero:hover .hero__photo { transform: scale(1.05); }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,8,2,0.62) 0%, rgba(15,8,2,0.35) 35%, rgba(15,8,2,0.72) 100%),
    radial-gradient(ellipse 900px 540px at var(--mx,50%) var(--my,50%),
      rgba(255, 210, 150, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero__particles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--s8) var(--s5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
.hero__eyebrow,
.hero__sub,
.hero__meta,
.hero__title { margin: 0; }
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  opacity: .9;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero__title {
  max-width: 24ch;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.014em;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  align-items: center;
}
.hero__title__main {
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.hero__title__tail {
  font-family: 'Mulish', var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-transform: none;
  max-width: 44ch;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
}
.hero__sub {
  max-width: 58ch;
  font-family: 'Mulish', var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: #fff;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
}
.hero__meta {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ---------- Section ---------- */
.section {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule-soft);
}
.section--soft { background: var(--paper-soft); border-top-color: transparent; }
.section:first-of-type { border-top: 0; }

.section__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s7);
  align-items: start;
}
@media (max-width: 820px) {
  .section { padding: var(--s7) 0; }
  .section__inner { grid-template-columns: 1fr; gap: var(--s4); }
}

.section__head {
  position: sticky;
  top: 110px;
}
.section__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--s2);
  opacity: 0.85;
}
.section__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 26ch;
  color: var(--ink);
}

.prose { max-width: 64ch; }
.prose p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 1.1em;
  max-width: none;
  font-weight: 400;
}
.prose p:last-child { margin-bottom: 0; }

/* pull quote — the signature-line beats */
.prose p.pull .attrib {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.prose p.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  margin: var(--s4) 0;
  border-left: 2px solid var(--accent);
  padding-left: var(--s4);
}

/* founder portrait + signature row — closes the founder note */
.founder-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 22px rgba(31,26,20,0.12);
  background: var(--paper-soft);
}
.founder-sig-row {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
}
.founder-sig-row .sig { margin: 0; }
@media (max-width: 640px) {
  .founder-photo { width: 180px; height: 180px; }
  .founder-sig-row { flex-wrap: wrap; }
}
.founder-photo-link { display: inline-block; border-radius: 50%; cursor: zoom-in; }
.founder-photo-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* lightbox — full-size photo view */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 14, 8, 0.92);
  cursor: zoom-out;
  padding: var(--s5);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(86vw, 720px);
  max-height: 86vh;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 217, 179, 0.35), 0 30px 80px rgba(0,0,0,0.5);
}

/* founder note — first-person passages from Dan */
.founder-note p {
  font-size: 1.155rem;
  line-height: 1.75;
}
.founder-note .sig {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin-top: var(--s4);
}
.founder-note .sig strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* quiet list — plain, low-density feature list */
.quiet-list { list-style: none; padding: 0; margin: 0 0 1.1em; max-width: 64ch; }
.quiet-list li {
  padding: var(--s3) 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.quiet-list li:first-child { border-top: 0; }
.quiet-list li strong { display: block; font-weight: 600; }

/* roadmap strip — three-year plan */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s4) 0;
}
@media (max-width: 720px) { .roadmap { grid-template-columns: 1fr; } }
.roadmap__step {
  background: var(--paper-card);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: var(--s4);
}
.roadmap__step .yr {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s1);
}
.roadmap__step p { font-size: .98rem; line-height: 1.6; margin: 0; color: var(--ink-muted); }
.roadmap__step p strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* how-it-works diagram */
.diagram {
  margin: var(--s5) 0 var(--s4);
  max-width: 64ch;
}
.diagram svg { width: 100%; height: auto; }
.diagram figcaption {
  font-size: .85rem;
  color: var(--ink-dim);
  letter-spacing: .04em;
  margin-top: var(--s2);
}

/* CTA row */
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .04em;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hi); color: #fff; }
.btn--ghost { color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--ink); }

/* ---------- Footer ---------- */
.foot {
  background: var(--paper-soft);
  padding: var(--s7) 0 var(--s4);
  font-size: 13px;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule-soft);
}
.foot__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}
@media (max-width: 720px) { .foot__row { grid-template-columns: 1fr; } }
.foot__brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: var(--s2);
}
.foot__contact { font-size: 14px; font-style: normal; }
.foot__contact a { color: var(--accent); }
.foot h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 var(--s2);
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 4px; }
.foot li a { color: var(--ink-muted); }
.foot li a:hover { color: var(--accent); }
.foot__legal {
  border-top: 1px solid var(--rule);
  padding-top: var(--s3);
  margin-top: var(--s5);
  font-size: 11.5px;
  color: var(--ink-dim);
  max-width: 80ch;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Two doors — full-width band (v3.1, 2026-07-16) ---------- */
.doors-band { max-width: 1020px; margin: 0 auto; }
.doors-head { text-align: center; max-width: 640px; margin: 0 auto var(--s5); }
.doors-head .section__num { margin-bottom: var(--s1); }
.doors-head .section__title { max-width: none; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.doors-head p { max-width: none; margin: var(--s2) 0 0; color: var(--ink-muted); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: block; padding: var(--s5) var(--s4) var(--s4);
  background: var(--paper-card); border: 1px solid var(--rule);
  border-radius: 16px; color: var(--ink);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.door:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(31,26,20,.08); }
.door h3 { margin: var(--s2) 0 var(--s2); font-size: clamp(1.45rem, 2vw, 1.8rem); }
.door p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-muted); margin: 0 0 var(--s3); max-width: none; }
.door__badge { display: inline-block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.door__cta { display: inline-block; color: var(--accent); font-weight: 600; }
.door:hover .door__cta { color: var(--ink); }
.doors__aside { text-align: center; max-width: 62ch; margin: var(--s5) auto 0; font-size: .98rem; color: var(--ink-muted); }

/* ---------- Nav: seven links need room (v3.1) ---------- */
.nav__brand__name { white-space: nowrap; }
.nav__links { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
.nav__links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav__links { gap: var(--s4); font-size: 12px; letter-spacing: 0.09em; } }
@media (max-width: 1060px) { .nav__links { gap: var(--s3); font-size: 11.5px; letter-spacing: 0.06em; } .nav__brand__name { font-size: 1.55rem; } }

/* ---------- Doors inside the hero (gateway home, v3.2 2026-07-16) ---------- */
.hero-doors { width: min(100%, 1000px); margin-top: var(--s4); text-align: left; }
.hero .door { background: rgba(255, 253, 248, 0.96); }
.hero .door:hover { background: #fffdf8; }
.hero-doors__aside {
  max-width: 62ch; margin: var(--s4) 0 0;
  font-size: .98rem; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-doors__aside strong { color: #fff; }
.hero-doors__aside a { color: var(--accent-hi); }
.hero-doors__aside a:hover { color: #fff; }
.hero__scroll {
  display: inline-block; margin-top: var(--s3);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.hero__scroll:hover { color: #fff; }
@media (max-width: 820px) { .hero__inner { padding: var(--s6) var(--s4); } }

/* ---------- Photo slots — incoming photography (2026-08-08). Drop images in under these names; delete the label span in the same pass. ---------- */
.photo-slot { max-width: var(--page); margin: 0 auto; padding: var(--s6) var(--s5) 0; }
.photo-slot__frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule-soft); background-color: var(--paper-soft); background-size: cover; background-position: center; aspect-ratio: 21 / 9; }
.photo-slot__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap; }
@media (max-width: 640px) { .photo-slot { padding: var(--s5) var(--s4) 0; } .photo-slot__frame { aspect-ratio: 16 / 10; } }

/* build 2026-08-08b — content-type fix redeploy */

/* ---------- Words-first heroes, site-wide (2026-08-08): no photo behind text — the ruling. ---------- */
.hero--plain { min-height: 44vh; color: var(--ink); background: var(--paper-soft); border-bottom: 1px solid var(--rule-soft); }
.hero--plain .hero__inner { padding: var(--s7) var(--s5); }
.hero--plain .hero__eyebrow { color: var(--accent); text-shadow: none; opacity: 1; }
.hero--plain .hero__title { color: var(--ink); text-shadow: none; }
.hero--plain .hero__title__main { color: var(--ink); }
.hero--plain .hero__title__tail { color: var(--ink-muted); text-shadow: none; }
.hero--plain .hero__sub, .hero--plain .hero__meta { color: var(--ink-muted); text-shadow: none; }
.hero--plain .hero-doors__aside { color: var(--ink-muted); text-shadow: none; }
.hero--plain .hero-doors__aside strong { color: var(--ink); }
.hero--plain .hero-doors__aside a { color: var(--accent); }
.hero--plain .hero-doors__aside a:hover { color: var(--ink); }
.hero--plain .hero__scroll { color: var(--ink-dim); text-shadow: none; }
.hero--plain .door { border: 1px solid var(--rule); }

/* =========================================================
   ROUND 2 — 2026-08-10
   All additive. No rule above this line was altered.
   ========================================================= */

/* ---------- Rotating word stage (Home only) ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  background: #14100a;
  height: var(--stage-h, 66vh); min-height: 340px; max-height: 780px;
  border-bottom: 1px solid var(--rule-soft);
  --dur: 5s; --sc-top: 0.30; --sc-mid: 0.16; --sc-bot: 0.52;
}
.stage__frames { position: absolute; inset: 0; z-index: 0; }
.stage__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.stage__frame.is-on { opacity: 1; }
.stage__frame img { width: 100%; height: 100%; object-fit: cover; }
/* eased, not linear: a linear zoom is still moving at full speed when it stops,
   which reads as a jerk at the swap. This decelerates into its end state. */
.stage[data-zoom="on"] .stage__frame.is-on img { animation: kb var(--dur) cubic-bezier(.25,.1,.25,1) both; }
@keyframes kb { from { transform: scale(1.005); } to { transform: scale(1.075); } }
.stage__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,7,2,var(--sc-top)) 0%, rgba(12,7,2,var(--sc-mid)) 42%, rgba(12,7,2,var(--sc-bot)) 100%);
}
.stage__words { position: absolute; inset: 0; z-index: 2; display: grid; padding: clamp(1.5rem, 5vw, 4.5rem); pointer-events: none; }
.stage__words > * { grid-area: 1 / 1; place-self: center; }
.stage__word {
  margin: 0; font-family: var(--font-serif);
  font-size: clamp(3rem, 11.5vw, 8.8rem); line-height: 1; font-weight: 500;
  color: #fff; letter-spacing: 0.07em; text-transform: uppercase; text-align: center;
  text-shadow: 0 2px 44px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(12px);
  transition: opacity 1s ease, transform 1.5s ease;
}
.stage__word.is-on { opacity: 1; transform: none; }
.stage__word--long { line-height: 0.92; }
.stage__ui {
  position: absolute; z-index: 3;
  right: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 2.4vw, 1.8rem);
  display: flex; align-items: center; gap: .9rem;
}
.stage__dots { display: flex; gap: .5rem; }
.stage__dots button {
  width: 34px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s ease;
}
.stage__dots button:hover { background: rgba(255,255,255,.7); }
.stage__dots button[aria-current="true"] { background: var(--accent-hi); }
.stage__dots button:focus-visible, .stage__pause:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.stage__pause {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.45); background: rgba(20,14,8,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; cursor: pointer; font-size: 11px; line-height: 1;
}
.stage__pause:hover { background: rgba(20,14,8,.6); }
.stage__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .stage { height: var(--stage-h-sm, 54vh); }
  .stage__word { letter-spacing: 0.05em; }
  .stage__word--long { font-size: clamp(3rem, 16vw, 5rem); }
  .stage__word--long .cc-b { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .stage[data-zoom="on"] .stage__frame.is-on img { animation: none; }
  .stage__frame, .stage__word { transition: none; }
}

/* ---------- Home hero: three tiers, wide measure ----------
   Scoped with `.stage + .hero--plain` so it applies to HOME ONLY —
   every other page keeps the hero it has. */
.hero__eyebrow--two { line-height: 1.55; }
.stage + .hero--plain { border-top: 0; }
.stage + .hero--plain .hero__inner { padding-top: var(--s6); max-width: 1180px; }
.stage + .hero--plain .hero__title { max-width: none; }
/* text-wrap:balance (global on h1-h4) evens line lengths instead of filling the
   measure — that, not the old 22ch cap, is what kept the block narrow. */
.stage + .hero--plain .hero__title,
.stage + .hero--plain .hero__title__main { text-wrap: pretty; max-width: none; }
.stage + .hero--plain .hero__title__tail { max-width: min(86ch, 100%); }
.hero__title--three { gap: var(--s2); }
.hero__title--three > * { margin: 0; }
.hero__title--three .hero__title__main { font-size: clamp(2.4rem, 5.8vw, 4.8rem); line-height: 1.06; }
.hero__title--three .hero__title__mid { margin-top: var(--s3); }
/* tiers two and three are IDENTICAL — same size, same typeface, same colour
   (Dan, 10 Aug). Tier three is the site's existing .hero__title__tail, muted
   on every other page, so tier two matches down to it: the two sentences read
   as one block of supporting copy rather than a hierarchy. */
.hero__title__mid {
  font-family: 'Mulish', var(--font-sans); font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5;
  letter-spacing: 0.005em; color: var(--ink-muted);
  max-width: min(86ch, 100%); text-wrap: pretty;
}
.stage + .hero--plain .hero-doors { width: min(100%, 1000px); }

/* ---------- Door photos ----------
   Inset, not bled: an even 24px surround on all four sides, edges lining up
   with the paragraph above. The photo carries the card's flexible space so
   both photos bottom-align and both links align whatever the copy does;
   the gap above is padding, not margin, because an auto margin distributes
   only surplus space and would close to zero on a full card. */
.door { display: flex; flex-direction: column; }
.door__photo { display: block; margin-top: auto; padding-top: var(--s4); margin-bottom: var(--s4); }
.door__photo img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--rule-soft); background: var(--paper-soft);
}
@media (max-width: 820px) { .door__photo img { aspect-ratio: 16 / 9; } }

/* ---------- NAV COLLISION FIX (live bug, every page) ----------
   .nav was flex + space-between with no gap while .nav__links could wrap.
   Whenever the links needed more room than remained, the row wrapped AND
   space-between resolved to zero — the wordmark touched HOME. Two dead
   bands measured: ~1070-1140px and ~1290-1340px, i.e. just above each old
   breakpoint. Fix: a real gap as the safety net, and the breakpoints moved
   up so the type steps down before the links are forced to wrap. */
.nav { gap: var(--s4); }
@media (max-width: 1400px) {
  .nav__links { gap: var(--s4); font-size: 12px; letter-spacing: 0.09em; }
}
@media (max-width: 1160px) {
  .nav__links { gap: var(--s3); font-size: 11.5px; letter-spacing: 0.06em; }
  .nav__brand__name { font-size: 1.55rem; }
}
@media (max-width: 1030px) {
  .nav { padding: var(--s3) var(--s4); }
  .nav__links { gap: .62rem; font-size: 11px; letter-spacing: 0.02em; }
  .nav__brand__name { font-size: 1.4rem; }
  .nav__brand { gap: 10px; }
  .nav__brand img { width: 44px; height: 44px; }
}

/* ---------- Footer: legal statement takes the first column ---------- */
.foot__legal--inline { border-top: 0; padding-top: 0; margin: 0; max-width: none; }

/* build 2026-08-10e — nav breakpoint 720->900 (link-wrap band 721-869px) — + mobile navigation — round 2 + zoom-settle fix: rotating word stage, three-tier hero, door photos, footer, nav fix */

/* ---------- MOBILE NAVIGATION (built 2026-08-10) ----------
   The live bug Dan spotted: below 720px `.nav__links` was `display:none` with
   no hamburger, no button, no replacement — every page reachable only from
   body links or the footer. For an access-first company on mostly-mobile
   traffic that was the wrong defect to carry.
   Disclosure pattern, no animation. The toggle only exists below the
   breakpoint; above it the horizontal links are untouched.

   Breakpoint 720 -> 900 (2026-08-10e). Measured on the live site: between
   721px and 869px the eight inline links no longer fit on one row and wrapped,
   dropping TEAM and CONTACT onto a second ragged line under the others. 720
   was simply too low a handover point. 900 hands over before the wrap, and
   leaves ~60px of clear air between the wordmark and the first link at 901px,
   so a late-loading webfont cannot push it back into collision. Tablet
   portrait now gets the menu button, which is the normal outcome. */
.nav__toggle { display: none; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: var(--s2); }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 9px;
    background: none; border: 1px solid var(--rule); border-radius: 999px;
    padding: 9px 15px; cursor: pointer;
    font-family: var(--font-sans); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted);
    transition: color .2s, border-color .2s;
  }
  .nav__toggle:hover,
  .nav__toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
  .nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav__bars { display: inline-block; position: relative; width: 15px; height: 11px; flex: none; }
  .nav__bars i,
  .nav__bars::before,
  .nav__bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
  .nav__bars::before { top: 0; }
  .nav__bars i { top: 4.75px; }
  .nav__bars::after { bottom: 0; }

  .nav__links {
    display: none;
    flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; font-size: 13px; letter-spacing: 0.1em;
    border-top: 1px solid var(--rule-soft);
    margin-top: var(--s2); padding-top: var(--s1);
  }
  .nav[data-nav-open="true"] .nav__links { display: flex; }
  .nav__links a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--rule-soft); }
  .nav__links a:last-child { border-bottom: 0; }
}

