:root {
  color-scheme: dark;
  --legarya-ivory: #f5eee4;
  --rya-gold: #ffe2a8;
  --rya-champagne: #f3c982;
  --rya-amber: #d99a52;
  --rya-rose: #c88178;
  --legarya-black: #050504;
  --black: var(--legarya-black);
  --charcoal: #0d0c0b;
  --charcoal-light: #15120f;
  --ivory: var(--legarya-ivory);
  --soft-ivory: #ded1bd;
  --muted: #9d9386;
  --gold: var(--rya-champagne);
  --amber: var(--rya-amber);
  --rose: var(--rya-rose);
  --line: rgba(235, 211, 172, 0.15);
  --line-strong: rgba(235, 211, 172, 0.28);
  --page-pad: 6vw;
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--black);
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--ivory);
  background: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 11% 18%, rgba(255, 238, 207, 0.36) 0 1px, transparent 1.5px),
    radial-gradient(circle at 71% 28%, rgba(201, 153, 109, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 39% 73%, rgba(255, 244, 224, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 81%, rgba(169, 114, 114, 0.28) 0 1px, transparent 1.5px);
  background-size: 310px 310px, 430px 430px, 530px 530px, 680px 680px;
}

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

.legarya-brand {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
  color: var(--legarya-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
}

.legarya-prefix {
  color: var(--legarya-ivory);
  text-shadow: 0 1px 8px rgba(255, 240, 220, 0.05);
}

.legarya-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.rya-glow {
  position: relative;
  display: inline-block;
  z-index: 0;
  color: var(--rya-gold);
  text-shadow:
    0 0 4px rgba(255, 238, 200, 0.7),
    0 0 10px rgba(243, 201, 130, 0.52),
    0 0 22px rgba(217, 154, 82, 0.3),
    0 0 38px rgba(200, 129, 120, 0.1);
  isolation: isolate;
  animation: rya-signature-glow 4.8s ease-in-out infinite;
}

.rya-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 52%;
  left: 50%;
  width: 125%;
  height: 110%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 168, 0.18) 0%, rgba(243, 201, 130, 0.11) 32%, rgba(217, 154, 82, 0.055) 55%, rgba(200, 129, 120, 0.025) 70%, transparent 82%);
  filter: blur(14px);
  pointer-events: none;
}

.legarya-brand-nav { font-size: 32px; }
.legarya-brand-hero { font-size: 86px; }
.legarya-brand-footer { font-size: 35px; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-150%);
  border: 1px solid var(--line-strong);
  background: var(--ivory);
  color: var(--black);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 400ms ease, border-color 400ms ease, backdrop-filter 400ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(235, 211, 172, 0.09);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--content));
  min-height: 78px;
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a,
.text-action {
  position: relative;
  color: rgba(238, 228, 212, 0.72);
  font-size: 13px;
  font-weight: 400;
  transition: color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"],
.text-action:hover { color: var(--ivory); }

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid rgba(255, 234, 197, 0.58);
  border-radius: 2px;
  background: var(--ivory);
  color: #19140e;
  font-size: 13px;
  font-weight: 500;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #fff8ec;
  box-shadow: 0 10px 34px rgba(214, 165, 95, 0.16), 0 0 24px rgba(250, 224, 180, 0.12);
}

.button-small { min-height: 39px; padding: 0 17px; }

.nav-actions .text-action,
.nav-actions .button-small {
  min-height: 44px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-actions .text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(243, 217, 177, 0.28);
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.055), rgba(18, 15, 12, 0.2));
  color: rgba(250, 240, 224, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.nav-actions .button-small {
  gap: 8px;
  padding: 0 20px;
  border-color: rgba(255, 236, 202, 0.72);
  background: linear-gradient(145deg, #fff0d2 0%, #f5d69a 48%, #e9b96d 100%);
  color: #171109;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(118, 70, 25, 0.12),
    0 7px 20px rgba(217, 154, 82, 0.14),
    0 0 18px rgba(255, 226, 168, 0.08);
}

.nav-actions .button-small::after {
  content: "\2197";
  font-size: 11px;
  line-height: 1;
  opacity: 0.68;
  transform: translateY(-1px);
}

.nav-actions .text-action:focus-visible {
  border-color: rgba(255, 229, 188, 0.62);
  color: var(--ivory);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.14),
    0 0 0 3px rgba(243, 201, 130, 0.08),
    0 8px 24px rgba(217, 154, 82, 0.1);
}

.nav-actions .button-small:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 0 0 3px rgba(243, 201, 130, 0.12),
    0 9px 26px rgba(217, 154, 82, 0.2),
    0 0 24px rgba(255, 226, 168, 0.13);
}

@media (hover: hover) {
  .nav-actions .text-action:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 229, 188, 0.54);
    background: linear-gradient(180deg, rgba(255, 244, 224, 0.09), rgba(25, 20, 15, 0.32));
    color: var(--ivory);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 235, 0.14),
      0 8px 24px rgba(217, 154, 82, 0.1),
      0 0 20px rgba(255, 226, 168, 0.08);
  }

  .nav-actions .button-small:hover {
    transform: translateY(-2px) scale(1.025);
    background: linear-gradient(145deg, #fff5df 0%, #f9dda5 48%, #edbf75 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 10px 28px rgba(217, 154, 82, 0.22),
      0 0 28px rgba(255, 226, 168, 0.15);
  }
}

.nav-actions .text-action:active,
.nav-actions .button-small:active { transform: translateY(0) scale(0.99); }

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(16, 14, 12, 0.48);
  color: var(--soft-ivory);
  backdrop-filter: blur(10px);
}

.button-secondary:hover { background: rgba(37, 30, 22, 0.72); color: var(--ivory); }

.menu-toggle { display: none; }

.experience {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 92svh;
  min-height: min(700px, 92svh);
  max-height: 940px;
  overflow: hidden;
  background: var(--charcoal);
}

.rya-canvas { position: absolute; z-index: 0; inset: 0; touch-action: manipulation; }
.rya-canvas canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; outline: none; }

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.62) 25%, transparent 49%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.58), transparent 28%);
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--page-pad);
  width: min(440px, 36vw);
  transform: translateY(-47%);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.emotional-section h2,
.final-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0;
}

.hero h1 { font-size: 86px; line-height: 0.9; }

.hero-statement {
  margin: 20px 0 0;
  color: var(--soft-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  line-height: 1.08;
}

.hero-lede {
  max-width: 420px;
  margin: 24px 0 0;
  color: rgba(221, 211, 195, 0.66);
  font-size: 14px;
  line-height: 1.75;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero .button-row .button {
  min-height: 50px;
  padding: 0 24px;
  border-color: rgba(255, 236, 202, 0.72);
  border-radius: 999px;
  background: linear-gradient(145deg, #fff0d2 0%, #f5d69a 48%, #e9b96d 100%);
  color: #171109;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(118, 70, 25, 0.12),
    0 8px 24px rgba(217, 154, 82, 0.16),
    0 0 20px rgba(255, 226, 168, 0.09);
  transition:
    color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .button-row .button > span {
  font-size: 12px;
  line-height: 1;
  opacity: 0.68;
  transform: translateY(-1px);
}

.hero .button-row .button-secondary {
  border-color: rgba(243, 217, 177, 0.3);
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.06), rgba(14, 12, 10, 0.34));
  color: rgba(250, 240, 224, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.26),
    0 7px 22px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.hero .button-row .button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 0 0 3px rgba(243, 201, 130, 0.12),
    0 10px 28px rgba(217, 154, 82, 0.22),
    0 0 26px rgba(255, 226, 168, 0.14);
}

.hero .button-row .button-secondary:focus-visible {
  border-color: rgba(255, 229, 188, 0.64);
  color: var(--ivory);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.15),
    0 0 0 3px rgba(243, 201, 130, 0.08),
    0 9px 26px rgba(217, 154, 82, 0.12),
    0 0 22px rgba(255, 226, 168, 0.09);
}

@media (hover: hover) {
  .hero .button-row .button:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(145deg, #fff5df 0%, #f9dda5 48%, #edbf75 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 11px 30px rgba(217, 154, 82, 0.23),
      0 0 30px rgba(255, 226, 168, 0.15);
  }

  .hero .button-row .button-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 229, 188, 0.56);
    background: linear-gradient(180deg, rgba(255, 244, 224, 0.1), rgba(24, 19, 14, 0.42));
    color: var(--ivory);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 235, 0.15),
      0 9px 26px rgba(217, 154, 82, 0.12),
      0 0 22px rgba(255, 226, 168, 0.09);
  }
}

.hero .button-row .button:active { transform: translateY(0) scale(0.99); }

.identity {
  position: absolute;
  z-index: 3;
  right: var(--page-pad);
  bottom: 13%;
  width: 210px;
  text-align: right;
  pointer-events: none;
}

.identity > span { color: var(--gold); font-size: 10px; font-weight: 500; text-transform: uppercase; }
.identity h2 { margin: 3px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 52px; font-weight: 300; line-height: 1; }
.identity p { margin: 7px 0 0; color: rgba(226, 214, 196, 0.62); font-size: 12px; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 31px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  color: rgba(218, 207, 190, 0.54);
  font-size: 10px;
  text-transform: uppercase;
}

.scroll-cue i { position: relative; width: 46px; height: 1px; overflow: hidden; background: rgba(234, 211, 175, 0.18); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: var(--gold); animation: cue-line 2.8s ease-in-out infinite; }

.rya-fallback {
  position: absolute;
  z-index: 0;
  top: 46%;
  left: 50%;
  width: 420px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 244, 218, 0.7) 0 4%, rgba(241, 190, 124, 0.3) 9%, rgba(190, 112, 91, 0.08) 30%, transparent 67%);
  transition: opacity 800ms ease;
  animation: fallback-breathe 5.8s ease-in-out infinite alternate;
}

.rya-webgl-ready .rya-fallback { opacity: 0; }

.section { position: relative; padding: 140px var(--page-pad); border-top: 1px solid rgba(235, 211, 172, 0.07); }
.section-inner { position: relative; z-index: 2; width: min(100%, var(--content)); margin: 0 auto; }
.section-copy { max-width: 570px; }
.section h2, .emotional-section h2, .final-cta h2 { font-size: 58px; line-height: 1.03; }
.section-lede { margin: 28px 0 0; color: var(--soft-ivory); font-size: 19px; line-height: 1.62; }
.section-copy > p:last-child { margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.section-heading { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { max-width: 760px; }

.idea-section { min-height: 780px; display: flex; align-items: center; background: linear-gradient(180deg, #080706, #0d0b09); }
.idea-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); align-items: center; gap: 80px; }

.memory-world {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 30, 20, 0.11), rgba(5, 5, 4, 0) 69%);
  touch-action: manipulation;
}

.memory-world canvas { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; outline: none; }

.memory-world-fallback {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(243, 201, 130, 0.16);
  border-radius: 50%;
  opacity: 1;
  background-image: radial-gradient(circle at 35% 28%, rgba(255, 238, 200, 0.18) 0 1px, transparent 2px), radial-gradient(circle at 68% 44%, rgba(243, 201, 130, 0.2) 0 1px, transparent 2px), radial-gradient(circle at 48% 72%, rgba(217, 154, 82, 0.16) 0 1px, transparent 2px);
  background-size: 17px 19px, 23px 21px, 29px 25px;
  box-shadow: 0 0 65px rgba(217, 154, 82, 0.08), inset -25px -20px 55px rgba(0, 0, 0, 0.75);
  transition: opacity 700ms ease;
}

.memory-world-fallback span { position: absolute; inset: -9%; border: 1px solid rgba(255, 226, 168, 0.07); border-radius: 50%; }
.memory-world-fallback i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--rya-gold); box-shadow: 0 0 12px var(--rya-champagne); }
.memory-world-fallback i:nth-of-type(1) { top: 24%; left: 28%; }.memory-world-fallback i:nth-of-type(2) { top: 41%; right: 16%; }.memory-world-fallback i:nth-of-type(3) { right: 34%; bottom: 17%; }.memory-world-fallback i:nth-of-type(4) { bottom: 31%; left: 18%; }
.memory-world-ready .memory-world-fallback { opacity: 0; }

.rya-section { min-height: 800px; display: flex; align-items: center; overflow: hidden; background: #070605; }
.rya-copy { width: 48%; margin-right: 0; margin-left: auto; }
.rya-meaning { display: grid; grid-template-columns: 36px 1fr 36px 1fr 36px 1fr; align-items: baseline; gap: 9px; margin: 36px 0; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rya-meaning span { color: var(--gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; }
.rya-meaning p { margin: 0; color: var(--soft-ivory); font-size: 12px; }
.rya-section-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 25%;
  width: min(42vw, 560px);
  min-width: 420px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 45, 28, 0.08), transparent 67%);
}

.rya-section-visual .rya-canvas {
  position: absolute;
  inset: 0;
}

.process-section { background: var(--charcoal); }
.process-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-flow::before { content: ""; position: absolute; top: 26px; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--line-strong), rgba(235, 211, 172, 0.04)); }
.process-flow li { position: relative; min-height: 260px; padding: 0 34px 25px 0; }
.process-flow li::before { content: ""; position: absolute; z-index: 1; top: 21px; left: 0; width: 10px; height: 10px; border: 1px solid var(--gold); border-radius: 50%; background: var(--charcoal); box-shadow: 0 0 18px rgba(223, 189, 132, 0.26); }
.process-flow li > span { display: block; margin-bottom: 52px; color: var(--gold); font-size: 10px; }
.process-flow h3, .dimension h3, .trust-principles h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; font-weight: 300; }
.process-flow p, .dimension p, .trust-principles p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.dimensions-section { background: linear-gradient(180deg, #080706, #100d0b); }
.dimension-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dimension { position: relative; min-height: 250px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(17, 14, 12, 0.44); transition: background-color 300ms ease; }
.dimension:hover { background: rgba(36, 28, 20, 0.5); }
.dimension > span { display: block; margin-bottom: 50px; color: var(--rose); font-size: 10px; }
.dimension h3 { font-size: 30px; }

.emotional-section { position: relative; min-height: 680px; display: flex; align-items: center; padding: 120px var(--page-pad); overflow: hidden; text-align: center; background: #050505; }
.emotional-section::before { content: ""; position: absolute; top: 50%; left: 50%; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px; transform: translate(-50%, -50%); border: 1px solid rgba(223, 189, 132, 0.07); border-radius: 50%; box-shadow: inset 0 0 140px rgba(161, 103, 63, 0.04), 0 0 120px rgba(161, 103, 63, 0.03); }
.emotional-section .section-inner { max-width: 930px; }
.emotional-section h2 { font-size: 72px; }
.emotional-section p:last-child { max-width: 640px; margin: 29px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

.trust-section { background: var(--charcoal); }
.trust-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 100px; }
.beta-note { display: flex; align-items: center; gap: 11px; margin-top: 34px !important; color: var(--soft-ivory) !important; }
.beta-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 13px rgba(169, 114, 114, 0.58); }
.trust-principles { border-top: 1px solid var(--line); }
.trust-principles article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.trust-principles article > span { color: var(--gold); font-size: 10px; }
.trust-principles h3 { font-size: 23px; }
.trust-principles p { margin-top: 8px; }

.plans-section { padding-top: 100px; padding-bottom: 100px; background: linear-gradient(90deg, #100c09, #18110c 50%, #0b0907); }
.plans-layout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
.plans-layout h2 { font-size: 48px; }
.plans-layout p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.plans-action { display: flex; align-items: center; gap: 26px; }
.plans-action > span { color: var(--soft-ivory); font-size: 12px; }

.final-cta { position: relative; min-height: 650px; display: flex; align-items: center; padding: 120px var(--page-pad); text-align: center; overflow: hidden; background: #060504; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; top: 50%; left: 50%; border: 1px solid rgba(229, 197, 147, 0.08); border-radius: 50%; transform: translate(-50%, -50%); }
.final-cta::before { width: 430px; height: 430px; }.final-cta::after { width: 700px; height: 700px; border-color: rgba(169, 114, 114, 0.05); }
.final-cta .section-inner { z-index: 2; max-width: 760px; }
.final-cta h2 { font-size: 74px; }
.final-cta p:not(.eyebrow) { max-width: 540px; margin: 24px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.button-row-center { justify-content: center; }

.site-footer { padding: 75px var(--page-pad) 28px; border-top: 1px solid var(--line); background: #050505; }
.footer-main { display: grid; grid-template-columns: 1fr auto 1fr; width: min(100%, var(--content)); margin: 0 auto; gap: 90px; }
.footer-brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 35px; }
.footer-main > div:first-child p { margin: 12px 0 5px; color: var(--soft-ivory); font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; }
.footer-main > div:first-child span, .footer-contact > span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.footer-main nav { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 15px 38px; }
.footer-main nav a, .footer-contact a { color: var(--muted); font-size: 12px; transition: color 200ms ease; }
.footer-main nav a:hover, .footer-contact a:hover { color: var(--ivory); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; width: min(100%, var(--content)); margin: 65px auto 0; padding-top: 22px; border-top: 1px solid rgba(235, 211, 172, 0.08); color: rgba(157, 147, 134, 0.58); font-size: 10px; }

.soundscape-awaken {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: clamp(88px, 22vh, 190px);
  z-index: 44;
  margin: 0;
  padding: 8px 11px;
  min-height: 36px;
  border: 1px solid rgba(221, 196, 147, 0.24);
  border-radius: 999px;
  color: rgba(244, 232, 207, 0.82);
  background: rgba(17, 24, 29, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 10px;
  font-family: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.soundscape-awaken[hidden] {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 4px);
}

@media (max-width: 520px) {
  .soundscape-awaken {
    bottom: clamp(88px, 17vh, 138px);
    min-width: 158px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soundscape-awaken {
    transition: none;
  }
}

.soundscape-toggle {
  position: fixed;
  z-index: 45;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 201, 130, 0.38);
  border-radius: 50%;
  color: var(--rya-gold);
  background: rgba(12, 10, 8, 0.72);
  box-shadow: 0 0 18px rgba(217, 154, 82, 0.08), inset 0 0 12px rgba(255, 231, 187, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, background-color 220ms ease;
}

.soundscape-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  right: -1px;
  bottom: calc(100% + 10px);
  width: max-content;
  padding: 6px 8px;
  transform: translateY(3px);
  opacity: 0;
  border: 1px solid rgba(243, 201, 130, 0.16);
  border-radius: 4px;
  color: var(--soft-ivory);
  background: rgba(8, 7, 6, 0.88);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.soundscape-toggle[data-active="true"] { box-shadow: 0 0 22px rgba(217, 154, 82, 0.14), inset 0 0 12px rgba(255, 231, 187, 0.04); }
.soundscape-toggle[data-enabled="false"] { color: rgba(222, 209, 189, 0.68); border-color: rgba(235, 211, 172, 0.22); }
.soundscape-toggle:focus-visible { outline: 2px solid rgba(255, 226, 168, 0.78); outline-offset: 4px; }
.soundscape-toggle:disabled { opacity: 0.45; cursor: not-allowed; }
.soundscape-icon { width: 19px; height: 19px; overflow: visible; fill: currentColor; }
.soundscape-icon path + path { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; }
.soundscape-icon--off { display: none; }
.soundscape-toggle[data-enabled="false"] .soundscape-icon--on { display: none; }
.soundscape-toggle[data-enabled="false"] .soundscape-icon--off { display: block; }

@media (pointer: coarse) {
  .wordmark, .footer-brand, .footer-main nav a, .footer-contact a { display: flex; min-height: 44px; align-items: center; }
  .site-nav a { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .scroll-cue, .soundscape-awaken { min-height: 44px; }
  .soundscape-toggle { width: 44px; height: 44px; }
}

@media (hover: hover) {
  .soundscape-toggle:hover { color: #fff0d2; border-color: rgba(255, 218, 150, 0.62); background: rgba(18, 14, 10, 0.82); box-shadow: 0 0 24px rgba(217, 154, 82, 0.18); }
  .soundscape-toggle:hover::before, .soundscape-toggle:focus-visible::before { opacity: 1; transform: translateY(0); }
}

.fallback { position: fixed; z-index: 30; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); color: var(--soft-ivory); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 850ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes cue-line { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@keyframes fallback-breathe { to { transform: translate(-50%, -50%) scale(1.055); } }

@keyframes rya-signature-glow {
  0%, 100% {
    color: var(--rya-gold);
    text-shadow:
      0 0 4px rgba(255, 238, 200, 0.6),
      0 0 10px rgba(243, 201, 130, 0.42),
      0 0 22px rgba(217, 154, 82, 0.24),
      0 0 38px rgba(200, 129, 120, 0.07);
  }
  48% {
    color: #ffebca;
    text-shadow:
      0 0 6px rgba(255, 246, 220, 0.9),
      0 0 14px rgba(255, 218, 150, 0.68),
      0 0 28px rgba(235, 176, 96, 0.4),
      0 0 46px rgba(200, 129, 120, 0.13);
  }
  58% {
    color: #ffe4ad;
    text-shadow:
      0 0 5px rgba(255, 241, 209, 0.74),
      0 0 12px rgba(243, 201, 130, 0.52),
      0 0 24px rgba(217, 154, 82, 0.3),
      0 0 40px rgba(200, 129, 120, 0.09);
  }
}

@media (max-width: 1080px) {
  :root { --page-pad: 40px; }
  .site-nav { gap: 20px; }
  .nav-actions .text-action { display: none; }
  .hero h1 { font-size: 72px; }
  .hero-copy { width: 390px; }
  .section h2, .emotional-section h2, .final-cta h2 { font-size: 52px; }
  .idea-layout { grid-template-columns: 0.85fr 1.15fr; gap: 35px; }
  .memory-world { width: min(100%, 540px); }
  .trust-layout { gap: 60px; }
}

@media (max-width: 840px) {
  :root { --page-pad: 26px; }
  .nav-shell { grid-template-columns: 1fr auto; min-height: 70px; }
  .menu-toggle { display: grid; width: 46px; height: 46px; place-content: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--ivory); cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 250ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: grid; gap: 0; padding: 12px var(--page-pad) 25px; transform: translateY(-12px); visibility: hidden; opacity: 0; border-bottom: 1px solid var(--line); background: rgba(5, 5, 5, 0.96); transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { padding: 14px 0; font-size: 14px; }
  .site-nav a::after { display: none; }
  .nav-actions { display: none; }
  .section { padding-top: 105px; padding-bottom: 105px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 50px; }
  .section h2, .emotional-section h2, .final-cta h2 { font-size: 46px; }
  .idea-layout { grid-template-columns: 1fr; }
  .memory-world { width: min(100%, 560px); margin-top: 35px; }
  .rya-section { display: block; min-height: 0; }
  .rya-copy { width: 100%; padding-bottom: 0; }
  .rya-section-visual { position: relative; top: auto; left: auto; width: 460px; min-width: 0; margin: 0 auto 54px; transform: none; }
  .process-flow { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
  .process-flow::before { display: none; }
  .process-flow li { min-height: 220px; padding-right: 45px; border-top: 1px solid var(--line); }
  .process-flow li::before { top: -5px; }
  .process-flow li > span { margin: 18px 0 38px; }
  .dimension-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-layout { grid-template-columns: 1fr; }
  .plans-layout { grid-template-columns: 1fr; align-items: start; }
  .plans-action { justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
  :root { --page-pad: 20px; }
  html { scroll-padding-top: 70px; }
  .experience { height: 92svh; min-height: min(720px, 92svh); max-height: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0) 31%, rgba(5, 5, 5, 0.02) 56%, rgba(5, 5, 5, 0.94) 78%); }
  .hero-copy { top: auto; right: 20px; bottom: 44px; left: 20px; width: auto; transform: none; text-align: left; }
  .hero-copy .eyebrow { display: none; }
  .hero h1 { font-size: 50px; }
  .hero-statement { margin-top: 10px; font-size: 25px; }
  .hero-lede { max-width: 350px; margin-top: 12px; font-size: 12px; line-height: 1.55; }
  .button-row { margin-top: 18px; }
  .button { min-height: 46px; padding: 0 17px; }
  .hero .button-row .button { min-height: 48px; padding: 0 20px; }
  .identity { top: 91px; right: auto; bottom: auto; left: 50%; width: 220px; transform: translateX(-50%); text-align: center; }
  .identity h2 { font-size: 40px; }
  .scroll-cue { display: none; }
  .rya-fallback { width: 280px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section h2, .emotional-section h2, .final-cta h2 { font-size: 38px; }
  .section-lede { font-size: 17px; }
  .memory-world { width: min(100%, 420px); }
  .rya-section-visual { width: min(92vw, 390px); margin-bottom: 38px; }
  .rya-meaning { grid-template-columns: 28px 1fr; gap: 7px 12px; }
  .rya-meaning span { font-size: 24px; }
  .process-flow { grid-template-columns: 1fr; row-gap: 20px; }
  .process-flow li { min-height: auto; padding: 0 0 35px; }
  .process-flow li > span { margin-bottom: 25px; }
  .dimension-grid { grid-template-columns: 1fr; }
  .dimension { min-height: 210px; padding: 28px; }
  .dimension > span { margin-bottom: 35px; }
  .emotional-section { min-height: 560px; padding-top: 90px; padding-bottom: 90px; }
  .emotional-section::before { width: 430px; height: 430px; }
  .plans-section { padding-top: 75px; padding-bottom: 75px; }
  .plans-action { align-items: flex-start; flex-direction: column; gap: 18px; }
  .plans-action .button { width: 100%; }
  .final-cta { min-height: 560px; }
  .final-cta::before { width: 310px; height: 310px; }.final-cta::after { width: 520px; height: 520px; }
  .final-cta h2 { font-size: 48px; }
  .button-row-center .button { width: 100%; }
  .site-footer { padding-top: 58px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; }
  .wordmark, .footer-brand, .footer-main nav a, .footer-contact a { display: flex; min-height: 44px; align-items: center; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 48px; }
  .soundscape-toggle { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 44px; }
  .hero-statement { font-size: 22px; }
  .hero-lede { font-size: 11px; }
  .hero .button-row { gap: 10px; }
  .hero .button-row .button { padding: 0 17px; }
  .section h2, .emotional-section h2 { font-size: 34px; }
}

@media (max-width: 640px) and (max-height: 680px) {
  .hero-lede { display: none; }
  .hero-copy { bottom: 30px; }
  .identity { top: 78px; }
  .button-row { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .rya-glow { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
