/* ==========================================================================
   OnlyCEO, the front door
   The landing page only. The other pages keep styles.css; this one is the
   house at night: ink, ivory, champagne gold and the house teal, with glass
   over photography and motion tied to the scroll. No framework.
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --ivory: #f4efe6;
  --ivory-2: rgba(244, 239, 230, 0.72);
  --ivory-3: rgba(244, 239, 230, 0.48);
  --line: rgba(244, 239, 230, 0.12);
  --gold: #d6b46c;
  --gold-2: #f0d9a2;
  --gold-deep: #a17f3b;
  --teal: #1ba6a6;

  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 70px rgba(0, 0, 0, 0.45);

  --font-display: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --pad: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain: the difference between a screen and a printed page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.center { display: flex; justify-content: center; }

/* ------------------------------------------------------------ type */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.kicker .num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ivory-3);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-3);
}
.label--gold { color: var(--gold); }

.display, .display-sm, .display-xl {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display { font-size: clamp(38px, 5.4vw, 78px); }
.display-sm { font-size: clamp(32px, 3.6vw, 52px); }
.display-xl { font-size: clamp(48px, 9vw, 150px); line-height: 0.96; }
.display em, .display-sm em, .display-xl em, .gold-italic {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ivory-2); max-width: 46ch; }

/* ------------------------------------------------------------ buttons */

.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s, color 0.4s, border-color 0.4s;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 11px; }
.btn--lg { --h: 64px; padding: 0 40px; font-size: 14px; }
.btn--gold {
  color: #1a1407;
  background: linear-gradient(110deg, var(--gold-2), var(--gold) 50%, #c49a4c);
  box-shadow: 0 10px 30px rgba(214, 180, 108, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* A sheen that crosses the gold on hover */
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(214, 180, 108, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--glass {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
/* on a phone a long call to action wraps rather than widening the page */
@media (max-width: 560px) {
  .btn:not(.btn--sm) { white-space: normal; height: auto; min-height: var(--h); padding: 14px 24px; line-height: 1.35; text-align: center; }
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { transform: translateX(5px); }

/* ------------------------------------------------------------ glass */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--r);
}

/* ------------------------------------------------------------ veil + progress */

.veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  background: var(--ink);
  transition: clip-path 1.2s var(--ease) 0.1s, visibility 0s 1.4s;
  clip-path: inset(0 0 0 0);
}
.veil__mark { width: 64px; height: 64px; animation: breathe 1.6s var(--ease) infinite alternate; }
.veil__line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.veil__line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: load 1.2s var(--ease) forwards; }
.is-loaded .veil { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes breathe { from { opacity: 0.5; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ------------------------------------------------------------ nav */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 70;
  width: min(1240px, calc(100% - 28px));
  translate: -50% 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.nav.is-scrolled {
  background: rgba(14, 14, 16, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-2);
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: 8px; }
@media (max-width: 1080px) { .nav__links { display: none; } }
@media (max-width: 560px) {
  .nav { padding-left: 16px; }
  .nav__brand img { height: 24px; }
  .nav__actions .btn--glass { display: none; }
}

/* ------------------------------------------------------------ hero */

.hero { position: relative; height: 100svh; min-height: 640px; }
.hero__stage { position: relative; height: 100%; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; transform: scale(calc(1 + var(--p, 0) * 0.12)); }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* mirrored so the subject sits on the right, clear of the headline */
.hero__slide--flip { transform: scale(-1.12, 1.12); }
.hero__slide--flip.is-active { transform: scale(-1, 1); }
/* a subject in the middle of the frame is moved right and faded in from the dark */
.hero__slide--right { left: 24%; width: 76%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
/* a portrait photograph is shown whole on the right, its edges dissolving into the dark */
.hero__slide--portrait { left: auto; right: 8%; width: min(46vw, 66.7svh); height: 100%; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 55%, transparent 100%); }
@media (max-width: 900px) { .hero__slide--portrait { right: 0; width: 100%; -webkit-mask-image: none; mask-image: none; object-position: 50% 70% !important; } }
@media (max-width: 900px) { .hero__slide--right { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; } }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.62) 42%, rgba(10, 10, 11, 0.12) 75%),
    linear-gradient(0deg, var(--ink) 0%, transparent 34%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, transparent 20%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--pad) 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(calc(var(--p, 0) * -90px));
  opacity: calc(1 - var(--p, 0) * 1.4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, min(7.6vw, 12.5svh), 124px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.rotator { display: inline-block; transition: transform 0.6s var(--ease), opacity 0.45s, filter 0.45s; }
.rotator.is-out { transform: translateY(-40%); opacity: 0; filter: blur(8px); transition-timing-function: ease-in; }
.rotator.is-in { transform: translateY(45%); opacity: 0; filter: blur(8px); transition: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__lede { max-width: 50ch; font-size: clamp(17px, 1.5vw, 21px); color: var(--ivory-2); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero__glimpse {
  position: absolute;
  z-index: 3;
  right: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad)));
  bottom: 14vh;
  width: min(360px, 32vw);
  padding: 20px;
  transform: translateY(calc(var(--p, 0) * -180px)) rotate(-2deg);
}
.hero__glimpse.hero-in { transition: opacity 0.8s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero.is-clear .hero__glimpse { opacity: 0; transition-delay: 0s; }
.hero__dots { position: absolute; z-index: 3; left: var(--pad); bottom: 34px; display: flex; gap: 8px; }
.hero__dots span { width: 28px; height: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; position: relative; }
.hero__dots span.is-active::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: load 6s linear forwards; }
.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-3);
}
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* the staged entrance once the veil lifts */
.hero-in { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.hero__title .hero-in { transform: translateY(105%); }
.is-loaded .hero-in { opacity: 1; transform: none; }
.hero__glimpse.hero-in { transform: translateY(60px) rotate(-2deg); }
.is-loaded .hero__glimpse.hero-in { transform: translateY(calc(var(--p, 0) * -180px)) rotate(-2deg); }
.is-loaded .hero-in[data-d="1"] { transition-delay: 0.35s; }
.is-loaded .hero-in[data-d="2"] { transition-delay: 0.5s; }
.is-loaded .hero-in[data-d="3"] { transition-delay: 0.65s; }
.is-loaded .hero-in[data-d="4"] { transition-delay: 0.85s; }
.is-loaded .hero-in[data-d="5"] { transition-delay: 1s; }
.is-loaded .hero-in[data-d="6"] { transition-delay: 1.15s; }
.is-loaded .kicker.hero-in { transition-delay: 0.2s; }

@media (max-width: 900px) {
  .hero__glimpse { display: none; }
  .hero__slide { object-position: 70% 25%; }
  .hero__scrim { background: linear-gradient(0deg, var(--ink) 8%, rgba(10, 10, 11, 0.7) 55%, rgba(10, 10, 11, 0.35) 100%); }
  .hero__content { justify-content: flex-end; }
  .hero__scroll { display: none; }
}

/* store links */
.store { display: flex; flex-wrap: wrap; gap: 10px; }
.store a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ivory-2);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.store a:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--ivory); background: rgba(255, 255, 255, 0.08); }
.store img { width: 22px; height: 22px; object-fit: contain; }
.store__apple { filter: invert(1); }
.store--center { justify-content: center; }
/* in the hero the store badges are the call to action, so they carry button weight */
.store--hero { gap: 14px; }
.store--hero a { height: 60px; padding: 0 26px 0 20px; gap: 12px; border-radius: 16px; font-size: 15px; font-weight: 600; color: var(--ivory); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s; }
.store--hero a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); border-color: var(--gold); }
.store--hero img { width: 28px; height: 28px; }

/* ------------------------------------------------------------ the post (feed card) */

.post { font-size: 14px; line-height: 1.5; }
.post + .post { margin-top: 12px; }
.post__head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.post__head b { display: block; font-size: 13px; font-weight: 600; color: var(--ivory); }
.post__head small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ivory-3); }
.post p { color: var(--ivory-2); }
.post__meta { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--ivory-3); }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.avatar--teal { background: linear-gradient(135deg, #5fd3d3, var(--teal)); }
.avatar--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); }
.avatar--anon { background: #2a2a2e; color: var(--ivory-2); font-size: 15px; border: 1px dashed rgba(255, 255, 255, 0.3); }
.tick {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2l1.8 1.7 3.8-3.8' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100%;
}

/* ------------------------------------------------------------ marquee */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--ink);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: slide 46s linear infinite; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-style: italic;
  color: var(--ivory-2);
  white-space: nowrap;
}
.marquee__track i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ pinned sections (shared) */

[data-pin] .manifesto__stage,
[data-pin] .feed__stage,
[data-pin] .zoom__stage { position: sticky; top: 0; height: 100svh; }

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

.manifesto { height: 240vh; background: radial-gradient(ellipse at 50% 60%, rgba(27, 166, 166, 0.08), transparent 60%), var(--ink); }
.manifesto__stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 70px);
  line-height: 1.14;
  letter-spacing: -0.015em;
}
.manifesto__text .w { opacity: 0.14; transition: opacity 0.4s, color 0.4s; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__text .w.is-gold { font-style: italic; color: var(--gold); }
.manifesto__cta { margin-top: 48px; opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.manifesto.is-done .manifesto__cta { opacity: 1; transform: none; }

/* ------------------------------------------------------------ the feed */

.feed { height: 320vh; background: var(--ink-2); overflow-x: clip; }
.feed__stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 76px var(--pad) 24px;
}
.feed__lede { margin-bottom: 24px; max-width: 54ch; font-size: 17px; }
.feed__copy .display { margin-bottom: 18px; font-size: clamp(32px, min(3.8vw, 6.4svh), 58px); }
.feed__steps { list-style: none; margin: 0 0 28px; padding: 0; border-left: 1px solid var(--line); }
.feed__steps li { position: relative; padding: 0 0 18px 26px; opacity: 0.35; transition: opacity 0.6s var(--ease); }
.feed__steps li::before {
  content: '';
  position: absolute;
  left: -1px; top: 4px;
  width: 1px;
  height: 0;
  background: var(--gold);
  transition: height 0.8s var(--ease);
}
.feed__steps li.is-active { opacity: 1; }
.feed__steps li.is-active::before { height: calc(100% - 14px); }
.feed__steps h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 4px; }
.feed__steps p { font-size: 15px; color: var(--ivory-2); max-width: 48ch; }
/* pinned on a desktop, only the point being read opens; the column stays inside the screen */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .feed__steps p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s var(--ease), opacity 0.5s; }
  .feed__steps li.is-current p { max-height: 120px; opacity: 1; }
  .feed__steps li { padding-bottom: 14px; }
}
.feed__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 22px; overflow: hidden; }
.feed__compare > div { padding: 18px 22px; }
.feed__compare > div + div { border-left: 1px solid var(--glass-border); background: rgba(214, 180, 108, 0.07); }
.feed__compare p { font-size: 14px; color: var(--ivory-2); margin-top: 6px; }
.feed__compare > div:first-child p { text-decoration: line-through; text-decoration-color: rgba(244, 239, 230, 0.25); }

.feed__device { position: relative; display: grid; justify-items: center; }
.feed__device::before {
  content: '';
  position: absolute;
  inset: 10% -10%;
  background: radial-gradient(circle, rgba(27, 166, 166, 0.35), rgba(214, 180, 108, 0.15) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(340px, 80vw);
  height: min(690px, 74svh);
  padding: 14px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b2b30, #0d0d0f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  transform: rotate(calc(-4deg + var(--p, 0) * 6deg));
}
.phone__notch { position: absolute; top: 24px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 18px 12px;
  border-radius: 36px 36px 0 0;
  background: #121214;
  border-bottom: 1px solid var(--line);
}
.phone__bar img { height: 18px; }
.phone__bar span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.phone__screen { position: relative; flex: 1; overflow: hidden; border-radius: 0 0 36px 36px; background: #0e0e10; }
.phone__screen::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, #0e0e10); pointer-events: none; }
.phone__scroll { padding: 14px; will-change: transform; }
.phone .post { padding: 14px; border-radius: 18px; background: #17171a; border: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; }
.post--photo img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.post--anon { border-color: rgba(214, 180, 108, 0.25) !important; }
.poll { display: grid; gap: 6px; margin-top: 10px; }
.poll span {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  isolation: isolate;
}
.poll span::before { content: ''; position: absolute; inset: 0; width: var(--w); background: rgba(27, 166, 166, 0.25); z-index: -1; }

@media (max-width: 900px) {
  .feed { height: auto; }
  .feed__stage { position: static !important; height: auto !important; grid-template-columns: 1fr; padding: 110px var(--pad) 100px; }
  .feed__steps li { opacity: 1; }
  .feed__steps li::before { height: calc(100% - 14px); }
  .feed__compare { grid-template-columns: 1fr; }
  .feed__compare > div + div { border-left: 0; border-top: 1px solid var(--glass-border); }
  .phone { height: 600px; transform: none; }
  .phone__scroll { animation: feedscroll 26s linear infinite alternate; }
}
@keyframes feedscroll { to { transform: translateY(-48%); } }

/* ------------------------------------------------------------ chambers (horizontal) */

.chambers { position: relative; background: var(--ink); }
.chambers__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.chambers__track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 90px var(--pad) 60px;
  will-change: transform;
}
.ch-intro, .ch-cta { flex: none; width: min(520px, 84vw); display: flex; flex-direction: column; justify-content: center; }
.ch-intro .display { font-size: clamp(38px, 4.6vw, 68px); margin-bottom: 24px; }
.ch-intro__open { margin-top: 30px; }
.ch-names { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.ch-names li { font-family: var(--font-display); font-style: italic; font-size: 15px; padding: 6px 14px; border-radius: 999px; color: var(--ivory-2); border: 1px solid rgba(214, 180, 108, 0.3); background: rgba(214, 180, 108, 0.06); }
.ch-intro__hint { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.ch-card {
  position: relative;
  flex: none;
  width: min(440px, 78vw);
  height: min(640px, 72svh);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  transform: translateY(calc((var(--cy, 0)) * 1px));
}
.ch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateX(calc(var(--cx, 0) * 1%)); transition: transform 1.2s var(--ease); z-index: -2; }
.ch-card:hover img { transform: scale(1.22) translateX(calc(var(--cx, 0) * 1%)); }
.ch-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0.15) 20%, rgba(10, 10, 11, 0.94) 82%); }
.ch-card__body {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(16, 16, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  transition: transform 0.7s var(--ease);
}
.ch-card:hover .ch-card__body { transform: translateY(-6px); }
.ch-card__icon {
  position: absolute;
  top: -28px; right: 22px;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.ch-card__icon svg { width: 26px; height: 26px; fill: none; stroke: #1a1407; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-card h3 { font-family: var(--font-display); font-size: 30px; margin: 6px 0 8px; }
.ch-card p { font-size: 14.5px; color: var(--ivory-2); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.tags li { font-size: 11px; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--ivory-2); }
.countdown { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.countdown span { font: 600 22px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: #ff8a70; letter-spacing: 0.06em; }
.countdown small { font-size: 11px; color: var(--ivory-3); }
.ch-card--destruct { border-color: rgba(255, 138, 112, 0.25); }
.ch-cta { padding-left: 24px; gap: 14px; align-items: flex-start; }
.ch-cta p { color: var(--ivory-2); max-width: 36ch; margin-bottom: 8px; }
.chambers__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 1px; background: var(--line); }
.chambers__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* phones: a swipe rail instead of a pinned scroll */
@media (max-width: 900px) {
  .chambers { height: auto !important; padding: 100px 0 80px; }
  .chambers__stage { position: static; height: auto; display: block; overflow: visible; }
  .chambers__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 40px; transform: none !important; scrollbar-width: none; }
  .chambers__track::-webkit-scrollbar { display: none; }
  .chambers__track > * { scroll-snap-align: start; }
  .ch-card { height: 560px; transform: none; }
  .chambers__bar { display: none; }
}

/* ------------------------------------------------------------ zoom */

.zoom { height: 260vh; background: var(--ink); }
.zoom__stage { overflow: hidden; display: grid; place-items: center; }
.zoom__frame {
  position: absolute;
  inset: 0;
  --i: calc((1 - var(--p, 0) * 1.25));
  clip-path: inset(max(0%, calc(var(--i) * 22%)) max(0%, calc(var(--i) * 30%)) round max(0px, calc(var(--i) * 32px)));
}
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.35 - var(--p, 0) * 0.35)); filter: brightness(calc(0.62 - var(--p, 0) * 0.2)) saturate(0.85); }
/* a pool of shade behind the words, so gold type holds on a bright photograph */
.zoom__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 42% at 50% 50%, rgba(0, 0, 0, 0.7), transparent 80%); }
.zoom__words { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); transform: scale(calc(0.9 + var(--p, 0) * 0.15)); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.zoom__words .kicker { justify-content: center; }
@media (max-width: 700px) {
  .zoom { height: 200vh; }
}

/* ------------------------------------------------------------ events (stacked cards) */

.events { position: relative; padding: 140px 0 120px; background: var(--ink); }
.events__head { margin-bottom: 70px; }
.events__head .display { max-width: 16ch; margin-bottom: 24px; }
.events__head .lede { max-width: 60ch; }
.stack { display: grid; gap: 40px; }
.stack__card {
  position: sticky;
  top: calc(100px + var(--i) * 26px);
  height: min(640px, 76svh);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--c, 0) * 0.07));
  isolation: isolate;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}
.stack__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(calc(1 - var(--c, 0) * 0.6)); transform: scale(calc(1.08 - var(--c, 0) * 0.08)); }
.stack__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.35) 55%, transparent 80%); }
.stack__body { position: absolute; left: clamp(24px, 5vw, 64px); bottom: clamp(24px, 5vw, 64px); max-width: 520px; }
.stack__body h3 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; margin: 18px 0 14px; }
.stack__body p { color: var(--ivory-2); font-size: 17px; }
.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.badge--gold { color: #1a1407; background: linear-gradient(110deg, var(--gold-2), var(--gold)); border-color: transparent; }
.badge--teal { color: #04201f; background: #5fd3d3; border-color: transparent; }
.events__managed {
  margin-top: 70px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 36px;
}
.events__managed h3 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); margin-top: 8px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ivory-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
@media (max-width: 1000px) {
  .events__managed { grid-template-columns: 1fr; }
  .stack__body { right: 24px; }
  .stack__shade { background: linear-gradient(0deg, rgba(10, 10, 11, 0.94) 10%, rgba(10, 10, 11, 0.2) 70%); }
}

/* ------------------------------------------------------------ the butler */

.butler { position: relative; padding: 140px 0; background: radial-gradient(ellipse at 20% 50%, rgba(214, 180, 108, 0.1), transparent 55%), var(--ink-2); overflow: hidden; }
.butler__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.butler__visual { position: relative; }
.chic-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(27, 166, 166, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(214, 180, 108, 0.18), transparent 70%),
    linear-gradient(180deg, #141417, #0b0b0d);
  box-shadow: var(--glass-shadow);
}
/* a spotlight from above, and the pool of light it leaves on the floor */
.chic-stage__spot {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 70%;
  height: 100%;
  translate: -50% 0;
  background: linear-gradient(180deg, rgba(255, 246, 220, 0.16), rgba(255, 246, 220, 0.02) 75%, transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(6px);
}
.chic-stage__spot::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%; bottom: 6%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 240, 200, 0.22), transparent 70%);
}
.chic {
  position: absolute;
  left: 35%;
  top: 7%;
  width: 30%;
  margin: 0;
  animation: bob 5s ease-in-out infinite alternate;
}
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
.chic__mark { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.chic__sign {
  position: relative;
  left: 50%;
  width: 135%;
  margin-top: -6%;
  padding: 11% 8% 9%;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #1a1407;
  text-transform: uppercase;
  line-height: 1;
  font-family: var(--font-display);
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.6), transparent 42%),
    linear-gradient(135deg, #f6e6bd, var(--gold) 55%, #b88f45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 0 0 6px rgba(26, 20, 7, 0.07);
  transform-origin: 50% -20%;
  transform: translateX(-50%) rotate(-9deg) translateY(30px);
  opacity: 0;
  transition: transform 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s, opacity 0.6s 0.3s;
}
.reveal.is-visible .chic__sign { opacity: 1; transform: translateX(-50%) rotate(-2deg); animation: sway 6s ease-in-out 2s infinite alternate; }
@keyframes sway { from { transform: translateX(-50%) rotate(-2deg); } to { transform: translateX(-50%) rotate(1.5deg); } }
.chic__sign small { font: 700 5.2cqw/1 var(--font-body); letter-spacing: 0.34em; margin-bottom: 4cqw; opacity: 0.75; }
.chic__sign strong { font-weight: 700; font-size: 11.5cqw; letter-spacing: 0.01em; }
.chic__sign em { font-size: 11.5cqw; margin-top: 2.5cqw; }
/* two white gloves at the top corners: Chic is the one holding it */
.chic__glove {
  position: absolute;
  top: -5cqw;
  width: 13cqw;
  height: 11cqw;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #ffffff, #dcdcdc);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.chic__glove::after {
  content: '';
  position: absolute;
  left: 22%; right: 22%; bottom: -14%;
  height: 34%;
  border-radius: 0 0 40% 40%;
  background: #e9e9e9;
}
.chic__glove--l { left: 14cqw; }
.chic__glove--r { right: 14cqw; }
.chic-orbit { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.chic-orbit li {
  position: absolute;
  left: var(--x, auto);
  right: var(--xr, auto);
  top: var(--y);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ivory-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: drift 7s ease-in-out var(--d) infinite alternate;
}
@keyframes drift { from { transform: translate(0, -8px); } to { transform: translate(6px, 8px); } }
.chic-stage__name {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-3);
}
/* on a phone the requests leave the air and line up under Chic */
@media (max-width: 640px) {
  .chic-stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; padding: 36px 18px 26px; }
  .chic { position: relative; left: auto; top: auto; width: 44%; margin: 0 0 44px; order: 1; }
  .chic-orbit { order: 2; position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .chic-orbit li { position: static; animation: none; font-size: 10px; padding: 7px 12px; }
  .chic-stage__name { position: static; margin-top: 22px; order: 3; }
}
.butler__copy .lede { margin: 28px 0 18px; }
.butler__copy > p:not(.lede):not(.kicker) { color: var(--ivory-2); max-width: 52ch; }
.butler__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 900px) {
  .butler { padding: 110px 0; }
  .butler__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ catalogue */

.catalogue { padding: 140px 0 120px; background: var(--ink); overflow: hidden; }
.catalogue__head { margin-bottom: 60px; }
.catalogue__head .display { font-size: clamp(34px, 4.6vw, 68px); max-width: 20ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 90px; }
.pillar { padding: 34px 30px; transition: transform 0.6s var(--ease), border-color 0.6s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(214, 180, 108, 0.4); }
.pillar__n { font-family: var(--font-display); font-style: italic; font-size: 40px; color: var(--gold); line-height: 1; }
.pillar h3 { font-family: var(--font-display); font-size: 28px; margin: 18px 0 10px; }
.pillar p { color: var(--ivory-2); font-size: 15px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.runway { overflow: hidden; margin-bottom: 90px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* the strip is moved by home.js: it loops without a seam and can be dragged */
.runway { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.runway.is-dragging { cursor: grabbing; }
.runway__track { display: flex; gap: 20px; width: max-content; padding-left: 20px; will-change: transform; }
.runway img { -webkit-user-drag: none; pointer-events: none; }
.runway__item { position: relative; margin: 0; width: 300px; flex: none; }
.runway__item img, .runway__item > div {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform 0.9s var(--ease), filter 0.9s;
  filter: grayscale(0.35);
}
.runway__item:hover img { transform: scale(1.03); filter: none; }
.runway__item > div { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: radial-gradient(circle at 30% 20%, rgba(27, 166, 166, 0.35), transparent 60%), var(--ink-3); filter: none; }
.runway__item--gold > div { background: linear-gradient(140deg, #f6e6bd, var(--gold) 55%, #9c7637); color: #1a1407; }
.runway__item > div strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1.05; }
.runway__item > div span { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; margin-top: 8px; }
.runway__item figcaption { display: flex; gap: 12px; margin-top: 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-2); }
.runway__item figcaption span { color: var(--gold); font-family: var(--font-display); letter-spacing: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 70px; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step span { font-family: var(--font-display); font-size: 15px; color: var(--gold); }
.step h4 { font-family: var(--font-display); font-size: 26px; margin: 10px 0 6px; }
.step p { color: var(--ivory-2); font-size: 15px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step { padding-bottom: 24px; }
  .runway__item { width: 240px; }
  .runway__item img, .runway__item > div { height: 320px; }
  .btn--lg { --h: 58px; padding: 0 24px; font-size: 12px; white-space: normal; text-align: center; line-height: 1.3; }
}

/* ------------------------------------------------------------ the people */

.people { position: relative; padding: 140px 0; background: var(--ink-2); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.people__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-left: var(--pad); height: 780px; overflow: hidden; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.people__col { display: grid; gap: 14px; align-content: start; }
.people__col:nth-child(2) { margin-top: 120px; }
.people__col:nth-child(3) { margin-top: 40px; }
.people__col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; filter: grayscale(0.25) contrast(1.05); }
.people__copy { padding-left: 0; }
.people__copy .display { margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 40px 0 44px; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts dt { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1; color: var(--gold); }
.facts dd { margin: 8px 0 0; font-size: 14px; color: var(--ivory-2); }
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr; padding: 90px 0 110px; }
  .people__mosaic { height: 460px; padding-right: var(--pad); }
  .people__copy { padding: 0 var(--pad); }
}

/* ------------------------------------------------------------ the door */

.door { position: relative; min-height: 110svh; display: grid; place-items: center; padding: 160px 0 120px; overflow: hidden; text-align: center; }
.door__bg { position: absolute; inset: -10% 0; z-index: 0; }
.door__bg img { width: 100%; height: 100%; object-fit: cover; }
.door__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-2) 0%, rgba(10, 10, 11, 0.55) 30%, rgba(10, 10, 11, 0.7) 70%, var(--ink) 100%); }
.door__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.door__inner .kicker { justify-content: center; }
.door__inner .display-xl { margin-bottom: 30px; }
.door__inner .lede { margin: 0 auto 44px; max-width: 54ch; }
.door__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 30px; }

.letter { margin-top: 56px; width: min(760px, 100%); text-align: left; padding: 0; overflow: hidden; }
.letter summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.letter summary::-webkit-details-marker { display: none; }
.letter summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--gold); transition: transform 0.4s var(--ease); }
.letter[open] summary::after { transform: rotate(45deg); }
.letter__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 28px 28px; }
.letter__form label span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-3); margin-bottom: 6px; }
.letter__wide { grid-column: 1 / -1; }
.field {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ivory);
  font: 400 15px var(--font-body);
  transition: border-color 0.3s, background 0.3s;
}
.field::placeholder { color: var(--ivory-3); }
.field:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.4); }
.letter__consent { font-size: 12px; color: var(--ivory-3); }
.letter__consent a { color: var(--gold); }
.entry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.entry__note { font-size: 14px; min-height: 1em; color: var(--ivory-2); }
.entry__note--ok { color: #7fe0c4; }
.entry__note--err { color: #ff9a8a; }
@media (max-width: 640px) { .letter__form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer + dock */

.footer { padding: 80px 0 120px; border-top: 1px solid var(--line); background: var(--ink); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__logo { height: 46px; width: auto; }
.footer__tag { font-family: var(--font-display); font-style: italic; color: var(--ivory-2); margin: 16px 0 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 560px; }
.footer__nav a { font-size: 14px; color: var(--ivory-2); text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.footer__meta { display: grid; gap: 6px; align-content: start; }
.footer__meta small { font-size: 13px; color: var(--ivory-3); }
.footer__meta a { color: var(--ivory-2); }

.dock {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  translate: -50% 160%;
  background: rgba(14, 14, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: translate 0.6s var(--ease);
}
.dock.is-shown { translate: -50% 0; }
@media (max-width: 760px) { .dock { display: flex; } }

/* ------------------------------------------------------------ reveals */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .manifesto, .feed, .zoom { height: auto; }
  [data-pin] .manifesto__stage, [data-pin] .feed__stage, [data-pin] .zoom__stage { position: relative; height: auto; min-height: 100svh; }
  .manifesto__text .w { opacity: 1; }
  .manifesto__cta { opacity: 1; transform: none; }
  .zoom__frame { clip-path: none; }
  .feed__steps li { opacity: 1; }
  .chambers { height: auto !important; padding: 100px 0 80px; }
  .chambers__stage { position: static; height: auto; display: block; overflow: visible; }
  .chambers__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
  .chambers__bar { display: none; }
}

/* ==========================================================================
   Inside the House (features.html)
   The same house at night: the opening under a chandelier, a chapter rail,
   each room beside a real screen from the app, and the sealed section drawn
   in moving ciphertext.
   ========================================================================== */

.nav__links a[aria-current="page"] { color: var(--gold); }

/* the entrance: --p runs 0 to 1 across the pinned scroll, and each phase
   reads its own slice of it */
.entry { height: 340vh; background: #000; }
.entry__stage {
  --a: clamp(0, var(--p, 0) / 0.35, 1);              /* the frame opens to the full screen */
  --b: clamp(0, (var(--p, 0) - 0.3) / 0.4, 1);       /* walking toward the gap of light */
  --c: clamp(0, (var(--p, 0) - 0.62) / 0.2, 1);      /* the door gives way to the hall */
  --d: clamp(0, (var(--p, 0) - 0.78) / 0.14, 1);     /* the welcome */
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.entry__hall, .entry__door { position: absolute; inset: 0; }
.entry__hall img, .entry__door img { width: 100%; height: 100%; object-fit: cover; }
.entry__hall { opacity: calc(var(--b) * 0.4 + var(--c) * 0.6); }
.entry__hall img { transform: scale(calc(1.25 - var(--c) * 0.25)); filter: brightness(0.42) saturate(0.9); }
.entry__hall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 80%), linear-gradient(90deg, rgba(0, 0, 0, 0.6), transparent 60%); opacity: var(--d); }
.entry__door {
  clip-path: inset(calc((1 - var(--a)) * 14%) calc((1 - var(--a)) * 34%) round calc((1 - var(--a)) * 28px));
  opacity: calc(1 - var(--c));
}
.entry__door img { object-position: 48% 50%; transform-origin: 48% 46%; transform: scale(calc(1 + var(--b) * 1.9)); filter: brightness(calc(0.85 + var(--b) * 0.5)); }
.entry__outside { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); opacity: calc(1 - var(--a) * 1.6); transform: scale(calc(1 + var(--a) * 0.08)); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.entry__outside .kicker { justify-content: center; }
.entry__outside .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.entry__outside .line > span { display: inline-block; }
body:not(.is-loaded) .entry__outside h1 .hero-in { transform: translateY(105%); }
.entry__hint { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-3); }
.entry__hint span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; order: 2; }
.entry__inside { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12vh; opacity: var(--d); transform: translateY(calc((1 - var(--d)) * 40px)); }
.entry__title { max-width: 14ch; margin-bottom: 22px; }
.entry__inside .lede { max-width: 56ch; }
@media (prefers-reduced-motion: reduce) {
  .entry { height: auto; }
  .entry__stage { position: relative; min-height: 100svh; --a: 1; --b: 0; --c: 1; --d: 1; }
  .entry__outside { display: none; }
}

/* the chapter rail: where you are in the house, and a door to every room */
.chapters {
  position: sticky;
  top: 84px;
  z-index: 50;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 0 auto;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.chapters::-webkit-scrollbar { display: none; }
.chapters a {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-3);
  transition: background 0.4s, color 0.4s;
}
.chapters a:hover { color: var(--ivory); }
.chapters a.is-current { color: #1a1407; background: linear-gradient(110deg, var(--gold-2), var(--gold)); }
@media (max-width: 560px) { .chapters { top: 74px; } }
/* on a desktop the rail floats at the foot of the screen, shown for the tour only */
@media (min-width: 761px) {
  .chapters {
    position: fixed;
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    left: 50%;
    margin: 0;
    translate: -50% 160%;
    opacity: 0;
    pointer-events: none;
    transition: translate 0.7s var(--ease), opacity 0.5s;
  }
  .chapters.is-shown { translate: -50% 0; opacity: 1; pointer-events: auto; }
}

/* a room of the house, beside a real screen from the app */
.in-feature { position: relative; padding: clamp(110px, 14vw, 180px) 0; scroll-margin-top: 80px; overflow-x: clip; }
.in-feature:nth-of-type(even) { background: var(--ink-2); }
.in-feature__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.in-feature--flip .in-feature__copy { order: 2; }
.in-feature__copy .display { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 26px; }
.in-feature__copy .lede { margin-bottom: 16px; }
.in-feature__copy > p:not(.lede):not(.kicker) { color: var(--ivory-2); max-width: 56ch; margin-bottom: 26px; }
.in-feature__copy .checks { margin-bottom: 34px; }
@media (max-width: 900px) {
  .in-feature__grid { grid-template-columns: 1fr; }
  .in-feature--flip .in-feature__copy { order: 0; }
}

.screen { position: relative; margin: 0; perspective: 1400px; }
.screen::before {
  content: "";
  position: absolute;
  inset: 8% -6%;
  background: radial-gradient(circle, rgba(27, 166, 166, 0.28), rgba(214, 180, 108, 0.12) 45%, transparent 70%);
  filter: blur(40px);
}
.screen__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0e0e10;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateX(calc(var(--t, 0) * 6deg)) rotateY(calc(var(--t, 0) * -5deg));
  will-change: transform;
}
.in-feature--flip .screen__frame { transform: rotateX(calc(var(--t, 0) * 6deg)) rotateY(calc(var(--t, 0) * 5deg)); }
.screen__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.screen__bar span { margin-left: 10px; font-size: 11px; color: var(--ivory-3); letter-spacing: 0.04em; }
.screen__frame img { width: 100%; height: auto; }
.screen__chic { position: absolute; width: 22%; right: -6%; bottom: -10%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); animation: bob 5s ease-in-out infinite alternate; }
.screen--phone { display: grid; justify-items: center; }
.phone--shot { height: auto; width: min(330px, 78vw); padding: 12px; transform: rotate(calc(-3deg + var(--t, 0) * 4deg)); }
.phone--shot img { border-radius: 36px; width: 100%; height: auto; }

/* sealed: the words our servers see, which is to say none */
.sealed { position: relative; padding: clamp(120px, 14vw, 190px) 0; overflow: hidden; background: #070708; text-align: center; scroll-margin-top: 80px; }
.sealed__cipher {
  position: absolute;
  inset: -10% 0;
  font: 500 13px/1.9 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.3em;
  color: rgba(27, 166, 166, 0.3);
  word-break: break-all;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 18%, #000 75%);
  mask-image: radial-gradient(ellipse at center, transparent 18%, #000 75%);
  animation: cipher 60s linear infinite;
}
@keyframes cipher { to { transform: translateY(-30%); } }
.sealed__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.sealed__inner .kicker { justify-content: center; }
.sealed__inner .display { max-width: 18ch; margin-bottom: 24px; }
.sealed__inner .lede { max-width: 60ch; margin: 0 auto 60px; }
.sealed__lock { width: 84px; height: 84px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(214, 180, 108, 0.08); border: 1px solid rgba(214, 180, 108, 0.3); box-shadow: 0 0 60px rgba(214, 180, 108, 0.2); }
.sealed__lock svg { width: 46px; height: 46px; }
.sealed__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; text-align: left; }
.sealed__facts > div { padding: 26px 24px; }
.sealed__facts h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; color: var(--gold-2); }
.sealed__facts p { font-size: 14.5px; color: var(--ivory-2); }
@media (max-width: 900px) { .sealed__facts { grid-template-columns: 1fr; } }

/* everywhere: three screens, one house */
.everywhere { padding: clamp(110px, 14vw, 180px) 0; background: var(--ink-2); overflow: hidden; scroll-margin-top: 80px; }
.everywhere__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.everywhere .store { margin-top: 10px; }
.devices { position: relative; aspect-ratio: 1.25; }
.devices img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; }
.devices__laptop { position: absolute; left: 4%; right: 6%; top: 8%; }
.devices__lid { aspect-ratio: 16 / 10; padding: 10px; border-radius: 16px 16px 4px 4px; background: linear-gradient(145deg, #2b2b30, #111114); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px rgba(0, 0, 0, 0.55); }
.devices__lid img { border-radius: 6px; }
.devices__base { height: 14px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #3a3a40, #18181b); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.devices__tablet { position: absolute; left: -2%; bottom: 0; width: 34%; aspect-ratio: 3 / 4; padding: 8px; border-radius: 20px; background: linear-gradient(145deg, #2b2b30, #0d0d0f); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px rgba(0, 0, 0, 0.6); }
.devices__tablet img { border-radius: 13px; }
.devices__phone { position: absolute; right: 0; bottom: -4%; width: 20%; aspect-ratio: 9 / 19; padding: 6px; border-radius: 26px; background: linear-gradient(145deg, #2b2b30, #0d0d0f); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px rgba(0, 0, 0, 0.6); }
.devices__phone img { border-radius: 21px; object-position: 50% 0; }
@media (max-width: 900px) { .everywhere__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .screen__frame, .phone--shot { transform: none !important; }
  .sealed__cipher { animation: none; }
}
