/* ============================================================
   DEPLOVA — pure black / bone white / gold ×3
   Display: Anton (brutalist)  ·  Body: Fraunces (refined serif)
   ============================================================ */

:root {
  --black: #030303;
  --black-soft: #0a0a0a;
  --bone: #f2efe6;
  --bone-dim: rgba(242, 239, 230, 0.55);
  --gold: #d4af37;
  --display: "Anton", Impact, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--serif);
  font-weight: 300;
  overflow-x: hidden;
}

@media (pointer: fine) {
  body, a, button { cursor: none; }
}

::selection { background: var(--bone); color: var(--black); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.35em; vertical-align: super; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Cursor · GOLD USE 1 of 3 ---------- */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-100px, -100px);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  opacity: 0.75;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}
.cursor-ring.is-active { width: 52px; height: 52px; opacity: 0.35; }
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.6rem 2.4rem;
  z-index: 100;
}
/* blend the individual pieces, not the whole bar, so the dropdown
   panel can render as a solid, opaque menu */
.nav__mark,
.nav__links > a,
.nav__dropdown-trigger {
  mix-blend-mode: difference;
}
.nav__mark {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__links > a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.nav__links > a:hover { opacity: 1; }

/* ---------- Nav dropdown ---------- */

.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
/* pad the bottom so the cursor can cross the gap to the menu without it closing */
.nav__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.9rem;
}
.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 0;
}
.nav__dropdown-trigger::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  transition: transform 0.25s ease;
}
.nav__dropdown-trigger:hover,
.nav__dropdown:hover .nav__dropdown-trigger { opacity: 1; }
.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: translateY(0.04em) rotate(-135deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  list-style: none;
  /* isolate from the nav's mix-blend-mode so the panel stays crisp & solid */
  isolation: isolate;
  mix-blend-mode: normal;
  background: var(--black-soft);
  border: 1px solid rgba(242, 239, 230, 0.14);
  padding: 0.4rem;
  min-width: 210px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 1000;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu li { margin: 0; }
.nav__dropdown-menu a {
  display: block;
  position: relative;
  padding: 0.7rem 1rem;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--bone);
  opacity: 0.65;
  transition: opacity 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}
.nav__dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: width 0.22s ease;
}
.nav__dropdown-menu a:hover {
  opacity: 1;
  background: rgba(242, 239, 230, 0.04);
  padding-left: 1.7rem;
}
.nav__dropdown-menu a:hover::before { width: 0.5rem; }

/* ---------- Hero ---------- */

.hero { height: 320vh; position: relative; }

.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero__canvas,
.hero__fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__fallback { z-index: 0; filter: brightness(0.9); }
.hero__canvas { z-index: 1; }

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%;
}

.hero__title {
  font-family: var(--display);
  font-size: 24.3vw;
  line-height: 0.95;
  letter-spacing: 0.015em;
  color: var(--bone);
  user-select: none;
}

.hero__manifesto {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-style: italic;
  color: var(--bone-dim);
  min-height: 1.6em;
}

.caret {
  display: inline-block;
  width: 1px; height: 1em;
  background: var(--bone);
  margin-left: 2px;
  vertical-align: -0.12em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--bone-dim);
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint { 50% { transform: translate(-50%, 8px); opacity: 0.4; } }

/* ---------- Kinetic manifesto ---------- */

.kinetic { height: 400vh; position: relative; background: var(--black); }

.kinetic__sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.kinetic__word {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 12rem);
  letter-spacing: 0.01em;
  color: var(--bone);
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

/* GOLD USE 2 of 3 */
.kinetic__word--gold { color: var(--gold); }

/* ---------- Section heads ---------- */

.section-head { padding: 9rem 2.4rem 4rem; }
.section-head__index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--bone-dim);
  margin-bottom: 0.8rem;
}
.section-head__title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-head__note {
  margin-top: 1rem;
  font-style: italic;
  color: var(--bone-dim);
  font-size: 1.05rem;
}

/* ---------- Studio band (inverted) ---------- */

.studio-band {
  position: relative;
  background: var(--bone);
  color: var(--black);
  overflow: hidden;
  padding-bottom: 10rem;
}
.studio-band .section-head__title { color: var(--black); }
.studio-band .section-head__index,
.studio-band .section-head__note { color: rgba(3, 3, 3, 0.5); }
.studio-band ::selection { background: var(--black); color: var(--bone); }

.studio-band__story {
  position: relative;
  z-index: 1;
  margin: 0 2.4rem;
  max-width: 1040px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.55;
}
.studio-band__story em { font-style: italic; }

.fill-word {
  color: rgba(3, 3, 3, 0.15);
  transition: color 0.25s ease;
}
.fill-word.is-inked { color: var(--black); }

.trail-img {
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 110px;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .fill-word { color: var(--black); transition: none; }
  .trail-img { display: none; }
}

/* ---------- Work grid ---------- */

.work { background: var(--black); padding-bottom: 8rem; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0 2.4rem;
}

.card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--black-soft);
  overflow: hidden;
  outline: 1px solid rgba(242, 239, 230, 0.08);
}

.card__media {
  position: absolute; inset: -5%;
  background-image: url("../assets/img/work-gallery.jpg");
  background-size: 220% auto;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s ease, transform 0.9s ease;
  will-change: transform, background-position;
}
.card__media[data-crop="a"] { background-position: 0% 30%; }
.card__media[data-crop="b"] { background-position: 100% 20%; }
.card__media[data-crop="c"] { background-position: 35% 75%; }
.card__media[data-crop="d"] { background-position: 80% 60%; }

/* the "video" — a slow dolly pan that runs while hovered */
.card:hover .card__media,
.card:focus-visible .card__media {
  opacity: 1;
  transform: scale(1);
}
.card:hover .card__media[data-crop="a"],
.card:focus-visible .card__media[data-crop="a"] { animation: pan-a 7s linear infinite alternate; }
.card:hover .card__media[data-crop="b"],
.card:focus-visible .card__media[data-crop="b"] { animation: pan-b 7s linear infinite alternate; }
.card:hover .card__media[data-crop="c"],
.card:focus-visible .card__media[data-crop="c"] { animation: pan-c 7s linear infinite alternate; }
.card:hover .card__media[data-crop="d"],
.card:focus-visible .card__media[data-crop="d"] { animation: pan-d 7s linear infinite alternate; }

@keyframes pan-a { from { background-position: 0% 30%; }   to { background-position: 22% 34%; } }
@keyframes pan-b { from { background-position: 100% 20%; } to { background-position: 78% 24%; } }
@keyframes pan-c { from { background-position: 35% 75%; }  to { background-position: 55% 70%; } }
@keyframes pan-d { from { background-position: 80% 60%; }  to { background-position: 60% 56%; } }

/* real client work gets its own plate, not a crop of the shared gallery */
.card__media[data-crop="hunter"] {
  background-image: url("../assets/img/work-hunter.jpg");
  background-size: 108% auto;
  background-position: 60% 50%;
}
.card:hover .card__media[data-crop="hunter"],
.card:focus-visible .card__media[data-crop="hunter"] { animation: pan-hunter 7s linear infinite alternate; }
@keyframes pan-hunter { from { background-position: 60% 50%; } to { background-position: 40% 50%; } }

.card__media[data-crop="crc"] {
  background-image: url("../assets/img/work-crc.jpg");
  background-size: 108% auto;
  background-position: 40% 50%;
}
.card:hover .card__media[data-crop="crc"],
.card:focus-visible .card__media[data-crop="crc"] { animation: pan-crc 7s linear infinite alternate; }
@keyframes pan-crc { from { background-position: 40% 50%; } to { background-position: 60% 50%; } }

.card__media[data-crop="jd"] {
  background-image: url("../assets/img/work-jd.jpg");
  background-size: 108% auto;
  background-position: 40% 50%;
}
.card:hover .card__media[data-crop="jd"],
.card:focus-visible .card__media[data-crop="jd"] { animation: pan-jd 7s linear infinite alternate; }
@keyframes pan-jd { from { background-position: 40% 50%; } to { background-position: 60% 50%; } }

.card__media[data-crop="bookavue"] {
  background-image: url("../assets/img/work-bookavue.jpg");
  background-size: 108% auto;
  background-position: 60% 50%;
}
.card:hover .card__media[data-crop="bookavue"],
.card:focus-visible .card__media[data-crop="bookavue"] { animation: pan-bookavue 7s linear infinite alternate; }
@keyframes pan-bookavue { from { background-position: 60% 50%; } to { background-position: 40% 50%; } }

.card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 3, 3, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.card:hover .card__scrim,
.card:focus-visible .card__scrim { opacity: 1; }

.card__index {
  position: absolute; top: 1.4rem; left: 1.6rem;
  font-family: var(--serif); font-style: italic;
  font-size: 0.85rem; color: var(--bone-dim);
}

.card__meta {
  position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.5rem;
  transform: translateY(6px);
  transition: transform 0.5s ease;
}
.card:hover .card__meta,
.card:focus-visible .card__meta { transform: translateY(0); }

.card__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  letter-spacing: 0.02em;
}
.card__desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--bone-dim);
  max-width: 34ch;
  opacity: 0;
  transition: opacity 0.5s ease 0.1s;
}
.card:hover .card__desc,
.card:focus-visible .card__desc { opacity: 1; }

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  padding: 10rem 2.4rem;
  background: var(--black);
  border-top: 1px solid rgba(242, 239, 230, 0.08);
}

.services__left { position: sticky; top: 8rem; align-self: start; }
.services__intro {
  margin-top: 2rem;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--bone-dim);
  max-width: 42ch;
}

.services__list { list-style: none; }

.service {
  border-bottom: 1px solid rgba(242, 239, 230, 0.12);
  transition: padding-left 0.35s ease;
}
.service:first-child { border-top: 1px solid rgba(242, 239, 230, 0.12); }
.service:hover { padding-left: 1.2rem; }

.service__link {
  display: grid;
  grid-template-columns: 4rem 1fr;
  grid-template-areas: "num name" ". desc";
  padding: 2.4rem 0;
}
.service__name::after {
  content: " ↗";
  font-family: var(--serif);
  font-size: 0.45em;
  vertical-align: 0.9em;
  opacity: 0.45;
}

.service__num {
  grid-area: num;
  font-family: var(--serif); font-style: italic;
  font-size: 0.9rem; color: var(--bone-dim);
  padding-top: 0.7em;
}
.service__name {
  grid-area: name;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.service__desc {
  grid-area: desc;
  margin-top: 0.7rem;
  font-style: italic;
  color: var(--bone-dim);
  max-width: 52ch;
}

/* ---------- Process: pinned horizontal timeline ---------- */

.process {
  background: var(--black);
  border-top: 1px solid rgba(242, 239, 230, 0.08);
}

.process__viewport {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.process__track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 auto;
  width: 78vw;
  min-height: 72vh;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(242, 239, 230, 0.09);
}

.panel__ghost {
  position: absolute;
  top: 50%;
  left: 1vw;
  z-index: 0;
  pointer-events: none;
  font-family: var(--display);
  font-size: 26vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 239, 230, 0.14);
}
.panel__ghost-in {
  display: block;
  transform: translateY(calc(-52% + var(--gy, 0px)));
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.panel__label,
.panel__name,
.panel__desc { position: relative; z-index: 1; }

.panel__label {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--bone-dim);
}
.panel__name {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.panel__desc {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--bone-dim);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.panel--cta {
  width: 62vw;
  align-items: flex-start;
  justify-content: center;
}
.panel__big {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.4;
  max-width: 22ch;
}
.panel__link {
  display: inline-block;
  margin-top: 2.2rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--bone);
  border-bottom: 1px solid var(--bone);
  padding-bottom: 0.12em;
  transition: opacity 0.25s ease;
}
.panel__link:hover { opacity: 0.7; }

.process__counter {
  position: absolute;
  top: 6.5rem;
  left: 2.4rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.process__counter-clip {
  display: inline-block;
  overflow: hidden;
  font-family: var(--display);
  font-size: 2.1rem;
  color: var(--bone);
}
#step-now { display: inline-block; }
.process__counter-total {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--bone-dim);
}

.process__progress {
  position: absolute;
  left: 2.4rem; right: 2.4rem; bottom: 2.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.process__wk {
  font-family: var(--serif); font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  white-space: nowrap;
}
.process__bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(242, 239, 230, 0.15);
}
.process__fill {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left center;
}

/* static fallback: small screens and reduced motion get a vertical flow */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .process__viewport { height: auto; display: block; overflow: visible; }
  .process__track { display: block; transform: none !important; }
  .panel {
    width: auto; min-height: 0;
    padding: 3.4rem 2.4rem;
    border-left: none;
    border-bottom: 1px solid rgba(242, 239, 230, 0.12);
  }
  .panel__ghost { font-size: 38vw; left: auto; right: 2.4rem; opacity: 0.6; }
  .panel--cta { width: auto; border-bottom: none; }
  .process__counter, .process__progress { display: none; }
}

/* ---------- Beliefs: torch reveal ---------- */

.beliefs {
  background: var(--black);
  border-top: 1px solid rgba(242, 239, 230, 0.08);
}

.beliefs__stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.beliefs__texture {
  position: absolute;
  inset: 0;
  background: url("../assets/img/beliefs-emboss.jpg") center / cover no-repeat;
  filter: brightness(0.9);
  opacity: 0;
  transition: opacity 0.9s ease;
  -webkit-mask-image: radial-gradient(
    circle calc(18vw + 120px) at var(--lx, 50%) var(--ly, 45%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 45%, transparent 72%
  );
  mask-image: radial-gradient(
    circle calc(18vw + 120px) at var(--lx, 50%) var(--ly, 45%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 45%, transparent 72%
  );
}
.beliefs__stage.has-light .beliefs__texture { opacity: 1; }

.beliefs__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: radial-gradient(
    circle calc(20vw + 140px) at var(--lx, 50%) var(--ly, 45%),
    rgba(242, 239, 230, 0.09), transparent 70%
  );
}
.beliefs__stage.has-light .beliefs__glow { opacity: 1; }

.beliefs__hint {
  position: absolute;
  top: 2.4rem;
  right: 2.4rem;
  z-index: 2;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--bone-dim);
  opacity: 0.6;
  transition: opacity 0.6s ease;
}
.beliefs__hint.is-hidden { opacity: 0; }

.beliefs__list {
  list-style: none;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.belief {
  opacity: 0.07;
  will-change: opacity;
}
.belief:nth-child(2) { margin-left: 10vw; }
.belief:nth-child(3) { margin-left: 4vw; }
.belief:nth-child(4) { margin-left: 16vw; }
.belief:nth-child(5) { margin-left: 2vw; }

.belief--display {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 4.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.belief--serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.7vw, 2.7rem);
}

/* lit fallback: touch, small screens, reduced motion */
.beliefs__stage.is-lit .beliefs__texture {
  opacity: 0.3;
  -webkit-mask-image: none;
  mask-image: none;
}
.beliefs__stage.is-lit .belief { opacity: 1; }
.beliefs__stage.is-lit .beliefs__hint,
.beliefs__stage.is-lit .beliefs__glow { display: none; }

/* ---------- Straight Answers ---------- */

.answers {
  background: var(--black);
  padding-bottom: 9rem;
  border-top: 1px solid rgba(242, 239, 230, 0.08);
}

.answers__list {
  list-style: none;
  margin: 0 2.4rem;
  border-top: 1px solid rgba(242, 239, 230, 0.12);
}

.qa { border-bottom: 1px solid rgba(242, 239, 230, 0.12); }

.qa__q {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: baseline;
  gap: 2rem;
  width: 100%;
  padding: 2.1rem 0;
  background: none;
  border: 0;
  color: var(--bone);
  text-align: left;
  transition: padding-left 0.35s ease;
}
.qa__q:hover { padding-left: 1.2rem; }

.qa__num {
  font-family: var(--serif); font-style: italic;
  font-size: 0.9rem; color: var(--bone-dim);
}
.qa__text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}
.qa__mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--bone-dim);
  transition: transform 0.35s ease;
}
.qa.is-open .qa__mark { transform: rotate(45deg); }

.qa__a {
  height: 0;
  overflow: hidden;
}
.qa__a p {
  padding: 0 4rem 2.2rem 6rem;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--bone-dim);
  max-width: 62ch;
}

@media (max-width: 900px) {
  .qa__q { grid-template-columns: 2.6rem 1fr auto; gap: 1rem; }
  .qa__a p { padding: 0 1rem 2rem 3.6rem; }
}

/* ---------- Footer form ---------- */

.fform {
  grid-area: form;
  max-width: 940px;
}

.fform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.4rem;
}

.fform__field { display: block; }
.fform__field--wide { grid-column: 1 / -1; }

.fform__label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.fform__label em { font-style: italic; opacity: 0.7; }

.fform__input {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 230, 0.25);
  border-radius: 0;
  padding: 0.55em 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bone);
  transition: border-color 0.25s ease;
}
.fform__input:focus {
  outline: none;
  border-bottom-color: var(--bone);
}

.fform__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23f2efe6' stroke-opacity='.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.2em center;
}
.fform__select option { background: var(--black-soft); color: var(--bone); }
.fform__select:invalid { color: var(--bone-dim); }

textarea.fform__input { resize: vertical; min-height: 2.6em; }

.fform__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.fform__submit {
  margin-top: 1.8rem;
  padding: 1.05rem 3.4rem;
  background: transparent;
  border: 1px solid var(--bone);
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}
.fform__submit:hover {
  background: var(--bone);
  color: var(--black);
}

/* GOLD USE 3 of 3 */
.fform__submit:focus-visible,
.fform__submit:active {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.fform__success {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--bone);
  min-height: 1.6em;
}
.fform__success--error { color: #ffb7a5; }

@media (max-width: 900px) {
  .fform__grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------- Footer ---------- */

.footer {
  padding: 5rem 2.4rem 2.4rem;
  background: var(--black);
  border-top: 1px solid rgba(242, 239, 230, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "cta form"
    "row row"
    "meta meta";
  column-gap: 5rem;
  align-items: start;
}

.footer__cta {
  grid-area: cta;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.footer__line { display: block; }

.footer__legal {
  grid-area: row;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .services__left { position: static; }
  .hero__title { font-size: 25vw; }
  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cta"
      "form"
      "row"
      "meta";
  }
  .fform { margin-top: 3rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100vh; }
  .kinetic { height: auto; }
  .kinetic__sticky { position: static; height: auto; flex-direction: column; gap: 2rem; padding: 6rem 0; }
  .kinetic__word { position: static; opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__scroll-hint, .caret { animation: none; }
  .card:hover .card__media { animation: none !important; }
}

/* ============================================================
   SERVICE PAGES — shared
   ============================================================ */

.page-hero {
  padding: 11rem 2.4rem 4rem;
}
.page-hero__crumb {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bone-dim);
  margin-bottom: 1.6rem;
}
.page-hero__crumb a {
  border-bottom: 1px solid rgba(242, 239, 230, 0.3);
  padding-bottom: 0.1em;
  transition: border-color 0.25s ease;
}
.page-hero__crumb a:hover { border-color: var(--bone); }
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9.5vw, 8.6rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  line-height: 0.98;
}
.page-hero__sub {
  margin-top: 1.8rem;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 58ch;
}

.demo-head { padding: 6rem 2.4rem 3rem; }

.detail-list {
  padding: 6rem 2.4rem 8rem;
  max-width: 1100px;
}
.detail-list__title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2.6rem;
}
.detail-list ul { list-style: none; border-top: 1px solid rgba(242, 239, 230, 0.12); }
.detail-list li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  grid-template-areas: "num name" ". desc";
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(242, 239, 230, 0.12);
}
.detail-list li i {
  grid-area: num;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bone-dim);
  padding-top: 0.35em;
}
.detail-list li strong {
  grid-area: name;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.detail-list li p {
  grid-area: desc;
  margin-top: 0.45rem;
  font-style: italic;
  color: var(--bone-dim);
  max-width: 58ch;
}

.quote-band {
  background: var(--bone);
  color: var(--black);
  padding: 7rem 2.4rem;
}
.quote-band h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 18ch;
}
.quote-band ::selection { background: var(--black); color: var(--bone); }

.pitch {
  padding: 2rem 2.4rem 7rem;
  max-width: 74ch;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.8;
  color: var(--bone-dim);
}
.pitch strong { color: var(--bone); font-weight: 400; }

/* ---------- Page 1: builder (site assembles on scroll) ---------- */

.builder { position: relative; height: 380vh; background: var(--black); }
.builder__pin {
  position: sticky; top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  overflow: hidden;
}
.builder__frame {
  position: relative;
  width: min(80vw, 980px);
  aspect-ratio: 16 / 10;
  background: #070707;
  outline: 1px solid rgba(242, 239, 230, 0.18);
  border-radius: 6px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bf__chrome {
  height: 34px; flex: 0 0 34px;
  border-bottom: 1px solid rgba(242, 239, 230, 0.12);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}
.bf__chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(242, 239, 230, 0.25); }
.bf__url { margin-left: 12px; font-style: italic; font-size: 0.72rem; color: var(--bone-dim); }
.bf__canvas { flex: 1; padding: 4% 5%; display: flex; flex-direction: column; gap: 5%; }
.bf__nav { display: flex; justify-content: space-between; align-items: center; }
.bf__logo { font-family: var(--display); font-size: clamp(0.7rem, 1.1vw, 1rem); letter-spacing: 0.1em; }
.bf__links i { display: inline-block; width: 32px; height: 5px; background: rgba(242, 239, 230, 0.3); margin-left: 12px; }
.bf__hero {
  flex: 1;
  background: rgba(242, 239, 230, 0.05);
  padding: 4% 5%;
  display: flex; flex-direction: column; justify-content: center;
  transition: background 0.7s ease;
}
.bf__h1 { font-family: var(--display); font-size: clamp(1.3rem, 3.2vw, 2.9rem); letter-spacing: 0.02em; }
.bf__p { display: block; height: 7px; width: 44%; margin-top: 4%; background: rgba(242, 239, 230, 0.22); transition: width 0.7s ease; }
.bf__btn {
  align-self: flex-start;
  margin-top: 5%;
  padding: 0.5em 1.4em;
  border: 1px solid var(--bone);
  font-family: var(--display);
  font-size: clamp(0.6rem, 1vw, 0.85rem);
  letter-spacing: 0.12em;
  transition: background 0.5s ease, color 0.5s ease;
}
.bf__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 24%; flex: 0 0 24%; }
.bf__cols i { background: rgba(242, 239, 230, 0.07); border: 1px solid rgba(242, 239, 230, 0.1); }
.bf__badge {
  position: absolute; top: 46px; right: 14px;
  padding: 0.45em 1em;
  border: 1px solid var(--bone);
  background: var(--black);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.builder__frame.polished .bf__hero { background: linear-gradient(120deg, #101010, #1d1b16); }
.builder__frame.polished .bf__btn { background: var(--bone); color: var(--black); }
.builder__frame.polished .bf__p { width: 62%; }
.builder__caption {
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--bone-dim);
  min-height: 1.6em;
  text-align: center;
  padding: 0 2.4rem;
}

/* build stages: elements hide until their stage arrives */
.builder [data-at] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.builder [data-at].on { opacity: 1; transform: none; }
.builder .bf__badge[data-at] { transform: scale(0.7); }
.builder .bf__badge[data-at].on { transform: scale(1); }

/* static fallback */
.builder--static { height: auto; padding: 3rem 0 5rem; }
.builder--static .builder__pin { position: static; height: auto; }
.builder--static [data-at] { opacity: 1 !important; transform: none !important; }

/* ---------- Page 2: the teardown ---------- */

.teardown { padding: 3rem 2.4rem 8rem; }
.teardown__stage {
  max-width: 1100px;
  margin: 0 auto;
  outline: 1px solid rgba(242, 239, 230, 0.18);
  background: #050505;
  transition: outline-color 0.6s ease;
}
.teardown__stage.is-done { outline-color: rgba(242, 239, 230, 0.4); }

.td-row {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 0fr;
  transition: grid-template-rows 0.5s ease;
}
.td-row.is-fixed { grid-template-rows: 0fr 1fr; }

.td-old, .td-new { min-height: 0; overflow: hidden; }

.td-old {
  position: relative;
  background: #dcd7c9;
  color: #23233a;
  font-family: Georgia, "Times New Roman", serif;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  padding-right: clamp(8rem, 22vw, 15rem);
  transition: opacity 0.4s ease, padding 0.5s ease;
}
.td-row.is-fixed .td-old { opacity: 0; padding-block: 0; }

/* redline sweep while a fix is in flight */
.td-old::after {
  content: "";
  position: absolute;
  left: 3%; right: 3%; top: 50%;
  height: 2px;
  background: #b3322c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.td-row.is-striking .td-old::after { transform: scaleX(1); }

.td-new {
  color: var(--bone);
  opacity: 0;
  transform: translateY(12px);
  padding: 0 clamp(1rem, 4vw, 3rem);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s, padding 0.5s ease;
}
.td-row.is-fixed .td-new { opacity: 1; transform: none; padding-block: 1.05rem; }
.td-row:first-child.is-fixed .td-new { padding-top: 2.6rem; }
.td-row:last-child.is-fixed .td-new { padding-bottom: 2.6rem; }

.td-old__banner {
  background: #24337a; color: #fff;
  padding: 0.7em; text-align: center;
  font-weight: bold; font-size: clamp(0.8rem, 1.6vw, 1.2rem);
  text-decoration: underline;
}
.td-old__nav { font-size: clamp(0.6rem, 1.2vw, 0.85rem); text-align: center; }
.td-old__nav span { color: #1436c9; text-decoration: underline; margin: 0 0.5em; }
.td-old__offer {
  margin: 0 auto; padding: 0.8em; max-width: 70%;
  background: #ffe95e; border: 2px dashed #b3322c; color: #b3322c;
  text-align: center; font-weight: bold; font-size: clamp(0.65rem, 1.3vw, 0.95rem);
}
.td-old__body { font-size: clamp(0.6rem, 1.2vw, 0.85rem); line-height: 1.5; }
.td-old__count { text-align: center; font-size: clamp(0.55rem, 1vw, 0.75rem); color: #555; }

.td-new__kicker { display: block; font-style: italic; font-size: clamp(0.75rem, 1.3vw, 1rem); color: var(--bone-dim); }
.td-new__title { display: block; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 4.4rem); letter-spacing: 0.02em; line-height: 1.05; }
.td-new__line { display: block; font-style: italic; color: var(--bone-dim); font-size: clamp(0.75rem, 1.4vw, 1.05rem); }
.td-new__btn {
  display: inline-block; padding: 0.6em 1.6em;
  border: 1px solid var(--bone);
  font-family: var(--display); font-size: clamp(0.6rem, 1.1vw, 0.85rem); letter-spacing: 0.14em;
}
.td-new__foot { display: block; font-family: var(--mono); font-size: clamp(0.55rem, 1vw, 0.72rem); color: var(--bone-dim); }

.td-flag {
  position: absolute; z-index: 2;
  right: clamp(0.8rem, 3vw, 2.4rem); top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.5em 0.85em;
  background: rgba(253, 251, 244, 0.9);
  border: 1px solid #b3322c;
  color: #b3322c;
  font-family: var(--mono);
  font-size: clamp(0.55rem, 1.1vw, 0.72rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.3s ease;
}
.td-flag i { font-style: normal; font-weight: 500; border-right: 1px solid rgba(179, 50, 44, 0.4); padding-right: 0.6em; }
.td-flag:hover { transform: translateY(-50%) rotate(0deg) scale(1.06); }
.td-row.is-striking .td-flag,
.td-row.is-fixed .td-flag { opacity: 0; pointer-events: none; }

/* attract pulse until the first fix */
@keyframes td-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(179, 50, 44, 0.4); }
  60% { box-shadow: 0 0 0 9px rgba(179, 50, 44, 0); }
}
.teardown__stage:not(.was-touched) .td-flag { animation: td-pulse 2.4s ease-in-out infinite; }
.teardown__stage:not(.was-touched) .td-row:nth-child(2) .td-flag { animation-delay: 0.25s; }
.teardown__stage:not(.was-touched) .td-row:nth-child(3) .td-flag { animation-delay: 0.5s; }
.teardown__stage:not(.was-touched) .td-row:nth-child(4) .td-flag { animation-delay: 0.75s; }
.teardown__stage:not(.was-touched) .td-row:nth-child(5) .td-flag { animation-delay: 1s; }

.teardown__status {
  max-width: 1100px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.95rem;
}
.teardown__reset {
  display: block;
  margin: 1rem auto 0;
  padding: 0.55em 1.3em;
  background: none;
  border: 1px solid rgba(242, 239, 230, 0.3);
  color: var(--bone);
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: border-color 0.2s ease;
}
.teardown__reset:hover { border-color: var(--bone); }

/* ---------- Page 3: booking demo ---------- */

.bookdemo { padding: 3rem 2.4rem 8rem; }
.bookdemo__panel {
  max-width: 780px; margin: 0 auto;
  border: 1px solid rgba(242, 239, 230, 0.18);
  background: #070707;
  padding: clamp(1.6rem, 4vw, 3rem);
  min-height: 380px;
}
.bd-label { font-style: italic; font-size: 0.9rem; color: var(--bone-dim); margin-bottom: 1rem; }
.bd-chips { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.bd-chip {
  padding: 0.6em 1.15em;
  border: 1px solid rgba(242, 239, 230, 0.3);
  background: none; color: var(--bone);
  font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.08em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.bd-chip:hover:not(:disabled) { border-color: var(--bone); }
.bd-chip.is-on { background: var(--bone); color: var(--black); border-color: var(--bone); }
.bd-chip:disabled { opacity: 0.25; text-decoration: line-through; }
.bd-confirm {
  padding: 0.9rem 2.6rem;
  background: transparent; border: 1px solid var(--bone); color: var(--bone);
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.bd-confirm:disabled { opacity: 0.25; }
.bd-confirm:hover:not(:disabled) { background: var(--bone); color: var(--black); }
.bd-success { font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.6; }
.bd-reset {
  display: inline-block; margin-top: 1.6rem;
  font-style: italic; color: var(--bone-dim);
  border-bottom: 1px solid rgba(242, 239, 230, 0.3);
  background: none; border-top: 0; border-left: 0; border-right: 0;
  font-family: var(--serif); font-size: 1rem;
  padding-bottom: 0.1em;
  transition: color 0.2s ease;
}
.bd-reset:hover { color: var(--bone); }

/* ---------- Page 4: AI chat demo ---------- */

.chatdemo { padding: 3rem 2.4rem 8rem; }
.chat__win {
  max-width: 720px; margin: 0 auto;
  border: 1px solid rgba(242, 239, 230, 0.18);
  background: #070707;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  min-height: 460px;
}
.chat__stamp { text-align: center; font-style: italic; font-size: 0.8rem; color: var(--bone-dim); margin-bottom: 0.6rem; }
.msg {
  max-width: 78%;
  padding: 0.75em 1.05em;
  font-size: 0.97rem;
  line-height: 1.55;
}
.msg--user { align-self: flex-end; background: var(--bone); color: var(--black); }
.msg--ai { align-self: flex-start; border: 1px solid rgba(242, 239, 230, 0.25); font-style: italic; }
.msg--typing { display: flex; gap: 5px; align-items: center; padding: 0.9em 1.1em; }
.msg--typing i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--bone-dim);
  animation: chatdot 1s ease-in-out infinite;
}
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatdot { 40% { transform: translateY(-4px); opacity: 1; } }
.chat__chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.4rem; }
.chat__chip {
  border: 1px solid rgba(242, 239, 230, 0.3);
  background: none; color: var(--bone-dim);
  font-family: var(--serif); font-style: italic; font-size: 0.88rem;
  padding: 0.5em 1em;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.chat__chip:hover:not(:disabled) { color: var(--bone); border-color: var(--bone); }
.chat__chip:disabled { opacity: 0.25; }

/* ---------- Page 5: care growth chart + stats ---------- */

.growth { padding: 3rem 2.4rem 2rem; }
.growth__chart { max-width: 1000px; margin: 0 auto; }
.growth__chart svg { width: 100%; height: auto; display: block; }
.growth__legend {
  max-width: 1000px; margin: 1.4rem auto 0;
  display: flex; gap: 2.4rem; flex-wrap: wrap;
  font-style: italic; font-size: 0.92rem; color: var(--bone-dim);
}
.growth__legend i { display: inline-block; width: 26px; height: 2px; vertical-align: middle; margin-right: 0.6em; }
.growth__legend .lg-care i { background: var(--bone); }
.growth__legend .lg-alone i { background: rgba(242, 239, 230, 0.35); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  max-width: 1000px; margin: 3.5rem auto 0;
}
.stat { border: 1px solid rgba(242, 239, 230, 0.14); padding: 2rem; }
.stat__num { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: 0.02em; }
.stat__lbl { margin-top: 0.6rem; font-style: italic; color: var(--bone-dim); font-size: 0.95rem; }

/* ---------- Service pages: responsive & reduced motion ---------- */

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; }
  .td-old { padding-right: clamp(6.5rem, 30vw, 9rem); }
  .builder { height: 420vh; height: 420svh; }
  .builder__pin {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    gap: 1rem;
    padding: clamp(4rem, 10svh, 5rem) 0 clamp(2rem, 6svh, 3rem);
  }
  .builder__frame {
    width: min(92vw, 46vh, 520px);
    width: min(92vw, 46svh, 520px);
    aspect-ratio: 10 / 13;
  }
  .bf__chrome {
    height: 28px;
    flex-basis: 28px;
    gap: 5px;
    padding: 0 10px;
  }
  .bf__chrome i { width: 7px; height: 7px; }
  .bf__url { margin-left: 7px; font-size: 0.56rem; }
  .bf__canvas { padding: 7% 6%; gap: 5%; }
  .bf__logo { font-size: clamp(0.58rem, 3vw, 0.78rem); }
  .bf__links i { width: 20px; height: 4px; margin-left: 7px; }
  .bf__h1 { font-size: clamp(1.15rem, 6.7vw, 1.8rem); }
  .bf__p { height: 6px; }
  .bf__btn {
    padding: 0.55em 1.1em;
    font-size: clamp(0.58rem, 3.2vw, 0.74rem);
  }
  .bf__badge {
    top: 36px;
    right: 10px;
    padding: 0.42em 0.72em;
    font-size: clamp(0.5rem, 2.7vw, 0.64rem);
    letter-spacing: 0.1em;
  }
  .builder__caption {
    max-width: 28ch;
    min-height: 3.2em;
    padding: 0 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .builder { height: auto; }
  .builder__pin { position: static; height: auto; padding: 3rem 0; }
  .builder [data-at] { opacity: 1 !important; transform: none !important; transition: none; }
  .td-row, .td-old, .td-new, .td-flag { transition: none; animation: none; }
  .msg--typing i { animation: none; }
}

/* ============================================================
   SERVICE PAGES — light & life pass
   ============================================================ */

/* heroes get treated imagery with a slow drift */
.page-hero { position: relative; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: grayscale(55%) brightness(0.6);
  animation: hero-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1.02) translateY(-0.6%); }
  to   { transform: scale(1.09) translateY(1.2%); }
}
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,3,3,0.5) 0%, rgba(3,3,3,0.72) 55%, var(--black) 96%);
}
.page-hero__crumb, .page-hero__title, .page-hero__sub { position: relative; z-index: 1; }

.page-hero--gallery .page-hero__bg { background-image: url("../assets/img/work-gallery.jpg"); background-position: 30% 40%; }
.page-hero--ink-a   .page-hero__bg { background-image: url("../assets/img/hero-ink.jpg"); background-position: 50% 18%; }
.page-hero--ink-b   .page-hero__bg { background-image: url("../assets/img/hero-ink.jpg"); background-position: 50% 85%; filter: grayscale(25%) brightness(0.55); }
.page-hero--emboss  .page-hero__bg { background-image: url("../assets/img/beliefs-emboss.jpg"); background-position: 50% 60%; }
.page-hero--studio  .page-hero__bg { background-image: url("../assets/img/team-studio.jpg"); background-position: 72% 30%; }

/* full-bleed cinematic image bands break up the black */
.img-band {
  position: relative;
  height: 58vh;
  min-height: 380px;
  overflow: hidden;
  border-top: 1px solid rgba(242, 239, 230, 0.08);
  border-bottom: 1px solid rgba(242, 239, 230, 0.08);
}
.img-band__bg {
  position: absolute;
  inset: -14% 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
  will-change: transform;
}
.img-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,3,3,0.45) 0%, transparent 40%, rgba(3,3,3,0.7) 100%);
}
.img-band__caption {
  position: absolute;
  left: 2.4rem; bottom: 2rem;
  z-index: 1;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: var(--bone);
  max-width: 44ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.img-band--emboss  .img-band__bg { background-image: url("../assets/img/beliefs-emboss.jpg"); }
.img-band--gallery .img-band__bg { background-image: url("../assets/img/work-gallery.jpg"); background-position: 60% 45%; }
.img-band--ink     .img-band__bg { background-image: url("../assets/img/hero-ink.jpg"); background-position: 50% 40%; }

/* ---------- DOM-built bands: real UI, not photography ---------- */

.ui-band, .status-band {
  height: auto;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 4.5rem 2.4rem;
  background: radial-gradient(ellipse 85% 90% at 50% 25%, #0c0c0b, var(--black));
}
.ui-band .img-band__caption,
.status-band .img-band__caption {
  position: static;
  width: min(1040px, 100%);
  text-shadow: none;
}

.ui-band__inner {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr;
  gap: 2px;
}
.ui-panel {
  background: #070707;
  outline: 1px solid rgba(242, 239, 230, 0.14);
  padding: 1.6rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.ui-panel__label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(242, 239, 230, 0.1);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--bone-dim);
}
.ui-row strong { color: var(--bone); font-style: normal; font-weight: 400; }
.ui-chip {
  flex: 0 0 auto;
  font-family: var(--display);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border: 1px solid rgba(242, 239, 230, 0.35);
  color: var(--bone);
}
.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  flex: 1;
}
.ui-bars i { flex: 1; background: rgba(242, 239, 230, 0.2); }
.ui-bars .ui-bars__today { background: var(--bone); }
.ui-big {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1;
  margin: auto 0 0.4rem;
}
.ui-panel__foot {
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bone-dim);
}

.status-band__inner {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2px;
}
.status-log {
  background: #070707;
  outline: 1px solid rgba(242, 239, 230, 0.14);
  padding: 1.6rem;
}
.status-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.status-ago {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--bone-dim);
}
.status-ago b { font-weight: 400; color: var(--bone); }
.pulse {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bone);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 230, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  from { transform: scale(0.5); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}
.status-line {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(242, 239, 230, 0.1);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--bone-dim);
}
.status-line strong { color: var(--bone); font-style: normal; font-weight: 400; }
.status-stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}
.status-stat {
  background: #070707;
  outline: 1px solid rgba(242, 239, 230, 0.14);
  padding: 1.1rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.status-stat b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}
.status-stat span {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bone-dim);
}

@media (max-width: 900px) {
  .ui-band__inner, .status-band__inner { grid-template-columns: 1fr; }
  .ui-panel { min-height: 0; }
  .ui-bars { height: 110px; }
}

/* builder: ink backdrop + lift */
.builder__pin::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/img/hero-ink.jpg") center 30% / cover no-repeat;
  opacity: 0.14;
  filter: blur(3px) brightness(0.65);
}
.builder__frame, .builder__caption { position: relative; z-index: 1; }
.builder__frame { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }

/* chat: late-night glow */
.chatdemo {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(242, 239, 230, 0.05), transparent 70%),
    var(--black);
}
.chat__win { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg { animation: none; }
  .img-band__bg { inset: 0; }
  .pulse::after { animation: none; }
}

/* ---------- Footer company info ---------- */

.footer__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 3rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(242, 239, 230, 0.08);
}
.footer__meta-col p {
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-style: italic;
  line-height: 1.6;
}
.footer__payments {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer__payments-label {
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-style: italic;
}
.stripe-wordmark {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: -0.01em;
  color: #635bff;
}
.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.footer__legal-nav a {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--bone-dim);
  border-bottom: 1px solid rgba(242, 239, 230, 0.25);
  padding-bottom: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__legal-nav a:hover { color: var(--bone); border-color: var(--bone); }

@media (max-width: 640px) {
  .footer__meta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LEGAL PAGES — shared
   ============================================================ */

.page-hero--legal {
  padding-bottom: 3rem;
}
.page-hero--legal .page-hero__updated {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--bone-dim);
}

.legal-content {
  padding: 2rem 2.4rem 8rem;
  max-width: 74ch;
}
.legal-content h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 3.2rem 0 1.1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--bone-dim);
  margin-bottom: 1.1rem;
}
.legal-content ul {
  margin: 0 0 1.1rem 1.4rem;
  color: var(--bone-dim);
}
.legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
  padding-left: 0.3rem;
}
.legal-content strong { color: var(--bone); font-weight: 500; }
.legal-content a {
  color: var(--bone);
  border-bottom: 1px solid rgba(242, 239, 230, 0.4);
  padding-bottom: 0.05em;
  transition: border-color 0.2s ease;
}
.legal-content a:hover { border-color: var(--bone); }

/* ============================================================
   TECH PASS — the chrome runs in mono; the voice stays serif.
   Nav, indices, labels, form fields and footer meta read like
   system UI. Headlines and story copy are untouched.
   ============================================================ */

/* ---------- Nav ---------- */

.nav__links > a,
.nav__dropdown-trigger {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__dropdown-menu a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Hero: terminal cursor + corner readouts ---------- */

.caret {
  width: 0.55em;
  height: 1.05em;
  vertical-align: -0.18em;
}

.hero__manifesto {
  font-family: var(--mono);
  font-style: normal;
  font-size: clamp(0.78rem, 1.25vw, 1.1rem);
  letter-spacing: 0.02em;
  padding: 0 1.2rem;
}
.hero__prompt { opacity: 0.5; user-select: none; }
@media (max-width: 720px) { .hero__manifesto { min-height: 3.2em; } }

.hero__scroll-hint { font-family: var(--mono); font-size: 0.6rem; }

/* ---------- Indices & micro-labels ---------- */

.section-head__index,
.card__index,
.service__num,
.qa__num,
.detail-list li i,
.panel__label,
.process__counter-total,
.page-hero__crumb {
  font-family: var(--mono);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-head__index { font-size: 0.7rem; }
.section-head__index::before,
.card__index::before { content: "[ "; opacity: 0.6; }
.section-head__index::after,
.card__index::after { content: " ]"; opacity: 0.6; }
.card__index { font-size: 0.66rem; }
.service__num, .qa__num, .detail-list li i { font-size: 0.7rem; }
.panel__label { font-size: 0.7rem; }
.process__counter-total { font-size: 0.76rem; }
.page-hero__crumb { font-size: 0.68rem; }

.card__visit { font-family: var(--mono); font-size: 0.6rem; }
.process__wk { font-family: var(--mono); font-style: normal; font-size: 0.6rem; }
.qa__mark { font-family: var(--mono); font-size: 1.25rem; }

/* ---------- Blueprint grid on the light bands ---------- */

.studio-band,
.quote-band {
  background-image:
    linear-gradient(rgba(3, 3, 3, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 3, 3, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
}

/* ---------- Form: labels and input text go terminal ---------- */

.fform__label {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fform__label em { font-style: normal; text-transform: none; letter-spacing: 0.06em; }
.fform__input { font-family: var(--mono); font-size: 0.95rem; }

/* ---------- Footer meta ---------- */

.footer__legal,
.footer__meta-col p,
.footer__payments-label,
.footer__legal-nav a {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* ---------- Service-page demo UI: data reads like data ---------- */

.bf__url { font-family: var(--mono); font-style: normal; font-size: 0.64rem; }
.ui-row, .status-line { font-family: var(--mono); font-style: normal; font-size: 0.76rem; }
.ui-chip { font-family: var(--mono); letter-spacing: 0.1em; }
.bd-label, .chat__stamp, .status-ago {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
