/* Cascade Paint & Supply — Brandcore private proposal */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d0c0a;
  --ink-2: #14110d;
  --ink-3: #1d1812;
  --cream: #f4ede0;
  --cream-2: #e9dfcd;
  --paper: #f8f2e6;
  --orange: #f28a1e;
  --orange-2: #ff9f2e;
  --orange-deep: #b9540a;
  --coral: #e06044;
  --ochre: #d7a22b;
  --green: #4f7b46;
  --teal: #2f7b75;
  --blue: #3a6a9b;
  --red: #a5262a;
  --muted-dark: #b9ae9a;
  --muted-light: #6d6354;
  --line-dark: rgba(244, 237, 224, 0.14);
  --line-light: rgba(13, 12, 10, 0.14);
  --chrome: 64px;
  --bottom: 54px;
  --pad: clamp(22px, 3.9vw, 74px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--ink);
}

body {
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  color: var(--cream);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.theme-light { background: var(--cream); }
body.theme-dark { background: var(--ink); }

button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
p, h1, h2, h3, h4, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
kbd {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78em;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 4px;
  opacity: 0.72;
}
::selection { background: var(--orange); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  transition: top 160ms ease;
}
.skip-link:focus { top: 10px; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ chrome */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
}
.progress span {
  display: block;
  height: 100%;
  width: 10%;
  background: var(--orange);
  transition: width 520ms var(--ease);
}

.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--chrome);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  color: var(--cream);
  background: linear-gradient(to bottom, rgba(13, 12, 10, 0.86), rgba(13, 12, 10, 0.42) 70%, transparent);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
body.theme-light .chrome {
  color: var(--ink);
  background: linear-gradient(to bottom, rgba(244, 237, 224, 0.96), rgba(244, 237, 224, 0.72) 70%, transparent);
}
body.on-cover .chrome {
  background: linear-gradient(to bottom, rgba(13, 12, 10, 0.78), rgba(13, 12, 10, 0.12) 70%, transparent);
}
body.on-cover.theme-light .chrome { background: linear-gradient(to bottom, rgba(244, 237, 224, 0.92), transparent); }

.chrome-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.bc-mark { height: 17px; width: auto; }
body.theme-light .bc-mark { filter: brightness(0) saturate(100%); }
.chrome-x {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 19px;
  line-height: 1;
  opacity: 0.7;
}
.client-chip {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(242, 138, 30, 0.34);
  border-radius: 3px;
  padding: 3px 7px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.client-chip img { height: 17px; width: auto; }

.chrome-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
  white-space: nowrap;
}

.chrome-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.chrome-index {
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  opacity: 0.74;
  transition: opacity 160ms ease, border-color 160ms ease;
}
.chrome-index:hover { opacity: 1; border-color: var(--orange); }
.chrome-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  display: flex;
  gap: 5px;
  align-items: baseline;
  opacity: 0.8;
}
.chrome-count b { font-weight: 400; color: var(--orange); }
body.theme-light .chrome-count b { color: var(--orange-deep); }

.bottom {
  position: fixed;
  inset: auto 0 0 0;
  height: var(--bottom);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  color: var(--cream);
  background: linear-gradient(to top, rgba(13, 12, 10, 0.92), rgba(13, 12, 10, 0.4) 72%, transparent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.theme-light .bottom {
  color: var(--ink);
  background: linear-gradient(to top, rgba(244, 237, 224, 0.98), rgba(244, 237, 224, 0.7) 72%, transparent);
}
.bottom b { font-weight: 400; color: var(--orange); }
body.theme-light .bottom b { color: var(--orange-deep); }
.bottom-private { opacity: 0.56; }
.bottom-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bottom-nav button {
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 13px;
  color: inherit;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.84;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.bottom-nav button:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); opacity: 1; }
.bottom-nav button:disabled { opacity: 0.24; cursor: default; }
.bottom-count { opacity: 0.5; padding: 0 3px; }
.bottom-index { display: none; }
.browser-home { display: none; }

.rail {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rail button {
  width: 26px;
  height: 13px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.rail button i {
  display: block;
  width: 11px;
  height: 1px;
  background: currentColor;
  opacity: 0.24;
  transition: width 220ms var(--ease), opacity 220ms ease, background 220ms ease;
}
.rail button:hover i { opacity: 0.7; width: 18px; }
.rail button.on i { width: 24px; opacity: 1; background: var(--orange); }
body.theme-light .rail { color: var(--ink); }
body.theme-dark .rail { color: var(--cream); }

/* ------------------------------------------------------------------ slides */
#deck { position: fixed; inset: 0; z-index: 1; }
.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  z-index: 1;
}
.slide.light { background: var(--cream); color: var(--ink); }
.slide.dark { background: var(--ink); color: var(--cream); }
.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}
.slide.leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 2;
  animation: leave 720ms var(--ease) both;
}
.slide.entering {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 4;
  animation: enter 720ms var(--ease) both;
}
@keyframes enter {
  from { opacity: 0; transform: translate3d(5.5%, 0, 0) scale(0.992); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes leave {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(-4.5%, 0, 0) scale(0.996); }
}
body.is-shaking { animation: shake 460ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 1px, 0); }
  20%, 80% { transform: translate3d(4px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 2px, 0); }
  40%, 60% { transform: translate3d(7px, -1px, 0); }
}

.slide-pad {
  position: relative;
  height: 100%;
  padding: calc(var(--chrome) + clamp(18px, 2.8vh, 34px)) var(--pad) calc(var(--bottom) + clamp(16px, 2.2vh, 30px));
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.scroll {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 138, 30, 0.5) transparent;
}
.scroll::-webkit-scrollbar { width: 7px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(242, 138, 30, 0.45); border-radius: 99px; }
.scroll::-webkit-scrollbar-track { background: transparent; }

.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(10.5px, 0.72vw, 12.5px);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: clamp(8px, 1.2vh, 14px);
}
.slide.light .kicker { color: var(--orange-deep); }

h2 {
  font-size: clamp(32px, 3.45vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}
h2 em { font-size: 1.02em; letter-spacing: -0.022em; }
h3 { font-weight: 500; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(17px, 0.8vw + 7px, 21.5px);
  line-height: 1.52;
  letter-spacing: -0.012em;
  color: var(--muted-light);
  max-width: 62ch;
}
.slide.dark .lead { color: var(--muted-dark); }

.micro-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.slide.dark .micro-label { color: var(--orange); }

.source {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(12px, 0.25vw + 9px, 13.5px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--muted-light);
  opacity: 0.9;
}
.slide.dark .source { color: var(--muted-dark); }

.slide-head {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(18px, 2.6vh, 30px);
  flex: 0 0 auto;
}
.slide-intro {
  font-size: clamp(15px, 0.62vw + 7px, 18.5px);
  line-height: 1.5;
  color: var(--muted-light);
  border-left: 2px solid var(--orange);
  padding-left: clamp(14px, 1.4vw, 20px);
  max-width: 48ch;
  padding-bottom: 2px;
}
.slide.dark .slide-intro { color: var(--muted-dark); }

/* ------------------------------------------------------------------ cover */
.cover { background: var(--ink); }
.cover-stage { position: absolute; inset: 0; overflow: hidden; }
.cover-glow {
  position: absolute;
  inset: -20% -10% -20% 35%;
  background:
    radial-gradient(ellipse 48% 46% at 66% 42%, rgba(242, 138, 30, 0.18), transparent 68%),
    radial-gradient(ellipse 30% 26% at 78% 60%, rgba(224, 96, 68, 0.1), transparent 70%);
  filter: blur(4px);
}
.cover-floor {
  position: absolute;
  inset: auto 0 -22% 28%;
  height: 68%;
  background: radial-gradient(ellipse 50% 44% at 66% 55%, rgba(242, 138, 30, 0.1), transparent 70%);
}
.cover-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
#hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}
.cover-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 500ms ease;
}
.cover-still > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 72% 47%;
}
body.webgl-ready .cover-still { opacity: 0; visibility: hidden; }
.still-fallback {
  position: absolute;
  right: 8%;
  top: 24%;
  width: 38%;
  aspect-ratio: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(145deg, #241a11, #120e0a 60%);
  border: 1px solid rgba(242, 138, 30, 0.28);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
}
.cover-still.has-img .still-fallback { display: none; }
.still-card {
  width: 82%;
  background: var(--cream);
  border-radius: 5px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.still-card img { width: 100%; height: auto; }
.still-fallback p {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
#cover-still-img { opacity: 1; }
#cover-still-img[src=""] { opacity: 0; }

.cover-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(200px, 0.54fr);
  gap: clamp(24px, 3vw, 50px);
  align-items: center;
  min-height: 0;
  flex: 1;
}
.cover-copy { max-width: min(960px, 50vw); }
.cover h1 {
  font-size: clamp(44px, 5.3vw, 98px);
  line-height: 0.89;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0 0 clamp(14px, 2vh, 24px);
  text-wrap: balance;
}
.cover h1 em {
  display: inline-block;
  font-size: 0.96em;
  letter-spacing: -0.025em;
  color: var(--orange-2);
  margin-top: 0.05em;
}
.cover .lead {
  max-width: 55ch;
  color: #c9bfae;
  font-size: clamp(17.5px, 0.8vw + 5.5px, 20px);
  line-height: 1.55;
}
.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2.4vh, 26px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border-color: rgba(244, 237, 224, 0.3); color: var(--cream); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.cover-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: clamp(16px, 2.2vh, 24px);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b7ac9a;
}
.cover-facts li { display: flex; align-items: baseline; gap: 7px; }
.cover-facts span { color: var(--orange); font-size: 9px; }
.cover-facts a { text-decoration: none; }
.cover-facts a:hover { color: var(--orange); }

.cover-aside {
  align-self: end;
  padding-bottom: clamp(26px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 280px;
  justify-self: end;
}
.cover-stamp {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid rgba(242, 138, 30, 0.6);
  padding: 9px 0 9px 15px;
  backdrop-filter: blur(5px);
}
.cover-stamp-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.cover-stamp strong { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.cover-stamp span:not(.cover-stamp-label) { font-size: 12.5px; color: #bdb2a0; line-height: 1.4; }
.cover-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.54);
}
.cover-ticker i { color: var(--orange); font-style: normal; opacity: 0.7; }

.cover-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(var(--bottom) + 10px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.52);
}
.cover-foot-brand { display: flex; align-items: center; gap: 7px; }
.cover-foot-brand img { height: 14px; width: auto; opacity: 0.9; }
.cover-foot-brand b { color: var(--orange); font-weight: 400; }
.cover-foot-cue { color: rgba(244, 237, 224, 0.7); }

/* ------------------------------------------------------------------ counter */
.counter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 3.6vw, 64px);
  flex: 1;
  min-height: 0;
}
.counter-copy { display: flex; flex-direction: column; min-height: 0; }
.counter h2 { margin-bottom: clamp(10px, 1.5vh, 16px); }
.counter .lead { max-width: 58ch; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(18px, 2vw, 34px);
  margin-top: clamp(14px, 2vh, 22px);
}
.service-item {
  display: flex;
  gap: 11px;
  border-top: 1px solid var(--line-light);
  padding: 11px 0 10px;
}
.service-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--orange-deep);
  padding-top: 3px;
}
.service-item h3 {
  font-size: clamp(17px, 0.7vw + 6px, 20px);
  line-height: 1.15;
  margin-bottom: 4px;
}
.service-item p {
  font-size: clamp(16px, 0.9vw + 4.5px, 18.5px);
  line-height: 1.42;
  color: var(--muted-light);
}
.brand-strip {
  border-top: 1px solid var(--line-light);
  padding-top: 8px;
  margin-top: clamp(10px, 1.4vh, 16px);
}
.brand-strip p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted-light);
}
.counter-pull {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 2px solid var(--orange);
  padding-left: 13px;
  margin: clamp(8px, 1.2vh, 14px) 0 0;
  max-width: 54ch;
}
.counter-pull em { color: var(--orange-deep); }
.staff-block { margin-top: auto; padding-top: clamp(8px, 1.2vh, 14px); }
.staff-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.staff {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.staff img {
  width: clamp(38px, 3.2vw, 56px);
  height: clamp(38px, 3.2vw, 56px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.03);
  border: 1px solid rgba(13, 12, 10, 0.14);
}
.staff:nth-child(2) img { object-position: center 18%; }
.staff:nth-child(3) img { object-position: center 30%; }
.staff:nth-child(4) img { object-position: center 25%; }
.staff figcaption { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.staff b { font-size: clamp(11.5px, 0.62vw, 14px); font-weight: 500; line-height: 1.1; white-space: nowrap; }
.staff span {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.counter-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.photo-main {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #d8cfbe;
}
.photo-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: brightness(0.88) saturate(0.9) contrast(1.03);
  transition: transform 900ms var(--ease);
}
.photo-main:hover > img { transform: scale(1.02); }
.photo-main figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(to top, rgba(10, 9, 7, 0.88), rgba(10, 9, 7, 0.12) 75%, transparent);
  color: var(--cream);
}
.photo-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.photo-main figcaption b { font-size: clamp(15px, 0.8vw, 18px); font-weight: 500; }
.photo-main figcaption span:last-child { font-size: 11.5px; color: rgba(244, 237, 224, 0.62); }
.photo-inset {
  position: absolute;
  left: 14px;
  top: 16px;
  width: clamp(108px, 12vw, 168px);
  background: var(--cream);
  padding: 6px 6px 5px;
  box-shadow: 0 16px 36px rgba(13, 12, 10, 0.28);
  transform: rotate(-2.2deg);
}
.photo-inset img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.photo-inset figcaption {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-top: 4px;
}
.counter-fact {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  align-items: baseline;
  gap: 4px 7px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  margin-top: 10px;
}
.counter-fact strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 400;
  color: var(--orange-deep);
  line-height: 1;
}
.counter-fact span {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-right: 6px;
}
.scroll-hint {
  position: absolute;
  bottom: calc(var(--bottom) + 9px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.counter.is-scrollable .scroll-hint { opacity: 0.7; }

/* ------------------------------------------------------------------ audit */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(9px, 1vw, 14px);
  flex: 1;
  min-height: 0;
}
.finding {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  padding: clamp(11px, 1.25vw, 18px) clamp(12px, 1.35vw, 20px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 180ms ease, background 180ms ease;
}
.finding:hover { border-color: rgba(242, 138, 30, 0.5); background: rgba(242, 138, 30, 0.035); }
.finding-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.sev {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 2px;
  border: 1px solid currentColor;
}
.sev.critical { color: #e4675f; }
.sev.high { color: #e4a14b; }
.sev.medium { color: #b9ae9a; }
.finding-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(244, 237, 224, 0.38);
}
.finding h3 {
  font-size: clamp(19px, 1.1vw + 4px, 23px);
  line-height: 1.12;
  margin-bottom: 5px;
}
.finding p {
  font-size: clamp(16px, 0.85vw + 4.5px, 20px);
  line-height: 1.4;
  color: var(--muted-dark);
}
.finding .source { margin-top: auto; padding-top: 6px; font-size: clamp(11.5px, 0.25vw + 8.5px, 13px); }
.also-observed {
  margin-top: 10px;
  border-top: 1px solid var(--line-dark);
  padding-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: rgba(244, 237, 224, 0.56);
}
.also-observed span { color: var(--orange); text-transform: uppercase; letter-spacing: 0.12em; margin-right: 6px; }

/* ------------------------------------------------------------------ gap */
.gap-head { margin-bottom: clamp(14px, 2vh, 22px); }
.gap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3vw, 52px);
  flex: 1;
  min-height: 0;
}
.gap-evidence { display: flex; flex-direction: column; min-height: 0; }
.browser {
  background: #ece5d8;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 12, 10, 0.2);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 10px;
  background: #1b1814;
  color: #cfc4b2;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.02em;
}
.browser-bar .dots { display: flex; gap: 4px; }
.browser-bar .dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #5a5248; }
.browser-bar .dots i:first-child { background: #b4543e; }
.browser-bar .dots i:nth-child(2) { background: #b58a3c; }
.browser-bar .dots i:nth-child(3) { background: #5a7a51; }
.browser-bar .url {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-bar .lock { color: var(--orange); }
.browser-flag {
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--orange);
  white-space: nowrap;
}
.evidence-shot { position: relative; overflow: hidden; }
.evidence-shot img { width: 100%; height: auto; filter: saturate(0.94); }
.evidence-callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(66px, 6vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(13, 12, 10, 0.9);
  color: var(--cream);
  border: 1px solid var(--orange);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.evidence-callout::after {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 1px;
  height: 9px;
  background: var(--orange);
}
.evidence-callout b {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  color: var(--orange);
  font-weight: 400;
}
.evidence-callout span {
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.68);
  text-align: center;
  line-height: 1.2;
  padding: 0 4px;
}
.callout-a { left: 18%; top: 36%; }
.callout-b { right: 12%; top: 36%; }
.evidence-browser figcaption {
  padding: 8px 11px;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  line-height: 1.35;
  color: var(--muted-light);
  border-top: 1px solid rgba(13, 12, 10, 0.1);
}
.evidence-note {
  margin-top: 10px;
  font-size: clamp(16px, 0.55vw + 7px, 17.5px);
  line-height: 1.45;
  color: var(--muted-light);
  max-width: 44ch;
}
.gap-pull {
  margin-top: 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(21px, 1.65vw, 28px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch;
}
.gap-pull em { color: var(--orange-deep); }
.path-wrap { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.path-col { border-top: 2px solid var(--line-light); padding-top: 8px; }
.path-col.proposed {
  border: 1px solid rgba(242, 138, 30, 0.45);
  border-radius: 4px;
  background: rgba(242, 138, 30, 0.06);
  padding: 11px 13px 13px;
  margin-top: 2px;
}
.path-col .micro-label { margin-bottom: 6px; }
.path-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.proposed-list { grid-template-columns: 1fr; gap: 0; }
.path-list li {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 3px 0;
  border-bottom: 1px solid rgba(13, 12, 10, 0.08);
}
.path-list li > div { padding-right: 86px; }
.proposed-list li > div { padding-right: 0; }
.current .path-list li:first-child > div { padding-right: 0; }
.proposed-list li { border-bottom-color: rgba(185, 84, 10, 0.16); }
.path-list li:last-child { border-bottom: 0; }
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  padding-top: 3px;
  min-width: 18px;
}
.path-list b { display: block; font-size: clamp(15px, 0.56vw + 7px, 17px); font-weight: 500; line-height: 1.2; }
.path-list p { font-size: clamp(14px, 0.42vw + 7px, 15.5px); line-height: 1.35; color: var(--muted-light); margin-top: 2px; }
.path-tag {
  position: absolute;
  right: 0;
  top: 5px;
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a2a20;
  border: 1px solid rgba(154, 42, 32, 0.32);
  border-radius: 2px;
  padding: 1px 4px;
  margin-top: 0;
}
.proposed-list .step-num { color: var(--green); }
.path-payoff {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(185, 84, 10, 0.2);
}
.path-payoff strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 400;
  color: var(--orange-deep);
}
.path-payoff span { font-size: 13.5px; color: var(--muted-light); line-height: 1.3; }

/* ------------------------------------------------------------------ flagship */
.flagship-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(10px, 1.6vh, 16px);
  flex: 0 0 auto;
}
.flagship-head h2 { font-size: clamp(30px, 3vw, 48px); }
.stage {
  position: relative;
  flex: 1;
  min-height: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 55% 30%, rgba(242, 138, 30, 0.14), transparent 62%),
    linear-gradient(145deg, #191510, #0b0a08 66%);
  padding: clamp(12px, 1.5vw, 24px);
  display: flex;
  flex-direction: column;
}
.stage-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(244, 237, 224, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 237, 224, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 44%, #000 30%, transparent 78%);
  pointer-events: none;
}
.stage-glow {
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 60%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(242, 138, 30, 0.16), transparent 70%);
  pointer-events: none;
}
.studio {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}
.concept-browser {
  height: 100%;
  width: auto;
  max-width: min(78%, 1040px);
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.concept-bar { height: 26px; flex: 0 0 26px; background: #201b15; }
.concept-bar .url { font-size: 8px; }
.concept-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1px solid rgba(242, 138, 30, 0.5);
  border-radius: 2px;
  padding: 2px 4px;
}
.expand-btn {
  background: none;
  border: 1px solid rgba(244, 237, 224, 0.24);
  border-radius: 2px;
  color: #cfc4b2;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 6px;
  cursor: pointer;
  white-space: nowrap;
}
.expand-btn:hover { border-color: var(--orange); color: var(--orange); }

.concept-app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  container-type: inline-size;
  font-size: clamp(10px, 1.28cqw, 17px);
}
.concept-topline {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 1.5cqw 2cqw;
  border-bottom: 1px solid rgba(13, 12, 10, 0.1);
  background: #fffaf0;
}
.concept-logo { width: 14cqw; max-width: 180px; height: auto; }
.concept-nav { display: flex; gap: 1.1cqw; margin-left: auto; }
.concept-nav button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.4cqw 0.2cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d6354;
  cursor: pointer;
}
.concept-nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.concept-call {
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 0.55cqw 1cqw;
  white-space: nowrap;
}
.concept-panels { flex: 1; min-height: 0; display: flex; }
.concept-panel { display: none; width: 100%; min-height: 0; overflow: hidden; }
.concept-panel.active { display: grid; }
#panel-home { grid-template-columns: 1.02fr 0.98fr; }
#panel-color { grid-template-columns: 1.12fr 0.88fr; }
#panel-contract { grid-template-columns: 1.25fr 0.75fr; }

.home-copy { padding: 3cqw 2.4cqw 2cqw 3cqw; display: flex; flex-direction: column; min-width: 0; }
.status {
  display: flex;
  align-items: center;
  gap: 0.5cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78cqw;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5d5548;
  margin-bottom: 1.6cqw;
  flex-wrap: wrap;
}
.status .dot, .phone-status .dot {
  width: 0.55cqw;
  height: 0.55cqw;
  min-width: 4px;
  min-height: 4px;
  border-radius: 50%;
  background: #4f7b46;
  box-shadow: 0 0 0 2px rgba(79, 123, 70, 0.16);
}
.status b { color: #2f5e2c; font-weight: 400; }
.status span:last-child {
  opacity: 0.7;
  margin-left: 0.7cqw;
  padding-left: 0.7cqw;
  border-left: 1px solid rgba(13, 12, 10, 0.18);
}
.home-copy h3 {
  font-size: 3.9cqw;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 1.1cqw;
}
.home-copy > p {
  font-size: 1.18cqw;
  line-height: 1.45;
  color: #5f574b;
  max-width: 48ch;
}
.home-actions { display: flex; gap: 0.7cqw; margin-top: 1.7cqw; flex-wrap: wrap; }
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.62cqw 1.05cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78cqw;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.mini-btn.orange { background: var(--orange); color: var(--ink); }
.mini-btn.line { border-color: rgba(13, 12, 10, 0.22); color: var(--ink); background: transparent; }
.mini-btn.line:hover { border-color: var(--orange); color: var(--orange-deep); }
.mini-btn.wide { width: 100%; }
.home-services {
  display: flex;
  gap: 1.3cqw;
  margin-top: auto;
  padding-top: 1.4cqw;
  border-top: 1px solid rgba(13, 12, 10, 0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68cqw;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #746a5b;
}
.home-services span { display: flex; flex-direction: column; gap: 0.2cqw; }
.home-services b { color: var(--ink); font-weight: 400; font-size: 0.82cqw; }
.home-photo { position: relative; min-width: 0; overflow: hidden; }
.home-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.home-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2cqw 1.5cqw 1.2cqw;
  background: linear-gradient(to top, rgba(10, 9, 7, 0.8), transparent);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
}
.home-photo figcaption span { font-size: 0.85cqw; }
.home-photo figcaption b { font-family: "JetBrains Mono", monospace; font-size: 0.62cqw; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); font-weight: 400; }

.color-left { padding: 1.8cqw 1.4cqw 1.4cqw 2.2cqw; display: flex; flex-direction: column; min-width: 0; }
.family-tabs { display: flex; gap: 0.4cqw; margin-bottom: 1cqw; }
.family {
  background: none;
  border: 1px solid rgba(13, 12, 10, 0.16);
  border-radius: 2px;
  padding: 0.38cqw 0.62cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #62594d;
  cursor: pointer;
}
.family.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.42cqw;
  align-content: start;
}
.swatch {
  aspect-ratio: 1;
  border: 1px solid rgba(13, 12, 10, 0.12);
  border-radius: 1px;
  cursor: pointer;
  padding: 0;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  position: relative;
}
.swatch:hover { transform: scale(1.08); z-index: 2; }
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); z-index: 3; }
.concept-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.63cqw;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #807564;
  margin-top: 0.8cqw;
}
.color-right {
  padding: 1.8cqw 2cqw 1.4cqw 1.2cqw;
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  min-width: 0;
  border-left: 1px solid rgba(13, 12, 10, 0.1);
}
.selected-color { display: flex; align-items: center; gap: 0.9cqw; }
.selected-chip {
  width: 4.6cqw;
  height: 4.6cqw;
  min-width: 28px;
  min-height: 28px;
  border-radius: 1px;
  background: #c96f4a;
  border: 1px solid rgba(13, 12, 10, 0.15);
}
.selected-color div { display: flex; flex-direction: column; gap: 0.12cqw; }
.selected-color b { font-size: 1.25cqw; font-weight: 500; }
.selected-color span:last-child { font-family: "JetBrains Mono", monospace; font-size: 0.66cqw; color: #7b7162; }
.estimator { border-top: 1px solid rgba(13, 12, 10, 0.2); padding-top: 0.9cqw; }
.estimator > p { font-size: 0.78cqw; line-height: 1.35; color: #6d6354; margin: 0.2cqw 0 0.8cqw; }
.estimator-fields { display: flex; gap: 0.55cqw; align-items: end; }
.estimator-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.2cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6cqw;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6d6354;
  position: relative;
}
.estimator-fields input, .estimator-fields select {
  width: 4.2cqw;
  min-width: 42px;
  border: 1px solid rgba(13, 12, 10, 0.18);
  background: #fffaf0;
  border-radius: 2px;
  padding: 0.36cqw 0.3cqw;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8cqw;
  color: var(--ink);
  appearance: textfield;
}
.estimator-fields select { width: 3.2cqw; }
.estimator-fields label span {
  position: absolute;
  right: 0.34cqw;
  bottom: 0.45cqw;
  font-size: 0.55cqw;
  opacity: 0.5;
  pointer-events: none;
}
.estimator-fields select + span { display: none; }
.est-result {
  display: flex;
  align-items: baseline;
  gap: 0.5cqw;
  margin-top: 0.8cqw;
}
.est-result strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3.1cqw;
  line-height: 0.9;
  font-weight: 400;
  color: var(--orange-deep);
}
.est-result span { font-family: "JetBrains Mono", monospace; font-size: 0.66cqw; text-transform: uppercase; letter-spacing: 0.04em; color: #6d6354; }
.match-steps {
  border-top: 1px solid rgba(13, 12, 10, 0.16);
  padding-top: 0.7cqw;
}
.match-steps ol { display: flex; flex-direction: column; gap: 0.25cqw; margin-top: 0.35cqw; }
.match-steps li {
  font-size: 0.78cqw;
  line-height: 1.3;
  color: #6d6354;
  padding-left: 2.2cqw;
  position: relative;
}
.match-steps li b {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6cqw;
  font-weight: 400;
  color: var(--orange-deep);
}
.color-right .mini-btn { margin-top: auto; font-size: 0.7cqw; }

.contract-copy { padding: 2.2cqw 2.2cqw 1.3cqw 2.8cqw; min-width: 0; display: flex; flex-direction: column; }
.contract-copy h3 { font-size: 3.05cqw; line-height: 0.98; letter-spacing: -0.05em; margin: 0.55cqw 0 1.1cqw; }
.contract-rows { display: flex; flex-direction: column; gap: 0; }
.contract-rows > div { border-top: 1px solid rgba(13, 12, 10, 0.12); padding: 0.62cqw 0; }
.contract-rows b { display: block; font-size: 1.08cqw; font-weight: 500; margin-bottom: 0.15cqw; }
.contract-rows p { font-size: 0.88cqw; line-height: 1.35; color: #6d6354; }
.contract-flow { margin-top: 0.9cqw; border-top: 1px solid rgba(13, 12, 10, 0.12); padding-top: 0.7cqw; }
.contract-flow ol { margin-top: 0.3cqw; display: flex; flex-direction: column; gap: 0.2cqw; }
.contract-flow li { font-size: 0.78cqw; line-height: 1.3; color: #6d6354; padding-left: 2.2cqw; position: relative; }
.contract-flow li b { position: absolute; left: 0; top: 0; font-family: "JetBrains Mono", monospace; font-size: 0.6cqw; font-weight: 400; color: var(--orange-deep); }
.contract-flow .concept-note { margin-top: 0.55cqw; }
.contract-side { padding: 2.2cqw 2.2cqw 1.3cqw 1.4cqw; border-left: 1px solid rgba(13, 12, 10, 0.1); display: flex; flex-direction: column; gap: 0.7cqw; }
.contract-card { background: #fffaf0; border: 1px solid rgba(13, 12, 10, 0.12); padding: 1.2cqw; width: 100%; display: flex; flex-direction: column; gap: 0.42cqw; }
.contract-card.secondary { background: transparent; }
.contract-card strong { font-size: 1.85cqw; letter-spacing: -0.03em; }
.contract-card strong.address-small { font-size: 1.15cqw; }
.contract-card p { font-family: "JetBrains Mono", monospace; font-size: 0.68cqw; text-transform: uppercase; letter-spacing: 0.04em; color: #6d6354; }
.contract-card p.concept-note { text-transform: none; letter-spacing: 0; font-size: 0.63cqw; line-height: 1.4; }
.contract-card .mini-btn { margin-top: 0.42cqw; }
.contract-card .mini-btn + .mini-btn { margin-top: 0; }

.phone-shell {
  flex: 0 0 auto;
  width: clamp(120px, 11vw, 168px);
  aspect-ratio: 9 / 19;
  border-radius: 18px;
  background: #0a0907;
  border: 1px solid #4a4238;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.phone-speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: #2c2721;
  z-index: 3;
}
.phone-screen {
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-size: 8px;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 7px 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 5.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.phone-top img { width: 14px; height: auto; }
.phone-top b { margin-left: auto; font-weight: 400; font-size: 8px; }
.phone-status {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 7px 5px;
  padding: 3px 4px;
  background: rgba(79, 123, 70, 0.1);
  color: #2f5e2c;
  font-family: "JetBrains Mono", monospace;
  font-size: 5px;
  text-transform: uppercase;
}
.phone-color {
  width: 100%;
  height: 27%;
  position: relative;
  background: linear-gradient(90deg,
    #c96f4a 0 12.5%, #d7a22b 12.5% 25%, #4f7b46 25% 37.5%, #2f7b75 37.5% 50%,
    #3a6a9b 50% 62.5%, #e06044 62.5% 75%, #c8a87a 75% 87.5%, #efe3ce 87.5% 100%);
  border-top: 1px solid rgba(13,12,10,.1);
  border-bottom: 1px solid rgba(13,12,10,.1);
}
.phone-color span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(10,9,7,.74);
  color: var(--cream);
  padding: 2px 4px;
}
.phone-copy { padding: 6px 7px; display: flex; flex-direction: column; gap: 3px; }
.phone-copy h4 { font-size: 12px; line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; }
.phone-copy p { font-size: 6px; line-height: 1.3; color: #6d6354; }
.phone-copy .mini-btn { font-size: 5px; padding: 4px 3px; margin-top: 2px; }
.phone-hours { margin-top: auto; padding: 5px 7px; border-top: 1px solid rgba(13, 12, 10, 0.12); font-family: "JetBrains Mono", monospace; font-size: 5px; line-height: 1.5; color: #6d6354; }

.stage-caption {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(244, 237, 224, 0.5);
  flex: 0 0 auto;
}
.stage-caption b { color: var(--orange); font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; }
.stage-caption-right { text-align: right; }

/* expanded concept */
body.detail-open { overflow: hidden; }
.detail-scrim {
  position: fixed;
  inset: 0;
  z-index: 84;
  background: rgba(8, 7, 6, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
body.detail-open .detail-scrim { opacity: 1; visibility: visible; }
.concept-browser.expanded {
  position: fixed;
  inset: 4.5vh 4vw 6.5vh;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  z-index: 86;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.concept-browser.expanded .concept-bar { height: 34px; flex-basis: 34px; }
.concept-browser.expanded .concept-app { font-size: 16px; }
.concept-browser.expanded .concept-app .concept-nav button { font-size: 12px; }
.concept-browser.expanded .concept-app .status { font-size: 11px; }
.concept-browser.expanded .concept-app .home-copy h3 { font-size: 58px; }
.concept-browser.expanded .concept-app .home-copy > p { font-size: 17px; }
.concept-browser.expanded .concept-app .home-copy h3 { font-size: clamp(40px, 3.4vw, 58px); }
.concept-browser.expanded .concept-app .home-copy > p { font-size: 17px; }
.concept-browser.expanded .concept-app .home-photo figcaption span { font-size: 14px; }
.concept-browser.expanded .concept-app .home-services { font-size: 10px; }
.concept-browser.expanded .concept-app .home-services b { font-size: 12px; }
.concept-browser.expanded .concept-app .mini-btn { font-size: 11px; padding: 9px 14px; }
.concept-browser.expanded .concept-app .concept-logo { width: 180px; }
.concept-browser.expanded .concept-app .concept-topline { padding: 14px 22px; gap: 26px; }
.concept-browser.expanded .concept-app .concept-nav { gap: 18px; }
.concept-browser.expanded .concept-app .concept-call { font-size: 11px; padding: 7px 12px; }
.concept-browser.expanded .concept-app .family { font-size: 11px; padding: 5px 9px; }
.concept-browser.expanded .concept-app .swatch-grid { gap: 7px; grid-template-columns: repeat(8, 1fr); }
.concept-browser.expanded .concept-app .concept-note { font-size: 11px; }
.concept-browser.expanded .concept-app .selected-color b { font-size: 18px; }
.concept-browser.expanded .concept-app .selected-color span:last-child { font-size: 11px; }
.concept-browser.expanded .concept-app .selected-chip { width: 64px; height: 64px; }
.concept-browser.expanded .concept-app .estimator > p { font-size: 13px; }
.concept-browser.expanded .concept-app .estimator-fields label { font-size: 10px; }
.concept-browser.expanded .concept-app .estimator-fields input,
.concept-browser.expanded .concept-app .estimator-fields select { width: 72px; font-size: 14px; padding: 7px 6px; }
.concept-browser.expanded .concept-app .est-result strong { font-size: 48px; }
.concept-browser.expanded .concept-app .est-result span { font-size: 11px; }
.concept-browser.expanded .concept-app .contract-copy h3 { font-size: 44px; }
.concept-browser.expanded .concept-app .contract-rows b { font-size: 17px; }
.concept-browser.expanded .concept-app .contract-rows p { font-size: 14px; }
.concept-browser.expanded .concept-app .contract-card strong { font-size: 30px; }
.concept-browser.expanded .concept-app .contract-card p { font-size: 11px; }
.concept-browser.expanded .concept-app .concept-panel { overflow: auto; }

/* ------------------------------------------------------------------ system */
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.1vw, 16px);
  flex: 1;
  min-height: 0;
}
.system-card {
  border-top: 2px solid var(--orange);
  padding: clamp(11px, 1.2vw, 18px) 0 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sys-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.system-card h3 {
  font-size: clamp(20px, 1.35vw, 26px);
  line-height: 1.05;
  margin-bottom: 6px;
}
.system-card p {
  font-size: clamp(16px, 0.9vw + 4px, 20px);
  line-height: 1.43;
  color: var(--muted-light);
  max-width: 42ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.chips span {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  border: 1px solid rgba(185, 84, 10, 0.28);
  border-radius: 2px;
  padding: 3px 6px;
  white-space: nowrap;
}
.outcome {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.outcome::before { content: "→ "; }
.system-note {
  flex: 0 0 auto;
  margin-top: clamp(10px, 1.6vh, 16px);
  background: var(--ink);
  color: var(--cream);
  padding: clamp(12px, 1.4vw, 18px) clamp(15px, 1.8vw, 24px);
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-radius: 3px;
}
.system-note .micro-label { color: var(--orange); white-space: nowrap; }
.system-note p { font-size: clamp(15.5px, 0.55vw + 7px, 17px); line-height: 1.45; color: #c6bbaa; max-width: 92ch; }

/* ------------------------------------------------------------------ proof */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  flex: 1;
  min-height: 0;
}
.proof-copy h2 { margin-bottom: clamp(10px, 1.6vh, 18px); }
.proof-copy .lead { max-width: 47ch; }
.proof-points { margin-top: clamp(12px, 2vh, 22px); display: flex; flex-direction: column; gap: 0; }
.proof-points li {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
  padding: 8px 0;
  font-size: clamp(15px, 0.55vw + 7px, 17px);
  line-height: 1.35;
  color: #d3c8b7;
}
.proof-points span { font-family: "JetBrains Mono", monospace; font-size: 9px; color: var(--orange); padding-top: 3px; }
.proof-source { margin-top: 14px; max-width: 48ch; }
.proof-visual { min-width: 0; }
.compare {
  position: relative;
  aspect-ratio: 1.436 / 1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
  background: #0a0907;
  --pos: 48%;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.compare-img.after { clip-path: inset(0 0 0 var(--pos)); }
.compare-label {
  position: absolute;
  top: 10px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(13, 12, 10, 0.76);
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.compare-label.before { left: 10px; }
.compare-label.after { right: 10px; color: var(--ink); background: var(--orange); }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: var(--orange);
  z-index: 4;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.compare-control {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 10px;
}
.compare-range {
  width: 100%;
  margin: 6px 0 0;
  accent-color: var(--orange);
  height: 18px;
}
.compare-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  line-height: 1.4;
  color: rgba(244, 237, 224, 0.48);
}
.compare-note span:last-child { text-align: right; }

/* ------------------------------------------------------------------ roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
  flex: 0 0 auto;
  align-items: start;
  min-height: 0;
}
.phase {
  border-top: 1px solid var(--line-light);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.phase-days {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.phase h3 {
  font-size: clamp(23px, 1.75vw, 32px);
  line-height: 1;
  margin: 4px 0 10px;
}
.phase ul { display: flex; flex-direction: column; gap: 0; }
.phase li {
  font-size: clamp(15px, 0.56vw + 7px, 18px);
  line-height: 1.36;
  color: var(--muted-light);
  padding: 6px 0 6px 15px;
  border-top: 1px solid rgba(13, 12, 10, 0.09);
  position: relative;
}
.phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}
.phase-owner, .phase-need {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--muted-light);
  padding-top: 6px;
  border-top: 1px solid rgba(13, 12, 10, 0.14);
  margin-top: auto;
}
.phase-need { border-top: 0; padding-top: 3px; }
.phase-owner b, .phase-need b {
  display: inline-block;
  font-weight: 400;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 5px;
}
.roadmap-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  margin-top: clamp(14px, 2.2vh, 24px);
  border-radius: 3px;
  overflow: hidden;
}
.roadmap-strip > div {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(11px, 1.3vw, 17px) clamp(13px, 1.5vw, 20px);
  border-left: 1px solid rgba(244, 237, 224, 0.1);
}
.roadmap-strip > div:first-child { border-left: 0; }
.roadmap-strip span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.roadmap-strip b {
  display: block;
  font-weight: 400;
  font-size: clamp(13px, 0.55vw + 6px, 15px);
  line-height: 1.4;
  color: #d2c7b6;
}
.roadmap-close {
  margin-top: auto;
  padding-top: clamp(16px, 2.5vh, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 42px);
  flex-wrap: wrap;
}
.roadmap-quote {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 60%;
}
.roadmap-quote em { color: var(--orange-deep); }
.roadmap-measure { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 46%; }
.roadmap-measure span {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-light);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 4px 6px;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ engagement */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  flex: 0 0 auto;
  align-items: stretch;
  min-height: 0;
}
.engage-card {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  padding: clamp(14px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255, 255, 255, 0.02);
}
.engage-card.recommended {
  border-color: var(--orange);
  background: rgba(242, 138, 30, 0.06);
  box-shadow: inset 0 0 0 1px rgba(242, 138, 30, 0.18);
}
.rec-tag {
  position: absolute;
  top: -9px;
  left: 16px;
  background: var(--orange);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
}
.engage-name {
  display: block;
  font-size: clamp(22px, 1.65vw, 29px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.engage-sub {
  display: block;
  font-size: clamp(13.5px, 0.5vw + 7px, 15px);
  line-height: 1.35;
  color: var(--muted-dark);
  margin-top: 5px;
  min-height: 2.6em;
}
.engage-card ul { margin: 12px 0 10px; display: flex; flex-direction: column; gap: 0; }
.engage-card li {
  font-size: clamp(15px, 0.75vw + 5px, 18px);
  line-height: 1.35;
  color: #d2c7b6;
  padding: 5px 0 5px 15px;
  border-top: 1px solid rgba(244, 237, 224, 0.08);
  position: relative;
}
.engage-card li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-size: 9px; top: 7px; }
.engage-best {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted-dark);
  padding-top: 8px;
  border-top: 1px solid rgba(244, 237, 224, 0.1);
  margin-top: auto;
}
.engage-best b { color: var(--orange); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px; }
.engage-btn {
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(244, 237, 224, 0.24);
  border-radius: 3px;
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.engage-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.recommended .engage-btn { border-color: rgba(242, 138, 30, 0.6); color: var(--orange); }
.recommended .engage-btn:hover { color: var(--ink); }
.engage-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 36px);
  margin-top: clamp(14px, 2vh, 22px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(12px, 1.5vw, 18px);
}
.engage-bottom span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.engage-bottom b { display: block; font-size: clamp(16px, 1vw + 3px, 19px); font-weight: 500; letter-spacing: -0.02em; }
.engage-bottom p { margin-top: 3px; font-size: clamp(13.5px, 0.45vw + 7px, 15px); line-height: 1.4; color: var(--muted-dark); }

/* ------------------------------------------------------------------ close */
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 3.4vw, 54px);
  flex: 0 0 auto;
  align-items: start;
  min-height: 0;
}
.close-left { display: flex; flex-direction: column; min-height: 0; }
.close h2 { font-size: clamp(30px, 3vw, 49px); margin-bottom: clamp(10px, 1.6vh, 18px); }
.rep { display: flex; gap: clamp(16px, 1.7vw, 26px); align-items: flex-start; margin-top: 2px; }
.rep-portrait {
  flex: 0 0 auto;
  width: clamp(170px, 15vw, 248px);
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--cream-2);
}
.rep-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.rep-copy { min-width: 0; }
.rep-copy h3 { font-size: clamp(24px, 1.9vw, 32px); line-height: 1; margin: 3px 0 2px; }
.rep-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.rep-note {
  font-size: clamp(16px, 0.6vw + 7px, 19px);
  line-height: 1.47;
  color: var(--muted-light);
  margin: 9px 0 10px;
  max-width: 42ch;
}
.rep-contact { display: flex; flex-direction: column; gap: 3px; }
.rep-contact a {
  font-size: clamp(15px, 0.52vw + 7px, 16.5px);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
  border-bottom: 1px solid rgba(13, 12, 10, 0.14);
}
.rep-contact a:hover { border-color: var(--orange); color: var(--orange-deep); }
.rep-place {
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
}
.rep-cover {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
}
.rep-cover ul { margin-top: 5px; display: flex; flex-direction: column; gap: 2px; }
.rep-cover li {
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--muted-light);
  padding-left: 13px;
  position: relative;
}
.rep-cover li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--orange-deep); font-size: 10px; }
.close-kicker { margin-bottom: 8px; }
.close-right { display: flex; flex-direction: column; min-height: 0; }
.scheduler {
  border: 1px solid var(--line-light);
  background: #fbf6eb;
  border-radius: 5px;
  padding: clamp(13px, 1.5vw, 20px);
  box-shadow: 0 16px 38px rgba(13, 12, 10, 0.07);
}
.scheduler-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tz {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.scheduler-illustrative {
  margin: 3px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: var(--muted-light);
}
.date-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 9px 0 6px; }
.date {
  background: transparent;
  border: 1px solid rgba(13, 12, 10, 0.16);
  border-radius: 2px;
  padding: 5px 2px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: var(--ink);
  min-height: 44px;
}
.date span { font-family: "JetBrains Mono", monospace; font-size: 8.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-light); }
.date b { font-size: 14px; font-weight: 500; line-height: 1.1; }
.date.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.date.on span { color: rgba(244, 237, 224, 0.6); }
.time-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.time {
  background: transparent;
  border: 1px solid rgba(13, 12, 10, 0.16);
  border-radius: 2px;
  padding: 7px 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
}
.time.on { background: var(--orange); border-color: var(--orange); }
.draft {
  margin-top: 11px;
  border-top: 1px solid var(--line-light);
  padding-top: 8px;
}
.draft-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.draft-flag { color: var(--orange-deep); border: 1px solid rgba(185, 84, 10, 0.32); padding: 1px 4px; border-radius: 2px; }
.draft dl { margin: 6px 0 5px; display: flex; flex-direction: column; gap: 2px; }
.draft dl > div { display: flex; gap: 8px; align-items: baseline; }
.draft dt {
  flex: 0 0 45px;
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.draft dd { font-size: 11.5px; line-height: 1.3; color: var(--ink); }
.draft-note { font-family: "JetBrains Mono", monospace; font-size: 8.5px; line-height: 1.4; color: var(--muted-light); }
.draft-btn { width: 100%; margin-top: 9px; }
.scheduler-note {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--muted-light);
  text-align: center;
}
.scheduler-note a { color: var(--orange-deep); text-decoration: none; }
.close-card {
  margin-top: 10px;
  border-top: 1px solid var(--line-light);
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
}
.close-card .micro-label { grid-column: 1 / -1; margin-bottom: 3px; }
.close-card strong { font-size: 14px; font-weight: 500; }
.close-card p { font-size: 12.5px; line-height: 1.35; color: var(--muted-light); }
.close-card a { color: var(--ink); text-decoration: none; }
.close-hours { text-align: right; font-family: "JetBrains Mono", monospace; font-size: 10.5px !important; line-height: 1.5; }
.close-bottom {
  margin-top: auto;
  padding-top: clamp(12px, 1.8vh, 20px);
  border-top: 1px solid var(--line-light);
}
.close-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
}
.close-next > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 9px;
}
.close-next span {
  grid-row: 1 / 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--orange-deep);
  padding-top: 2px;
}
.close-next b { font-size: 14px; font-weight: 500; line-height: 1.2; }
.close-next p { font-size: 12.5px; line-height: 1.35; color: var(--muted-light); margin-top: 2px; }
.close-line {
  margin-top: clamp(12px, 1.8vh, 20px);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.2;
  color: var(--orange-deep);
}

/* ------------------------------------------------------------------ index */
.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 9, 7, 0.95);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  overflow-y: auto;
  color: var(--cream);
}
.index-overlay.open { opacity: 1; visibility: visible; }
.index-inner { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 5vh, 60px) clamp(20px, 4vw, 54px); }
.index-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.index-head h2 { font-size: clamp(30px, 3vw, 48px); }
.index-close {
  background: none;
  border: 1px solid rgba(244, 237, 224, 0.3);
  border-radius: 999px;
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  cursor: pointer;
}
.index-close:hover { border-color: var(--orange); color: var(--orange); }
.index-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: clamp(20px, 4vh, 38px); }
.index-card {
  position: relative;
  aspect-ratio: 1 / 1.18;
  border: 1px solid rgba(244, 237, 224, 0.12);
  border-radius: 3px;
  background: linear-gradient(145deg, var(--swatch, #2a241c), #13100c);
  padding: 12px;
  text-align: left;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}
.index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 7, 0.9), transparent 55%);
}
.index-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.index-card .ic-num { position: relative; z-index: 1; font-family: "JetBrains Mono", monospace; font-size: 9px; color: var(--orange); }
.index-card .ic-label { position: relative; z-index: 1; margin-top: auto; font-size: clamp(14px, 1vw, 17px); line-height: 1.1; letter-spacing: -0.02em; }
.index-card .ic-desc { position: relative; z-index: 1; margin-top: 3px; font-family: "JetBrains Mono", monospace; font-size: 7.5px; letter-spacing: 0.03em; color: rgba(244, 237, 224, 0.55); line-height: 1.3; }
.index-card.on { border-color: var(--orange); }
.index-foot { margin-top: 24px; font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 237, 224, 0.4); }

/* ------------------------------------------------------------------ toast / boom */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom) + 16px);
  transform: translate(-50%, 8px);
  z-index: 95;
  background: var(--orange);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.boom-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1400px) {
  .finding { padding: 9px 13px; }
  .finding-top { margin-bottom: 3px; }
  .finding h3 { font-size: 19px; margin-bottom: 3px; }
  .finding p { line-height: 1.36; }
  .finding .source { padding-top: 4px; }
  .path-wrap { gap: 6px; }
  .path-list li { padding: 2px 0; }
  .path-col.proposed { padding-bottom: 8px; }
  .path-payoff { margin-top: 4px; padding-top: 4px; }
}

@media (max-width: 1280px) {
  .cover-copy { max-width: 52vw; }
  .cover-aside { max-width: 235px; }
  .chrome-section { display: none; }
  .index-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1099px) {
  :root { --chrome: 58px; --bottom: 58px; --pad: clamp(18px, 3vw, 36px); }
  .chrome-brand { gap: 7px; }
  .bc-mark { height: 15px; }
  .client-chip { padding: 2px 6px; }
  .client-chip img { height: 15px; }
  .bottom-prep { display: none; }
  .slide-head, .flagship-head { grid-template-columns: 1fr; gap: 10px; }
  .slide-intro { border-left: 0; border-top: 1px solid var(--line-light); padding: 8px 0 0; max-width: 68ch; }
  .slide.dark .slide-intro { border-top-color: var(--line-dark); }
  .cover { display: grid; grid-template-rows: 36vh minmax(0, 1fr); padding-top: var(--chrome); }
  .cover-stage { opacity: 0.82; }
  .cover-still { position: relative; grid-row: 1; inset: auto; height: 36vh; overflow: hidden; }
  .cover-still > img { object-fit: cover; object-position: 72% 50%; transform: scale(1.12); }
  .cover-grid { grid-row: 2; display: block; overflow-y: auto; padding: 0 var(--pad) calc(var(--bottom) + 18px); height: 100%; }
  .cover-copy { max-width: none; padding-top: 12px; }
  .cover-aside { display: none; }
  .cover-foot { display: none; }
  .counter-grid { grid-template-columns: 1fr; overflow: visible; }
  .counter-copy { flex: 0 0 auto; }
  .counter-visual { flex: 0 0 auto; min-height: 420px; }
  .photo-main { flex: 0 0 auto; aspect-ratio: 16 / 10; }
  .staff-block { margin-top: 14px; }
  .audit-grid { grid-template-columns: 1fr 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
  .gap-evidence { max-width: 620px; }
  .path-wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .flagship .stage { min-height: 480px; }
  .concept-browser { width: min(84%, 1000px); height: auto; aspect-ratio: 16 / 9; }
  .phone-shell { width: clamp(110px, 12vw, 140px); }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-visual { max-width: 760px; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  .phase:last-child { grid-column: 1 / -1; }
  .phase:last-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .engage-grid { grid-template-columns: 1fr; }
  .engage-card { display: grid; grid-template-columns: 1.1fr 1.2fr .8fr; gap: 0 18px; align-items: start; }
  .engage-top { grid-row: 1 / 3; }
  .engage-sub { min-height: 0; }
  .engage-card ul { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .engage-best { grid-column: 3; grid-row: 1; border-top: 0; padding-top: 0; }
  .engage-btn { grid-column: 3; grid-row: 2; align-self: end; }
  .close-grid { grid-template-columns: 1fr; }
  .rep-portrait { width: 150px; }
  .close-right { margin-top: 4px; }
  .index-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 899px) {
  :root { --chrome: 56px; --bottom: 60px; --pad: 18px; }
  body { overflow: hidden; }
  .chrome {
    background: var(--ink) !important;
    color: var(--cream) !important;
    border-bottom: 1px solid rgba(244, 237, 224, 0.12);
  }
  body.theme-light .chrome {
    background: var(--cream) !important;
    color: var(--ink) !important;
    border-bottom: 1px solid rgba(13, 12, 10, 0.16);
  }
  body.theme-light .bc-mark { filter: brightness(0); }
  .chrome-index { font-size: 9px; padding: 4px 8px; }
  .chrome-count { font-size: 10px; }
  .chrome-right { gap: 8px; }
  .bc-mark { height: 14px; }
  .client-chip { padding: 2px 5px; }
  .client-chip img { height: 14px; }
  .chrome-x { font-size: 15px; }
  .bottom {
    background: var(--ink) !important;
    color: var(--cream) !important;
    border-top: 1px solid rgba(244, 237, 224, 0.12);
    font-size: 9px;
    padding: 0 14px;
  }
  body.theme-light .bottom {
    background: var(--cream) !important;
    color: var(--ink) !important;
    border-top: 1px solid rgba(13, 12, 10, 0.16);
  }
  .bottom-private { display: none; }
  .bottom::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--bottom);
    height: 24px;
    background: linear-gradient(to top, var(--ink), transparent);
    pointer-events: none;
    z-index: 79;
  }
  body.theme-light .bottom::before { background: linear-gradient(to top, var(--cream), transparent); }
  .bottom-nav { margin-left: auto; }
  .bottom-nav button { padding: 6px 10px; font-size: 9px; }
  .rail { display: none; }
  .slide-pad { display: block; padding: calc(var(--chrome) + 14px) var(--pad) calc(var(--bottom) + 28px); }
  .scroll { -webkit-overflow-scrolling: touch; }

  .cover { display: grid; grid-template-rows: 34vh minmax(0, 1fr); padding-top: var(--chrome); }
  .cover-stage { opacity: 0.7; }
  .cover-still { position: relative; grid-row: 1; inset: auto; height: 34vh; overflow: hidden; }
  .cover-still > img { object-fit: contain; object-position: center 38%; transform: scale(1.02); }
  .still-fallback { right: 8%; top: 10%; width: 52%; }
  .cover-grid {
    grid-row: 2;
    display: block;
    overflow-y: auto;
    padding: 0 var(--pad) calc(var(--bottom) + 18px);
    height: 100%;
  }
  .cover-copy { max-width: none; padding-top: 12px; }
  .cover h1 { font-size: clamp(36px, 9.2vw, 48px); line-height: 0.93; }
  .cover .lead { font-size: 16.5px; line-height: 1.5; }
  .cover-actions { gap: 8px; }
  .btn { font-size: 10px; padding: 10px 14px; }
  .cover-facts { flex-direction: column; gap: 5px; }
  .cover-aside { display: none; }
  .cover-stamp { border-left-color: var(--orange); }
  .cover-foot { display: none; }

  .slide-head { margin-bottom: 14px; }
  h2 { font-size: clamp(30px, 7.3vw, 40px); }
  .slide-intro { font-size: 15.5px; }
  .lead { font-size: 16.5px; }

  .counter-grid { display: block; }
  .counter-visual { min-height: 0; margin-top: 18px; }
  .photo-main { aspect-ratio: 16 / 10; }
  .photo-inset { width: 112px; top: 12px; left: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .counter-pull { font-size: 22px; }
  .brand-strip p { font-size: 11px; }
  .staff-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .staff img { width: 42px; height: 42px; }
  .staff b { font-size: 13.5px; }
  .staff span { font-size: 8.5px; }
  .counter-fact { grid-template-columns: auto 1fr auto 1fr; gap: 6px; }
  .counter-fact strong:nth-of-type(3), .counter-fact span:nth-of-type(3) { display: none; }
  .scroll-hint { display: none; }

  .audit-grid { grid-template-columns: 1fr; gap: 9px; flex: 0 0 auto; }
  .finding { padding: 12px 14px; }
  .finding p { font-size: 15.5px; }
  .also-observed { font-size: 9px; }

  .gap-head { margin-bottom: 12px; }
  .gap-grid { display: block; }
  .gap-evidence { max-width: none; }
  .evidence-callout { width: 64px; }
  .evidence-callout b { font-size: 26px; }
  .gap-pull { font-size: 23px; max-width: 24ch; }
  .path-wrap { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
  .path-col { padding-top: 10px; }
  .path-col.proposed { padding: 12px 13px 14px; }
  .path-list { grid-template-columns: 1fr; }
  .path-list li > div { padding-right: 0; }
  .path-tag { position: static; margin-top: 3px; }
  .path-list b { font-size: 15px; }
  .path-list p { font-size: 14px; }
  .path-payoff strong { font-size: 20px; }

  .flagship-head { display: block; margin-bottom: 12px; }
  .stage { flex: 0 0 auto; padding: 8px; min-height: 0; border-radius: 8px; }
  .studio { display: block; }
  .concept-browser { width: 100%; max-width: none; height: auto; aspect-ratio: auto; max-height: none; border-radius: 5px; }
  .phone-shell { display: none; }
  .concept-bar { height: 30px; flex-basis: 30px; }
  .concept-bar .url { font-size: 8px; }
  .expand-btn { display: none; }
  .concept-app { font-size: 13px; container-type: normal; min-height: 0; }
  .concept-topline { padding: 10px; gap: 8px; flex-wrap: wrap; }
  .concept-logo { width: 110px; }
  .concept-nav { margin-left: 0; gap: 8px; width: 100%; order: 3; border-top: 1px solid rgba(13,12,10,.1); padding-top: 6px; }
  .concept-nav button { font-size: 10px; }
  .concept-call { margin-left: auto; font-size: 9px; padding: 5px 7px; }
  .concept-panel.active { display: block; }
  .concept-panels { overflow: visible; max-height: none; }
  #panel-home, #panel-color, #panel-contract { display: none; }
  #panel-home.active, #panel-color.active, #panel-contract.active { display: block; }
  .home-copy { padding: 14px 14px 10px; }
  .home-copy h3 { font-size: 34px; }
  .home-copy > p { font-size: 13px; }
  .status { font-size: 8px; margin-bottom: 10px; }
  .home-actions { margin-top: 12px; }
  .mini-btn { font-size: 10px; padding: 7px 9px; }
  .home-services { margin-top: 14px; font-size: 8px; gap: 10px; }
  .home-services b { font-size: 9px; }
  .home-photo { height: 180px; }
  .home-photo figcaption { padding: 20px 12px 10px; }
  .home-photo figcaption span { font-size: 10px; }
  .home-photo figcaption b { font-size: 7px; }
  .color-left { padding: 12px; }
  .family { font-size: 9px; padding: 4px 7px; }
  .swatch-grid { grid-template-columns: repeat(8, 1fr); gap: 4px; }
  .concept-note { font-size: 8.5px; }
  .match-steps li { font-size: 11px; padding-left: 18px; }
  .match-steps li b { font-size: 8px; }
  .color-right { border-left: 0; border-top: 1px solid rgba(13,12,10,.1); padding: 12px; gap: 10px; }
  .selected-chip { width: 40px; height: 40px; }
  .selected-color b { font-size: 15px; }
  .selected-color span:last-child { font-size: 9px; }
  .estimator > p { font-size: 10px; }
  .estimator-fields label { font-size: 8px; }
  .estimator-fields input, .estimator-fields select { width: 56px; min-width: 56px; font-size: 12px; padding: 5px 4px; }
  .estimator-fields label span { font-size: 8px; }
  .est-result strong { font-size: 32px; }
  .est-result span { font-size: 9px; }
  .contract-copy { padding: 14px; }
  .contract-copy h3 { font-size: 30px; margin: 6px 0 10px; }
  .contract-rows b { font-size: 13px; }
  .contract-rows p { font-size: 11px; }
  .contract-flow li { font-size: 11px; padding-left: 18px; }
  .contract-flow li b { font-size: 8px; }
  .contract-side { border-left: 0; border-top: 1px solid rgba(13,12,10,.1); padding: 12px; }
  .contract-card { padding: 12px; }
  .contract-card strong { font-size: 20px; }
  .contract-card strong.address-small { font-size: 16px; }
  .contract-card p { font-size: 8px; }
  .stage-caption { display: block; font-size: 8px; line-height: 1.5; padding: 8px 2px 0; }
  .stage-caption-right { text-align: left; margin-top: 3px; }

  .system-grid { display: block; flex: 0 0 auto; }
  .system-card { border-top: 1px solid var(--line-light); padding: 14px 0; min-height: 0; }
  .system-card:first-child { border-top: 2px solid var(--orange); }
  .system-card h3 { font-size: 21px; }
  .system-card p { font-size: 15.5px; }
  .system-note { display: block; margin-top: 14px; }
  .system-note p { margin-top: 5px; }

  .proof-grid { display: block; }
  .proof-visual { margin-top: 18px; }
  .compare-note { display: block; }
  .compare-note span { display: block; }
  .compare-note span:last-child { text-align: left; margin-top: 2px; }

  .roadmap-grid { display: block; }
  .roadmap-strip { grid-template-columns: 1fr; }
  .roadmap-strip > div { border-left: 0; border-top: 1px solid rgba(244, 237, 224, 0.1); }
  .roadmap-strip > div:first-child { border-top: 0; }
  .roadmap-close { display: block; margin-top: 18px; padding-top: 18px; }
  .roadmap-quote { font-size: 27px; max-width: none; }
  .roadmap-measure { justify-content: flex-start; max-width: none; margin-top: 10px; }
  .phase { padding: 12px 0; border-top: 1px solid var(--line-light); }
  .phase:first-child { border-top: 2px solid var(--orange); }
  .phase:last-child { grid-column: auto; }
  .phase:last-child ul { display: flex; }
  .phase h3 { font-size: 26px; }
  .phase li { font-size: 15.5px; }
  .phase-owner, .phase-need { font-size: 8.5px; }

  .engage-grid { display: block; }
  .engage-bottom { grid-template-columns: 1fr; gap: 12px; }
  .engage-card { display: flex; padding: 16px; margin-bottom: 10px; }
  .engage-top { display: block; }
  .engage-sub { min-height: 0; }
  .engage-card ul { margin: 10px 0; }
  .engage-best { border-top: 1px solid rgba(244,237,224,.1); padding-top: 8px; }
  .engage-btn { width: 100%; }
  .engage-note { font-size: 8px; }

  .close-grid { display: block; }
  .close h2 { font-size: 34px; }
  .rep { display: block; }
  .rep-portrait { width: 140px; margin-bottom: 12px; }
  .rep-copy h3 { font-size: 27px; }
  .rep-note { font-size: 15.5px; }
  .close-right { margin-top: 18px; }
  .close-next { grid-template-columns: 1fr; gap: 10px; }
  .close-bottom { margin-top: 18px; }
  .date-row { gap: 4px; }
  .date b { font-size: 12px; }
  .date span { font-size: 7px; }
  .time { font-size: 10px; }
  .draft dd { font-size: 10px; }
  .close-card { margin-top: 14px; }
  .close-line { margin-top: 16px; }

  .index-grid { grid-template-columns: 1fr 1fr; }
  .index-inner { padding: 22px 16px; }
  .index-head h2 { font-size: 30px; }
  .index-card { aspect-ratio: 1 / 1.05; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .home-photo { height: 310px; }
}

@media (min-width: 2000px) and (max-height: 1000px) {
  .compare { aspect-ratio: 1.52 / 1; }
}

@media (max-width: 420px) {
  :root { --pad: 15px; }
  .close .slide-pad, .proof .slide-pad { padding-bottom: calc(var(--bottom) + 68px); }
  .chrome-brand { gap: 5px; }
  .bc-mark { height: 12px; }
  .client-chip img { height: 12px; }
  .client-chip { padding: 2px 4px; }
  .chrome-index { display: none; }
  .chrome-count { font-size: 9.5px; }
  .bottom-count { display: none; }
  .bottom-index { display: inline-flex; }
  .cover h1 { font-size: 35px; }
  .cover { grid-template-rows: 31vh 1fr; }
  .cover-still { height: 31vh; }
  .home-copy h3 { font-size: 31px; }
  .swatch-grid { grid-template-columns: repeat(6, 1fr); }
  .date-row { grid-template-columns: repeat(3, 1fr); }
  .date:nth-child(n+4) { display: none; }
  .time-row { grid-template-columns: 1fr 1fr; }
  .rep-portrait { width: 120px; }
  .close h2 { font-size: 31px; }
  .index-grid { grid-template-columns: 1fr; }
  .index-card { aspect-ratio: auto; min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  body.is-shaking { animation: none !important; }
}

/* ====================================================================================================
   COMPLETION PASS (Sonnet 5.5, 2026-10-31): paint-break stage, inline icons, readable-size floors.
   Everything below intentionally comes last so it wins over the earlier tiny-type values.
   ==================================================================================================== */

:root {
  --label: clamp(13px, 0.38vw + 8px, 15px);
  --label-sm: clamp(12.5px, 0.3vw + 8.4px, 14px);
  --note: clamp(14px, 0.42vw + 8px, 16px);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- inline icons (never Unicode glyphs) */
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -0.14em;
}
.browser-bar .lock .ico { width: 12px; height: 12px; vertical-align: -2px; }
.compare-handle span .ico { width: 20px; height: 20px; }
.phone-top b .ico { width: 10px; height: 10px; }
.outcome::before,
.engage-card li::before,
.rep-cover li::before {
  content: "";
  background: currentColor;
  -webkit-mask: var(--chev) center / contain no-repeat;
  mask: var(--chev) center / contain no-repeat;
}
.outcome::before { display: inline-block; width: 1em; height: 1em; vertical-align: -0.17em; margin-right: 8px; }
.engage-card li::before { width: 13px; height: 13px; top: 9px; }
.rep-cover li::before { width: 12px; height: 12px; top: 5px; }

/* ---------------------------------------------------------------- cover -> next: charge, lifted 3D layer, reveal */
#hero-scene.hero-lifted {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 58;
  pointer-events: none;
}
.slide.charging .cover-copy,
.slide.charging .cover-aside,
.slide.charging .cover-foot {
  opacity: 0.5;
  transform: translateX(-1.4%);
  transition: opacity 380ms ease, transform 380ms ease;
}
body.is-charging .cover-glow {
  filter: blur(4px) brightness(1.7) saturate(1.35);
  transition: filter 380ms ease;
}
.slide.break-out {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  animation: breakOut 760ms cubic-bezier(0.4, 0, 0.6, 1) both;
}
@keyframes breakOut {
  0% { opacity: 1; transform: none; }
  50% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.035); }
}
.slide.break-in {
  opacity: 1;
  visibility: visible;
  z-index: 4;
  animation: none;
  transform: none;
}

/* ---------------------------------------------------------------- "more below" cue: dense slides scroll on purpose */
.scroll-hint { display: none; }
.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom) + 12px);
  transform: translate(-50%, 8px);
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  background: rgba(13, 12, 10, 0.94);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease, background 160ms ease;
}
.scroll-cue.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.scroll-cue:hover { background: var(--orange); color: var(--ink); }
.scroll-cue .ico { animation: cueBob 1.5s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
body.theme-light .scroll-cue {
  background: rgba(244, 237, 224, 0.97);
  color: var(--ink);
  border-color: var(--orange-deep);
  box-shadow: 0 10px 30px rgba(13, 12, 10, 0.18);
}
body.theme-light .scroll-cue:hover { background: var(--orange); }

/* ---------------------------------------------------------------- readable-size floors (labels, notes, controls) */
.chrome-section, .chrome-index, .chrome-count, .bottom, .bottom-nav button, .kicker, .micro-label, .btn,
.cover-facts, .cover-facts span, .cover-stamp-label, .cover-foot, .service-num, .staff span, .photo-tag,
.counter-fact span, .sev, .finding-id, .also-observed, .browser-bar, .browser-flag, .step-num, .path-tag,
.sys-num, .chips span, .outcome, .proof-points span, .compare-label, .compare-control, .compare-note,
.phase-days, .phase-owner, .phase-need, .roadmap-strip span, .roadmap-measure span, .engage-best, .rec-tag,
.engage-bottom span, .engage-btn, .rep-role, .rep-place, .tz, .scheduler-illustrative, .date span, .time,
.draft-head, .draft dt, .draft-note, .scheduler-note, .close-next span, .index-close, .index-card .ic-num,
.index-foot, .toast, .stage-caption, .photo-inset figcaption, .evidence-browser figcaption, .evidence-callout span {
  font-size: var(--label);
}
.source, .finding .source, .cover-ticker, .index-card .ic-desc { font-size: var(--label-sm); }
.cover-ticker { color: rgba(244, 237, 224, 0.76); }

.brand-strip p, .photo-main figcaption span:last-child, .path-payoff span, .engage-sub, .engage-bottom p,
.close-card p, .close-next p, .rep-cover li, .draft dd, .cover-stamp span:not(.cover-stamp-label) {
  font-size: var(--note);
}
.staff b { font-size: clamp(13.5px, 0.4vw + 8px, 15.5px); white-space: normal; line-height: 1.15; }
.roadmap-strip b { font-size: clamp(14px, 0.5vw + 8px, 16.5px); }
.close-card strong, .close-next b { font-size: clamp(15px, 0.45vw + 9px, 17px); }
.close-hours { font-size: var(--label) !important; }
.cover-stamp strong { font-size: clamp(17px, 0.6vw + 9px, 21px); }

.finding-id { color: rgba(244, 237, 224, 0.62); }
.compare-note { color: rgba(244, 237, 224, 0.74); }
.index-card .ic-desc { color: rgba(244, 237, 224, 0.82); }
.index-foot { color: rgba(244, 237, 224, 0.64); }
.cover-foot { color: rgba(244, 237, 224, 0.76); }
.stage-caption { color: rgba(244, 237, 224, 0.76); flex-wrap: wrap; }
.also-observed { color: rgba(244, 237, 224, 0.74); }
.bottom-private { opacity: 0.78; }
.chrome-section { opacity: 0.82; }

.btn { padding: 12px 20px; }
.bottom-nav button { padding: 8px 15px; }
.chrome-index { padding: 6px 12px; }
.engage-btn { padding: 11px 12px; }
.rec-tag { top: -12px; }
.draft dt { flex-basis: 76px; }
.scheduler .time { padding: 9px 4px; }
.evidence-callout span { padding: 0 5px; }

@media (max-width: 1280px) {
  .bottom-private { display: none; }
}
@media (min-width: 900px) {
  .path-list li > div { padding-right: 124px; }
  .proposed-list li > div,
  .current .path-list li:first-child > div { padding-right: 0; }
  .path-tag { top: 4px; }
}

/* ---------------------------------------------------------------- website concept: stage preview + readable view */
.expand-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.expand-btn:hover { background: var(--orange-2); border-color: var(--orange-2); color: var(--ink); }
.concept-pill { font-size: 9.5px; padding: 2px 6px; }
.concept-bar .url { font-size: 10.5px; }
/* the miniature phone repeats the Home panel; keep its smallest text from collapsing to 5px */
.phone-top { font-size: 7px; }
.phone-status, .phone-color span, .phone-hours { font-size: 6.8px; }
.phone-copy h4 { font-size: 13px; }
.phone-copy p { font-size: 8px; }
.phone-copy .mini-btn { font-size: 7px; padding: 5px 3px; }
.phone-top b { font-size: 10px; }

.concept-browser.expanded .concept-bar .url { font-size: 13px; }
.concept-browser.expanded .concept-pill { font-size: 11px; }
.concept-browser.expanded .expand-btn { font-size: 13px; padding: 6px 14px; }
.concept-browser.expanded .concept-app .concept-nav button { font-size: 14px; }
.concept-browser.expanded .concept-app .status { font-size: 13px; }
.concept-browser.expanded .concept-app .home-copy > p { font-size: 18px; }
.concept-browser.expanded .concept-app .home-photo figcaption span { font-size: 15px; }
.concept-browser.expanded .concept-app .home-photo figcaption b { font-size: 12px; }
.concept-browser.expanded .concept-app .home-services { font-size: 13px; }
.concept-browser.expanded .concept-app .home-services b { font-size: 14px; }
.concept-browser.expanded .concept-app .mini-btn { font-size: 13px; padding: 10px 16px; }
.concept-browser.expanded .concept-app .concept-call { font-size: 13px; padding: 8px 14px; }
.concept-browser.expanded .concept-app .family { font-size: 13px; padding: 6px 11px; }
.concept-browser.expanded .concept-app .concept-note { font-size: 13px; }
.concept-browser.expanded .concept-app .selected-color b { font-size: 20px; }
.concept-browser.expanded .concept-app .selected-color span:last-child { font-size: 13px; }
.concept-browser.expanded .concept-app .estimator > p { font-size: 15px; }
.concept-browser.expanded .concept-app .estimator-fields label { font-size: 13px; }
.concept-browser.expanded .concept-app .estimator-fields input,
.concept-browser.expanded .concept-app .estimator-fields select { font-size: 15px; }
.concept-browser.expanded .concept-app .estimator-fields label span { font-size: 12px; }
.concept-browser.expanded .concept-app .est-result span { font-size: 13px; }
.concept-browser.expanded .concept-app .match-steps li { font-size: 15px; padding-left: 30px; }
.concept-browser.expanded .concept-app .match-steps li b { font-size: 12px; }
.concept-browser.expanded .concept-app .contract-rows b { font-size: 18px; }
.concept-browser.expanded .concept-app .contract-rows p { font-size: 15px; }
.concept-browser.expanded .concept-app .contract-flow li { font-size: 15px; padding-left: 30px; }
.concept-browser.expanded .concept-app .contract-flow li b { font-size: 12px; }
.concept-browser.expanded .concept-app .contract-card p { font-size: 13px; }
.concept-browser.expanded .concept-app .color-right .mini-btn { font-size: 13px; }

/* ---------------------------------------------------------------- phone and tablet: nothing below a readable floor */
@media (max-width: 899px) {
  .chrome-index { font-size: 11px; padding: 5px 10px; }
  .chrome-count { font-size: 11.5px; }
  .bottom { font-size: 11px; }
  .bottom-nav button { font-size: 11.5px; padding: 8px 12px; }
  .btn { font-size: 12.5px; padding: 11px 16px; }
  .cover-facts { font-size: 12px; }
  .cover-facts span { font-size: 11px; }
  .kicker { font-size: 12px; }
  .micro-label { font-size: 12px; }
  .brand-strip p { font-size: 13.5px; }
  .staff span { font-size: 11.5px; }
  .staff b { font-size: 14px; }
  .also-observed { font-size: 12px; }
  .source, .finding .source { font-size: 12px; }
  .photo-inset figcaption { font-size: 10.5px; }
  .counter-fact span { font-size: 12px; }
  .phase-owner, .phase-need { font-size: 12px; }
  .chips span { font-size: 12px; }
  .outcome { font-size: 12.5px; }
  .engage-best { font-size: 12.5px; }
  .engage-sub { font-size: 14px; }
  .engage-bottom p { font-size: 14px; }
  .roadmap-measure span { font-size: 11.5px; }
  .roadmap-strip span { font-size: 11.5px; }
  .roadmap-strip b { font-size: 14px; }
  .compare-control, .compare-note, .compare-label { font-size: 11.5px; }
  .date span { font-size: 11px; }
  .date b { font-size: 14px; }
  .time { font-size: 13px; }
  .draft dd { font-size: 13px; }
  .draft dt, .draft-head, .draft-note, .scheduler-illustrative, .scheduler-note, .tz { font-size: 11.5px; }
  .draft dt { flex-basis: 64px; }
  .close-next p, .close-card p { font-size: 14px; }
  .close-next b, .close-card strong { font-size: 15.5px; }
  .close-hours { font-size: 12.5px !important; }
  .rep-role { font-size: 12px; }
  .rep-place { font-size: 12px; }
  .rep-cover li { font-size: 14.5px; }
  .index-card .ic-num { font-size: 11px; }
  .index-card .ic-desc { font-size: 12px; }
  .index-foot { font-size: 11px; }
  .index-close { font-size: 12px; }
  .toast { font-size: 12px; }
  .scroll-cue { font-size: 12px; padding: 9px 14px; bottom: calc(var(--bottom) + 10px); }
  .stage-caption { font-size: 12px; }
  .evidence-browser figcaption { font-size: 11.5px; }
  .evidence-callout span { font-size: 10px; }
  .step-num { font-size: 11px; }
  .path-tag { font-size: 11px; }
  .browser-bar { font-size: 10.5px; }
  .browser-flag { font-size: 10px; }
  .sys-num, .service-num, .proof-points span { font-size: 11px; }
  .sev { font-size: 11px; }
  .finding-id { font-size: 11.5px; }
  .phase-days { font-size: 12px; }
  .rec-tag { font-size: 11px; }
  .engage-bottom span { font-size: 11.5px; }
  .photo-tag { font-size: 11px; }
  .cover-stamp-label { font-size: 11px; }

  /* website concept becomes a stacked, readable page on phones and small tablets */
  .concept-bar .url { font-size: 10.5px; }
  .concept-pill { font-size: 9.5px; }
  .concept-nav button { font-size: 12px; padding: 8px 4px; }
  .concept-call { font-size: 12px; padding: 7px 10px; }
  .status { font-size: 11.5px; }
  .home-copy > p { font-size: 15px; }
  .mini-btn { font-size: 12.5px; padding: 10px 13px; }
  .home-services { font-size: 11.5px; }
  .home-services b { font-size: 12.5px; }
  .home-photo figcaption span { font-size: 12.5px; }
  .home-photo figcaption b { font-size: 10.5px; }
  .family { font-size: 12px; padding: 7px 10px; }
  .concept-note { font-size: 12px; }
  .match-steps li { font-size: 14px; padding-left: 26px; }
  .match-steps li b { font-size: 11px; }
  .selected-color b { font-size: 16px; }
  .selected-color span:last-child { font-size: 12px; }
  .estimator > p { font-size: 13px; }
  .estimator-fields label { font-size: 11.5px; }
  .estimator-fields label span { font-size: 11px; }
  .estimator-fields input, .estimator-fields select { font-size: 15px; padding: 8px 6px; }
  .est-result span { font-size: 12px; }
  .contract-rows b { font-size: 15px; }
  .contract-rows p { font-size: 14px; }
  .contract-flow li { font-size: 14px; padding-left: 26px; }
  .contract-flow li b { font-size: 11px; }
  .contract-card p { font-size: 12px; }
  .contract-card p.concept-note { font-size: 12px; }
}
