/* =========================================================
   Insights Studios — site styles (2026 redesign)
   Base: hallway, flip board, rooms, work list (from the reference build)
   ========================================================= */
:root {
  --bg: #f5f2eb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --muted: #777777;
  --line: rgba(0, 0, 0, 0.09);
  --peach: #ff3c00;
  --lilac: #c8ff00;
  --green: #4caf6a;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- Ambient ---------- */
.blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(110px); opacity: 0.13; }
.blob--peach { background: var(--peach); left: -18vw; bottom: -20vw; animation: drift1 22s ease-in-out infinite alternate; }
.blob--lilac { background: var(--lilac); right: -16vw; top: 30vh; animation: drift2 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, -12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 18vh) scale(0.9); } }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .footer { position: relative; z-index: 2; }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  background: rgba(251, 250, 247, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 6px 20px -12px rgba(0,0,0,.25);
  font-size: 13px;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: transform .4s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--bg-2); box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.btn__arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-2); color: var(--ink); transition: transform .4s var(--ease);
}
.btn--dark:hover .btn__arrow { transform: rotate(-45deg); }
.btn--ghost { padding: 0 22px; background: rgba(251,250,247,.6); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--card); }

.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 11.5px; }
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.menu-btn { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.menu-btn__icon { display: grid; gap: 4px; width: 14px; }
.menu-btn__icon i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-open .menu-btn__icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .menu-btn__icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.clock { font-size: 12.5px; gap: 8px; }
.clock__label { color: var(--muted); }
.clock strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.clock__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at 60px 40px);
  visibility: hidden;
}
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(42px, 8vw, 104px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  transition: color .3s, transform .5s var(--ease);
}
.menu__list a span { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: #6f6a63; font-weight: 400; }
.menu__list a:hover { color: var(--peach); transform: translateX(14px); }
.menu__list li { overflow: hidden; }
.menu__foot { margin-top: 48px; color: #6f6a63; }
.menu-open .header .pill { background: rgba(251,250,247,.95); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 90px;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 760px; }
.hero__title { font-size: clamp(46px, 7.2vw, 108px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.reveal-line { display: inline-block; }
.line--muted { color: var(--muted); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Split-flap board */
.flap {
  --h: clamp(70px, 8.4vw, 118px);
  position: relative; display: inline-flex; align-items: flex-end; gap: 14px;
  align-self: flex-start;
}
.flap__screws { position: absolute; top: -9px; left: 22px; right: 22px; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.flap__screws i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9a948c 70%); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.flap__card {
  position: relative; height: var(--h); width: 6em;
  font-size: calc(var(--h) * 0.5); font-weight: 600; letter-spacing: -0.035em;
  perspective: 900px;
  border-radius: 16px;
  box-shadow: 0 2px 0 #fff inset, 0 24px 40px -22px rgba(0,0,0,.55), 0 6px 0 -1px #d9d4cc, 0 7px 0 -1px rgba(0,0,0,.12);
}
.flap__half, .flap__leaf {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  background: linear-gradient(180deg, #fefdfb, #f2efea);
  border: 1px solid rgba(0,0,0,.06);
}
.flap__half--top, .flap__leaf--top { top: 0; border-radius: 16px 16px 0 0; border-bottom: 0; }
.flap__half--bottom, .flap__leaf--bottom { bottom: 0; border-radius: 0 0 16px 16px; border-top: 0; background: linear-gradient(180deg, #f2efea, #ebe7e1); }
.flap__leaf--top { transform-origin: 50% 100%; z-index: 2; backface-visibility: hidden; }
.flap__leaf--bottom { transform-origin: 50% 0%; z-index: 2; backface-visibility: hidden; transform: rotateX(90deg); }
.flap__text {
  position: absolute; left: 0; right: 0; height: var(--h);
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap; line-height: 1; padding: 0 0.5em;
}
.flap__half--top .flap__text, .flap__leaf--top .flap__text { top: 0; }
.flap__half--bottom .flap__text, .flap__leaf--bottom .flap__text { bottom: 0; }
.flap__seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.14); z-index: 4; box-shadow: 0 1px 0 rgba(255,255,255,.6); }
.flap__count { color: var(--muted); padding-bottom: 6px; font-size: 11px; }
.flap__measure { position: absolute; visibility: hidden; white-space: nowrap; font-size: calc(var(--h) * 0.5); font-weight: 600; letter-spacing: -0.035em; padding: 0 0.5em; }

/* Portrait */
.hero { overflow: clip; }
.hero__portrait { position: relative; align-self: end; justify-self: center; width: min(100%, 560px); margin-bottom: -38px; z-index: 1; }
.portrait { position: relative; display: flex; justify-content: center; }
.portrait img {
  position: relative; z-index: 2; width: auto; height: min(78svh, 740px); max-width: 100%; object-fit: contain; object-position: bottom;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}
.portrait__glow {
  position: absolute; z-index: 1; left: 50%; bottom: 8%; width: 86%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(234,169,133,.75), rgba(199,182,234,.45) 55%, transparent 72%);
  filter: blur(10px);
}
.portrait__badge { position: absolute; right: 2%; top: 42%; z-index: 4; font-size: 11px; }

.hero__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 11px;
}
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 0 rgba(76,175,106,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(76,175,106,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,106,0); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: rgba(246,243,238,.5); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(30px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; }
.marquee b { font-size: 26px; color: var(--peach); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head__aside { max-width: 340px; color: var(--muted); }
.h2 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }

/* ---------- Doors (hallway) ---------- */
.doors { position: relative; padding: 120px 0 0; overflow: clip; }
.doors .section-head { padding: 0 var(--gutter); margin-bottom: 40px; }
.doors.is-zooming { overflow: visible; z-index: 55; }
.section-head--center { align-items: center; text-align: center; }

.hall { position: relative; will-change: transform; }
.hall__wall {
  position: relative; padding: 0 var(--gutter);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.6), transparent 65%),
    linear-gradient(180deg, #ebe6de 0%, #e2dbd0 100%);
  box-shadow: inset 0 40px 50px -40px rgba(0,0,0,.14);
}
.hall__wall::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hall__wainscot {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%; pointer-events: none;
  border-top: 3px solid #f7f3ed; box-shadow: 0 -1px 0 rgba(0,0,0,.07);
  background:
    repeating-linear-gradient(90deg, transparent 0 138px, rgba(0,0,0,.05) 138px 139px, rgba(255,255,255,.55) 139px 140px),
    linear-gradient(180deg, #e4ddd2, #d9d1c5);
}
.hall__row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 4vw, 72px);
  max-width: 1180px; margin: 0 auto; align-items: end;
}
.hall__base {
  position: relative; z-index: 1; height: 16px;
  background: linear-gradient(180deg, #fcfaf6, #e8e1d6);
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 8px 12px -6px rgba(0,0,0,.28);
}
.hall__floor { position: relative; height: 170px; overflow: hidden; background: #b98e60; }
.hall__planks {
  position: absolute; left: -20%; right: -20%; top: 0; height: 320%;
  transform: perspective(520px) rotateX(62deg); transform-origin: 50% 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 260px, rgba(60,35,10,.25) 260px 262px),
    repeating-linear-gradient(90deg, #c49d70 0 92px, #8f6a43 92px 94px, #b78f62 94px 186px, #8f6a43 186px 188px, #caa679 188px 280px, #8f6a43 280px 282px);
}
.hall__planks::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .35;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 6px, rgba(0,0,0,.05) 6px 7px, transparent 7px 15px);
}
.hall__floor::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(40,25,10,.25), transparent 30%, rgba(236,232,226,.6) 75%, var(--bg) 100%);
}

/* A single door */
.door {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding-top: 70px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.door__lamp {
  position: absolute; top: 18px; left: 50%; translate: -50% 0; z-index: 4;
  width: 70px; height: 22px; border-radius: 0 0 40px 40px;
  background: linear-gradient(180deg, #34322e, #0a0a0a); box-shadow: 0 6px 10px -4px rgba(0,0,0,.45);
}
.door__lamp::before { content: ""; position: absolute; left: 50%; top: -18px; width: 6px; height: 18px; translate: -50% 0; background: linear-gradient(90deg, #1b1a18, #45423d, #1b1a18); }
.door__lamp i {
  position: absolute; left: 50%; bottom: -3px; width: 34px; height: 8px; translate: -50% 0; border-radius: 50%;
  background: #fff6df; box-shadow: 0 0 16px 6px rgba(255,220,160,.85); transition: box-shadow .5s;
}
.door__cone {
  position: absolute; top: 40px; left: 50%; translate: -50% 0; z-index: 3; pointer-events: none;
  width: 150%; height: 70%; mix-blend-mode: soft-light; opacity: .9; transition: opacity .6s;
  background: radial-gradient(50% 55% at 50% 0%, rgba(255,240,205,1), rgba(255,230,180,.35) 45%, transparent 75%);
}
.door__casing {
  position: relative; display: block; width: min(100%, 27svh); aspect-ratio: 1 / 2.05;
  padding: 16px 16px 0; border-radius: 5px 5px 0 0;
  background: linear-gradient(90deg, #efe9e0, #fdfbf7 28%, #f6f2ec 70%, #e9e2d7);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.06), inset 0 0 0 5px #fbf9f5, inset 0 0 0 6px rgba(0,0,0,.08),
    12px 16px 30px -16px rgba(0,0,0,.4), -4px 0 12px -8px rgba(0,0,0,.2);
  perspective: 1500px;
}
.door__inside {
  position: absolute; inset: 16px 16px 0; overflow: hidden;
  background: radial-gradient(70% 45% at 50% 35%, #fffaf0, transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--door) 35%, #fff1dc) -10%, #fff1dc 55%, #ffe4bd);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), inset 18px 0 24px -14px rgba(0,0,0,.35), inset 0 -20px 30px -20px rgba(150,90,30,.35);
}
.door__glow {
  position: absolute; inset: -30%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, #fffdf6, rgba(255,240,210,.9) 45%, rgba(255,230,190,0));
}
.door__leaf {
  position: relative; display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--door-lo) 0%, var(--door) 5%, var(--door) 78%, var(--door-hi) 100%);
  transform-origin: 0% 50%; transform: rotateY(var(--ajar, 0deg));
  transition: transform .8s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.18), 8px 0 22px -10px rgba(0,0,0,.5);
  backface-visibility: hidden; will-change: transform;
}
.door__grain {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .7;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px, rgba(0,0,0,.08) 4px 5px, transparent 5px 9px, rgba(255,255,255,.04) 9px 10px, transparent 10px 14px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='300'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.02 .6' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.door__panels {
  position: absolute; inset: 8% 13% 7%; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 2fr 1.35fr; gap: 6% 13%;
}
.door__panels i {
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(0,0,0,.1));
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.14), inset -2px -2px 0 rgba(0,0,0,.3),
    inset 0 0 0 6px rgba(0,0,0,.05), inset 7px 7px 0 -1px rgba(0,0,0,.1), inset -7px -7px 0 -1px rgba(255,255,255,.07);
}
.door__number {
  position: absolute; left: 50%; top: 2.6%; translate: -50% 0;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em;
  background: linear-gradient(180deg, #f8e1a2, #c79a3c); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.45));
}
.door__plate {
  position: absolute; left: 50%; top: 41%; translate: -50% -50%;
  padding: 6px 10px; border-radius: 3px; white-space: nowrap; text-align: center;
  font-size: clamp(7.5px, .66vw, 9.5px); line-height: 1.35; letter-spacing: .14em; font-weight: 500; color: #3d2c0b;
  background: linear-gradient(135deg, #f6dd9a, #c99c3e 42%, #f2d283 58%, #a77a26);
  box-shadow: 0 2px 5px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.2);
}
.door__plate::before, .door__plate::after { content: ""; position: absolute; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: #8f6820; }
.door__plate::before { left: 3px; } .door__plate::after { right: 3px; }
.door__hinge { position: absolute; left: -2px; width: 6px; height: 7%; border-radius: 2px; background: linear-gradient(90deg, #8f6820, #f3d38a 50%, #a87c27); box-shadow: 1px 1px 2px rgba(0,0,0,.4); }
.door__hinge:nth-of-type(1) { top: 10%; } .door__hinge:nth-of-type(2) { top: 82%; }
.door__lock {
  position: absolute; right: 8%; top: 52%; width: 12px; height: 13%; border-radius: 6px;
  background: linear-gradient(90deg, #9a7024, #f6dd9a 45%, #c79a3c);
  box-shadow: 0 4px 8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
.door__lever {
  position: absolute; top: 10%; right: 1px; width: 38px; height: 8px; border-radius: 5px;
  background: linear-gradient(180deg, #f8e3a6, #c99c3e 55%, #8f6820);
  box-shadow: 0 5px 7px rgba(0,0,0,.45);
  transform-origin: calc(100% - 5px) 50%; transform: rotate(var(--lever, 0deg)); transition: transform .45s var(--ease);
}
.door__key { position: absolute; left: 50%; bottom: 14%; width: 4px; height: 8px; translate: -50% 0; border-radius: 2px 2px 1px 1px; background: #2f2208; }
.door__kick {
  position: absolute; left: 5%; right: 5%; bottom: 2.5%; height: 6%; border-radius: 2px;
  background: linear-gradient(180deg, #f1dca5, #b78a33); opacity: .9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(0,0,0,.3);
}
.door__gap {
  position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; z-index: 3;
  background: #ffe7bb; box-shadow: 0 0 12px 3px rgba(255,214,150,.8); opacity: .65; transition: opacity .5s;
}
.door__spill {
  position: absolute; left: -15%; right: -15%; bottom: -46px; height: 46px; z-index: 3; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,214,150,.7), transparent 70%);
  opacity: .45; transition: opacity .6s var(--ease);
}
.door__label {
  position: absolute; left: 50%; bottom: -96px; translate: -50% 0; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(251,250,247,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
}
.door__label span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--door); color: var(--ink-on); font-size: 13px; transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .door:hover .door__leaf, .door:focus-visible .door__leaf { --ajar: -17deg; }
  .door:hover .door__lever, .door:focus-visible .door__lever { --lever: -26deg; }
  .door:hover .door__spill, .door:hover .door__gap { opacity: 1; }
  .door:hover .door__lamp i { box-shadow: 0 0 26px 12px rgba(255,220,160,.95); }
  .door:hover .door__label span { transform: translateX(3px); }
}
.door:focus-visible { outline: none; }
.door:focus-visible .door__casing { outline: 2px solid var(--ink); outline-offset: 6px; }
.doors__hint { text-align: center; color: var(--muted); font-size: 11px; margin: 0; padding: 0 0 60px; position: relative; z-index: 2; margin-top: -50px; }

/* Light flood between hallway and room */
.flash {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; visibility: hidden;
  background: radial-gradient(circle at 50% 50%, #fffef9 0%, #fff6e4 50%, #ffe8c6 100%);
}

/* ---------- Rooms ---------- */
.room-open .header { opacity: 0; pointer-events: none; }
.header { transition: opacity .4s; }
.rooms { position: relative; z-index: 61; }
.room {
  --soft: color-mix(in srgb, var(--accent) 8%, #f7f3ec);
  position: fixed; inset: 0; z-index: 61; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: var(--soft); color: var(--ink); visibility: hidden;
}
.room.is-open { visibility: visible; }
.room__top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); pointer-events: none;
}
.room__top > * { pointer-events: auto; }
.room__hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px;
  padding: 120px var(--gutter) 100px;
  background: var(--accent); color: var(--accent-ink);
}
.room__hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 80% 30%, rgba(255,255,255,.22), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(0,0,0,.18), transparent 70%);
}
.room__bignum {
  position: absolute; right: -3vw; bottom: -10vw; z-index: 0; pointer-events: none;
  font-size: 48vw; font-weight: 700; letter-spacing: -0.09em; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--accent-ink) 16%, transparent);
}
.room__hero-copy, .room__hero-visual { position: relative; z-index: 1; }
.room__kicker { opacity: .75; display: flex; align-items: center; gap: 10px; }
.room__kicker i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.room__title { font-size: clamp(56px, 9vw, 150px); font-weight: 600; letter-spacing: -0.06em; line-height: .92; margin: 20px 0 24px; }
.room__lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 560px; color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.room__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.room__chips span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent-ink) 28%, transparent);
}
.room__hero-visual { display: grid; place-items: center; }
.room__scroll { position: absolute; left: var(--gutter); bottom: 26px; z-index: 1; opacity: .7; font-size: 11px; }
.room__top .pill { background: rgba(251,250,247,.85); color: var(--ink); }

.room__band { overflow: hidden; background: var(--band); color: var(--band-ink); padding: 22px 0; }
.room__band-track { display: flex; gap: 40px; width: max-content; white-space: nowrap; }
.room__band-track span { font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -0.045em; }
.room__band-track b { font-size: 30px; align-self: center; color: var(--band-dot); }

.room__body { padding: 110px var(--gutter) 120px; max-width: 1320px; margin: 0 auto; }
.room__label { color: var(--muted); margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.room__label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.room__includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.room__includes li {
  position: relative; overflow: hidden; min-height: 170px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 24px 40px -34px rgba(0,0,0,.4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.room__includes li::after {
  content: ""; position: absolute; right: -36px; top: -36px; width: 100px; height: 100px; border-radius: 50%;
  background: var(--accent); transform: scale(.55); transition: transform .6s var(--ease);
}
.room__includes li b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); position: relative; z-index: 1; }
.room__includes li span { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; position: relative; z-index: 1; }
@media (hover: hover) {
  .room__includes li:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -34px rgba(0,0,0,.5); }
  .room__includes li:hover::after { transform: scale(1); }
}
.room__process { margin-top: 120px; }
.room__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 46px; }
.room__steps-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.room__steps-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.room__step { position: relative; }
.room__step::before {
  content: ""; position: absolute; left: 0; top: -46px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--soft); border: 2px solid var(--muted); transition: all .4s var(--ease);
}
.room__step.is-on::before { background: var(--accent); border-color: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); }
.room__step b { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.room__step h4 { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.04em; font-weight: 600; }
.room__step p { color: #625c55; font-size: 15px; max-width: 260px; }
.room__cta {
  position: relative; overflow: hidden; margin-top: 120px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
  padding: clamp(30px, 5vw, 64px); border-radius: 34px; background: var(--accent); color: var(--accent-ink);
}
.room__cta::before { content: ""; position: absolute; right: -8%; top: -50%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); }
.room__cta h3 { position: relative; font-size: clamp(36px, 5vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.room__cta-btns { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.btn--solid { background: var(--accent-ink); color: var(--accent); padding: 0 24px; }
.btn--line { border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); color: var(--accent-ink); padding: 0 22px; }

@media (max-width: 1000px) {
  .hall__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 150px; max-width: 560px; padding-bottom: 0; }
  .door__casing { width: min(100%, 22svh); }
  .door::after {
    content: ""; position: absolute; left: -14%; right: -14%; bottom: -14px; height: 14px; z-index: 2;
    background: linear-gradient(180deg, #fcfaf6, #e8e1d6); box-shadow: 0 8px 12px -6px rgba(0,0,0,.28);
  }
  .door:nth-child(n+3)::after { display: none; }
  .door__label { bottom: -76px; }
  .door:nth-child(-n+2) .door__label { bottom: -70px; }
  .hall__wainscot { height: 22%; }
  .room__hero { grid-template-columns: 1fr; min-height: 0; padding-top: 110px; }
  .room__bignum { font-size: 80vw; bottom: -14vw; }
  .room__steps { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .room__steps-line { display: none; }
}
@media (max-width: 560px) {
  .hall__row { gap: 22px; row-gap: 140px; }
  .door { padding-top: 60px; }
  .door__label { font-size: 12.5px; padding: 6px 6px 6px 12px; }
  .door__label span { width: 22px; height: 22px; }
  .door__plate { font-size: 7px; padding: 4px 6px; }
  .room__steps { grid-template-columns: 1fr; row-gap: 56px; }
  .room__includes li { min-height: 130px; }
  .phone { transform: rotate(3deg) scale(.9); }
}

/* Mock: browser */
.mock { width: min(100%, 520px); }
.mock--browser { border-radius: 16px; background: #1b1a18; padding: 10px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); transform: rotate(-2deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff3c00; }
.mock__bar i:nth-child(2) { background: #f2b33d; } .mock__bar i:nth-child(3) { background: #c8ff00; }
.mock__bar span { margin-left: 10px; flex: 1; font-family: var(--mono); font-size: 10px; color: #8f8981; background: #2a2825; border-radius: 999px; padding: 4px 12px; }
.mock__page { position: relative; background: #f5f2eb; border-radius: 8px; padding: 18px 20px 26px; min-height: 250px; overflow: hidden; }
.mock__nav { display: flex; align-items: center; gap: 14px; font-size: 10px; color: #8d877f; margin-bottom: 30px; }
.mock__nav b { color: #ff3c00; font-size: 13px; margin-right: auto; letter-spacing: -0.02em; }
.mock__page h4 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.04em; position: relative; z-index: 2; }
.mock__page h4 em { font-style: normal; color: #ff3c00; }
.mock__btns { display: flex; gap: 8px; margin-top: 18px; position: relative; z-index: 2; }
.mock__btns span { width: 78px; height: 24px; border-radius: 999px; background: #0a0a0a; }
.mock__btns span + span { background: transparent; border: 1.5px solid #0a0a0a; }
.mock__shapes i { position: absolute; display: block; }
.mock__shapes i:nth-child(1) { right: 70px; top: 70px; width: 56px; height: 56px; border-radius: 12px; background: #ff3c00; }
.mock__shapes i:nth-child(2) { right: 18px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%; background: #c8ff00; }
.mock__shapes i:nth-child(3) { right: 50px; top: 52px; width: 30px; height: 30px; border-radius: 50%; background: #0a0a0a; }

/* Mock: phone */
.phone { width: 250px; margin: 0 auto; border-radius: 38px; background: #f5f2eb; padding: 16px 16px 20px; border: 8px solid #0a0a0a; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); transform: rotate(4deg); }
.phone__notch { width: 80px; height: 20px; border-radius: 999px; background: #0a0a0a; margin: 0 auto 18px; }
.phone__hi { font-size: 11px; color: #8d877f; }
.phone h4 { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.04em; }
.phone__card { background: #0a0a0a; color: #f5f2eb; border-radius: 16px; padding: 14px; }
.phone__card span { font-size: 10px; color: #8f8981; }
.phone__card b { display: block; font-size: 30px; color: #c8ff00; letter-spacing: -0.04em; margin: 2px 0 10px; }
.phone__bars { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.phone__bars i { flex: 1; height: var(--h); border-radius: 4px; background: #3a3833; transform-origin: bottom; }
.phone__bars i:nth-last-child(2) { background: #c8ff00; }
.phone ul { margin-top: 12px; display: grid; gap: 8px; }
.phone li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; }
.phone li i { width: 16px; height: 16px; border-radius: 5px; background: #ff3c00; }
.phone li:nth-child(2) i { background: #c8ff00; } .phone li:nth-child(3) i { background: #0a0a0a; }
.phone li span { margin-left: auto; color: #8d877f; }

/* Mock: chat */
.mock--chat { background: #1b1a18; color: #f5f2eb; border-radius: 22px; padding: 18px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); transform: rotate(-1.5deg); width: min(100%, 440px); }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c8ff00; color: #0a0a0a; font-size: 18px; }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8f8981; }
.chat__head small i { width: 6px; height: 6px; border-radius: 50%; background: #c8ff00; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; min-height: 220px; }
.msg { margin: 0; max-width: 80%; padding: 11px 14px; border-radius: 14px; font-size: 14px; }
.msg--user { align-self: flex-end; background: #34322e; border-bottom-right-radius: 4px; }
.msg--agent { align-self: flex-start; background: #c8ff00; color: #0a0a0a; font-weight: 600; border-bottom-left-radius: 4px; }
.msg--typing { align-self: flex-start; display: flex; gap: 5px; background: #34322e; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #8f8981; animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }

/* Mock: wireframe */
.mock--wire { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; width: min(100%, 480px); padding: 22px; background: #fbfaf7; border-radius: 18px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.45); position: relative; }
.wire { border-radius: 8px; background: #e8e3db; height: 26px; }
.wire--nav { grid-column: span 6; height: 18px; background: #dcd6cd; }
.wire--hero { grid-column: span 4; height: 110px; background: #f5f2eb; }
.wire--side { grid-column: span 2; height: 110px; }
.wire--t1 { grid-column: span 5; height: 14px; } .wire--t2 { grid-column: span 3; height: 14px; }
.wire--card { grid-column: span 2; height: 70px; } .wire--card:nth-of-type(8) { background: #0a0a0a; }
.wire__cursor { position: absolute; left: 60%; top: 40%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: #ff3c00; transform: rotate(-20deg); box-shadow: 0 4px 10px rgba(0,0,0,.3); }

/* ---------- Work ---------- */
.work { padding: 120px var(--gutter); }
.work__list { border-top: 1px solid var(--line); }
.work__row {
  position: relative;
  display: grid; grid-template-columns: 60px 1fr auto 40px; align-items: center; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: padding .5s var(--ease), color .3s;
}
.work__row::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
  border-radius: 14px;
}
.work__n { color: var(--muted); }
.work__name { font-size: clamp(26px, 3.8vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.work__tag { color: var(--muted); font-size: 11px; }
.work__arrow { font-size: 24px; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .work__row.is-hover { padding-inline: 24px; color: var(--bg-2); }
  .work__row.is-hover::before { transform: scaleY(1); }
  .work__row.is-hover .work__arrow { transform: rotate(45deg); }
  .work__row.is-hover .work__n, .work__row.is-hover .work__tag { color: #8f8981; }
}
.cursor-card {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 240px; height: 170px; border-radius: 18px; margin: -85px 0 0 -120px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px;
  color: #fff; opacity: 0; transform: scale(.6);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  background: linear-gradient(135deg, hsl(var(--hue, 20) 70% 62%), hsl(calc(var(--hue, 20) + 40) 55% 42%));
}
.cursor-card__initials { font-size: 64px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.cursor-card__label { font-size: 10.5px; opacity: .85; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--gutter); border-block: 1px solid var(--line);
}
.stat { padding: 46px 24px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 11px; }

/* ---------- Contact ---------- */
.contact { padding: 160px var(--gutter) 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.contact__title { font-size: clamp(54px, 10vw, 160px); font-weight: 600; letter-spacing: -0.055em; line-height: .95; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: clamp(18px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em;
  padding: 18px 18px 18px 30px; border-radius: 999px; background: var(--ink); color: var(--bg-2);
  max-width: 100%; transition: transform .5s var(--ease);
}
.contact__mail span:first-child { overflow: hidden; text-overflow: ellipsis; }
.contact__mail:hover { transform: translateY(-3px); }
.contact__mail-arrow { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--peach); color: var(--ink); transition: transform .5s var(--ease); }
.contact__mail:hover .contact__mail-arrow { transform: rotate(-45deg); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials .pill { transition: background .3s, transform .4s var(--ease); }
.socials .pill:hover { background: var(--card); transform: translateY(-2px); }

.footer { display: flex; justify-content: space-between; gap: 16px; padding: 26px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 110px; gap: 48px; }
  .hero__portrait { width: 100%; margin-bottom: -60px; }
  .portrait img { height: min(62svh, 520px); }
  .hide-sm { display: none; }
  .clock__label { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .work__row { grid-template-columns: 36px 1fr 28px; gap: 12px; padding: 20px 0; }
  .work__tag { display: none; }
  .cursor-card { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 14px; }
  .clock #clockDate, .clock__dot { display: none; }
  .hero__bar span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


@media (max-width: 560px) {
  .mock__shapes i:nth-child(1) { right: 12px; top: 58px; width: 34px; height: 34px; border-radius: 9px; }
  .mock__shapes i:nth-child(3) { right: 4px; top: 46px; width: 20px; height: 20px; }
  .mock__shapes i:nth-child(2) { width: 100px; height: 100px; right: -10px; bottom: -40px; }
}

/* Mock-ups keep their own ink colour inside coloured rooms */
.phone, .mock__page, .mock--wire { color: #0a0a0a; }

/* =========================================================
   Insights Studios additions
   ========================================================= */
:root {
  --red: #ff3c00;
  --volt: #c8ff00;
  --volt-hi: #c8ff00;
  --paper: #f5f2eb;
  --white: #ffffff;
  --lilac-door: #f5f2eb;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg-2); font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* ---------- Logo ---------- */
.logo { gap: 10px; padding-left: 6px; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.logo__mark {
  position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2); color: var(--red); font-weight: 800; font-size: 12.5px; letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px var(--line);
}
.logo__mark i {
  position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg);
}
.logo--plain { display: inline-flex; align-items: center; padding: 0; }
.logo--plain .logo__word { font-size: 20px; letter-spacing: -0.03em; }
.logo--plain .logo__mark { width: 40px; height: 40px; font-size: 15px; background: var(--ink); box-shadow: none; }

/* ---------- Header ---------- */
.header__right { display: flex; gap: 10px; align-items: center; }

/* ---------- Menu ---------- */
.menu__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.menu__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 14px; }
.menu__mail { color: #a8a299; font-size: 12px; }
.menu__mail:hover { color: var(--bg-2); }
.menu__list a:hover { color: var(--volt); }

/* ---------- Buttons ---------- */
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt .btn__arrow { background: var(--ink); color: var(--volt); }
.btn--volt:hover .btn__arrow { transform: rotate(-45deg); }
.btn--lg { height: 60px; font-size: 17px; padding-left: 28px; }
.btn--lg .btn__arrow { width: 46px; height: 46px; }

/* ---------- Hero ---------- */
@media (min-width: 821px) { .hero { grid-template-columns: 1.05fr 0.95fr; } }
.hero__copy { gap: 22px; }
.hero__sub { max-width: 520px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); }
.flap-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.flap-row__label { color: var(--muted); font-size: 12px; }
.flap { --h: clamp(60px, 6.6vw, 96px); }

.hero__visual { position: relative; align-self: center; justify-self: end; width: min(100%, 620px); aspect-ratio: 1 / 0.92; }
.frame {
  position: absolute; margin: 0; border-radius: 16px; background: #1b1a18; padding: 8px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.55);
}
.frame img { border-radius: 9px; width: 100%; height: auto; }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 3px 6px 9px; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.frame__bar i:nth-child(2) { background: #f2b33d; }
.frame__bar i:nth-child(3) { background: var(--volt); }
.frame__bar span {
  margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; color: #8f8981; background: #2a2825; border-radius: 999px; padding: 4px 12px;
}
.frame--main { left: 0; top: 4%; width: 84%; transform: rotate(-2deg); z-index: 1; }
.frame--sub { right: 0; bottom: 2%; width: 62%; transform: rotate(3deg); z-index: 2; }
.hero__badge { position: absolute; left: 4%; bottom: 10%; z-index: 3; font-size: 11px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 4% 0 10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(234,169,133,.7), rgba(199,182,234,.45) 55%, transparent 72%);
  filter: blur(20px);
}

/* ---------- Marquee diamond ---------- */
.marquee b { width: 14px; height: 14px; background: var(--volt); transform: rotate(45deg); flex: none; font-size: 0; }
.marquee b:nth-of-type(2n) { background: var(--red); }

/* ---------- Doors ---------- */
.door__price {
  position: absolute; left: 50%; bottom: -128px; translate: -50% 0; z-index: 4;
  color: var(--ink-2); font-size: 10.5px; white-space: nowrap;
}
.doors__hint { margin-top: -20px; }
.doors__hint a { text-decoration: underline; text-underline-offset: 3px; }
.doors__hint a:hover { color: var(--ink); }

/* Room extras */
.room__price {
  display: inline-flex; margin-top: 22px; padding: 10px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent-ink) 10%, transparent); font-size: 12px;
}
.room__more { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; padding: 0 12px; display: inline-flex; align-items: center; height: 52px; }

/* Mock: care plan dashboard */
.mock--care { width: min(100%, 420px); background: #fbfaf7; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.5); transform: rotate(2deg); }
.care__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.care__head b { font-size: 18px; letter-spacing: -0.03em; }
.care__head span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: #e9f5d2; color: #3f5a07; }
.care__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.care__row i { width: 22px; height: 22px; border-radius: 50%; background: var(--volt); display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--ink); }
.care__row em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Work ---------- */
.work__list li { list-style: none; }
.work__row { color: inherit; }
.work__all { margin-top: 40px; }
.cursor-card { width: 280px; height: 200px; margin: -100px 0 0 -140px; overflow: hidden; }
.cursor-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; }
.cursor-card.has-img .cursor-card__img { opacity: 1; }
.cursor-card.has-img .cursor-card__initials { opacity: 0; }
.cursor-card__label { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(21,20,18,.8); color: #fff; }

/* ---------- Guarantee ---------- */
.guarantee { padding: 0 var(--gutter); }
.guarantee__inner {
  position: relative; overflow: hidden; border-radius: 40px;
  padding: clamp(48px, 7vw, 110px) clamp(24px, 5vw, 80px) clamp(36px, 4vw, 56px);
  background: var(--ink); color: var(--bg-2);
}
.guarantee__inner::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(169,217,48,.35), transparent 65%); filter: blur(10px);
}
.tag--light { color: #c9c3ba; }
.tag--light .tag__dot { background: var(--volt); }
.guarantee__title { position: relative; margin: 22px 0 26px; font-size: clamp(48px, 8vw, 128px); font-weight: 600; letter-spacing: -0.055em; line-height: .95; }
.guarantee__title span { color: var(--volt); }
.guarantee__text { position: relative; max-width: 600px; font-size: clamp(17px, 1.4vw, 20px); color: #c9c3ba; }
.guarantee .stats { margin: 64px 0 0; border-color: rgba(255,255,255,.12); position: relative; }
.guarantee .stat { border-color: rgba(255,255,255,.12); }
.guarantee .stat__label { color: #a8a299; }
.guarantee__note { position: relative; margin-top: 24px; font-size: 13px; color: #8f8981; }
.guarantee__note a { color: var(--bg-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reviews ---------- */
.reviews { padding: 140px var(--gutter) 40px; }
.reviews__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.review {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  padding: 30px; border-radius: 28px; background: rgba(251,250,247,.75); border: 1px solid var(--line);
  box-shadow: 0 24px 40px -34px rgba(0,0,0,.4);
}
.review--feat { background: var(--volt); border-color: transparent; }
.review__stars { color: var(--red); letter-spacing: 3px; font-size: 15px; }
.review__stars span { color: rgba(21,20,18,.2); }
.review--feat .review__stars { color: var(--ink); }
.review blockquote { margin: 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.3; }
.review--feat blockquote { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption span:last-child { display: flex; flex-direction: column; gap: 2px; }
.review figcaption small { color: var(--muted); font-size: 10.5px; }
.review--feat figcaption small { color: #3f5a07; }
.review__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg-2); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; padding: 120px var(--gutter) 40px; }
.faq__head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; align-self: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
  padding: 26px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.03em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ink); }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] summary i { background: var(--ink); }
.faq__item[open] summary i::before { background: var(--bg-2); }
.faq__item[open] summary i::after { transform: rotate(0deg); background: var(--bg-2); }
.faq__item summary:hover i { transform: rotate(90deg); }
.faq__item p { padding: 0 60px 28px 0; color: #5f5a54; max-width: 680px; }

/* ---------- Contact ---------- */
.contact { gap: 28px; }
.contact__sub { max-width: 560px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.contact__mail { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 8px 8px 8px 26px; font-size: clamp(16px, 1.6vw, 20px); }
.contact__mail-arrow { width: 44px; height: 44px; }

/* ---------- Footer ---------- */
.footer { display: block; padding: 0 var(--gutter); border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 56px; }
.footer__brand p { margin-top: 18px; max-width: 320px; color: var(--muted); }
.footer__title { color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1000px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--feat { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .door__price { bottom: -104px; }
}
@media (max-width: 820px) {
  .hero__visual { justify-self: stretch; width: 100%; max-width: 560px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq__head { position: static; }
  .faq__item p { padding-right: 0; }
  .logo__word { display: none; }
  .logo { padding-right: 6px; }
  .logo--plain .logo__word { display: inline; }
}
@media (max-width: 560px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .review { padding: 24px; }
  .guarantee__inner { border-radius: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .footer__bottom { flex-direction: column; }
  .door__price { display: none; }
  .clock { display: none; }
}
@media (max-width: 820px) {
  .hero__badge { left: auto; right: 4%; bottom: -2%; }
}

/* =========================================================
   Old Insights palette: light + dark bands
   paper #f5f2eb · white · ink #0a0a0a · red #ff3c00 · volt #c8ff00
   ========================================================= */
::selection { background: var(--red); color: #fff; }
.logo__mark { background: var(--white); }
.logo__mark i { background: var(--volt); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.tag__dot { background: var(--red); }
.btn--dark:hover { background: var(--red); }
.btn--dark:hover .btn__arrow { color: var(--red); }
.hero__visual::before { background: radial-gradient(circle at 40% 40%, rgba(200,255,0,.45), rgba(255,60,0,.18) 55%, transparent 72%); }
.flap-row__label { color: var(--red); }
.menu { background: var(--ink); }

/* Marquee: dark band */
.marquee { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Doors hall: keep warm neutral wall */
.door__price { color: var(--muted); }

/* Work: dark band */
.work { background: var(--ink); color: var(--paper); }
.work .muted, .work .section-head__aside, .work .work__n, .work .work__tag { color: #8a857c; }
.work .tag { color: #bdb8ae; }
.work__list, .work__row { border-color: rgba(255,255,255,.1); }
.work__row::before { background: var(--volt); }
@media (hover: hover) {
  .work__row.is-hover { color: var(--ink); }
  .work__row.is-hover .work__n, .work__row.is-hover .work__tag { color: rgba(10,10,10,.55); }
}
.work .btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.2); }
.work .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.work { padding-bottom: 130px; }

/* Guarantee: ink card on white */
.guarantee { background: var(--white); padding-top: 110px; padding-bottom: 20px; }
.guarantee__inner::before { background: radial-gradient(circle, rgba(255,60,0,.35), transparent 65%); }
.guarantee__title span { color: var(--volt); }

/* Reviews: white continues, featured card in volt */
.reviews { background: var(--white); padding-top: 120px; padding-bottom: 120px; }
.review { background: var(--paper); }
.review--feat { background: var(--volt); }
.review--feat figcaption small { color: rgba(10,10,10,.6); }

/* FAQ: paper */
.faq { background: var(--paper); padding-bottom: 120px; }

/* Contact: red band, like the old call-to-action */
.contact { background: var(--red); color: var(--paper); }
.contact .line--muted { color: var(--ink); }
.contact .tag { color: var(--paper); }
.contact .tag__dot { background: var(--paper); }
.contact__sub { color: rgba(245,242,235,.85); }
.contact .btn--dark { background: var(--ink); }
.contact .btn--dark:hover { background: var(--paper); color: var(--ink); }
.contact .btn--dark:hover .btn__arrow { background: var(--ink); color: var(--paper); }
.contact__mail { color: var(--paper); border-color: rgba(245,242,235,.45); }
.contact__mail-arrow { background: var(--paper); color: var(--red); }
.contact .socials .pill { background: rgba(10,10,10,.14); color: var(--paper); border-color: rgba(245,242,235,.3); box-shadow: none; }
.contact .socials .pill:hover { background: var(--ink); }

/* Footer: ink */
.footer { background: var(--ink); color: var(--paper); border-top: 0; }
.footer__brand p, .footer__title, .footer .muted { color: #8a857c; }
.footer ul a { color: #cfcac1; }
.footer ul a:hover { color: var(--volt); }
.footer__bottom { border-color: rgba(255,255,255,.1); color: #8a857c; }
.footer__bottom a:hover { color: var(--paper); }
.logo--plain .logo__mark { background: var(--paper); }

/* WhatsApp float (every page) */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 45;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.room-open .wa-float, .menu-open .wa-float { opacity: 0; pointer-events: none; }
.menu__list a.is-current { color: var(--volt); }

/* ---------- Pricing inside each room ---------- */
.room__pricing { margin-top: 120px; }
.room__tiers { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.room__tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 24px; border-radius: 24px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 40px -34px rgba(0,0,0,.4);
}
.tier--feat { border: 2px solid var(--ink); }
.tier__badge {
  position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 10px;
}
.tier__name { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.tier__tag { color: var(--muted); font-size: 10.5px; margin-top: 4px; }
.tier__price { margin-top: 22px; font-size: clamp(40px, 4vw, 54px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.tier--feat .tier__price { color: var(--red); }
.tier__price small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.tier__time { margin-top: 10px; font-size: 11px; color: var(--ink-2); }
.tier__feats { margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; flex: 1; align-content: start; }
.tier__feats li { position: relative; padding-left: 18px; font-size: 14.5px; color: #4f4b45; line-height: 1.4; }
.tier__feats li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--volt); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.tier__btn {
  display: grid; place-items: center; height: 48px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); transition: background .25s, color .25s;
}
.tier__btn:hover, .tier--feat .tier__btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier--feat .tier__btn:hover { background: var(--red); border-color: var(--red); }
.room__pricing-note { margin-top: 22px; font-size: 14px; color: #5f5a54; max-width: 760px; }
.room__pricing-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 1100px) { .room__tiers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } }
@media (max-width: 820px) { .room__tiers, .room__tiers--4 { grid-template-columns: 1fr; row-gap: 26px; } .room__pricing { margin-top: 90px; } }

/* =========================================================
   Dark mode ("lights off" — toggled by the pull cord)
   Tokens flip, so text and primary buttons invert on their own.
   Bands that are dark in light mode stay dark as charcoal panels.
   ========================================================= */
:root { --night: #0a0a0a; --on-night: #f5f2eb; }
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0c;
  --bg-2: #151514;
  --card: #1b1a19;
  --ink: #f2eee6;
  --ink-2: #d4cfc6;
  --muted: #8f8a81;
  --line: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --paper: #121211;
  --white: #191918;
  --night: #1f1e1c;
  --on-night: #f2eee6;
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease, fill .6s ease !important;
}

/* Pills, ghost buttons and the header */
html[data-theme="dark"] .pill { background: rgba(28,27,26,.78); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 20px -12px rgba(0,0,0,.6); }
html[data-theme="dark"].menu-open .header .pill { background: rgba(28,27,26,.95); }
html[data-theme="dark"] .btn--ghost { background: rgba(28,27,26,.6); }
html[data-theme="dark"] .btn--ghost:hover { background: var(--card); }
html[data-theme="dark"] .logo__mark { background: #1f1e1c; box-shadow: inset 0 0 0 1px var(--line); }

/* Bands that stay dark */
html[data-theme="dark"] .menu,
html[data-theme="dark"] .marquee,
html[data-theme="dark"] .work,
html[data-theme="dark"] .guarantee__inner,
html[data-theme="dark"] .footer { background: var(--night); color: var(--on-night); }
html[data-theme="dark"] .marquee { border-color: var(--line); }
html[data-theme="dark"] .work .btn--ghost { color: var(--on-night); }
html[data-theme="dark"] .work .btn--ghost:hover { background: var(--on-night); color: #0a0a0a; }
html[data-theme="dark"] .logo--plain .logo__mark { background: #2a2927; }

/* Volt and red surfaces keep black text */
html[data-theme="dark"] .work__row.is-hover,
html[data-theme="dark"] .review--feat,
html[data-theme="dark"] .btn--volt,
html[data-theme="dark"] .flap__card,
html[data-theme="dark"] .door__label,
html[data-theme="dark"] .room__top .pill { color: #0a0a0a; }
html[data-theme="dark"] .btn--volt .btn__arrow { background: #0a0a0a; color: var(--volt); }
html[data-theme="dark"] .contact { color: #f5f2eb; }
html[data-theme="dark"] .contact .line--muted { color: #0a0a0a; }
html[data-theme="dark"] .contact__sub { color: rgba(245,242,235,.88); }
html[data-theme="dark"] .contact__mail { color: #f5f2eb; }
html[data-theme="dark"] .contact__mail-arrow { background: #f5f2eb; }
html[data-theme="dark"] .contact .btn--dark { background: #0a0a0a; color: #f5f2eb; }
html[data-theme="dark"] .contact .btn--dark .btn__arrow { background: #f5f2eb; color: #0a0a0a; }
html[data-theme="dark"] .contact .socials .pill { background: rgba(10,10,10,.18); color: #f5f2eb; }

/* Softer body text */
html[data-theme="dark"] .faq__item p,
html[data-theme="dark"] .room__step p,
html[data-theme="dark"] .room__pricing-note,
html[data-theme="dark"] .tier__feats li { color: #b3ada3; }
html[data-theme="dark"] .menu__list a span, html[data-theme="dark"] .menu__foot { color: #8a857c; }
html[data-theme="dark"] .review__av { color: #0a0a0a; }

/* Hallway at night: walls and floor go dark, the lamps do the lighting */
html[data-theme="dark"] .hall__wall {
  background: radial-gradient(120% 70% at 50% 0%, rgba(255,220,160,.06), transparent 65%), linear-gradient(180deg, #1d1b18 0%, #161412 100%);
  box-shadow: inset 0 40px 50px -40px rgba(0,0,0,.6);
}
html[data-theme="dark"] .hall__wall::before { opacity: .25; }
html[data-theme="dark"] .hall__wainscot {
  border-top-color: #2a2723;
  background: repeating-linear-gradient(90deg, transparent 0 138px, rgba(0,0,0,.25) 138px 139px, rgba(255,255,255,.04) 139px 140px), linear-gradient(180deg, #1a1815, #13110f);
}
html[data-theme="dark"] .hall__base { background: linear-gradient(180deg, #2a2723, #1a1815); }
html[data-theme="dark"] .hall__planks { filter: brightness(.38) saturate(.8); }
html[data-theme="dark"] .hall__floor::after { background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 30%, rgba(13,13,12,.6) 75%, var(--bg) 100%); }
html[data-theme="dark"] .door__casing { background: linear-gradient(90deg, #24221f, #2f2c28 28%, #2a2724 70%, #211f1c); }
html[data-theme="dark"] .door__cone { mix-blend-mode: screen; opacity: .28; }
html[data-theme="dark"] .door__lamp i { box-shadow: 0 0 26px 12px rgba(255,214,150,.75); }
html[data-theme="dark"] .door__spill { opacity: .8; }
html[data-theme="dark"] .door__label { background: rgba(245,242,235,.92); }
html[data-theme="dark"] .room { --soft: color-mix(in srgb, var(--accent) 9%, #121211); }

/* ---------- Pull cord (theme toggle) ---------- */
.cord {
  --pull: 0px;
  position: relative; display: block; width: 34px; height: 42px; padding: 0;
  cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.cord:active { cursor: grabbing; }
.cord__line {
  position: absolute; left: 50%; top: -18px; width: 2px; margin-left: -1px;
  height: calc(42px + var(--pull)); border-radius: 1px; background: var(--ink); opacity: .85;
}
.cord__knob {
  position: absolute; left: 50%; top: 22px; width: 14px; height: 22px; margin-left: -7px;
  border-radius: 7px 7px 9px 9px; background: var(--ink);
  transform: translateY(var(--pull));
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.28), 0 8px 14px -6px rgba(0,0,0,.45);
}
.cord__knob::after {
  content: ""; position: absolute; left: 50%; top: 5px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--volt);
}
.cord__hint {
  position: absolute; left: 50%; top: 52px; translate: -50% 0; transform: translateY(var(--pull));
  font-size: 9px; color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.cord:hover .cord__hint, .cord:focus-visible .cord__hint { opacity: .75; }
.cord:focus-visible { outline: none; }
.cord:focus-visible .cord__knob { outline: 2px solid var(--red); outline-offset: 3px; }
html[data-theme="dark"] .cord__knob { background: var(--volt); box-shadow: 0 0 18px 4px rgba(200,255,0,.32), inset 0 -3px 0 rgba(0,0,0,.2); }
html[data-theme="dark"] .cord__knob::after { background: #0a0a0a; }
html[data-theme="dark"] .cord__line { background: #8a857c; }
.room-open .cord { opacity: 0; pointer-events: none; }

/* Dark mode: header pills over the open menu stay dark with light text */
html[data-theme="dark"].menu-open .header .pill { background: rgba(40,39,37,.95); color: var(--ink); border-color: rgba(255,255,255,.14); }
html[data-theme="dark"].menu-open .cord__line { background: #8a857c; }

/* Readable small text on the red band (both themes): ink, not cream */
.contact__sub, html[data-theme="dark"] .contact__sub { color: #0a0a0a; }
.contact .tag, html[data-theme="dark"] .contact .tag { color: #0a0a0a; }
.contact .tag__dot, html[data-theme="dark"] .contact .tag__dot { background: #0a0a0a; }
.contact__mail, html[data-theme="dark"] .contact__mail { color: #0a0a0a; border-color: rgba(10,10,10,.35); }
.contact__mail-arrow, html[data-theme="dark"] .contact__mail-arrow { background: #0a0a0a; color: #f5f2eb; }
.contact .socials .pill, html[data-theme="dark"] .contact .socials .pill { background: #0a0a0a; color: #f5f2eb; border-color: #0a0a0a; }
.contact .socials .pill:hover, html[data-theme="dark"] .contact .socials .pill:hover { background: #f5f2eb; color: #0a0a0a; }

/* ---------- Readability pass (WCAG AA: 4.5:1 small text, 3:1 large) ---------- */
:root { --muted: #6b6b6b; --red-text: #cc3000; }
html[data-theme="dark"] { --red-text: #ff6a3a; }
.flap-row__label { color: var(--red-text); }
.menu__list a span, .menu__foot { color: #8f8a81; }
