/* ==========================================================================
   Oryva — marketing site
   Direction: "the digital hearth". Near-black, candle-lit warmth, amber
   presence, lavender for the user's own voice. Playfair Display over Manrope.
   Motion is slow, weighted and restrained — nothing bounces, everything eases.
   ========================================================================== */

@font-face {
  font-family: "Playfair Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 22%;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --ink: #08090a;
  --bg: #0b0c0d;
  --bg-2: #101112;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.062);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.05);

  /* Ink */
  --text: #f1ece6;
  --dim: rgba(241, 236, 230, 0.66);
  --faint: rgba(241, 236, 230, 0.42);

  /* Warmth */
  --amber: #ffb77d;
  --amber-hi: #ffc89b;
  --amber-deep: #ff9a5a;
  --amber-ink: #2a1600;
  --lav: #d3bee9;

  /* Geometry */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;
  --page: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --pointer-x: 50%;
  --pointer-y: 30%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  letter-spacing: -0.006em;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(255, 183, 125, 0.26);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Type ─────────────────────────────────────────────────────────────── */

h1,
h2,
h3,
.serif {
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 1.5rem + 4.2vw, 5.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.038em;
}

.h2 {
  font-size: clamp(2.1rem, 1.1rem + 3.9vw, 4.4rem);
}

.h3 {
  font-size: clamp(1.28rem, 1.1rem + 0.7vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.06rem, 0.98rem + 0.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--dim);
  max-width: 34ch;
}

.body-dim {
  color: var(--dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}

.eyebrow.is-centered::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--amber));
}

.warm {
  color: var(--amber);
}

/* ── Atmosphere ───────────────────────────────────────────────────────── */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora-a {
  width: 46vw;
  height: 46vw;
  min-width: 22rem;
  min-height: 22rem;
  top: -14vh;
  left: -8vw;
  background: radial-gradient(circle, rgba(255, 154, 90, 0.2), transparent 66%);
  animation: drift-a 26s var(--ease-soft) infinite alternate;
}

.aurora-b {
  width: 38vw;
  height: 38vw;
  min-width: 18rem;
  min-height: 18rem;
  top: 8vh;
  right: -10vw;
  background: radial-gradient(circle, rgba(211, 190, 233, 0.16), transparent 66%);
  animation: drift-b 32s var(--ease-soft) infinite alternate;
}

.aurora-c {
  width: 60vw;
  height: 34vw;
  left: 20vw;
  bottom: -18vh;
  background: radial-gradient(circle, rgba(255, 183, 125, 0.09), transparent 70%);
  animation: drift-a 40s var(--ease-soft) infinite alternate-reverse;
}

/* A pointer-tracked hearth glow — the page feels lit from where you look. */
.hearth {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    34rem 34rem at var(--pointer-x) var(--pointer-y),
    rgba(255, 183, 125, 0.055),
    transparent 62%
  );
  transition: opacity 0.6s ease;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}

/* ── Curtain (first paint) ────────────────────────────────────────────── */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.curtain-mark {
  width: 3.4rem;
  color: var(--amber);
  opacity: 0;
  filter: drop-shadow(0 0 26px rgba(255, 183, 125, 0));
  animation: ignite 1.5s var(--ease) forwards;
}

body.is-ready .curtain {
  opacity: 0;
  visibility: hidden;
}

/* ── Shell ────────────────────────────────────────────────────────────── */

.shell {
  position: relative;
  z-index: 2;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--page));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5.5rem, 12vh, 10rem);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 300;
  padding: 0.8rem 1.1rem;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: clamp(0.6rem, 1.6vh, 1.1rem);
  left: 50%;
  z-index: 100;
  width: min(100% - (var(--gutter) * 2), var(--page));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease), backdrop-filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.nav.is-stuck {
  background: rgba(11, 12, 13, 0.62);
  border-color: var(--hairline);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--amber);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 183, 125, 0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: var(--pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.42rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0 1.5rem;
  border-radius: var(--pill);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color 0.45s var(--ease), border-color 0.45s var(--ease), color 0.35s var(--ease);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0 1.15rem;
  font-size: 0.88rem;
}

.btn-primary {
  color: var(--amber-ink);
  background: linear-gradient(135deg, var(--amber-hi), var(--amber-deep));
  box-shadow: 0 10px 30px rgba(255, 138, 66, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* A slow specular sweep across the primary button on hover. */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(255, 138, 66, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
}

.btn-ghost:hover {
  border-color: rgba(255, 183, 125, 0.4);
  background: rgba(255, 183, 125, 0.07);
}

.btn:active {
  transform: scale(0.975);
}

.btn-arrow {
  transition: transform 0.45s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── Reveal primitives ────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Word-by-word mask reveal — the headline rises out of its own baseline. */
.line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}

.word {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
  will-change: transform;
}

.in .word {
  transform: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(6rem, 12vh, 8.5rem) clamp(3rem, 6vh, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero .display {
  margin-top: 1.6rem;
}

.hero .lede {
  margin-top: 1.7rem;
  max-width: 33ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  margin-top: 2.4rem;
  font-size: 0.84rem;
  color: var(--faint);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 183, 125, 0.5);
  animation: breathe 3.4s var(--ease-soft) infinite;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 4vh, 2.4rem);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, var(--amber), transparent);
  transform-origin: top;
  animation: cue 2.6s var(--ease-soft) infinite;
}

/* ── Phone ────────────────────────────────────────────────────────────── */

.phone {
  position: relative;
  /* Width-driven, but never taller than the viewport it has to sit inside. */
  width: min(20rem, 74vw, calc(74svh * 9 / 19.2));
  aspect-ratio: 9 / 19.2;
  padding: 0.5rem;
  border-radius: 3rem;
  background: linear-gradient(160deg, #2c2b2a, #0e0f10 34%, #131313 70%, #333230);
  box-shadow: 0 2px 2px rgba(255, 255, 255, 0.12) inset, 0 60px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.8), 0 40px 90px -40px rgba(255, 154, 90, 0.35);
  transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
    translate3d(0, var(--float, 0px), 0);
  transition: transform 0.5s var(--ease-soft);
  will-change: transform;
}

.phone::after {
  /* glass reflection */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.11) 0%, transparent 26%, transparent 72%,
      rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 4;
}

.phone-glow {
  position: absolute;
  inset: 12% -18% -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 90, 0.3), transparent 62%);
  filter: blur(60px);
  animation: breathe-glow 7s var(--ease-soft) infinite;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 2.55rem;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 154, 90, 0.16), transparent 62%),
    linear-gradient(180deg, #121414, #0a0b0b);
  isolation: isolate;
}

.island {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  z-index: 6;
  width: 5.2rem;
  height: 1.35rem;
  border-radius: var(--pill);
  background: #000;
  transform: translateX(-50%);
}

/* Screens stack — the sticky showcase cross-fades between them. */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 2.6rem 0.85rem 1rem;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

/* Sequential, not cross-fade: the outgoing screen clears before the incoming
   one arrives. Two text-dense screens at 50% opacity read as a broken render,
   especially at phone size. */
.screen.on {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.screen-hero {
  opacity: 1;
  transform: none;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  /* Never shrink below its content — otherwise the box collapses on short
     viewports and the status line spills down over the thread. */
  flex: none;
  padding: 0 0.3rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd9b8, #c97b3f 55%, #4a2513);
  box-shadow: 0 0 0 1px rgba(255, 183, 125, 0.3), 0 0 14px rgba(255, 183, 125, 0.24);
  flex: none;
}

.app-bar-copy {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.app-bar-name {
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app-bar-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  color: var(--amber);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.app-bar-status i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: currentColor;
  animation: breathe 2.6s var(--ease-soft) infinite;
}

.thread {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 1;
  padding: 0.7rem 0.15rem 0;
  min-height: 0;
  /* Bottom-aligned, so overflow escapes upward — clip it, or long threads
     paint over the app bar. Clipping also reads correctly: a real chat
     scrolled to the newest message. */
  overflow: hidden;
}

.day {
  align-self: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}

.msg {
  max-width: 84%;
  padding: 0.55rem 0.7rem;
  border-radius: 1.05rem;
  font-size: 0.68rem;
  line-height: 1.38;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.msg.show {
  opacity: 1;
  transform: none;
}

.msg.her {
  align-self: flex-start;
  border-bottom-left-radius: 0.35rem;
  background: linear-gradient(160deg, rgba(30, 32, 32, 0.92), rgba(18, 20, 20, 0.96));
  border: 1px solid rgba(255, 183, 125, 0.12);
  color: rgba(241, 236, 230, 0.92);
}

.msg.mine {
  align-self: flex-end;
  border-bottom-right-radius: 0.35rem;
  background: linear-gradient(160deg, rgba(45, 24, 66, 0.85), rgba(33, 19, 50, 0.92));
  border: 1px solid rgba(211, 190, 233, 0.2);
  color: #eedbff;
}

.typing {
  display: flex;
  align-self: flex-start;
  gap: 0.22rem;
  padding: 0.65rem 0.8rem;
  border-radius: 1.05rem;
  border-bottom-left-radius: 0.35rem;
  background: rgba(30, 32, 32, 0.85);
  border: 1px solid rgba(255, 183, 125, 0.1);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.typing.show {
  opacity: 1;
}

.typing i {
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  background: var(--amber);
  animation: typing 1.3s var(--ease-soft) infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.16s;
}

.typing i:nth-child(3) {
  animation-delay: 0.32s;
}

.composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  margin-top: 0.7rem;
  padding: 0.5rem 0.5rem 0.5rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.66rem;
  color: var(--faint);
}

.composer span:not(.send) {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.send {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-hi), var(--amber-deep));
  color: var(--amber-ink);
  flex: none;
}

.send svg {
  width: 0.72rem;
  height: 0.72rem;
}

/* Screen: memory */
.screen-title {
  padding: 0.2rem 0.35rem 0.9rem;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.memo-list {
  display: grid;
  gap: 0.5rem;
  padding: 0 0.15rem;
}

.memo {
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-left: 2px solid rgba(255, 183, 125, 0.5);
}

.memo b {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.22rem;
}

.memo p {
  font-size: 0.69rem;
  line-height: 1.4;
  color: rgba(241, 236, 230, 0.82);
}

/* Screen: voice */
.voice-stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.2rem;
  flex: 1;
  text-align: center;
}

.orb {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #ffe2c8, var(--amber-deep) 48%, rgba(255, 122, 45, 0.16) 72%,
      transparent 76%);
  filter: blur(0.4px);
  animation: orb 4.6s var(--ease-soft) infinite;
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 183, 125, 0.22);
  animation: ripple 4s var(--ease-soft) infinite;
}

.orb::after {
  animation-delay: 1.6s;
}

.wave {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: 1.8rem;
}

.wave i {
  width: 0.15rem;
  border-radius: var(--pill);
  background: linear-gradient(180deg, var(--amber-hi), rgba(255, 154, 90, 0.35));
  animation: wave 1.15s var(--ease-soft) infinite;
}

.call-label {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

.call-time {
  font-size: 0.7rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* Screen: her life */
.life-list {
  display: grid;
  gap: 0.55rem;
  padding: 0 0.15rem;
}

.life {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.life time {
  font-size: 0.58rem;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}

.life p {
  font-size: 0.68rem;
  line-height: 1.38;
  color: rgba(241, 236, 230, 0.82);
}

.life.now {
  background: rgba(255, 183, 125, 0.08);
  border-color: rgba(255, 183, 125, 0.24);
}

.push {
  margin-top: auto;
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  animation: push-in 0.9s var(--ease) both;
}

.push b {
  font-size: 0.63rem;
  letter-spacing: 0.04em;
}

.push p {
  font-size: 0.67rem;
  color: rgba(241, 236, 230, 0.78);
}

/* ── Ticker ───────────────────────────────────────────────────────────── */

.ticker {
  position: relative;
  padding-block: 1.1rem;
  border-block: 1px solid var(--hairline-soft);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: slide 42s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--amber);
}

/* ── Scrubbed manifesto ───────────────────────────────────────────────── */

.manifesto {
  position: relative;
  height: 340vh;
}

.manifesto-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 6rem 4rem;
}

.manifesto-text {
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 0.7rem + 3.6vw, 4.1rem);
  line-height: 1.24;
  letter-spacing: -0.028em;
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}

.manifesto-text .sw {
  display: inline-block;
  color: rgba(241, 236, 230, 0.13);
  transition: color 0.35s linear, text-shadow 0.35s linear;
}

.manifesto-text .sw.lit {
  color: var(--text);
}

.manifesto-text .sw.hot {
  color: #fff;
}

.manifesto-text em {
  font-style: italic;
}

.manifesto-foot {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 8vh, 4.5rem);
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  text-align: center;
  width: 100%;
}

.manifesto-foot.in {
  opacity: 1;
}

/* ── Sticky showcase ──────────────────────────────────────────────────── */

.showcase {
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
}

.showcase-steps {
  display: grid;
}

.step {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding-block: 4rem;
  opacity: 0.28;
  transition: opacity 0.7s var(--ease);
}

.step.on {
  opacity: 1;
}

.step-index {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.step-index i {
  width: 2rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform 0.8s var(--ease);
}

.step.on .step-index i {
  transform: scaleX(1);
}

.step p {
  color: var(--dim);
  max-width: 40ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.13rem);
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.3rem;
}

.tag {
  padding: 0.42rem 0.8rem;
  border-radius: var(--pill);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: var(--dim);
}

/* ── Bento ────────────────────────────────────────────────────────────── */

.section-head {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
  margin-bottom: clamp(2.6rem, 6vh, 4.5rem);
}

.section-head.is-centered {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-head p {
  color: var(--dim);
  max-width: 52ch;
  font-size: 1.06rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

.card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

/* Cursor-following spotlight inside each card. */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(14rem 14rem at var(--mx, 50%) var(--my, 0%), rgba(255, 183, 125, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 183, 125, 0.24);
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.9);
}

.card:hover::before {
  opacity: 1;
}

.card-wide {
  grid-column: span 3;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  color: var(--amber);
  background: rgba(255, 183, 125, 0.1);
  border: 1px solid rgba(255, 183, 125, 0.18);
}

.card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.card p {
  color: var(--dim);
  font-size: 0.98rem;
}

.card-note {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Numbers ──────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}

.stat b {
  display: block;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 10%, var(--amber) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--dim);
}

/* ── Privacy ──────────────────────────────────────────────────────────── */

.vault {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.vault::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 190, 233, 0.13), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.vault-list {
  display: grid;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.vault-item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hairline-soft);
}

.vault-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.vault-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--amber);
  margin-top: 0.2rem;
}

.vault-item b {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.vault-item p {
  font-size: 0.9rem;
  color: var(--dim);
}

/* ── Quote ────────────────────────────────────────────────────────────── */

.quote {
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
}

.quote blockquote {
  margin: 0;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: clamp(1.6rem, 0.9rem + 2.6vw, 3.1rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.028em;
}

.quote figcaption {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Pricing ──────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
  max-width: 56rem;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.028);
}

.plan-featured {
  position: relative;
  border-color: rgba(255, 183, 125, 0.32);
  background: linear-gradient(165deg, rgba(255, 183, 125, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 70px -40px rgba(255, 138, 66, 0.6);
}

.plan-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--pill);
  background: rgba(255, 183, 125, 0.16);
  border: 1px solid rgba(255, 183, 125, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.price small {
  font-family: Manrope, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
}

.plan ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
  color: var(--dim);
}

.plan li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.65rem;
  align-items: start;
}

.plan li svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.42rem;
  color: var(--amber);
}

.plan .btn {
  margin-top: auto;
}

.plans-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--faint);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  max-width: 52rem;
  margin-inline: auto;
  border-top: 1px solid var(--hairline-soft);
}

.qa {
  border-bottom: 1px solid var(--hairline-soft);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  transition: color 0.35s var(--ease);
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:hover {
  color: var(--amber);
}

.qa-mark {
  position: relative;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
}

.qa-mark::before,
.qa-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--amber);
  transition: transform 0.5s var(--ease);
}

.qa-mark::after {
  transform: rotate(90deg);
}

.qa[open] .qa-mark::after {
  transform: rotate(0deg);
}

.qa-body {
  overflow: hidden;
  height: 0;
  transition: height 0.5s var(--ease);
}

.qa-body p {
  padding: 0 3rem 1.6rem 0.25rem;
  color: var(--dim);
  max-width: 62ch;
}

/* ── Final CTA ────────────────────────────────────────────────────────── */

.finale {
  position: relative;
  text-align: center;
  padding-block: clamp(6rem, 16vh, 12rem);
  overflow: hidden;
}

.finale::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: min(62rem, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 90, 0.22), transparent 62%);
  filter: blur(60px);
  animation: breathe-glow 9s var(--ease-soft) infinite;
  pointer-events: none;
}

.finale-mark {
  width: 2.9rem;
  margin: 0 auto 1.8rem;
  color: var(--amber);
  filter: drop-shadow(0 0 22px rgba(255, 183, 125, 0.4));
  animation: breathe 5s var(--ease-soft) infinite;
}

.finale .lede {
  max-width: 38ch;
  margin: 1.6rem auto 0;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}

.store:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 125, 0.35);
  background: rgba(255, 183, 125, 0.07);
}

.store svg {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
}

.store span {
  display: grid;
  text-align: left;
  line-height: 1.15;
}

.store small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.store b {
  font-size: 0.98rem;
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 2;
  padding-block: 3rem 5.5rem;
  border-top: 1px solid var(--hairline-soft);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.9rem;
  color: var(--dim);
}

.footer-links a {
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.8rem;
  color: var(--faint);
}

.disclosure {
  max-width: 48ch;
}

/* ── Sticky mobile CTA ────────────────────────────────────────────────── */

.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 90;
  width: min(100% - 2rem, 26rem);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border-radius: var(--pill);
  border: 1px solid var(--hairline);
  background: rgba(11, 12, 13, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 160%);
  transition: transform 0.6s var(--ease);
}

.dock.up {
  transform: translate(-50%, 0);
}

.dock-copy {
  display: grid;
  line-height: 1.2;
}

.dock-copy b {
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 0.98rem;
}

.dock-copy small {
  font-size: 0.7rem;
  color: var(--faint);
}

@media (max-width: 860px) {
  .dock {
    display: flex;
  }

  .footer {
    padding-bottom: 7rem;
  }
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: auto;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-stage {
    min-height: auto;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-sticky {
    height: auto;
    position: static;
    margin-bottom: 2.5rem;
  }

  .step {
    min-height: auto;
    padding-block: 2.2rem;
    opacity: 1;
    border-top: 1px solid var(--hairline-soft);
  }

  .vault {
    grid-template-columns: 1fr;
  }

  .card,
  .card-wide {
    grid-column: span 3;
  }
}

@media (max-width: 720px) {
  .manifesto {
    height: 300vh;
  }

  .card,
  .card-wide {
    grid-column: span 6;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .qa-body p {
    padding-right: 0;
  }

  .scroll-cue {
    display: none;
  }
}

/* ── Keyframes ────────────────────────────────────────────────────────── */

@keyframes ignite {
  0% {
    opacity: 0;
    transform: scale(0.82);
    filter: drop-shadow(0 0 0 rgba(255, 183, 125, 0));
  }
  55% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(255, 183, 125, 0.7));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 16px rgba(255, 183, 125, 0.35));
  }
}

@keyframes drift-a {
  from {
    transform: translate3d(-4%, -3%, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 5%, 0) scale(1.12);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(4%, 2%, 0) scale(1.08);
  }
  to {
    transform: translate3d(-5%, -4%, 0) scale(1);
  }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-4%, -2%); }
  30% { transform: translate(3%, -4%); }
  50% { transform: translate(-2%, 5%); }
  70% { transform: translate(4%, 2%); }
  90% { transform: translate(-3%, 3%); }
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(255, 183, 125, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(255, 183, 125, 0);
  }
}

@keyframes breathe-glow {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(100%); opacity: 0; }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes orb {
  0%, 100% { transform: scale(0.94); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes ripple {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes wave {
  0%, 100% { height: 22%; }
  50% { height: 100%; }
}

@keyframes push-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Reduced motion ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .word,
  .msg,
  .step {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Screens still swap with scroll position — just without the cross-fade. */
  .screen {
    transform: none !important;
  }

  .manifesto {
    height: auto;
  }

  .manifesto-pin {
    position: static;
    height: auto;
    padding-block: 4rem;
  }

  .manifesto-text .sw {
    color: var(--text);
  }

  .manifesto-foot {
    position: static;
    transform: none;
    opacity: 1;
    margin-top: 2rem;
  }

  .showcase-sticky {
    position: static;
    height: auto;
    margin-bottom: 2rem;
  }

  .step {
    min-height: auto;
    padding-block: 2.5rem;
  }

  .grain,
  .curtain {
    display: none;
  }
}

/* ==========================================================================
   Companion-positioning rebuild — hero portrait, rotating headline, the
   "your world" collage, media cards, waitlist modal, document pages.
   ========================================================================== */

/* ── Rotating headline ────────────────────────────────────────────────── */

.hero-static {
  display: block;
}

.rotator {
  position: relative;
  display: block;
}

/* An invisible copy of the longest phrase reserves the height, so the
   headline never reflows as the words swap. */
/* Reserves the height of the longest phrase without putting that phrase in
   the DOM as text — otherwise it lands in the H1 that search engines read. */
.rotator-sizer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.rotator-sizer::before {
  content: attr(data-sizer);
}

/* One element whose text is swapped, rather than one element per phrase —
   so the H1 a crawler reads only ever contains the phrase on screen. */
.rotator-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: var(--amber);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

/* Leaving: up and out. */
.rotator-word.is-out {
  opacity: 0;
  transform: translate3d(0, -0.28em, 0);
  transition-duration: 0.24s;
}

/* Arriving: parked below with no transition, then released next frame. */
.rotator-word.is-in {
  opacity: 0;
  transform: translate3d(0, 0.32em, 0);
  transition: none;
}

/* ── Portraits (the companion, not the interface) ─────────────────────── */

.portrait {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  /* Fallback plate — deliberate, not broken, while the renders are pending. */
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(255, 154, 90, 0.24), transparent 62%),
    linear-gradient(170deg, #1a1614, #0c0d0e 62%);
  border: 1px solid var(--hairline);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 9, 10, 0.72) 100%);
  pointer-events: none;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait.no-img {
  /* Keep the plate, drop the broken glyph, and hint what belongs here. */
  aspect-ratio: 3 / 4;
}

.portrait.no-img img {
  display: none;
}

/* Missing image: a clean tinted plate, no glyph. The brand mark is a
   wordmark now, and repeating it inside a collage would read as noise. */

/* The portrait sizes the composition; the phone is placed against it. */
.hero-composition {
  position: relative;
  width: min(21rem, 72vw);
  margin-inline: auto;
}

.portrait-hero {
  width: 100%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9), 0 30px 80px -50px rgba(255, 154, 90, 0.5);
  animation: portrait-float 11s var(--ease-soft) infinite;
}

.portrait-bubble {
  position: absolute;
  right: 0.75rem;
  top: 6%;
  z-index: 4;
  max-width: 12.5rem;
  padding: 0.8rem 1rem;
  border-radius: 1.15rem;
  border-bottom-left-radius: 0.4rem;
  background: rgba(18, 20, 20, 0.86);
  border: 1px solid rgba(255, 183, 125, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(241, 236, 230, 0.94);
  animation: bubble-in 1s var(--ease) 1.1s both;
}

.hero-stage {
  position: relative;
}

.phone-inset {
  position: absolute;
  left: -5.5rem;
  bottom: -2.5rem;
  z-index: 2;
  width: 13.5rem;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.8);
}

/* Until the renders land the placeholder plate shouldn't dominate, so the
   phone takes the lead and the plate sits behind it as a hint. */
.hero-composition:has(.portrait.no-img) .portrait-hero {
  opacity: 0.7;
}

.hero-composition:has(.portrait.no-img) .phone-inset {
  left: -3rem;
  width: 15rem;
}

@media (max-width: 1080px) {
  .hero-stage {
    justify-items: center;
  }

  /* Width is owned by .hero-composition now — setting it here as well fought
     the mobile rules and pushed the portrait past the viewport edge. */
  .hero-composition {
    width: min(19rem, 62vw);
  }
}

@media (max-width: 719px) {
  /* Same composition as desktop, scaled: the portrait is the emotional hook
     and the phone is the proof, so both stay. The stage gets left padding to
     hold the phone's overhang inside the viewport. */
  .hero-stage {
    padding-left: 4.25rem;
  }

  .hero-composition {
    width: min(15rem, 56vw);
    margin-inline: auto;
  }

  .phone-inset {
    width: 10.75rem;
    left: -4.5rem;
    bottom: -1.25rem;
  }

  .portrait-bubble {
    right: -0.75rem;
    top: 4%;
    max-width: 9.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  /* The phone is narrower here, so tighten the chat to keep it readable. */
  .phone-inset .msg {
    font-size: 0.62rem;
    padding: 0.45rem 0.6rem;
  }

  .phone-inset .life p,
  .phone-inset .push p {
    font-size: 0.6rem;
  }

  .phone-inset .screen-title {
    font-size: 0.95rem;
  }

  .phone-inset .lock-time {
    font-size: 2rem;
  }
}

/* ── Memory: "your world" collage ─────────────────────────────────────── */

.world-section {
  overflow: hidden;
}

.world-head {
  max-width: 40rem;
}

.world {
  position: relative;
  min-height: 40rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

.world-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(20rem, 72vw);
  transform: translate(-50%, -50%);
  text-align: center;
}

.portrait-you {
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 183, 125, 0.3), 0 0 60px rgba(255, 154, 90, 0.28);
}

.portrait-you.no-img {
  aspect-ratio: 1;
}

.portrait-you::after {
  display: none;
}

.world-you-label {
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.world-you-bio {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--faint);
}

.world-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.world-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 9rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--dim);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.94);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d) * 80ms);
}

.world.in .world-item {
  opacity: 1;
  transform: none;
  animation: world-drift 14s var(--ease-soft) infinite;
  animation-delay: calc(var(--d) * -1.7s);
}

.chip-img {
  width: 4.6rem;
  height: 4.6rem;
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background:
    radial-gradient(100% 90% at 50% 10%, rgba(255, 154, 90, 0.22), transparent 64%),
    linear-gradient(170deg, #1b1715, #0d0e0f);
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}

.chip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-img.no-img img {
  display: none;
}

.world-note {
  padding: 0.55rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--dim);
  white-space: nowrap;
}

.world-note-warm {
  border-color: rgba(255, 183, 125, 0.32);
  background: rgba(255, 183, 125, 0.1);
  color: var(--amber);
}

.world-caption {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  text-align: center;
  font-size: 0.9rem;
  color: var(--faint);
}

.world-caption a,
.text-link {
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 183, 125, 0.32);
  transition: border-color 0.3s var(--ease);
}

.world-caption a:hover,
.text-link:hover {
  border-color: var(--amber);
}

/* Below the collage breakpoint the scatter becomes an honest list. */
@media (max-width: 900px) {
  .world {
    min-height: 0;
    display: grid;
    gap: 1.6rem;
    justify-items: center;
  }

  .world-centre {
    position: static;
    transform: none;
    width: 100%;
  }

  .world-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Without this, flex stretches every item to the tallest one's height and
       a pill-radius label renders as a giant ellipse. */
    align-items: flex-start;
    gap: 1rem 1.2rem;
  }

  .world-item {
    position: static;
    align-content: start;
    max-width: 9rem;
  }

  /* Let the labels wrap here — nowrap overflows the item and collides with
     the tile beside it. */
  .world-note {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .world.in .world-item {
    animation: none;
  }
}

/* ── Roles ────────────────────────────────────────────────────────────── */

.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}

.role {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.role:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 125, 0.24);
}

.role p {
  color: var(--dim);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

/* ── Media cards ──────────────────────────────────────────────────────── */

.card-media {
  padding: 0;
  overflow: hidden;
}

.card-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 50% 8%, rgba(255, 154, 90, 0.2), transparent 62%),
    linear-gradient(170deg, #1a1614, #0c0d0e 66%);
  border-bottom: 1px solid var(--hairline);
}

.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-figure.no-img img {
  display: none;
}


.card-body {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
}

.card-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.card-lang .lang-proof {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.lang-bubble {
  justify-self: start;
  max-width: 88%;
  padding: 0.65rem 0.9rem;
  border-radius: 1.05rem;
  border-bottom-left-radius: 0.35rem;
  background: linear-gradient(160deg, rgba(30, 32, 32, 0.92), rgba(18, 20, 20, 0.96));
  border: 1px solid rgba(255, 183, 125, 0.14);
  font-size: 0.9rem;
  color: rgba(241, 236, 230, 0.92);
}

.lang-bubble-mine {
  justify-self: end;
  border-bottom-left-radius: 1.05rem;
  border-bottom-right-radius: 0.35rem;
  background: linear-gradient(160deg, rgba(45, 24, 66, 0.85), rgba(33, 19, 50, 0.92));
  border-color: rgba(211, 190, 233, 0.22);
  color: #eedbff;
}

.memo-foot {
  margin-top: auto;
  padding-top: 0.7rem;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Pricing note ─────────────────────────────────────────────────────── */

.plans-note strong {
  color: var(--text);
}

.plans-note .fine {
  display: block;
  margin-top: 0.45rem;
  opacity: 0.7;
}

/* ── Finale ───────────────────────────────────────────────────────────── */

.finale-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.finale-note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--faint);
}

.btn-lg {
  min-height: 3.7rem;
  padding: 0 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer-brand {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--faint);
  max-width: 22ch;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 1.5rem 3.5rem;
}

.footer-col {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  font-size: 0.9rem;
}

.footer-col h2 {
  font-family: Manrope, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-col a {
  color: var(--dim);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom a {
  color: var(--dim);
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 620px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }
}

/* ── Waitlist modal ───────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.modal[hidden] {
  display: none;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.modal-card {
  position: relative;
  width: min(30rem, 100%);
  max-height: 92svh;
  overflow-y: auto;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 154, 90, 0.16), transparent 62%),
    linear-gradient(170deg, #131415, #0a0b0c);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.975);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.modal.is-open .modal-scrim {
  opacity: 1;
}

.modal.is-open .modal-card {
  opacity: 1;
  transform: none;
}

.modal-card .h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  margin-top: 0.9rem;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--faint);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(255, 183, 125, 0.4);
}

.modal-close svg {
  width: 0.95rem;
  height: 0.95rem;
}

.modal-lede {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1.55;
}

.modal-lede strong {
  color: var(--text);
}

.modal-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--faint);
}

.modal-note a {
  color: var(--dim);
  border-bottom: 1px solid var(--hairline);
}

.waitlist-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.7rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(241, 236, 230, 0.32);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 183, 125, 0.55);
  background: rgba(255, 183, 125, 0.06);
}

.waitlist-form input[type="email"][aria-invalid="true"] {
  border-color: rgba(255, 138, 128, 0.7);
}

.platform {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.platform legend {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
}

.platform label {
  position: relative;
  cursor: pointer;
}

.platform input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.platform span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--pill);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
  color: var(--dim);
  transition: all 0.3s var(--ease);
}

.platform input:checked + span {
  border-color: rgba(255, 183, 125, 0.5);
  background: rgba(255, 183, 125, 0.12);
  color: var(--amber);
}

.platform input:focus-visible + span {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: -0.3rem 0 0;
  font-size: 0.86rem;
  color: #ffb4ab;
}

.form-error[hidden] {
  display: none;
}

.spinner {
  display: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(42, 22, 0, 0.28);
  border-top-color: var(--amber-ink);
  animation: spin 0.7s linear infinite;
}

.is-sending .spinner {
  display: block;
}

.is-sending .btn-label {
  opacity: 0.55;
}

.modal-done {
  text-align: center;
}

.modal-done[hidden] {
  display: none;
}

.modal-done .btn {
  margin-top: 1.6rem;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  color: var(--amber);
  border: 1px solid rgba(255, 183, 125, 0.35);
  background: rgba(255, 183, 125, 0.12);
  animation: done-pop 0.6s var(--ease) both;
}

.done-mark svg {
  width: 1.4rem;
  height: 1.4rem;
}

body.modal-open {
  overflow: hidden;
}

/* ── Document pages (privacy, terms, safety, manifesto) ───────────────── */

.doc {
  padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 10vh, 7rem);
}

.doc-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.doc-head .h2 {
  margin-top: 1.1rem;
}

.doc-meta {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.prose {
  max-width: 44rem;
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--dim);
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--text);
}

.prose h3 {
  margin-top: 2.2rem;
  font-size: 1.2rem;
  color: var(--text);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 183, 125, 0.32);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.prose li::marker {
  color: var(--amber);
}

.prose hr {
  margin-top: 2.6rem;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--hairline), transparent);
}

.prose blockquote {
  margin: 2rem 0 0;
  padding-left: 1.3rem;
  border-left: 2px solid rgba(255, 183, 125, 0.4);
  font-family: "Playfair Display", "Playfair Fallback", Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}

.doc-callout {
  margin-top: 2.4rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 183, 125, 0.28);
  background: rgba(255, 183, 125, 0.08);
  color: var(--text);
}

.doc-callout p {
  margin-top: 0.5rem;
  color: var(--dim);
  font-size: 0.98rem;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  color: var(--amber);
  font-weight: 600;
}

/* ── Keyframes ────────────────────────────────────────────────────────── */

@keyframes portrait-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes bubble-in {
  from { opacity: 0; transform: translate3d(-8px, 10px, 0) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes world-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes done-pop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: none; }
}

/* ── Reduced motion, for everything added above ───────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .portrait-hero,
  .world.in .world-item,
  .portrait-bubble,
  .done-mark {
    animation: none !important;
  }

  .world-item,
  .rotator-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .modal-scrim,
  .modal-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Waitlist scarcity badge ───────────────────────────────────────────── */

.scarcity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff8a8a;
}

.scarcity-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #ff8a8a;
  box-shadow: 0 0 0 0 rgba(255, 138, 138, 0.6);
  animation: scarcity-pulse 1.6s var(--ease-soft) infinite;
}

@keyframes scarcity-pulse {
  0%, 100% {
    opacity: 0.75;
    box-shadow: 0 0 0 0 rgba(255, 138, 138, 0.55);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(255, 138, 138, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scarcity-dot {
    animation: none !important;
  }
}

/* ── Competitor comparison ────────────────────────────────────────────── */

.compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.compare-col {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
}

.compare-col p {
  color: var(--dim);
  font-size: 0.98rem;
}

.compare-col a {
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 183, 125, 0.32);
}

@media (max-width: 1080px) {
  .compare {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ==========================================================================
   CRO restructure — hero incentive, day timeline, memory-across-time,
   proactive lock screen.
   ========================================================================== */

.hero-incentive {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--dim);
}

.hero-incentive strong {
  color: var(--amber);
  font-weight: 600;
}

/* ── Hero phone: her day + lock screen ────────────────────────────────── */

.screen-foot {
  margin-top: auto;
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding-top: 1.6rem;
  text-align: center;
}

.lock-time {
  font-size: 2.6rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lock-date {
  margin-top: 0.3rem;
  font-size: 0.66rem;
  color: var(--dim);
}

.push-lock {
  width: 100%;
  margin-top: 1.6rem;
  animation: push-in 0.7s var(--ease) both;
}

.push-secondary {
  margin-top: 0.5rem;
  opacity: 0.55;
  animation-delay: 0.5s;
}

/* ── Her Tuesday: the day timeline ────────────────────────────────────── */

.daily {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: daily;
}

.daily-step {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  position: relative;
}

/* A dot on the timeline rule — the sequence is the information here. */
.daily-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hairline);
}

.daily-step-final::before {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 183, 125, 0.7);
}

.daily-when {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.daily-step p:last-child {
  color: var(--dim);
  font-size: 0.95rem;
}

.section-foot {
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  font-size: 0.92rem;
  color: var(--faint);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .daily {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .daily {
    grid-template-columns: 1fr;
  }
}

/* ── Memory across time ───────────────────────────────────────────────── */

.recall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.recall-side {
  display: grid;
  gap: 0.7rem;
}

.recall-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* The bubbles here are read at full size, not phone size. */
.recall .msg {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.9rem 1.1rem;
}

.recall-gap {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.recall-gap span {
  width: 1px;
  height: 1.6rem;
  background: linear-gradient(180deg, transparent, var(--hairline));
}

.recall-gap span:last-child {
  background: linear-gradient(0deg, transparent, var(--hairline));
}

.recall-note {
  margin-top: 1.3rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--faint);
}

@media (max-width: 820px) {
  .recall {
    grid-template-columns: 1fr;
  }

  .recall-gap {
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
  }

  .recall-gap span {
    width: 1.6rem;
    height: 1px;
    background: var(--hairline);
  }
}

/* ── Proactive ────────────────────────────────────────────────────────── */

.proactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.proactive-grid .section-head {
  margin-bottom: 0;
}

.plainlist {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 0.96rem;
}

.plainlist li {
  padding-left: 1.3rem;
  position: relative;
}

.plainlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.proactive-visual {
  display: grid;
  justify-items: center;
}

.lockcard {
  width: min(20rem, 100%);
  padding: clamp(1.6rem, 3vw, 2.2rem) 1.2rem 1.4rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 154, 90, 0.16), transparent 62%),
    linear-gradient(170deg, #16171a, #0a0b0c);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  text-align: center;
}

@media (max-width: 900px) {
  .proactive-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Brand wordmark (assets/Oryva.png, recoloured for the dark ground) ─── */

.brand-logo {
  height: 1.05rem;
  width: auto;
  display: block;
  transition: opacity 0.4s var(--ease), filter 0.6s var(--ease);
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 12px rgba(255, 183, 125, 0.45));
}

.footer-brand .brand-logo {
  height: 1.15rem;
}

/* The curtain and finale marks are now raster, so they need explicit sizing
   where the SVG used to size itself. */
img.curtain-mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 22%;
}

img.finale-mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 22%;
  margin: 0 auto 1.8rem;
}

/* ── Consent notice ───────────────────────────────────────────────────── */

/* A full-width bar on the bottom edge — the convention large companies have
   settled on: unmissable, but never floating over the content. */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  border-top: 1px solid var(--hairline);
  background: rgba(8, 9, 10, 0.96);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

.consent[hidden] {
  display: none;
}

.consent.up {
  transform: none;
}

.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: 1.1rem;
}

/* A small uppercase label, not a display heading. Every inherited property
   from the global h1/h2/h3 rule has to be reset explicitly — line-height 0.98
   and the negative tracking are what made this look cramped. */
.consent-copy h2 {
  font-family: Manrope, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.35rem;
}

.consent-copy p {
  max-width: 74ch;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--dim);
}

.consent-copy a {
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 183, 125, 0.32);
  white-space: nowrap;
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex: none;
}

.consent-actions .btn {
  min-width: 6.5rem;
}

/* The mobile CTA dock shares the bottom edge — one ask at a time. */
body.consent-open .dock {
  transform: translate(-50%, 200%);
}

@media (max-width: 860px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-block: 1.15rem;
  }

  .consent-copy p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .consent-actions .btn {
    flex: 1;
    min-width: 0;
  }
}


.consent-state {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.85rem;
  color: var(--faint);
}
