/* ==========================================================================
   DREAMSPIRE — DESIGN SYSTEM
   Mobile-first. One spacing scale, one type scale, one 12-column grid.
   Only the tokens below are used for spacing and type.
   ========================================================================== */
:root {
  /* colour */
  --navy: #1F3351; --gold: #9B814C; --white: #FFFFFF;
  --obsidian: #090A0C; --champ: #D4BD96; --ivory: #F3EFE7;
  --night: #0E1623; --gold-ink: #7A6435; --ink: #1B2433; --muted: #59626F;
  --on-dark: #E9E4DA; --on-dark-2: #B9C0CA;
  --line-dark: rgba(212,189,150,.18); --line-light: rgba(31,51,81,.14);

  /* type */
  --serif: "Bodoni Moda", "Bodoni 72", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --t-display: clamp(48px, 11vw, 176px);
  --t-1: clamp(40px, 5.4vw, 84px);
  --t-2: clamp(30px, 3.4vw, 52px);
  --t-3: clamp(22px, 1.8vw, 28px);
  --t-quote: clamp(26px, 3.2vw, 50px);
  --t-lead: clamp(17px, 1.25vw, 19px);
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 12px;

  /* spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 64px; --s-7: 104px; --s-8: 168px;
  --section: var(--s-6);
  --gutter: 20px;
  --maxw: 1360px;
  --ease: cubic-bezier(.22,.8,.2,1);
}
@media (min-width: 761px)  { :root { --section: var(--s-7); --gutter: 40px; } }
@media (min-width: 1061px) { :root { --gutter: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--night); color: var(--on-dark); font: 400 var(--t-body)/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
em, i, cite { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; }
::selection { background: var(--champ); color: var(--obsidian); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s-3); top: -64px; z-index: 200; background: var(--ivory); color: var(--ink); padding: var(--s-3); font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; }
.skip:focus { top: var(--s-3); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-3); row-gap: var(--s-5); }
@media (min-width: 761px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } }
.full { grid-column: 1 / -1; }
.dark  { background: var(--night); color: var(--on-dark); }
.navy  { background: var(--navy);  color: var(--on-dark); }
.light { background: var(--ivory); color: var(--ink); }

/* ---------- type ---------- */
.eyebrow, .label { font: 600 var(--t-label)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champ); }
.light .eyebrow, .light .label { color: var(--gold-ink); }
.h-display { font: 500 var(--t-display)/.9 var(--serif); letter-spacing: .05em; }
.h1 { font: 500 var(--t-1)/1.04 var(--serif); letter-spacing: 0; }
.h2 { font: 500 var(--t-2)/1.08 var(--serif); letter-spacing: 0; }
.h3 { font: 500 var(--t-3)/1.2 var(--serif); }
.lead { font-size: var(--t-lead); line-height: 1.65; color: var(--on-dark-2); max-width: 34em; }
.light .lead { color: var(--muted); }
.body { font-size: var(--t-body); line-height: 1.7; color: var(--on-dark-2); }
.light .body { color: var(--muted); }
.small { font-size: var(--t-small); line-height: 1.6; }
.light .h1, .light .h2, .light .h3 { color: var(--navy); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-4); }

/* section heading: label, title, lead */
.head { margin-bottom: var(--s-5); }
.head .eyebrow + .h1, .head .eyebrow + .h2 { margin-top: var(--s-3); }
.head .lead { margin-top: var(--s-4); }
@media (min-width: 761px) {
  .head { margin-bottom: var(--s-6); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); align-items: end; }
  .head > .title { grid-column: 1 / span 7; }
  .head > .lead { grid-column: 9 / span 4; margin-top: 0; }
}

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 52px; padding: 0 var(--s-4); font: 600 var(--t-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border: 1px solid transparent; background: transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .15s; }
.btn:active { transform: scale(.98); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--champ); color: var(--obsidian); }
.btn-gold:hover { background: var(--ivory); }
.btn-line { border-color: rgba(212,189,150,.5); color: var(--on-dark); }
.btn-line:hover { background: rgba(212,189,150,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-line-dark { border-color: rgba(31,51,81,.4); color: var(--navy); }
.btn-line-dark:hover { background: rgba(31,51,81,.06); }
.btn-line .arr, .btn-line-dark .arr { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link { font: 600 var(--t-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: var(--s-2); transition: background-size .35s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
@media (max-width: 760px) { .actions .btn { flex: 1 1 100%; justify-content: space-between; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--night); display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.loader .word { font: 500 20px/1 var(--serif); letter-spacing: .42em; margin-right: -.42em; text-align: center; }
.loader .bar { width: 140px; height: 1px; background: rgba(212,189,150,.18); margin: var(--s-4) auto 0; overflow: hidden; }
.loader .bar span { display: block; height: 100%; background: var(--champ); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html.is-ready .loader { opacity: 0; visibility: hidden; }
html:not(.js) .loader { display: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 90; display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--gutter); border-bottom: 1px solid transparent; transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s; }
@media (min-width: 761px) { .nav { padding-block: var(--s-4); } }
.nav.solid { background: rgba(14,22,35,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-block: var(--s-3); border-bottom-color: var(--line-dark); }
.nav.light { background: rgba(243,239,231,.92); color: var(--navy); border-bottom-color: var(--line-light); }
.wordmark { display: inline-flex; align-items: center; gap: var(--s-3); line-height: 1; }
.wordmark img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark span { display: flex; flex-direction: column; gap: 6px; }
.wordmark b { font: 500 17px/1 var(--serif); letter-spacing: .32em; }
.wordmark small { font-size: 8px; font-weight: 600; letter-spacing: .56em; color: var(--champ); }
.nav.light .wordmark small { color: var(--gold-ink); }
.nav-links { display: none; align-items: center; gap: var(--s-5); }
.nav-links a { font: 500 var(--t-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .85; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { opacity: 1; border: 1px solid rgba(212,189,150,.5); padding: 13px var(--s-3); }
.nav.light .nav-links .nav-cta { border-color: rgba(31,51,81,.35); }
@media (min-width: 1061px) { .nav-links { display: flex; } .menu-btn { display: none !important; } }
.menu-btn { display: block; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 85; background: var(--night); padding: var(--s-7) var(--gutter) var(--s-5); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.menu.open { opacity: 1; visibility: visible; }
.menu nav a { display: block; font: 500 clamp(28px, 7.4vw, 44px)/1.15 var(--serif); padding: var(--s-2) 0; border-bottom: 1px solid var(--line-dark); }
.menu-foot { display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--t-small); color: var(--champ); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   STAGE — the 3D journey (Scenes 01–03)
   ========================================================================== */
.stage { position: relative; height: 460vh; background: var(--night); display: none; }
@media (min-width: 761px) { .stage { height: 560vh; } }
html.lite .stage { height: 420vh; }
@media (min-width: 761px) { html.lite .stage { height: 480vh; } }
html.js:not(.static) .stage { display: block; }
.stage-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 55%, rgba(5,8,14,.55) 100%); }
.room-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(0deg, rgba(6,9,15,.75) 0%, rgba(6,9,15,.25) 40%, transparent 62%), linear-gradient(90deg, rgba(6,9,15,.45), transparent 55%); }
.ov { position: absolute; pointer-events: none; will-change: opacity, transform; }
.ov a, .ov button { pointer-events: auto; }
.ov-hero { left: 0; right: 0; top: max(88px, 12vh); text-align: center; padding-inline: var(--gutter); }
@media (min-width: 761px) { .ov-hero { top: clamp(84px, 11vh, 130px); } }
.brand { margin-top: var(--s-3); font: 500 clamp(40px, 13.4vw, 74px)/.9 var(--serif); letter-spacing: .04em; margin-right: -.04em; white-space: nowrap; }
@media (min-width: 761px) { .brand { font-size: clamp(54px, min(9.4vw, 17vh), 170px); letter-spacing: .06em; margin-right: -.06em; } }
.brand .l { display: inline-block; overflow: hidden; vertical-align: top; }
.brand .l > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
html.is-ready .brand .l > span { transform: none; }
.brand-meta { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin-top: var(--s-3); }
.brand-meta .rule { display: block; width: 0; height: 1px; background: var(--gold); transition: width 1.4s var(--ease) .9s; }
html.is-ready .brand-meta .rule { width: 48px; }
.brand-meta small { font: 600 11px/1 var(--sans); letter-spacing: .62em; margin-right: -.62em; color: var(--champ); }
.ov-hero .eyebrow, .ov-tag, .brand-meta small { opacity: 0; transition: opacity 1.4s var(--ease) 1s; }
html.is-ready .ov-hero .eyebrow, html.is-ready .ov-tag, html.is-ready .brand-meta small { opacity: 1; }
.ov-tag { margin-top: var(--s-3); font: 500 clamp(19px, 1.9vw, 28px)/1.3 var(--serif); color: #EFE8DA; }
.ov-door { left: var(--gutter); right: var(--gutter); bottom: max(110px, 17vh); max-width: 440px; }
@media (min-width: 761px) { .ov-door { right: auto; bottom: auto; top: 50%; transform: translateY(-50%); } }
.ov-door .h1 { margin: var(--s-3) 0; font-size: clamp(40px, 5vw, 76px); }
.ov-door p { font-size: var(--t-body); line-height: 1.7; color: var(--on-dark-2); max-width: 22em; }
.ov-room { left: var(--gutter); right: var(--gutter); bottom: max(96px, 14vh); max-width: none; }
@media (min-width: 761px) { .ov-room { right: auto; max-width: min(540px, 40vw); bottom: clamp(96px, 14vh, 150px); } }
.ov-room .place { display: flex; align-items: center; gap: var(--s-3); }
.ov-room .place::after { content: ""; width: 40px; height: 1px; background: var(--champ); opacity: .7; }
.ov-room h2 { font: 500 clamp(34px, 4.4vw, 68px)/1.06 var(--serif); letter-spacing: 0; margin: var(--s-3) 0 var(--s-2); text-shadow: 0 2px 30px rgba(5,8,14,.55); }
.ov-room p { font-size: var(--t-body); line-height: 1.6; color: #E7E2D8; max-width: 24em; text-shadow: 0 1px 14px rgba(5,8,14,.7); }
.hud { position: absolute; left: var(--gutter); right: 72px; bottom: max(var(--s-4), env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); pointer-events: none; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(239,232,218,.72); }
@media (min-width: 761px) { .hud { right: calc(var(--gutter) + 190px); } }
.hud-chapter { display: flex; align-items: center; gap: var(--s-3); }
.hud-chapter b { color: var(--champ); }
.hud-chapter span, .hud-track { display: none; }
@media (min-width: 761px) { .hud-chapter span { display: inline; } .hud-track { display: block; flex: 0 0 min(220px, 24vw); height: 1px; background: rgba(212,189,150,.18); position: relative; overflow: hidden; } }
.hud-track span { position: absolute; inset: 0; background: var(--champ); transform-origin: left; transform: scaleX(0); }
.hud-skip { pointer-events: auto; color: var(--ivory); border: 1px solid rgba(212,189,150,.45); padding: var(--s-3); background: rgba(14,22,35,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; transition: background .3s; }
.hud-skip:hover { background: rgba(212,189,150,.16); }
.hud-skip span { color: var(--champ); margin-left: 6px; }
.scroll-cue { display: none; }
.stage-exit { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }

/* static version: reduced motion / no WebGL / no JS */
.static-exp { display: none; background: var(--night); }
html:not(.js) .static-exp, html.static .static-exp { display: block; }
.s-hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s-7) var(--gutter) var(--s-6); }
.s-hero img { width: min(520px, 100%); aspect-ratio: 3/4; object-fit: cover; margin-top: var(--s-5); border-radius: 260px 260px 0 0; }
.s-hero .brand .l > span { transform: none; }
.s-hero .tag { font: 500 clamp(19px, 1.9vw, 28px)/1.3 var(--serif); margin-top: var(--s-4); }
.s-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 761px) { .s-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.s-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.s-grid figcaption { padding-top: var(--s-3); }
.s-grid figcaption small { display: block; font: 600 var(--t-label)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champ); }
.s-grid figcaption b { display: block; font: 500 var(--t-3)/1.2 var(--serif); margin-top: var(--s-2); }

/* ==========================================================================
   DREAMERS — residents as editorial portraits, litters as contact sheets
   ========================================================================== */
.banner { display: grid; gap: var(--s-4); padding: var(--s-4); border: 1px solid rgba(212,189,150,.32); background: rgba(212,189,150,.05); margin-bottom: var(--s-6); }
@media (min-width: 761px) { .banner { grid-template-columns: 1fr auto; align-items: center; padding: var(--s-4) var(--s-5); } }
.banner .h3 { margin-top: var(--s-2); }
.banner p { margin-top: var(--s-2); font-size: var(--t-small); color: var(--on-dark-2); max-width: 36em; }

.status { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: var(--s-2) 10px; background: rgba(14,22,35,.8); color: var(--ivory); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.status.available { background: var(--champ); color: var(--obsidian); }
.status.reserved  { background: rgba(31,51,81,.92); }
.status.rehomed   { background: rgba(155,129,76,.92); color: #fff; }
.status.resident  { background: rgba(14,22,35,.8); }

/* residents */
.residents { display: flex; gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-2); scrollbar-width: none; }
.residents::-webkit-scrollbar { display: none; }
.dreamer { position: relative; flex: 0 0 74vw; scroll-snap-align: start; }
@media (min-width: 761px) { .residents { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); row-gap: var(--s-5); overflow: visible; margin: 0; padding: 0; } .dreamer { grid-column: span 6; } }
@media (min-width: 1061px) { .dreamer { grid-column: span 3; } }
.dreamer-open { position: absolute; inset: 0; z-index: 3; background: transparent; border: 0; padding: 0; }
.dreamer-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #162238; }
.dreamer-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dreamer:hover .dreamer-frame img, .kit-card:hover .dreamer-frame img { transform: scale(1.035); }
.dreamer-frame .status { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 2; }
.dreamer-body { padding-top: var(--s-4); }
.dreamer-body h3 { font: 500 var(--t-3)/1.15 var(--serif); }
.dreamer-meta { margin-top: var(--s-2); font: 600 var(--t-label)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.dreamer-body p { margin-top: var(--s-3); font-size: var(--t-small); line-height: 1.65; color: var(--on-dark-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dreamer-more { display: inline-block; margin-top: var(--s-3); font: 600 var(--t-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); }

/* litters */
.litters-head { margin-top: var(--s-7); margin-bottom: var(--s-5); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); }
.dfilters { display: flex; gap: var(--s-2); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.dfilters::-webkit-scrollbar { display: none; }
.dfilters button { flex: 0 0 auto; min-height: 44px; background: transparent; border: 1px solid rgba(212,189,150,.3); color: var(--on-dark-2); padding: 0 var(--s-3); font: 600 var(--t-label)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.dfilters button span { opacity: .6; margin-left: var(--s-2); }
.dfilters button[aria-pressed="true"] { background: var(--champ); border-color: var(--champ); color: var(--obsidian); }
.litter { margin-bottom: var(--s-6); }
.litter-top { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
@media (min-width: 761px) { .litter-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); align-items: end; } .litter-top .lt-title { grid-column: 1 / span 6; } .litter-top .lt-copy { grid-column: 8 / span 5; } }
.litter-top .h2 { margin-top: var(--s-2); }
.litter-top .h2 .status { margin-left: var(--s-2); vertical-align: middle; position: relative; top: -.3em; }
.litter-top .status { vertical-align: middle; }
.litter-meta { font: 600 var(--t-label)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.litter-top p { font-size: var(--t-small); line-height: 1.65; color: var(--on-dark-2); }
.litter-cover { display: none; }
.litter-kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
@media (min-width: 761px) { .litter-kits { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.kit-card { position: relative; background: #121c2d; }
.kit-card .dreamer-frame { aspect-ratio: 3/4; }
.kit-card .dreamer-frame .status { display: none; }
.kit-card figcaption, .kit-card .kc { padding: var(--s-3) var(--s-3) var(--s-4); }
.kit-card h4 { margin: 0; font: 500 20px/1.15 var(--serif); }
.kit-card small { display: block; margin-top: var(--s-1); font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--champ); }
.kit-card .forever { color: var(--on-dark-2); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 13px; }
.litter-more { display: flex; justify-content: center; margin-bottom: var(--s-5); }
.dreamers-foot { display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); }
@media (min-width: 761px) { .dreamers-foot { grid-template-columns: 1fr auto; align-items: center; } }
.dreamers-foot p { font-size: var(--t-small); color: var(--on-dark-2); max-width: 36em; }

/* ==========================================================================
   OUR STORY — split layout, ivory opens out of an arch
   ========================================================================== */
.ivory { background: var(--ivory); color: var(--ink); will-change: clip-path; }
.ivory .eyebrow { color: var(--gold-ink); }
.ivory .h1, .ivory .h2 { color: var(--navy); }
.ivory .lead { color: var(--muted); }
.story-split { display: grid; gap: var(--s-5); }
@media (min-width: 761px) {
  .story-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); align-items: start; }
  .story-photo { grid-column: 1 / span 5; position: sticky; top: var(--s-7); }
  .story-copy { grid-column: 7 / span 6; }
}
.story-photo { position: relative; overflow: hidden; aspect-ratio: 4/5; max-height: 72vh; }
@media (max-width: 760px) { .story-photo { aspect-ratio: 4/3; } }
.story-photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.story-photo figcaption { position: absolute; left: var(--s-3); bottom: var(--s-3); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.story-copy .h1 { margin-top: var(--s-3); }
.story-copy .lead { margin-top: var(--s-4); }
.values { margin-top: var(--s-6); display: grid; gap: 0; }
@media (min-width: 1061px) { .values { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); } }
.value { padding: var(--s-4) 0; border-top: 1px solid var(--line-light); }
.value h3 { font: 500 var(--t-3)/1.2 var(--serif); color: var(--navy); }
.value p { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   FOREVER FAMILIES — oversized pull quotes from real furparents
   ========================================================================== */
.ff-head { text-align: left; }
@media (min-width: 761px) { .ff-head { text-align: center; max-width: 920px; margin-inline: auto; } .ff-head .lead { margin-inline: auto; } }
.ff-head .h1 { margin-top: var(--s-3); }
.ff-head .lead { margin-top: var(--s-4); }
.quotes { margin-top: var(--s-6); display: grid; gap: var(--s-6); }
.quote { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 761px) {
  .quote { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); }
  .quote .q-photo { grid-column: 1 / span 5; }
  .quote .q-text { grid-column: 7 / span 6; }
  .quote:nth-child(even) .q-photo { grid-column: 8 / span 5; order: 2; }
  .quote:nth-child(even) .q-text { grid-column: 1 / span 6; }
  .quote.small .q-photo { grid-column: 3 / span 3; }
  .quote.small:nth-child(even) .q-photo { grid-column: 8 / span 3; }
}
.q-photo { aspect-ratio: 4/5; overflow: hidden; background: #E3DCCD; }
.q-photo img { width: 100%; height: 100%; object-fit: cover; }
.q-text blockquote { font: 500 var(--t-quote)/1.22 var(--serif); color: var(--navy); }
.quote.small .q-text blockquote { font-size: var(--t-2); }
.q-text blockquote::before { content: "“"; display: block; font-size: 1.6em; line-height: .6; color: var(--gold); margin-bottom: var(--s-3); }
.q-text .q-cap { margin-top: var(--s-4); font: 600 var(--t-label)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.diaries { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-light); }
.diaries .h2 { margin-top: var(--s-3); }
.diaries .lead { margin-top: var(--s-3); }
.diary-grid { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 761px) { .diary-grid { grid-template-columns: repeat(2, 1fr); } }
.diary { display: grid; grid-template-columns: 112px 1fr; gap: var(--s-4); align-items: center; background: #fff; border: 1px solid var(--line-light); }
@media (min-width: 761px) { .diary { grid-template-columns: 180px 1fr; } }
.diary img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.diary figcaption { padding: var(--s-3) var(--s-4) var(--s-3) 0; }
.diary small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.diary b { display: block; margin-top: var(--s-2); font: 500 var(--t-3)/1.2 var(--serif); color: var(--navy); }
.diary p { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
.invite { margin-top: var(--s-6); display: grid; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
@media (min-width: 761px) { .invite { grid-template-columns: 1fr auto; align-items: center; } }
.invite p { font: 500 var(--t-3)/1.4 var(--serif); color: var(--navy); max-width: 30em; }

/* ==========================================================================
   REHOMING — full-bleed photo story, then the steps
   ========================================================================== */
.reel { margin-top: var(--s-2); }
.rday { margin-bottom: var(--s-5); }
.rday h4 { margin: 0 0 var(--s-3); padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; display: flex; gap: var(--s-3); align-items: baseline; flex-wrap: wrap; font: 500 var(--t-3)/1.2 var(--serif); }
.rday h4 small { font: 600 var(--t-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); }
.rday-strip { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) var(--s-3); scrollbar-width: thin; scrollbar-color: rgba(212,189,150,.4) transparent; }
.rday-strip figure { flex: 0 0 auto; height: min(60vh, 560px); aspect-ratio: 3/4; scroll-snap-align: start; overflow: hidden; background: #162238; }
@media (max-width: 760px) { .rday-strip figure { height: 52vh; } }
.rday-strip img { width: 100%; height: 100%; object-fit: cover; }
.steps { margin-top: var(--s-6); display: grid; border-top: 1px solid var(--line-dark); }
@media (min-width: 761px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: var(--s-4) 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 761px) { .step { padding: var(--s-5) var(--s-4) var(--s-5) 0; } .step:not(:nth-child(3n+1)) { padding-left: var(--s-4); border-left: 1px solid var(--line-dark); } }
.step small { font: 600 var(--t-label)/1 var(--sans); letter-spacing: .16em; color: var(--champ); }
.step h3 { margin-top: var(--s-3); font: 500 var(--t-3)/1.2 var(--serif); }
.step p { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.65; color: var(--on-dark-2); max-width: 26em; }
.kit { margin-top: var(--s-7); display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 761px) { .kit { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } .kit figure { grid-column: 1 / span 6; } .kit .kit-copy { grid-column: 8 / span 5; } }
.kit figure { overflow: hidden; }
.kit img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transform: scale(1.06); will-change: transform; }
.kit .h2 { margin-top: var(--s-3); }
.kit-copy > p { margin-top: var(--s-4); font-size: var(--t-body); color: var(--on-dark-2); }
.kit-list { list-style: none; padding: 0; margin-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.kit-list li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line-dark); font: 500 20px/1.2 var(--serif); }
.kit-list li small { font: 600 11px/1 var(--sans); letter-spacing: .18em; color: var(--champ); min-width: 24px; }
.kit-note { margin-top: var(--s-3); font-size: 13px; color: var(--on-dark-2); }
.rehome-line { text-align: center; font: 500 var(--t-2)/1.2 var(--serif); color: var(--champ); padding-top: var(--s-7); }

/* ==========================================================================
   CARE · FAQ · HELLO · FOOTER
   ========================================================================== */
.care-grid { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 1061px) { .care-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } .guide-box { grid-column: 1 / span 7; } .week { grid-column: 8 / span 5; } }
.guide-box { background: #fff; border: 1px solid var(--line-light); padding: var(--s-4); }
@media (min-width: 761px) { .guide-box { padding: var(--s-5); } }
.tabs { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-5); }
.tabs button { min-height: 40px; background: transparent; border: 1px solid rgba(31,51,81,.22); color: var(--navy); padding: 0 var(--s-3); font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel h3 { font: 500 var(--t-2)/1.1 var(--serif); color: var(--navy); }
.panel > p { margin-top: var(--s-3); font-size: var(--t-body); line-height: 1.7; color: var(--muted); }
.panel ul { list-style: none; padding: 0; margin-top: var(--s-4); }
.panel li { position: relative; padding: var(--s-3) 0 var(--s-3) var(--s-5); border-top: 1px solid var(--line-light); font-size: var(--t-body); line-height: 1.6; }
.panel li::before { content: ""; position: absolute; left: 0; top: 27px; width: var(--s-3); height: 1px; background: var(--gold); }
.week { background: var(--navy); color: var(--ivory); padding: var(--s-4); }
@media (min-width: 761px) { .week { padding: var(--s-5); } }
.week-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.week .eyebrow { color: var(--champ); }
.week-head .h3 { margin-top: var(--s-2); }
.week-count { font: 500 28px/1 var(--serif); color: var(--champ); white-space: nowrap; }
.week-bar { height: 2px; background: rgba(212,189,150,.2); margin: var(--s-4) 0 var(--s-2); }
.week-bar span { display: block; height: 100%; background: var(--champ); width: 0; transition: width .6s var(--ease); }
.week-list { list-style: none; padding: 0; }
.week-list label { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; font-size: var(--t-body); line-height: 1.55; color: #E3E0D8; }
.week-list input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; height: 22px; margin: 0; border: 1px solid rgba(212,189,150,.6); display: grid; place-items: center; cursor: pointer; }
.week-list input:checked { background: var(--champ); border-color: var(--champ); }
.week-list input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--obsidian); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.week-list input:checked + span { color: #9FA8B4; text-decoration: line-through; text-decoration-color: rgba(212,189,150,.5); }
.week-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.week-foot small { color: #9FA8B4; font-size: 13px; }
.week-reset { background: none; border: 0; border-bottom: 1px solid rgba(212,189,150,.5); color: var(--champ); font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 0 0 var(--s-1); }

.faq-layout { display: grid; gap: var(--s-5); }
@media (min-width: 761px) { .faq-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } .faq-layout > .title { grid-column: 1 / span 4; } .faq-list { grid-column: 6 / span 7; } }
.faq-layout .h1 { margin-top: var(--s-3); }
.faq-list details { border-top: 1px solid var(--line-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-light); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; font: 500 var(--t-3)/1.3 var(--serif); color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--gold-ink); transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: var(--s-4); font-size: var(--t-body); line-height: 1.7; color: var(--muted); max-width: 38em; }

.hello-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1061px) { .hello-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } .hello-copy { grid-column: 1 / span 5; } .inq { grid-column: 7 / span 6; } }
.hello-copy .h1 { margin-top: var(--s-3); }
.hello-copy .lead { margin-top: var(--s-4); }
.hello-meta { margin-top: var(--s-4); }
.hello-copy .actions { margin-top: var(--s-5); }
.final-contact { margin-top: var(--s-4); font-size: var(--t-small); color: var(--champ); }
.final-contact a { border-bottom: 1px solid rgba(212,189,150,.4); padding-bottom: 2px; }
.inq { background: rgba(14,22,35,.45); border: 1px solid rgba(212,189,150,.25); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 761px) { .inq { padding: var(--s-5); } }
.inq label { display: flex; flex-direction: column; gap: var(--s-2); font: 600 var(--t-label)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #D8D2C6; }
.inq input, .inq select, .inq textarea { font: 400 16px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ivory); background: rgba(9,10,12,.35); border: 1px solid rgba(212,189,150,.28); padding: 14px var(--s-3); border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .25s; }
.inq select { background-image: linear-gradient(45deg, transparent 50%, var(--champ) 50%), linear-gradient(135deg, var(--champ) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.inq select option { color: #111; }
.inq input:focus, .inq select:focus, .inq textarea:focus { border-color: var(--champ); }
.inq [aria-invalid="true"] { border-color: #E7A7B4; }
.inq .btn { align-self: flex-start; margin-top: var(--s-2); }
@media (max-width: 760px) { .inq .btn { align-self: stretch; justify-content: space-between; } }
.inq-msg { font-size: var(--t-small); line-height: 1.6; color: var(--champ); min-height: 1em; }
.inq small { color: #9FA8B4; font-size: 13px; line-height: 1.6; }
.bret { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: var(--s-5); }

.bret-copy p { margin-top: var(--s-2); color: var(--on-dark-2); font-size: var(--t-small); }
.bret-btn { margin-top: var(--s-3); min-height: 44px; background: transparent; border: 1px solid rgba(212,189,150,.5); color: var(--ivory); padding: 0 var(--s-3); font: 600 var(--t-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.bret-btn span { color: #E7A7B4; margin-right: 6px; }
.bret-copy small { display: block; margin-top: var(--s-2); color: var(--champ); font-size: 13px; }
.heart { position: fixed; pointer-events: none; z-index: 130; color: #E7A7B4; font-size: 18px; animation: heart 1.6s var(--ease) forwards; }
@keyframes heart { to { transform: translate(var(--dx), -140px) scale(1.4); opacity: 0; } }

.footer { background: var(--obsidian); color: #C9C3B8; padding-block: var(--s-6) var(--s-5); }
.footer-top { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid rgba(212,189,150,.12); }
@media (min-width: 761px) { .footer-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); } .footer-brand { grid-column: 1 / span 5; } .footer-links { grid-column: 7 / span 6; } }
.footer-brand p { margin-top: var(--s-3); font: 500 20px/1.4 var(--serif); color: var(--ivory); }
.footer-facts { margin-top: var(--s-3); display: flex; flex-direction: column; gap: var(--s-1); font-size: 13px; color: #8D8A84; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-4); font: 500 var(--t-label)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 761px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-links a:hover { color: var(--champ); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-4); font-size: 13px; color: #8D8A84; }

/* ---------- floating controls ---------- */
.guide { position: fixed; right: max(var(--s-4), env(safe-area-inset-right)); bottom: max(var(--s-4), env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: var(--s-2); min-height: 44px; background: rgba(14,22,35,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(212,189,150,.35); color: var(--ivory); padding: 0 var(--s-3); font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: opacity .4s, visibility .4s, background .3s; }
.guide:hover { background: rgba(31,51,81,.9); }
@media (min-width: 761px) { .guide { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(239,232,218,.7); } .guide:hover { color: var(--ivory); border-color: rgba(212,189,150,.35); background: rgba(14,22,35,.5); } }
.guide i { display: block; width: 0; height: 0; border-left: 7px solid var(--champ); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.guide.playing i { width: 7px; height: 9px; border: 0; border-left: 2px solid var(--champ); border-right: 2px solid var(--champ); }
.guide.hidden { opacity: 0; visibility: hidden; }
html.static .guide { display: none; }
@media (max-width: 760px) { .guide { right: var(--s-3); bottom: var(--s-3); padding: 0 13px; } .guide span { display: none; } }
.totop { position: fixed; right: max(var(--s-4), env(safe-area-inset-right)); bottom: max(var(--s-4), env(safe-area-inset-bottom)); z-index: 80; width: 48px; height: 48px; border: 1px solid rgba(212,189,150,.45); background: rgba(14,22,35,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--champ); font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, visibility .35s, transform .35s var(--ease); }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.mbar { display: none; }
@media (max-width: 760px) {
  .totop { display: none; }
  .mbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 82; display: flex; gap: var(--s-2); padding: var(--s-2); background: rgba(14,22,35,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(212,189,150,.28); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; min-height: 46px; font: 600 var(--t-label)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 0; }
  .mbar-top { flex: 0 0 46px; background: transparent; color: var(--champ); font-size: 18px !important; border: 1px solid rgba(212,189,150,.3) !important; }
  .mbar-ask { flex: 1; background: var(--champ); color: var(--obsidian); }
  .mbar-msg { flex: 0 0 auto; padding: 0 var(--s-3); color: var(--ivory); border: 1px solid rgba(212,189,150,.4) !important; }
  body.mbar-on .footer { padding-bottom: 120px; }
}

/* ---------- profile dialog ---------- */
.dlg { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end stretch; }
@media (min-width: 761px) { .dlg { place-items: center; padding: var(--s-4); } }
.dlg-backdrop { position: absolute; inset: 0; background: rgba(6,9,15,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .35s var(--ease); }
.dlg-panel { position: relative; width: 100%; max-height: 94vh; overflow: auto; display: grid; background: var(--night); animation: dlgIn .5s var(--ease); }
@media (min-width: 761px) { .dlg-panel { width: min(1080px, 100%); max-height: calc(100vh - 48px); border: 1px solid rgba(212,189,150,.2); } }
@media (min-width: 1061px) { .dlg-panel { grid-template-columns: 1.05fr 1fr; } }
.dlg-panel:focus { outline: none; }
@keyframes fadeIn { from { opacity: 0; } } @keyframes dlgIn { from { opacity: 0; transform: translateY(24px); } }
.dlg-x { position: absolute; right: var(--s-3); top: var(--s-3); z-index: 3; width: 44px; height: 44px; background: rgba(14,22,35,.7); border: 1px solid rgba(212,189,150,.3); font-size: 22px; line-height: 1; }
.dlg-media { position: relative; background: #162238; min-height: 50vh; }
@media (min-width: 1061px) { .dlg-media { min-height: 520px; } }
.dlg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(14,22,35,.6); border: 1px solid rgba(212,189,150,.3); font-size: 22px; }
.dlg-nav.prev { left: var(--s-3); } .dlg-nav.next { right: var(--s-3); }
.dlg-thumbs { position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); display: flex; gap: var(--s-2); overflow-x: auto; }
.dlg-thumbs button { flex: 0 0 54px; height: 54px; padding: 0; border: 1px solid rgba(255,255,255,.35); background: none; opacity: .7; }
.dlg-thumbs button[aria-current="true"] { border-color: var(--champ); opacity: 1; }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: var(--s-5) var(--gutter) var(--s-5); }
@media (min-width: 761px) { .dlg-body { padding: var(--s-6) var(--s-5) var(--s-5); } }
.dlg-body h2 { font: 500 var(--t-1)/1.02 var(--serif); margin: var(--s-3) 0 var(--s-4); }
.dlg-facts { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3) var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.dlg-facts dt { font: 600 11px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); }
.dlg-facts dd { font-size: var(--t-body); color: #E7E2D8; }
.dlg-facts dd small { display: block; color: #9AA3AE; font-size: 13px; margin-top: 2px; }
.dlg-about { margin-top: var(--s-4); font-size: var(--t-body); line-height: 1.7; color: var(--on-dark-2); }
.dlg-actions { margin-top: var(--s-5); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.dlg-actions.inq-first #dlgInq { order: -1; }
@media (max-width: 760px) { .dlg-actions .btn { flex: 1 1 100%; justify-content: space-between; } }
.dlg-note { display: block; margin-top: var(--s-3); color: #8E97A3; font-size: 13px; }
body.dlg-open { overflow: hidden; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* Legibility: Bodoni Moda's high-opsz cut has hairlines that vanish at title sizes,
   especially on navy. Pin a lower optical size so thin strokes stay visible. */
.h-display, .h1, .h2, .h3, .brand, .ov-tag, .ov-room h2, .s-hero .tag, .s-grid figcaption b,
.dreamer-body h3, .kit-card h4, .value h3, .q-text blockquote, .diary b, .invite p, .rday h4,
.step h3, .kit-list li, .rehome-line, .panel h3, .week-count, .faq-list summary, .footer-brand p,
.dlg-body h2, .menu nav a, .loader .word {
  font-variation-settings: "opsz" 18;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

/* ---------- Hero refinements: bigger arch, clear next step, single brand, scroll cue ---------- */
.ov-hero { pointer-events: none; }
.hero-act { margin-top: var(--s-4); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); opacity: 0; transition: opacity 1.4s var(--ease) 1.2s; }
html.is-ready .hero-act { opacity: 1; }
.hero-chip { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(212,189,150,.42); border-radius: 999px; background: rgba(14,22,35,.42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); transition: background .3s, border-color .3s; }
.hero-chip:hover { background: rgba(212,189,150,.14); border-color: var(--champ); }
.hero-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--champ); box-shadow: 0 0 0 0 rgba(212,189,150,.6); animation: chipPulse 2.4s infinite; }
.hero-chip .arr { color: var(--champ); transition: transform .3s var(--ease); }
.hero-chip:hover .arr { transform: translateX(3px); }
@keyframes chipPulse { 0% { box-shadow: 0 0 0 0 rgba(212,189,150,.55); } 70% { box-shadow: 0 0 0 9px rgba(212,189,150,0); } 100% { box-shadow: 0 0 0 0 rgba(212,189,150,0); } }
@media (prefers-reduced-motion: reduce) { .hero-chip i { animation: none; } }
.hero-btns { display: none; gap: var(--s-3); }
.hero-btns .btn { pointer-events: auto; }
/* split hero on wide screens: words left, a much larger arch on the right */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .ov-hero.split { top: 0; bottom: 0; right: auto; width: min(50vw, 720px); left: 0; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    display: flex; flex-direction: column; justify-content: center; text-align: left; padding-top: 40px; }
  .ov-hero.split .brand { font-size: clamp(60px, min(6.6vw, 13vh), 132px); letter-spacing: .05em; margin-right: 0; }
  .ov-hero.split .brand-meta { justify-content: flex-start; }
  .ov-hero.split .brand-meta .rule:first-child { display: none; }
  .ov-hero.split .ov-tag { font-size: clamp(22px, 1.8vw, 30px); }
  .ov-hero.split .hero-act { align-items: flex-start; margin-top: var(--s-5); }
  .ov-hero.split .hero-btns { display: flex; }
}
/* the nav shows only the badge while the big wordmark is on screen */
.wordmark span { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav.hero .wordmark span { opacity: 0; transform: translateX(-8px); pointer-events: none; }
/* scroll cue */
.scroll-cue { left: 50%; bottom: calc(max(var(--s-4), env(safe-area-inset-bottom)) + 60px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(239,232,218,.78); white-space: nowrap; }
.scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--champ), transparent); transform-origin: top; animation: cueLine 2.2s var(--ease) infinite; }
@keyframes cueLine { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .scroll-cue.split { left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); transform: none; align-items: flex-start; bottom: calc(var(--s-4) + 64px); } }
.hero-btns { flex-wrap: wrap; }
.hero-btns .btn { white-space: nowrap; }
@media (max-width: 1180px) { .hero-btns .btn { padding: 0 20px; min-height: 48px; } }

/* Bret — the Dreamspire mascot (artwork from the original site) */
.bret-art { flex: none; width: clamp(150px, 18vw, 210px); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bret-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 22px rgba(0,0,0,.35)); }
.bret-svg .dreamer-rear { display: none; }
.bret-svg .dreamer-ground { opacity: .35; }
.bret-svg .dreamer-front-tail { transform-origin: 322px 255px; animation: bretTail 1.15s ease-in-out infinite alternate; }
.bret-svg .welcome-eyes { transform-origin: 224px 169px; animation: bretBlink 5.2s 1.4s infinite; }
.bret-svg .welcome-lids { opacity: 0; animation: bretLids 5.2s 1.4s infinite; }
.bret-svg .dreamer-front { transform-origin: 220px 330px; }
@keyframes bretTail { from { transform: rotate(-5deg); } to { transform: rotate(10deg); } }
@keyframes bretBlink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }
@keyframes bretLids { 0%, 93%, 100% { opacity: 0; } 94%, 97% { opacity: 1; } }
/* happy: content closed eyes, fast tail, a little bounce */
.bret-art.happy .dreamer-front-tail { animation: bretHappyTail .22s ease-in-out infinite alternate; }
.bret-art.happy .welcome-eyes { animation: none; transform: scaleY(.08); }
.bret-art.happy .welcome-lids { animation: none; opacity: 1; }
.bret-art.happy .dreamer-front { animation: bretBounce .26s ease-in-out infinite alternate; }
@keyframes bretHappyTail { from { transform: rotate(-15deg); } to { transform: rotate(20deg); } }
@keyframes bretBounce { from { transform: translateY(0) scale(1); } to { transform: translateY(-5px) scale(1.02); } }
.bret-art:focus-visible { outline: 2px solid var(--champ); outline-offset: 6px; }
@media (max-width: 760px) { .bret { flex-direction: column; align-items: flex-start; gap: var(--s-3); } .bret-art { width: 170px; } }
@media (prefers-reduced-motion: reduce) { .bret-svg * { animation: none !important; } }

/* ---------- Bret, the tour guide in the Cat Room ---------- */
.bret-guide { right: calc(var(--gutter) - 8px); bottom: clamp(112px, 16vh, 168px); display: flex; align-items: flex-end; gap: 10px; opacity: 0; pointer-events: none; }
.bg-cat { width: 92px; flex: none; }
.bg-cat .bret-svg { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.bg-bubble { position: relative; max-width: 230px; margin-bottom: 58px; padding: 12px 16px; background: #FFF8EC; color: #1F3351; border-radius: 16px 16px 4px 16px; font: 600 13px/1.4 var(--sans); letter-spacing: .01em; box-shadow: 0 10px 30px rgba(5,8,14,.35);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: bottom right; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.bg-bubble.on { opacity: 1; transform: none; }
.bg-bubble::after { content: ""; position: absolute; right: -6px; bottom: 10px; width: 12px; height: 12px; background: #FFF8EC; transform: rotate(45deg); }
.bret-guide .dreamer-front-paws ellipse:nth-child(2) { transform-box: fill-box; transform-origin: center top; }
.bret-guide.wave .dreamer-front-paws ellipse:nth-child(2) { animation: bretWave .32s ease-in-out 4 alternate; }
@keyframes bretWave { from { transform: rotate(0) translateY(0); } to { transform: rotate(-28deg) translateY(-14px); } }
@media (max-width: 760px) {
  .bret-guide { top: calc(76px + env(safe-area-inset-top)); bottom: auto; right: 10px; align-items: flex-start; }
  .bg-cat { width: 70px; }
  .bg-bubble { margin: 14px 0 0; max-width: 190px; font-size: 12px; border-radius: 16px 4px 16px 16px; transform-origin: top right; }
  .bg-bubble::after { bottom: auto; top: 12px; }
}
/* ---------- Bret says thank you after an inquiry ---------- */
.inq { position: relative; }
.inq-thanks { position: absolute; inset: 0; z-index: 2; background: #0F1826; border: 1px solid rgba(212,189,150,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s-5) var(--s-4); gap: var(--s-2);
  animation: thanksIn .5s var(--ease) both; }
.inq-thanks[hidden] { display: none !important; }
.thanks-cat { width: 170px; margin-bottom: var(--s-2); }
.inq-thanks h3 { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--serif); font-variation-settings: "opsz" 18; color: var(--ivory); }
.inq-thanks p { max-width: 28em; color: var(--on-dark-2); }
.inq-thanks .btn { align-self: center; margin-top: var(--s-3); }
@keyframes thanksIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.thanks-cat .bret-art { width: 100%; cursor: default; }

/* Bret now walks inside the 3D rooms; the bubble follows his head */
.bret-guide { left: 0 !important; top: 0 !important; right: auto !important; bottom: auto !important; display: block; opacity: 1; will-change: transform; }
.bg-cat { display: none !important; }
.bg-bubble { position: absolute; left: 0; top: 0; margin: 0 !important; width: max-content; max-width: 220px; translate: calc(-100% + 18px) calc(-100% - 10px);
  border-radius: 16px 16px 4px 16px !important; transform-origin: bottom right !important; }
.bg-bubble::after { right: 12px !important; left: auto; top: auto !important; bottom: -5px !important; }
.bret-guide.right .bg-bubble { translate: -18px calc(-100% - 10px); border-radius: 16px 16px 16px 4px !important; transform-origin: bottom left !important; }
.bret-guide.right .bg-bubble::after { left: 12px; right: auto !important; }
@media (max-width: 760px) { .bg-bubble { max-width: 180px; font-size: 12px; } }

/* ---------- Minimal refresh (Nov 2026): fewer elements, Apple-style controls. The 3D journey itself is unchanged. ---------- */
/* one scroll cue only: the chapter label in the HUD */
.scroll-cue, #scrollCue { display: none !important; }
/* calm, pill-shaped buttons in sentence case */
.btn { border-radius: 999px; min-height: 48px; padding: 0 28px; font: 500 15px/1 var(--sans); letter-spacing: .01em; text-transform: none; }
/* quieter navigation */
.nav-links { gap: 40px; }
.nav-links a { font: 500 14px/1 var(--sans); letter-spacing: .01em; text-transform: none; }
.nav-links .nav-cta { border: 0; padding: 0; }
/* hero: wordmark, tagline, one gold button and one text link */
.hero-chip { padding: 0; min-height: 44px; border: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; font: 500 14px/1 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--champ); }
.hero-chip:hover { background: transparent; color: var(--ivory); }
.hero-btns { align-items: center; gap: 28px; }
.hero-link { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font: 500 15px/1 var(--sans); color: var(--champ); transition: color .3s var(--ease); }
.hero-link:hover { color: var(--ivory); }
/* guided tour control in the same quiet type */
.guide { font: 500 13px/1 var(--sans); letter-spacing: .01em; text-transform: none; }
/* Bret docked as the tour guide while the real footage plays */
.bret-guide.docked { left: auto !important; top: auto !important; right: clamp(16px, 3vw, 40px) !important; bottom: clamp(96px, 13vh, 132px) !important; display: flex; align-items: flex-end; gap: 6px; transform: none !important; transition: opacity .2s linear; }
.bret-guide.docked .bg-cat { display: block !important; width: 104px; flex: none; }
.bret-guide.docked .bg-cat .bret-svg { filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.bret-guide.docked .bg-bubble { position: relative; left: auto; top: auto; translate: none; width: auto; max-width: 220px; margin: 0 0 70px !important; border-radius: 16px 16px 4px 16px !important; transform-origin: bottom right !important; }
.bret-guide.docked .bg-bubble::after { right: -5px !important; left: auto !important; bottom: 12px !important; top: auto !important; }
@media (max-width: 760px) {
  .bret-guide.docked { top: calc(72px + env(safe-area-inset-top)) !important; bottom: auto !important; right: 8px !important; align-items: flex-start; }
  .bret-guide.docked .bg-cat { width: 72px; }
  .bret-guide.docked .bg-bubble { margin: 14px 0 0 !important; max-width: 180px; font-size: 12px; border-radius: 16px 4px 16px 16px !important; transform-origin: top right !important; }
  .bret-guide.docked .bg-bubble::after { top: 12px !important; bottom: auto !important; }
}
/* The ending of the tour: one line, two gentle ways forward, how the kittens are cared for */
.ov-end { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); opacity: 0; visibility: hidden; }
.ov-end .eyebrow { margin-bottom: var(--s-4); }
.end-title { font: 500 clamp(40px, 6.2vw, 96px)/1.04 var(--serif); color: var(--ivory); letter-spacing: 0; margin: 0 0 clamp(28px, 4vh, 44px); text-shadow: 0 2px 34px rgba(5,8,14,.55); }
.end-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.end-care { margin-top: clamp(28px, 4.5vh, 48px); font: 600 11px/2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(212,189,150,.88); max-width: 46em; }
.end-care span { white-space: nowrap; }
@media (max-width: 760px) { .end-btns { flex-direction: column; align-items: stretch; width: min(320px, 100%); } .end-care { font-size: 10px; letter-spacing: .14em; } }
@media (min-width: 900px) and (min-aspect-ratio: 6/5) {   /* desktop: the ending sits in the left column, beside the arch */
  .ov-end { right: auto; width: min(600px, 46vw); align-items: flex-start; text-align: left; padding: 0 0 0 var(--gutter); }
  .ov-end .end-title { font-size: min(4.3vw, 76px); white-space: nowrap; }
  .end-btns { justify-content: flex-start; }
}
/* the litters open the Dreamers section now: no divider above them */
#littersHead { margin-top: 0; border-top: 0; padding-top: 0; margin-bottom: var(--s-6); }
#littersHead .title .eyebrow { margin-bottom: var(--s-3); }

/* ===== 11 Nov: section motion, arch portraits, kitten profiles, care page ===== */
/* Kitten portraits: the arch from the doorway, with its gold inner line */
.litter-kits { gap: clamp(14px, 2.2vw, 28px) clamp(10px, 1.6vw, 22px); }
.kit-card { background: transparent; }
.kit-card .dreamer-frame { border-radius: 999px 999px 0 0; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.kit-card .dreamer-frame::after { content: ""; position: absolute; inset: 7px 7px 0; border: 1px solid rgba(212,189,150,.55); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; opacity: .7; transition: opacity .5s var(--ease), inset .5s var(--ease); }
.kit-card:hover .dreamer-frame::after, .kit-card.live .dreamer-frame::after { opacity: 1; inset: 10px 10px 0; }
.kit-card .kc { padding: var(--s-3) 2px var(--s-3); text-align: center; }
.kit-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.kit-card.live .kit-clip { opacity: 1; }
/* Profile: living clip, growing-up row, the parents */
#dlgClip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
#dlgClip[hidden] { display: none; }
.dlg-thumbs, .dlg-nav { z-index: 2; }
.dlg-thumbs.grow button { position: relative; }
.dlg-thumbs.grow small { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 2px 3px; font: 600 9px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(9,14,24,.85)); text-align: center; }
.dlg-parents { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.dp-row { margin-top: var(--s-3); display: flex; gap: var(--s-4); flex-wrap: wrap; }
.dp { display: flex; align-items: center; gap: var(--s-3); background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.dp-img { flex: none; width: 58px; height: 74px; border-radius: 999px 999px 0 0; overflow: hidden; background: #162238; box-shadow: 0 0 0 1px rgba(212,189,150,.45); }
.dp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dp:hover .dp-img img { transform: scale(1.06); }
.dp small { display: block; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ); }
.dp b { display: block; margin-top: 6px; font: 500 20px/1.1 var(--serif); }
.dp i { display: block; margin-top: 3px; font: 400 13px/1.3 var(--sans); font-style: normal; color: var(--on-dark-2); }
/* Rehoming steps: a gold line draws across each step as you reach it */
.steps { border-top-color: transparent; }
.step { position: relative; border-bottom-color: transparent; padding-top: var(--s-5); opacity: .42; transition: opacity .9s var(--ease); }
.step::before, .step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.step::before { background: var(--line-dark); }
.step::after { background: linear-gradient(90deg, var(--champ), rgba(212,189,150,.35)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.step.lit { opacity: 1; }
.step.lit::after { transform: scaleX(1); }
.step small { transition: color .9s var(--ease); }
.step:not(.lit) small { color: var(--on-dark-2); }
@media (min-width: 761px) { .step { padding-right: var(--s-5); } }
/* DreamKit: the photo settles under a pass of warm light, the items arrive one by one */
.kit figure { position: relative; }
.kit figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,240,214,.28) 50%, transparent 62%); transform: translateX(-110%); pointer-events: none; }
.kit figure.in::after { transform: translateX(110%); transition: transform 1.8s var(--ease) .25s; }
.kit-copy .kit-list li { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.kit-copy.in .kit-list li { opacity: 1; transform: none; }
.kit-copy.in .kit-list li:nth-child(1) { transition-delay: .35s; } .kit-copy.in .kit-list li:nth-child(2) { transition-delay: .5s; }
.kit-copy.in .kit-list li:nth-child(3) { transition-delay: .65s; } .kit-copy.in .kit-list li:nth-child(4) { transition-delay: .8s; }
.kit-copy.in .kit-list li:nth-child(5) { transition-delay: .95s; } .kit-copy.in .kit-list li:nth-child(6) { transition-delay: 1.1s; }
/* Forever Families: photos and stories drift in from alternate sides */
.diary.rv { transform: translateX(-36px); } .diary.rv:nth-child(even) { transform: translateX(36px); transition-delay: .12s; }
.diary.rv.in, .diary.rv.in:nth-child(even) { transform: none; }
.quote.rv .q-photo { overflow: hidden; } .quote.rv .q-photo img { transform: scale(1.1); transition: transform 1.8s var(--ease); } .quote.rv.in .q-photo img { transform: none; }
.rday.rv .rday-strip figure { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rday.rv.in .rday-strip figure { opacity: 1; transform: none; }
.rday.rv.in .rday-strip figure:nth-child(2) { transition-delay: .08s; } .rday.rv.in .rday-strip figure:nth-child(3) { transition-delay: .16s; } .rday.rv.in .rday-strip figure:nth-child(4) { transition-delay: .24s; }
.rday.rv.in .rday-strip figure:nth-child(n+5) { transition-delay: .32s; }
/* link to the care page */
.care-link { text-align: center; margin-top: var(--s-4); }
.care-link a { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); border-bottom: 1px solid rgba(212,189,150,.4); padding-bottom: 6px; transition: color .3s; }
.care-link a:hover { color: var(--champ); }
/* Kitten Care page */
.care-page { background: var(--ivory); }
.care-page .nav { position: sticky; }
.care-page #care { padding-top: clamp(40px, 6vw, 88px); }
.care-back { font: 500 14px/1 var(--sans); color: var(--navy); opacity: .85; }
.care-back:hover { opacity: 1; }
.care-foot { margin-top: var(--s-6); text-align: center; color: var(--muted); }
.care-foot a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(31,51,81,.3); }
@media (prefers-reduced-motion: reduce) {
  .step { opacity: 1; } .step::after { transform: scaleX(1); transition: none; }
  .kit-copy .kit-list li, .rday.rv .rday-strip figure { opacity: 1; transform: none; } .diary.rv, .diary.rv:nth-child(even) { transform: none; }
}
@media (max-width: 560px) { .cb-long { display: none; } }
.care-back { white-space: nowrap; }
.dlg-thumbs button { position: relative; overflow: hidden; }
.dlg-thumbs.grow button { flex-basis: 62px; height: 78px; border-radius: 999px 999px 0 0; }
@media (min-width: 1061px) { .dlg-media { position: sticky; top: 0; align-self: start; height: calc(100vh - 50px); max-height: 100%; min-height: 520px; } }

/* ---------- Family app showcase ---------- */
.app-sec { overflow: hidden; isolation: isolate; }
.app-glow { position: absolute; inset: -10% -20% auto auto; width: min(900px, 90vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(212,189,150,.16), rgba(212,189,150,.05) 55%, transparent 72%); z-index: -1; pointer-events: none; }
.app-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1061px) { .app-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr; column-gap: var(--s-7); row-gap: 0; } .app-head { grid-column: 1; grid-row: 1; } .app-body { grid-column: 1; grid-row: 2; } .app-stage { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 1060px) { .app-grid { gap: var(--s-5); } .app-feats { margin-top: 0; } .app-head { order: 1; } .app-stage { order: 2; } .app-body { order: 3; } }
.app-copy .h1 { margin-top: var(--s-3); }
.app-copy .h1 em { font-style: italic; color: var(--champ); }
.app-copy .lead { margin-top: var(--s-4); }
.app-feats { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 2px; }
.app-feats li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); border-radius: 18px; cursor: pointer; transition: background .5s var(--ease), opacity 1s var(--ease), transform 1s var(--ease); }
.app-feats li:hover, .app-feats li.on { background: rgba(212,189,150,.07); }
.af-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-dark); background: rgba(212,189,150,.04); transition: background .5s var(--ease), border-color .5s var(--ease); }
.af-ic svg { width: 21px; height: 21px; fill: none; stroke: var(--champ); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-feats li.on .af-ic { background: var(--champ); border-color: var(--champ); }
.app-feats li.on .af-ic svg { stroke: var(--obsidian); }
.app-feats h3 { font: 500 var(--t-3)/1.2 var(--serif); color: var(--ivory); padding-top: 3px; }
.app-feats p { margin-top: 4px; font-size: var(--t-small); line-height: 1.6; color: var(--on-dark-2); max-width: 30em; }
.app-actions { margin-top: var(--s-5); display: grid; gap: var(--s-3); justify-items: start; }
@media (max-width: 760px) { .app-actions .btn { width: 100%; justify-content: space-between; } }
.app-note { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; color: var(--on-dark-2); max-width: 31em; }
.app-key { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,189,150,.1); margin-top: 1px; }
.app-key svg { width: 15px; height: 15px; fill: none; stroke: var(--champ); stroke-width: 1.8; stroke-linecap: round; }

.app-stage { position: relative; justify-self: center; width: min(330px, 70vw); padding-bottom: 46px; }
.app-phone { position: relative; aspect-ratio: 780 / 1688; border-radius: 15% / 7%; padding: 3.4%; background: linear-gradient(145deg, #3a3d44, #15171b 40%, #2a2c31 70%, #0c0d10); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 50px 90px -30px rgba(0,0,0,.85), 0 30px 60px -40px rgba(212,189,150,.35); transform: perspective(1400px) rotateY(var(--ry, -9deg)) rotateX(var(--rx, 3deg)); transition: transform 1.2s var(--ease); will-change: transform; }
.app-phone::before { content: ""; position: absolute; inset: 1.3%; border-radius: 14% / 6.5%; box-shadow: 0 0 0 1.5px rgba(0,0,0,.9) inset; pointer-events: none; z-index: 3; }
.app-screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #0B1220; }
.app-screen img { position: absolute; left: 0; right: 0; bottom: 0; top: 6.2%; width: 100%; height: 93.8%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.035); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.app-screen img.on { opacity: 1; transform: none; }
.app-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 28%); pointer-events: none; }
.app-island { position: absolute; z-index: 4; top: 4.6%; left: 50%; width: 29%; height: 3.3%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.app-float { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; border-radius: 18px; background: rgba(20,28,42,.72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); color: var(--ivory); animation: afBob 6s ease-in-out infinite; }
.af-1 { top: 13%; left: -22%; width: 250px; padding: 12px 14px; }
.af-1 img { width: 34px; height: 34px; border-radius: 9px; }
.af-1 b { display: block; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; color: var(--champ); }
.af-1 span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.3; }
.af-1 i { align-self: flex-start; margin-left: auto; font: 500 11px/1 var(--sans); font-style: normal; color: var(--on-dark-2); }
.af-2 { bottom: 20%; right: -16%; padding: 14px 18px; gap: 12px; animation-delay: -3s; }
.af-2 strong { font: 500 44px/1 var(--serif); color: var(--champ); }
.af-2 span { font: 600 11px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
@keyframes afBob { 50% { transform: translateY(-10px); } }
@media (max-width: 760px) { .af-1 { left: -8%; width: 220px; top: 9%; } .af-2 { right: -6%; } }
.app-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; }
.app-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(212,189,150,.3); cursor: pointer; transition: width .5s var(--ease), background .5s var(--ease); }
.app-dots button[aria-selected="true"] { width: 28px; background: var(--champ); }
.app-dots button:focus-visible, .app-feats li:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .app-float { animation: none; } .app-phone { transform: none; } }

.step-app { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-3); font: 600 12px/1.3 var(--sans); letter-spacing: .08em; color: var(--champ); border-bottom: 1px solid rgba(212,189,150,.35); padding-bottom: 5px; transition: border-color .3s, gap .3s var(--ease); }
.step-app:hover { border-color: var(--champ); gap: 14px; }
.step-app-ic { width: 12px; height: 20px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; }
.step-app-ic::after { content: ""; position: absolute; left: 50%; top: 2px; width: 4px; height: 1.5px; margin-left: -2px; border-radius: 2px; background: currentColor; }
.app-status { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 6.4%; display: flex; align-items: center; justify-content: space-between; padding: 2.2% 9% 0 11%; background: #0B1220; color: #F3EFE7; font: 700 clamp(11px, 3.6vw, 14px)/1 -apple-system, BlinkMacSystemFont, var(--sans); }
.as-r { display: flex; gap: 5px; align-items: center; }
.as-r svg { height: .78em; width: auto; fill: currentColor; }
.app-island { top: 3.1%; }

/* ---------- Waitlist ---------- */
.wl { margin-top: var(--s-7); display: grid; gap: var(--s-5); padding: clamp(24px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line-dark); background: radial-gradient(120% 120% at 0% 0%, rgba(212,189,150,.12), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); position: relative; overflow: hidden; scroll-margin-top: 90px; }
@media (min-width: 1061px) { .wl { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-6); align-items: start; } }
.wl-copy .h2 { margin-top: var(--s-3); }
.wl-copy .h2 em { font-style: italic; color: var(--champ); }
.wl-copy .lead { margin-top: var(--s-3); }
.wl-perks { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 12px; }
.wl-perks li { position: relative; padding-left: 28px; font-size: var(--t-small); color: var(--on-dark); }
.wl-perks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(212,189,150,.16); box-shadow: inset 0 0 0 1px rgba(212,189,150,.5); }
.wl-perks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 4px; border-left: 1.6px solid var(--champ); border-bottom: 1.6px solid var(--champ); transform: rotate(-45deg); }
.wl-form { position: relative; display: grid; gap: 18px; }
.wl-row { display: grid; gap: 18px; }
@media (min-width: 761px) { .wl-row { grid-template-columns: 1fr 1fr; } }
.wl-f { display: grid; gap: 8px; }
.wl-f > span { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
.wl-f > span em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.wl-f input, .wl-f select, .wl-f textarea { width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ivory); background: rgba(9,10,12,.35); border: 1px solid rgba(212,189,150,.22); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
.wl-f select { background-image: linear-gradient(45deg, transparent 50%, var(--champ) 50%), linear-gradient(135deg, var(--champ) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.wl-f select option { color: #111; }
.wl-f textarea { resize: vertical; min-height: 84px; }
.wl-f input::placeholder, .wl-f textarea::placeholder { color: rgba(185,192,202,.55); }
.wl-f input:focus, .wl-f select:focus, .wl-f textarea:focus { border-color: var(--champ); background: rgba(9,10,12,.5); box-shadow: 0 0 0 4px rgba(212,189,150,.12); }
.wl-f input.bad { border-color: #E39A8B; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-chips label { position: relative; cursor: pointer; }
.wl-chips input { position: absolute; opacity: 0; pointer-events: none; }
.wl-chips i { display: block; font: 600 14px/1 var(--sans); font-style: normal; padding: 13px 20px; border-radius: 999px; border: 1px solid rgba(212,189,150,.3); color: var(--on-dark); transition: all .3s var(--ease); }
.wl-chips input:checked + i { background: var(--champ); border-color: var(--champ); color: var(--obsidian); }
.wl-chips input:focus-visible + i { outline: 2px solid var(--champ); outline-offset: 3px; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-err { min-height: 0; color: #E9A99B; font-size: 14px; }
.wl-err:empty { display: none; }
.wl-btn { justify-self: start; min-width: 240px; justify-content: space-between; }
.wl-btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 760px) { .wl-btn { width: 100%; } }
.wl-fine { font-size: 12.5px; color: var(--on-dark-2); opacity: .8; margin-top: -6px; }
.wl-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 24px; border-radius: 20px; background: rgba(14,22,35,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: wlIn .7s var(--ease); }
.wl-done[hidden] { display: none; }
.wl-done img { width: 64px; height: 64px; border-radius: 16px; animation: wlPop .8s var(--ease); }
.wl-done h4 { font: 500 var(--t-2)/1.1 var(--serif); color: var(--ivory); }
.wl-done p { max-width: 26em; color: var(--on-dark-2); line-height: 1.6; }
@keyframes wlIn { from { opacity: 0; } }
@keyframes wlPop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } }
