* {
  box-sizing: border-box;
}

:root {
  --deep-sea: #101a33;
  --deepest-sea: #09101f;
  --indigo: #272044;
  --ocean: #12344a;
  --ocean-light: #1f586c;

  --cyan: #72d9e8;
  --amethyst: #9a7fd1;
  --coral: #e9866a;
  --gold: #f2c87b;
  --pearl: #f5ebdd;

  --sea-glass: #c2e6e0;
  --jungle: #0b3329;

  --page-padding: max(7vw, 28px);
  --max-width: 1240px;
}


/* =========================================================
   BASE
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--deep-sea);
  color: var(--pearl);
}

main {
  overflow: clip;
}

a {
  color: inherit;
}

.section-inner {
  width: min(var(--max-width), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
}

.section-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  --progress: 0;
  position: relative;
  min-height: 190vh;
  background: var(--deep-sea);
}

.hero-bg {
  position: sticky;
  top: 0;
  height: 100vh;

  background:
    linear-gradient(
      180deg,
      rgba(16, 26, 51, .10),
      rgba(16, 26, 51, .18)
    ),
    url("assets/mu-hero.jpeg")
    center center / cover no-repeat;

  transform:
    scale(
      calc(
        1.035 - (var(--progress) * .035)
      )
    );

  transform-origin: center;
  will-change: transform;
}

.hero-wash {
  position: sticky;
  top: 0;
  margin-top: -100vh;
  height: 100vh;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(114, 217, 232, .06),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(16, 26, 51, .20),
      rgba(18, 52, 74, .06) 45%,
      rgba(16, 26, 51, .25)
    );

  z-index: 2;
}


/* HERO TOP */

.hero-topbar {
  position: sticky;
  top: 0;
  margin-top: -100vh;
  height: 100vh;

  z-index: 8;
  pointer-events: none;
}

.hero-kicker,
.hero-contact,
.scroll-note {
  position: absolute;

  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 500;

  color: var(--gold);

  text-shadow:
    0 2px 18px rgba(16, 26, 51, .8);
}

.hero-kicker {
  top: 34px;
  left: 42px;
}

.hero-contact {
  top: 34px;
  right: 42px;
  text-align: right;
}

.scroll-note {
  left: 42px;
  bottom: 32px;
}


/* HERO TITLE */

.hero-title-wrap {
  position: sticky;
  top: 0;
  margin-top: -100vh;

  height: 100vh;

  z-index: 6;

  display: grid;
  place-items: center;

  pointer-events: none;
}

.hero-title {
  margin: 0;

  text-align: center;

  font-family:
    "Cormorant Garamond",
    serif;

  font-weight: 600;
  line-height: .82;

  font-size:
    clamp(58px, 7.8vw, 124px);

  color: var(--pearl);

  text-shadow:
    0 3px 26px rgba(16, 26, 51, .68),
    0 1px 2px rgba(16, 26, 51, .7);

  transform:
    scale(
      calc(
        .68 + (var(--progress) * .58)
      )
    )
    translateY(
      calc(
        (1 - var(--progress)) * 34px
      )
    );

  opacity:
    calc(
      .88 + (var(--progress) * .12)
    );

  transform-origin: center;

  will-change:
    transform,
    opacity;
}

.hero-title span {
  display: block;
}


/* LARGE CCC BACK MARK */

.hero-mark {
  position: absolute;

  inset:
    50%
    auto
    auto
    50%;

  transform:
    translate(-50%, -50%)
    scale(
      calc(
        .58 + (var(--progress) * 1.7)
      )
    );

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    min(27vw, 410px);

  font-weight: 600;

  letter-spacing: -.08em;

  color:
    rgba(
      245,
      235,
      221,
      calc(
        .02 + (var(--progress) * .10)
      )
    );

  -webkit-text-stroke:
    1px
    rgba(
      114,
      217,
      232,
      calc(
        .04 + (var(--progress) * .12)
      )
    );

  will-change:
    transform,
    color;
}


/* HERO INTRO */

.hero-intro {
  position: sticky;
  top: 0;
  margin-top: -100vh;

  height: 100vh;

  z-index: 7;

  pointer-events: none;
}

.hero-intro > * {
  position: absolute;

  right:
    clamp(
      36px,
      7vw,
      110px
    );
}

.hero-intro-label {
  bottom: 188px;

  color: var(--gold);

  font-size: 12px;
  letter-spacing: .18em;
}

.hero-intro p {
  bottom: 55px;

  width:
    min(
      390px,
      34vw
    );

  margin: 0;

  line-height: 1.55;
  font-size: 16px;

  color: var(--pearl);

  text-shadow:
    0 2px 14px
    rgba(16, 26, 51, .86);
}


/* =========================================================
   LEAF CURTAINS
========================================================= */

.leaf-curtain {
  position: sticky;

  top: 0;

  margin-top: -100vh;

  height: 100vh;
  width: 100%;

  z-index: 5;

  pointer-events: none;

  will-change: transform;
}

.leaf {
  position: absolute;

  display: block;

  width:
    clamp(
      180px,
      23vw,
      360px
    );

  height:
    clamp(
      340px,
      56vh,
      620px
    );

  border-radius:
    62%
    16%
    62%
    20%;

  background:
    radial-gradient(
      circle at 33% 24%,
      rgba(53, 105, 82, .9),
      transparent 26%
    ),
    linear-gradient(
      150deg,
      #164934 0%,
      #0d362a 42%,
      #06251f 100%
    );

  box-shadow:
    inset -16px -24px 40px
    rgba(0, 0, 0, .24),
    0 20px 60px
    rgba(0, 0, 0, .22);
}

.leaf::after {
  content: "";

  position: absolute;

  width: 2px;
  height: 84%;

  top: 8%;
  left: 50%;

  transform: rotate(-9deg);

  background:
    rgba(
      184,
      218,
      190,
      .18
    );
}

.leaf-curtain--left {
  transform:
    translateX(
      calc(
        var(--progress) * -35vw
      )
    );
}

.leaf-curtain--right {
  transform:
    translateX(
      calc(
        var(--progress) * 35vw
      )
    );
}

.leaf-curtain--left .leaf {
  left: -7vw;
}

.leaf-curtain--right .leaf {
  right: -7vw;
  transform: scaleX(-1);
}

.leaf-curtain .l1 {
  top: -13vh;
}

.leaf-curtain .l2 {
  top: 3vh;
  margin-inline: 9vw;
  transform: rotate(12deg);
}

.leaf-curtain .l3 {
  top: 23vh;
  margin-inline: 2vw;
  transform: rotate(-7deg);
}

.leaf-curtain .l4 {
  top: 43vh;
  margin-inline: 10vw;
  transform: rotate(13deg);
}

.leaf-curtain .l5 {
  top: 63vh;
  margin-inline: 1vw;
  transform: rotate(-10deg);
}

.leaf-curtain .l6 {
  top: 78vh;
  margin-inline: 8vw;
  transform: rotate(9deg);
}

.leaf-curtain--right .l2 {
  transform:
    scaleX(-1)
    rotate(12deg);
}

.leaf-curtain--right .l3 {
  transform:
    scaleX(-1)
    rotate(-7deg);
}

.leaf-curtain--right .l4 {
  transform:
    scaleX(-1)
    rotate(13deg);
}

.leaf-curtain--right .l5 {
  transform:
    scaleX(-1)
    rotate(-10deg);
}

.leaf-curtain--right .l6 {
  transform:
    scaleX(-1)
    rotate(9deg);
}


/* =========================================================
   INTRO / ABOUT TEIKI
========================================================= */

.intro-section {
  position: relative;

  min-height: 90vh;

  display: flex;
  align-items: center;

  padding:
    150px
    0;

  background:
    radial-gradient(
      circle at 82% 35%,
      rgba(114, 217, 232, .13),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #153c52,
      var(--ocean) 50%,
      var(--deep-sea)
    );
}

.intro-section::before {
  content: "";

  position: absolute;

  inset:
    0
    0
    auto
    0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(114, 217, 232, .38),
      transparent
    );
}

.intro-heading {
  margin:
    0
    0
    45px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      68px,
      10vw,
      150px
    );

  line-height: .85;

  font-weight: 600;

  color: var(--pearl);
}

.intro-copy {
  width:
    min(
      720px,
      100%
    );

  margin-left:
    auto;
}

.intro-copy p {
  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      26px,
      3vw,
      42px
    );

  line-height: 1.22;

  color:
    var(--sea-glass);
}

.intro-placeholder {
  opacity: .78;
}


/* =========================================================
   NUMBER SECTIONS — GENERAL
========================================================= */

.number-section {
  position: relative;

  min-height: 100vh;

  padding:
    130px
    0
    150px;

  overflow: hidden;
}

.number-section::before {
  content: "";

  position: absolute;

  top: 0;
  left:
    var(--page-padding);
  right:
    var(--page-padding);

  height: 1px;

  background:
    rgba(
      114,
      217,
      232,
      .25
    );
}

.number-header {
  display: flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap: 40px;

  margin-bottom:
    40px;
}


.number-header--centered {
  display: block;
  text-align: center;
  margin-bottom: 70px;
}

.number-header--centered .number-code {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.number-header--centered + .number-intro {
  margin-top: 30px;
}

.number-code {
  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      90px,
      16vw,
      245px
    );

  line-height: .75;

  letter-spacing:
    -.055em;

  font-weight: 600;

  color:
    var(--pearl);
}

.number-code-placeholder {
  opacity: .16;
}

.number-intro {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap:
    80px;

  align-items:
    end;

  margin:
    80px
    0;
}

.number-intro h2 {
  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      54px,
      6vw,
      92px
    );

  line-height: .92;

  font-weight: 600;
}

.number-intro p {
  margin: 0;

  font-size:
    18px;

  line-height: 1.6;

  color:
    var(--sea-glass);
}


/* =========================================================
   NUMBER 01
========================================================= */

.number-one {
  background:
    radial-gradient(
      circle at 20% 35%,
      rgba(154, 127, 209, .12),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(114, 217, 232, .12),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--deep-sea),
      #111d38
    );
}

.number-one .number-code {
  text-shadow:
    0 0 50px
    rgba(
      114,
      217,
      232,
      .08
    );
}


/* CONCEPT GRID */

.concept-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;

  margin-top: 70px;
}

.concept-card {
  position: relative;

  min-height: 230px;

  border:
    1px solid
    rgba(
      114,
      217,
      232,
      .26
    );

  background:
    linear-gradient(
      145deg,
      rgba(39, 32, 68, .42),
      rgba(18, 52, 74, .30)
    );

  backdrop-filter:
    blur(10px);

  border-radius:
    24px;

  padding:
    26px;

  overflow: hidden;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

.concept-card:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(
      114,
      217,
      232,
      .65
    );

  background:
    linear-gradient(
      145deg,
      rgba(39, 32, 68, .55),
      rgba(18, 52, 74, .44)
    );
}

.concept-card::after {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  right: -50px;
  bottom: -60px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(114, 217, 232, .18),
      transparent 67%
    );
}

.concept-number {
  margin-bottom:
    40px;

  color:
    rgba(
      242,
      200,
      123,
      .68
    );

  font-size: 11px;

  letter-spacing:
    .16em;
}

.concept-card strong {
  display: block;

  margin-bottom: 14px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 26px;

  font-weight: 600;

  color:
    var(--cyan);
}

.concept-card span {
  display: block;

  color:
    #d9e9e6;

  line-height: 1.5;

  font-size:
    15px;
}


/* COMPLETE RECORD */

.number-full-explanation {
  width:
    min(
      940px,
      100%
    );

  margin:
    110px
    0
    0
    auto;

  padding:
    50px
    0
    0;

  border-top:
    1px solid
    rgba(
      242,
      200,
      123,
      .32
    );
}

.number-full-explanation p {
  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      28px,
      3vw,
      45px
    );

  line-height: 1.25;

  color:
    var(--pearl);
}


/* =========================================================
   NUMBER 02
========================================================= */

.number-two {
  background:
    radial-gradient(
      circle at 80% 40%,
      rgba(114, 217, 232, .16),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #1c4e66,
      var(--ocean),
      var(--deep-sea)
    );
}


/* =========================================================
   NUMBER 03
========================================================= */

.number-three {
  background:
    radial-gradient(
      circle at 20% 60%,
      rgba(154, 127, 209, .22),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--indigo),
      #1b2540,
      var(--deep-sea)
    );
}


/* =========================================================
   NUMBER REVEAL AREA
========================================================= */

.number-reveal {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 90px;

  align-items: center;

  margin-top:
    100px;
}

.reveal-orb {
  position: relative;

  width:
    min(
      430px,
      70vw
    );

  aspect-ratio: 1;

  margin: 0 auto;

  border-radius: 50%;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(
      114,
      217,
      232,
      .45
    );

  background:
    radial-gradient(
      circle at 42% 34%,
      rgba(194, 230, 224, .40),
      rgba(114, 217, 232, .16) 24%,
      rgba(39, 32, 68, .60) 58%,
      rgba(16, 26, 51, .92) 78%
    );

  box-shadow:
    0 0 90px
    rgba(
      114,
      217,
      232,
      .14
    );

  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

.reveal-orb:hover {
  transform:
    scale(1.04);

  box-shadow:
    0 0 130px
    rgba(
      114,
      217,
      232,
      .26
    );
}

.reveal-orb::before {
  content: "";

  position: absolute;

  width: 72%;
  height: 72%;

  border-radius: 50%;

  border:
    1px solid
    rgba(
      242,
      200,
      123,
      .24
    );
}

.reveal-orb::after {
  content: "";

  position: absolute;

  width: 45%;
  height: 45%;

  border-radius: 50%;

  border:
    1px solid
    rgba(
      154,
      127,
      209,
      .32
    );
}

.reveal-orb span {
  position: relative;

  z-index: 3;

  color:
    var(--gold);

  font-size: 11px;

  letter-spacing:
    .28em;
}

.reveal-orb-three {
  background:
    radial-gradient(
      circle at 42% 34%,
      rgba(154, 127, 209, .55),
      rgba(154, 127, 209, .20) 24%,
      rgba(39, 32, 68, .68) 58%,
      rgba(16, 26, 51, .94) 78%
    );
}

.reveal-description {
  max-width:
    480px;
}

.reveal-description p {
  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      27px,
      3vw,
      42px
    );

  line-height: 1.25;

  color:
    var(--sea-glass);
}



/* =========================================================
   CLICK-TO-REVEAL WATER RECORDS
========================================================= */

.number-section {
  position: relative;
  overflow: hidden;
}

.number-header--centered {
  position: relative;
  z-index: 20;
  margin-bottom: 34px;
}

.number-header--centered .number-code {
  position: relative;
  z-index: 20;

  text-shadow:
    0 8px 38px rgba(9, 16, 31, .38),
    0 0 45px rgba(114, 217, 232, .08);
}


/* =========================================================
   REVEAL AREA
========================================================= */

.wave-reveal {
  position: relative;

  min-height: 760px;

  margin: 0;

  padding:
    130px
    0
    90px;

  overflow: visible;
  isolation: isolate;
}

.wave-reveal--shore,
.wave-reveal--ripple,
.wave-reveal--current {
  background: none;
  border: 0;
}


/* The information begins submerged and becomes fully clear after click. */

.wave-reveal-content {
  position: relative;
  z-index: 3;

  opacity: .30;

  transform:
    translateY(18px);

  filter:
    blur(1.25px);

  transition:
    opacity .8s ease .18s,
    transform .8s ease .18s,
    filter .8s ease .18s;
}

.wave-reveal.is-revealed .wave-reveal-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* =========================================================
   CLICK / TAP PROMPT
========================================================= */

.wave-reveal-trigger {
  position: absolute;

  z-index: 9;

  top: 86px;
  left: 50%;

  transform:
    translate(-50%, 12px);

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 220px;

  padding:
    16px
    26px
    15px;

  border:
    1px solid
    rgba(220, 246, 250, .48);

  border-radius: 999px;

  background:
    rgba(12, 65, 94, .58);

  color:
    var(--pearl);

  font-family:
    "DM Sans",
    system-ui,
    sans-serif;

  cursor: pointer;

  opacity: 0;

  backdrop-filter:
    blur(8px)
    saturate(1.18);

  box-shadow:
    0 10px 42px
    rgba(4, 28, 46, .20);

  transition:
    opacity .55s ease,
    transform .55s ease,
    background .3s ease,
    border-color .3s ease;
}

.wave-reveal.is-ready .wave-reveal-trigger {
  opacity: 1;

  transform:
    translate(-50%, 0);
}

.wave-reveal-trigger span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .19em;
}

.wave-reveal-trigger small {
  margin-top: 4px;

  color:
    rgba(242, 200, 123, .92);

  font-size: 9px;
  letter-spacing: .25em;
}

.wave-reveal-trigger:hover,
.wave-reveal-trigger:focus-visible {
  background:
    rgba(20, 92, 125, .74);

  border-color:
    rgba(220, 246, 250, .76);

  transform:
    translate(-50%, 7px);
}

.wave-reveal.is-revealed .wave-reveal-trigger {
  opacity: 0;

  transform:
    translate(-50%, 70px);

  pointer-events: none;
}


/* =========================================================
   WATER BODY
========================================================= */

.wave-surface {
  position: absolute;

  z-index: 6;

  left:
    calc(
      (50vw - 50%)
      * -1
    );

  right:
    calc(
      (50vw - 50%)
      * -1
    );

  top: 0;

  height:
    calc(
      100% + 170px
    );

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(103, 204, 231, .68) 0%,
      rgba(62, 164, 205, .62) 12%,
      rgba(37, 126, 174, .57) 34%,
      rgba(24, 91, 139, .54) 63%,
      rgba(15, 61, 104, .48) 86%,
      rgba(10, 40, 78, .42) 100%
    );

  backdrop-filter:
    blur(2.2px)
    saturate(1.28)
    brightness(1.04);

  box-shadow:
    0 -16px 60px
    rgba(114, 217, 232, .22);

  transform:
    translateY(0);

  transition:
    transform 1.35s
    cubic-bezier(.18, .76, .16, 1),
    opacity .55s ease 1.02s;
}


/*
  As the section comes into view the water quietly recedes just enough
  to expose the invitation, but it still covers the explanation.
*/

.wave-reveal.is-ready:not(.is-revealed) .wave-surface {
  transform:
    translateY(58px);
}


/*
  Hovering over the prompt makes the shoreline breathe down slightly.
*/

.wave-reveal.is-ready:not(.is-revealed):has(.wave-reveal-trigger:hover)
.wave-surface,
.wave-reveal.is-ready:not(.is-revealed):has(.wave-reveal-trigger:focus-visible)
.wave-surface {
  transform:
    translateY(74px);
}


/*
  Clicking sends the full body of water down past the section.
  The number-section clips it, so it visually disappears behind
  the section that follows.
*/

.wave-reveal.is-revealed .wave-surface {
  transform:
    translateY(
      calc(
        100% + 230px
      )
    );

  opacity: 0;
}


/* =========================================================
   ORGANIC WAVE EDGE
========================================================= */

.wave-crest {
  position: absolute;

  left: -2%;
  right: -2%;
  top: -44px;

  height: 92px;

  background:
    radial-gradient(
      ellipse at 7% 100%,
      rgba(222, 249, 252, .88) 0 15%,
      rgba(112, 213, 233, .38) 16% 30%,
      transparent 31%
    ),
    radial-gradient(
      ellipse at 22% 100%,
      rgba(121, 221, 239, .85) 0 19%,
      rgba(60, 166, 204, .34) 20% 34%,
      transparent 35%
    ),
    radial-gradient(
      ellipse at 39% 100%,
      rgba(222, 249, 252, .78) 0 13%,
      rgba(112, 213, 233, .32) 14% 28%,
      transparent 29%
    ),
    radial-gradient(
      ellipse at 57% 100%,
      rgba(121, 221, 239, .86) 0 20%,
      rgba(60, 166, 204, .35) 21% 36%,
      transparent 37%
    ),
    radial-gradient(
      ellipse at 75% 100%,
      rgba(222, 249, 252, .76) 0 14%,
      rgba(112, 213, 233, .30) 15% 29%,
      transparent 30%
    ),
    radial-gradient(
      ellipse at 92% 100%,
      rgba(121, 221, 239, .84) 0 18%,
      rgba(60, 166, 204, .33) 19% 34%,
      transparent 35%
    );

  filter:
    blur(.7px);

  animation:
    waterline-breathe
    5.2s
    ease-in-out
    infinite alternate;
}


/* Thin refracted highlight underneath the crest */

.wave-crest::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -18px;

  height: 46px;

  background:
    linear-gradient(
      180deg,
      rgba(214, 245, 250, .15),
      rgba(86, 188, 217, .08),
      transparent
    );

  filter:
    blur(5px);

  opacity: .85;
}


@keyframes waterline-breathe {

  0% {
    transform:
      translateX(-1.5%)
      translateY(-4px)
      scaleY(.93);
  }

  50% {
    transform:
      translateX(.8%)
      translateY(5px)
      scaleY(1.06);
  }

  100% {
    transform:
      translateX(1.6%)
      translateY(-1px)
      scaleY(.97);
  }

}


/* =========================================================
   NUMBER 02 RIPPLE DETAIL
========================================================= */

.ripple-ring {
  position: absolute;

  left: 50%;
  top: 18%;

  border-radius: 50%;

  border:
    1px solid
    rgba(215, 246, 250, .22);

  transform:
    translate(-50%, -50%);

  opacity: .34;

  animation:
    record-ripple
    4.8s
    ease-out
    infinite;
}

.ripple-ring--one {
  width: 180px;
  height: 80px;
}

.ripple-ring--two {
  width: 310px;
  height: 145px;
  animation-delay: 1.15s;
}

.ripple-ring--three {
  width: 460px;
  height: 210px;
  animation-delay: 2.3s;
}

@keyframes record-ripple {

  from {
    transform:
      translate(-50%, -50%)
      scale(.84);

    opacity: .42;
  }

  to {
    transform:
      translate(-50%, -50%)
      scale(1.18);

    opacity: .05;
  }

}


/* =========================================================
   NUMBER 03 CURRENT DETAIL
========================================================= */

.current-streak {
  position: absolute;

  width: 68%;
  height: 2px;

  left: -12%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(207, 241, 248, .38),
      rgba(114, 217, 232, .28),
      transparent
    );

  opacity: .46;

  transform:
    rotate(-8deg);

  animation:
    submerged-current
    6s
    ease-in-out
    infinite alternate;
}

.current-streak--one {
  top: 22%;
}

.current-streak--two {
  top: 34%;
  width: 84%;
  animation-delay: .7s;
}

.current-streak--three {
  top: 48%;
  width: 56%;
  animation-delay: 1.5s;
}

@keyframes submerged-current {

  from {
    transform:
      rotate(-8deg)
      translateX(-2%);
  }

  to {
    transform:
      rotate(-8deg)
      translateX(42%);
  }

}


/* NUMBER 2 + 3 DESCRIPTION */

.reveal-description--wide {
  width:
    min(
      840px,
      100%
    );

  max-width: none;

  margin:
    100px
    0
    0
    auto;

  padding-top: 44px;

  border-top:
    1px solid
    rgba(242, 200, 123, .28);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

  .wave-reveal {
    min-height: 680px;

    padding:
      115px
      0
      65px;
  }

  .wave-reveal-trigger {
    top: 72px;

    min-width: 205px;

    padding:
      14px
      22px;
  }

  .wave-reveal.is-ready:not(.is-revealed) .wave-surface {
    transform:
      translateY(48px);
  }

  .wave-reveal.is-revealed .wave-surface {
    transform:
      translateY(
        calc(
          100% + 190px
        )
      );
  }

}


@media (prefers-reduced-motion: reduce) {

  .wave-crest,
  .ripple-ring,
  .current-streak {
    animation: none;
  }

  .wave-surface,
  .wave-reveal-content,
  .wave-reveal-trigger {
    transition-duration: .01ms;
  }

}




/* =========================================================
   PRODUCT SECTIONS
========================================================= */

.product-section {
  position: relative;

  min-height:
    100vh;

  padding:
    140px
    0
    160px;

  overflow:
    hidden;
}

.pendants-section {
  background:
    radial-gradient(
      circle at 22% 45%,
      rgba(114, 217, 232, .15),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #2b657a,
      #17455c,
      var(--deep-sea)
    );
}

.bracelets-section {
  background:
    radial-gradient(
      circle at 78% 35%,
      rgba(242, 200, 123, .12),
      transparent 29%
    ),
    linear-gradient(
      145deg,
      #1f536b,
      #133f55,
      var(--deep-sea)
    );
}

.product-heading {
  display: flex;

  justify-content:
    space-between;

  gap: 70px;

  align-items:
    flex-end;

  margin-bottom:
    90px;
}

.product-heading h2 {
  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      75px,
      11vw,
      155px
    );

  line-height:
    .78;

  font-weight: 600;
}

.product-heading > p {
  width:
    min(
      420px,
      100%
    );

  margin: 0;

  line-height:
    1.55;

  color:
    var(--sea-glass);
}


/* FEATURED PRODUCT */

.product-feature {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(320px, .8fr);

  gap:
    clamp(
      55px,
      8vw,
      120px
    );

  align-items:
    center;
}

.product-feature-reversed {
  grid-template-columns:
    minmax(320px, .8fr)
    minmax(0, 1.2fr);
}

.product-feature-reversed
.product-image-placeholder {
  grid-column: 2;
  grid-row: 1;
}

.product-feature-reversed
.product-information {
  grid-column: 1;
  grid-row: 1;
}


/* PHOTO PLACEHOLDER */

.product-image-placeholder {
  position: relative;

  min-height:
    640px;

  border-radius:
    30px;

  border:
    1px solid
    rgba(
      114,
      217,
      232,
      .42
    );

  overflow:
    hidden;

  display:
    grid;

  place-items:
    center;

  background:
    radial-gradient(
      circle at 45% 35%,
      rgba(194, 230, 224, .90),
      rgba(114, 217, 232, .52) 35%,
      rgba(89, 159, 199, .55) 64%,
      rgba(39, 32, 68, .66)
    );

  box-shadow:
    0 30px 90px
    rgba(
      7,
      15,
      30,
      .30
    );
}

.product-image-placeholder::before {
  content: "";

  position:
    absolute;

  inset:
    24px;

  border:
    1px solid
    rgba(
      245,
      235,
      221,
      .26
    );

  border-radius:
    22px;
}

.product-image-placeholder span {
  position:
    relative;

  color:
    rgba(
      16,
      26,
      51,
      .70
    );

  font-size:
    12px;

  letter-spacing:
    .24em;
}


/* PRODUCT TEXT */

.product-information h3 {
  margin:
    0
    0
    24px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      48px,
      5vw,
      72px
    );

  line-height:
    .95;

  font-weight:
    600;
}

.product-price {
  margin-bottom:
    38px;

  color:
    var(--gold);

  font-size:
    15px;

  letter-spacing:
    .14em;
}

.product-information p {
  margin:
    0
    0
    55px;

  max-width:
    450px;

  color:
    var(--sea-glass);

  line-height:
    1.65;
}

.product-link {
  position:
    relative;

  display:
    inline-block;

  padding:
    0
    0
    10px;

  color:
    var(--pearl);

  text-decoration:
    none;

  font-size:
    13px;

  letter-spacing:
    .15em;
}

.product-link::after {
  content: "";

  position:
    absolute;

  left:
    0;

  bottom:
    0;

  width:
    100%;

  height:
    1px;

  background:
    var(--cyan);

  transform-origin:
    left;

  transition:
    transform .3s ease;
}

.product-link:hover::after {
  transform:
    scaleX(.55);
}



/* =========================================================
   THREE-PRODUCT JEWELRY GRID
========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;

  border:
    1px solid
    rgba(114, 217, 232, .28);

  background:
    linear-gradient(
      155deg,
      rgba(39, 32, 68, .34),
      rgba(18, 52, 74, .46)
    );

  box-shadow:
    0 26px 80px
    rgba(7, 15, 30, .22);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-7px);

  border-color:
    rgba(114, 217, 232, .62);

  box-shadow:
    0 34px 100px
    rgba(7, 15, 30, .30);
}

.product-card-image {
  position: relative;

  min-height: 420px;

  display: grid;
  place-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 45% 35%,
      rgba(194, 230, 224, .92),
      rgba(114, 217, 232, .52) 35%,
      rgba(89, 159, 199, .52) 64%,
      rgba(39, 32, 68, .68)
    );
}

.product-card-image::before {
  content: "";

  position: absolute;
  inset: 18px;

  border:
    1px solid
    rgba(245, 235, 221, .22);

  border-radius: 20px;
}

.product-card-image span {
  position: relative;
  z-index: 2;

  color:
    rgba(16, 26, 51, .72);

  font-size: 11px;
  font-weight: 500;
  letter-spacing: .20em;
}

.product-card-content {
  padding: 28px 28px 34px;
}

.product-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 22px;
}

.product-card-topline .section-kicker {
  margin-bottom: 0;
}

.product-card-topline .product-price {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.product-card h3 {
  margin: 0 0 20px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(34px, 3.4vw, 52px);

  line-height: .95;
  font-weight: 600;
}

.product-card p {
  min-height: 118px;

  margin: 0 0 34px;

  color: var(--sea-glass);

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   CLOSING
========================================================= */

.closing-section {
  position:
    relative;

  min-height:
    85vh;

  display:
    flex;

  align-items:
    center;

  padding:
    140px
    0;

  overflow:
    hidden;

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(154, 127, 209, .22),
      transparent 28%
    ),
    radial-gradient(
      circle at 60% 45%,
      rgba(114, 217, 232, .14),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      var(--ocean),
      var(--indigo),
      var(--deepest-sea)
    );
}

.closing-section::before {
  content: "";

  position:
    absolute;

  width:
    650px;

  height:
    650px;

  left:
    50%;

  top:
    50%;

  transform:
    translate(-50%, -50%);

  border-radius:
    50%;

  border:
    1px solid
    rgba(
      114,
      217,
      232,
      .13
    );

  box-shadow:
    0 0 160px
    rgba(
      154,
      127,
      209,
      .09
    );
}

.closing-inner {
  position:
    relative;

  z-index:
    2;

  width:
    min(
      var(--max-width),
      calc(
        100% - (var(--page-padding) * 2)
      )
    );

  margin:
    0 auto;
}

.closing-section h2 {
  width:
    min(
      800px,
      100%
    );

  margin:
    0
    0
    70px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      80px,
      12vw,
      170px
    );

  line-height:
    .78;

  font-weight:
    600;
}

.closing-links {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    25px
    60px;

  margin-bottom:
    65px;
}

.closing-links a {
  color:
    var(--cyan);

  text-decoration:
    none;

  font-size:
    15px;

  transition:
    color .25s ease;
}

.closing-links a:hover {
  color:
    var(--gold);
}

.closing-note {
  margin:
    0;

  color:
    rgba(
      245,
      235,
      221,
      .58
    );

  font-size:
    12px;

  letter-spacing:
    .08em;
}



/* =========================================================
   CINEMATIC VISUAL INTERLUDES
========================================================= */

.visual-interlude {
  position: relative;

  min-height: 110vh;

  display: flex;
  align-items: center;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  background-attachment: fixed;

  overflow: hidden;
}


/* CRYSTAL HALL */

.visual-interlude--hall {
  background-image:
    url("assets/crystal-hall.jpeg");
}


/* CRYSTAL CITY */

.visual-interlude--city {
  background-image:
    url("assets/crystal-city.jpeg");
}


/* COLOR WASH */

.visual-interlude-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(9, 16, 31, .80) 0%,
      rgba(16, 26, 51, .35) 43%,
      rgba(16, 26, 51, .08) 70%
    );
}

.visual-interlude-overlay--soft {
  background:
    linear-gradient(
      90deg,
      rgba(9, 16, 31, .18),
      rgba(16, 26, 51, .10) 45%,
      rgba(9, 16, 31, .72)
    );
}


/* VISUAL TEXT */

.visual-interlude-content {
  position: relative;
  z-index: 2;

  width:
    min(
      var(--max-width),
      calc(
        100% - (var(--page-padding) * 2)
      )
    );

  margin: 0 auto;
}

.visual-interlude-content h2 {
  width:
    min(
      760px,
      100%
    );

  margin: 0;

  font-family:
    "Cormorant Garamond",
    serif;

  font-weight: 600;

  font-size:
    clamp(
      65px,
      9vw,
      140px
    );

  line-height: .83;

  color:
    var(--pearl);

  text-shadow:
    0 4px 35px
    rgba(
      9,
      16,
      31,
      .65
    );
}

.visual-interlude-content--right {
  text-align: right;
}

.visual-interlude-content--right h2 {
  margin-left: auto;
}


/* =========================================================
   HALL OF RECORDS DOCUMENT
========================================================= */

.archive-section {
  position: relative;

  padding:
    140px
    var(--page-padding)
    160px;

  background:
    linear-gradient(
      180deg,
      #e7dfcf,
      #f0e8da
    );

  color:
    var(--deep-sea);
}


.archive-heading {
  width:
    min(
      var(--max-width),
      100%
    );

  margin:
    0 auto
    70px;
}


.archive-heading .section-kicker {
  color:
    #725d45;
}


.archive-heading h2 {
  margin:
    0 0
    20px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      64px,
      9vw,
      125px
    );

  line-height:
    .86;

  color:
    #252b35;
}


.archive-heading p {
  margin: 0;

  font-size:
    15px;

  color:
    rgba(
      37,
      43,
      53,
      .65
    );
}


/* DOCUMENT ITSELF */

.archive-document {
  display: block;

  width:
    min(
      1450px,
      100%
    );

  margin:
    0 auto;

  text-decoration:
    none;
}


.archive-document img {
  display: block;

  width: 100%;
  height: auto;

  border-radius:
    4px;

  box-shadow:
    0 30px 90px
    rgba(
      31,
      37,
      44,
      .22
    );

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}


.archive-document:hover img {
  transform:
    scale(1.008);

  box-shadow:
    0 40px 110px
    rgba(
      31,
      37,
      44,
      .30
    );
}


.archive-hint {
  margin-top:
    28px;

  text-align:
    center;

  font-size:
    10px;

  letter-spacing:
    .20em;

  color:
    rgba(
      37,
      43,
      53,
      .55
    );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .number-intro {
    grid-template-columns:
      1fr;

    gap:
      35px;
  }

  .number-reveal {
    grid-template-columns:
      1fr;

    gap:
      65px;
  }

  .concept-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );
  }

  .product-feature,
  .product-feature-reversed {
    grid-template-columns:
      1fr;
  }

  .product-feature-reversed
  .product-image-placeholder,
  .product-feature-reversed
  .product-information {
    grid-column:
      auto;

    grid-row:
      auto;
  }

  .product-heading {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .product-image-placeholder {
    min-height:
      520px;
  }

}


@media (max-width: 800px) {

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

  .product-card-image {
    min-height:
      390px;
  }

  .product-card p {
    min-height:
      0;
  }


  /* VISUAL INTERLUDES */

  .visual-interlude {
    min-height: 85vh;

    background-attachment:
      scroll;
  }

  .visual-interlude-content h2 {
    font-size:
      clamp(
        54px,
        15vw,
        90px
      );
  }

  .archive-section {
    padding:
      90px
      15px
      110px;
  }



  :root {
    --page-padding:
      20px;
  }


  /* HERO */

  .hero-contact {
    display:
      none;
  }

  .hero-kicker {
    left:
      20px;

    top:
      22px;

    font-size:
      10px;
  }

  .scroll-note {
    left:
      20px;

    bottom:
      20px;

    font-size:
      10px;
  }

  .hero-title {
    font-size:
      clamp(
        44px,
        14vw,
        76px
      );
  }

  .hero-intro p {
    right:
      20px;

    width:
      min(
        320px,
        calc(
          100vw - 40px
        )
      );

    bottom:
      70px;

    font-size:
      14px;
  }

  .hero-intro-label {
    right:
      20px;

    bottom:
      180px;
  }


  /* LEAVES */

  .leaf {
    width:
      210px;

    height:
      440px;
  }

  .leaf-curtain--left .leaf {
    left:
      -110px;
  }

  .leaf-curtain--right .leaf {
    right:
      -110px;
  }

  .leaf-curtain--left {
    transform:
      translateX(
        calc(
          var(--progress) * -52vw
        )
      );
  }

  .leaf-curtain--right {
    transform:
      translateX(
        calc(
          var(--progress) * 52vw
        )
      );
  }


  /* INTRO */

  .intro-section {
    padding:
      110px
      0;
  }

  .intro-copy {
    margin-left:
      0;
  }


  /* NUMBERS */

  .number-section {
    padding:
      100px
      0;
  }

  .number-header {
    display:
      block;
  }


  .number-header--centered {
    display: block;
    text-align: center;
  }

  .number-header--centered .number-code {
    margin-top: 0;
  }

  .number-code {
    margin-top:
      40px;

    font-size:
      clamp(
        70px,
        20vw,
        120px
      );
  }

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

  .concept-card {
    min-height:
      190px;
  }

  .number-full-explanation {
    margin-top:
      75px;
  }


  /* PRODUCTS */

  .product-section {
    padding:
      100px
      0;
  }

  .product-heading {
    margin-bottom:
      60px;
  }

  .product-image-placeholder {
    min-height:
      430px;
  }


  /* CLOSING */

  .closing-section {
    min-height:
      70vh;
  }

  .closing-links {
    flex-direction:
      column;

    gap:
      18px;
  }

}
/* COLLECTION — existing ocean, pearl and gold palette */
.skip-collection { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 14px 20px; background: var(--deep-sea); transform: translateY(-150%); }
.skip-collection:focus { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.hero-collection-link { position: absolute; bottom: 94px; left: 42px; pointer-events: auto; padding: 15px 24px; border: 1px solid rgba(242,200,123,.7); border-radius: 30px; background: rgba(9,16,31,.7); color: var(--pearl); text-decoration: none; font-size: 13px; letter-spacing: .08em; backdrop-filter: blur(10px); }
.hero-collection-link:hover { background: var(--ocean); border-color: var(--gold); }
#collection, #pendants, #bracelets, #crystals { scroll-margin-top: 24px; }
.collection-section { padding: 110px 0; background: radial-gradient(ellipse at 50% 0%,rgba(114,217,232,.12),transparent 65%),var(--deepest-sea); }
.collection-section h2 { margin: 0; font: 600 clamp(54px,7vw,102px)/.98 'Cormorant Garamond',serif; max-width: 820px; }
.collection-intro { color: var(--sea-glass); line-height: 1.7; margin: 28px 0 42px; }
.collection-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.collection-nav a { display: flex; flex-direction: column; gap: 24px; padding: 30px; border: 1px solid rgba(114,217,232,.3); border-radius: 22px; background: linear-gradient(140deg,rgba(31,88,108,.45),rgba(39,32,68,.25)); text-decoration: none; font: 500 clamp(32px,3.5vw,48px)/1 'Cormorant Garamond',serif; transition: border-color .25s,transform .25s; }
.collection-nav a:hover { border-color: var(--gold); transform: translateY(-4px); }
.collection-nav span { color: var(--gold); font: 400 12px/1.4 'DM Sans',sans-serif; letter-spacing: .08em; }
.preview-note { margin: 30px 0 0; max-width: 640px; font-size: 12px; line-height: 1.7; color: var(--sea-glass); }
.product-grid { align-items: start; row-gap: 36px; }
.product-media { min-height: 0; aspect-ratio: 3 / 4; background: #080b13; }
.product-media::before { display: none; }
.product-media img, .product-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-media video { opacity: 0; transition: opacity .25s; pointer-events: none; }
.product-media.is-playing video { opacity: 1; }
.video-toggle { position: absolute; z-index: 3; bottom: 18px; left: 18px; padding: 11px 16px; border: 1px solid rgba(245,235,221,.5); border-radius: 25px; background: rgba(9,16,31,.85); color: var(--pearl); font: 500 12px/1.3 'DM Sans',sans-serif; cursor: pointer; }
.video-toggle:hover { border-color: var(--gold); }
.product-media .media-status { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; color: var(--pearl); font-size: 12px; letter-spacing: 0; background: rgba(9,16,31,.85); padding: 10px; border-radius: 8px; }
.media-status:empty { display: none; }
.product-card h3 { font-size: clamp(30px,2.6vw,42px); line-height: 1.08; overflow-wrap: anywhere; }
.product-price { letter-spacing: .03em; text-align: right; }
.product-price small { display: block; font-size: 10px; line-height: 1.5; margin-top: 5px; color: var(--sea-glass); letter-spacing: 0; }
.product-card-topline { gap: 12px; }
.product-card-topline .section-kicker { font-size: 10px; line-height: 1.6; }
.product-details { margin: 0 0 28px; border-top: 1px solid rgba(114,217,232,.2); border-bottom: 1px solid rgba(114,217,232,.2); }
.product-details summary { cursor: pointer; padding: 18px 0; color: var(--sea-glass); font-size: 13px; line-height: 1.5; }
.product-description { padding-bottom: 8px; }
.product-description p { min-height: 0; margin: 0 0 20px; line-height: 1.75; }
.product-card .product-link { font-size: 10px; letter-spacing: .07em; line-height: 1.7; }
.collection-return { display: inline-block; margin-top: 48px; padding: 8px 0; color: var(--gold); font-size: 13px; text-underline-offset: 6px; }
.crystals-section { min-height: auto; background: radial-gradient(ellipse at 20% 50%,rgba(154,127,209,.13),transparent 60%),var(--deep-sea); }
.collection-empty { max-width: 720px; padding: 48px; border: 1px solid rgba(114,217,232,.28); border-radius: 28px; background: rgba(9,16,31,.25); }
.collection-empty h3 { font: 600 clamp(36px,5vw,62px)/1.05 'Cormorant Garamond',serif; margin: 0 0 24px; }
.collection-empty p { color: var(--sea-glass); line-height: 1.7; margin-bottom: 32px; }
@media (max-width: 800px) {
 .hero-collection-link { left: 20px; top: 66px; bottom: auto; font-size: 11px; padding: 12px 18px; }
 .collection-section { padding: 80px 0; }
 .collection-nav { grid-template-columns: 1fr; gap: 12px; }
 .collection-nav a { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px; gap: 16px; }
 .collection-nav span { font-size: 11px; }
 .product-card-content { padding: 25px; }
 .collection-empty { padding: 30px 24px; }
 .product-heading { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .leaf-curtain, .hero-bg, .hero-title, .hero-mark { transform: none; transition: none; }
 .leaf-curtain { display: none; }
 .collection-nav a, .product-card, .product-media video { transition: none; }
 .product-card:hover, .collection-nav a:hover { transform: none; }
}


/* Centered hero button and distinct product display titles. */
.hero-title-wrap { align-content: center; gap: clamp(28px,5vh,56px); }
.hero-title-wrap .hero-collection-link { position: relative; inset: auto; z-index: 10; justify-self: center; width: max-content; max-width: calc(100vw - 40px); text-align: center; }
.product-card h3 { font-family: 'Cinzel', Georgia, serif; font-size: clamp(25px,2.1vw,34px); font-weight: 500; line-height: 1.25; }
/* Preserve the original full-water reveal. Put its button ABOVE the crest. */
.number-header--centered { margin-bottom: 130px; }
.wave-reveal .wave-reveal-trigger { top: -116px; opacity: 1; transform: translateX(-50%); }
.wave-reveal.is-ready .wave-reveal-trigger { transform: translateX(-50%); }
.wave-reveal .wave-reveal-trigger:hover,
.wave-reveal .wave-reveal-trigger:focus-visible { transform: translate(-50%, 4px); }
.wave-reveal.is-revealed .wave-reveal-trigger { opacity: 0; transform: translate(-50%, 25px); visibility: hidden; }
.record-intro { color: var(--sea-glass); }
.ocean-signature { color: var(--gold); letter-spacing: .22em; margin: 32px 0 48px; }
.ocean-record { max-width: 900px; margin: 0 0 26px; color: var(--sea-glass); font: 400 16px/1.9 'DM Sans',sans-serif; }
@media (max-width: 800px) {
 .hero-title-wrap .hero-collection-link { inset: auto; font-size: 12px; }
 .number-header--centered { margin-bottom: 130px; }
 .wave-reveal .wave-reveal-trigger { top: -110px; }
 .ocean-record { font-size: 15px; }
}


/* FINAL REFINEMENT: compact, click-to-expand tidal records. */
.number-section:has(> .section-inner > .wave-reveal) {
  min-height: 0;
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: 0;
  overflow: hidden;
}
.number-section:has(> .section-inner > .wave-reveal) .number-header--centered {
  margin-bottom: 0;
}
.wave-reveal {
  min-height: 0;
  height: auto;
  padding: 0;
  margin-top: 72px;
  isolation: isolate;
  overflow: visible;
}
.wave-reveal-trigger,
.wave-reveal .wave-reveal-trigger,
.wave-reveal.is-ready .wave-reveal-trigger {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  z-index: 10;
}
.wave-reveal .wave-reveal-trigger:hover,
.wave-reveal .wave-reveal-trigger:focus-visible {
  transform: translate(-50%, 3px);
}
.wave-reveal.is-revealed .wave-reveal-trigger {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px);
}
/* A shallow shoreline, not a full-screen translucent overlay. */
.wave-reveal .wave-surface {
  top: 0;
  height: 72px;
  z-index: 6;
  background: linear-gradient(180deg, #8ee2ee 0%, #49b2cf 28%, #227da5 72%, #16496f 100%);
  backdrop-filter: none;
  transform: none;
  opacity: 1;
  transition: transform 1.05s cubic-bezier(.2,.75,.18,1), opacity .55s ease .48s;
}
.wave-reveal.is-ready:not(.is-revealed) .wave-surface,
.wave-reveal.is-ready:not(.is-revealed):has(.wave-reveal-trigger:hover) .wave-surface,
.wave-reveal.is-ready:not(.is-revealed):has(.wave-reveal-trigger:focus-visible) .wave-surface {
  transform: none;
}
.wave-reveal.is-revealed .wave-surface {
  transform: translateY(160px);
  opacity: 0;
}
.wave-reveal .wave-crest { top: -26px; height: 52px; }
/* Keep the entire record absent from the collapsed layout. */
.wave-reveal-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: none;
  filter: none;
  visibility: hidden;
  overflow: hidden;
  padding: 0;
  transition: grid-template-rows 1.05s cubic-bezier(.2,.75,.18,1), opacity .55s ease .4s, visibility 0s linear 1.05s;
}
.wave-reveal-content > * { min-height: 0; }
/* The expanding panel has its own clipping wrapper added to HTML. */
.wave-reveal-content .record-expansion-inner { overflow: hidden; min-height: 0; }
.wave-reveal.is-revealed .wave-reveal-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transform: none;
  filter: none;
  padding: 0;
  transition: grid-template-rows 1.05s cubic-bezier(.2,.75,.18,1), opacity .55s ease .28s, visibility 0s;
}
.record-expansion-inner { padding-top: 90px; padding-bottom: 80px; }
.visual-interlude-content--left { text-align: left; }
.visual-interlude-content--left h2 { margin-left: 0; margin-right: auto; }
.visual-interlude--city .visual-interlude-overlay--soft {
  background: linear-gradient(90deg, rgba(9,16,31,.70), rgba(16,26,51,.15) 62%, rgba(9,16,31,.06));
}
@media (max-width: 800px) {
  .wave-reveal { margin-top: 65px; }
  .wave-reveal .wave-reveal-trigger { top: -56px; }
  .record-expansion-inner { padding-top: 75px; padding-bottom: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-reveal-content, .wave-reveal .wave-surface { transition-duration: .01ms; }
}

/* NOV 8 — expanded shoreline and compact record reveal. */
.number-section:has(> .section-inner > .wave-reveal) {
  padding-top: clamp(45px, 6vw, 85px);
  background: linear-gradient(180deg, #17233d 0%, #17243d 43%, #304958 72%, #b4a38c 100%);
}
.number-section:has(> .section-inner > .wave-reveal) .number-header--centered {
  margin-bottom: 0;
}
.wave-reveal {
  min-height: 250px;
  margin-top: 80px;
  padding: 0;
}
.wave-reveal .wave-surface {
  height: 250px;
  background:
    radial-gradient(ellipse at 24% 2%, rgba(226,252,255,.85), transparent 29%),
    radial-gradient(ellipse at 77% 5%, rgba(214,248,252,.65), transparent 31%),
    linear-gradient(180deg, #9ee7ee 0%, #5ac4da 15%, #2496bd 35%, #18739b 63%, #24627c 83%, #b4a38c 100%);
  transition: transform 1.15s cubic-bezier(.2,.75,.18,1), opacity .7s ease .35s;
}
.wave-reveal .wave-crest { top: -36px; height: 72px; }
.wave-reveal .wave-reveal-trigger,
.wave-reveal.is-ready .wave-reveal-trigger { top: -65px; }
.wave-reveal.is-revealed .wave-surface {
  transform: translateY(260px);
  opacity: 0;
}
.wave-reveal.is-revealed { min-height: 250px; }
.wave-reveal.is-revealed .wave-reveal-content {
  background: linear-gradient(180deg, #1a3c53 0%, #13243c 100%);
}
.record-expansion-inner { padding: 100px 0 80px; }
@media (max-width: 800px) {
  .wave-reveal { min-height: 205px; margin-top: 70px; }
  .wave-reveal .wave-surface { height: 205px; }
  .wave-reveal .wave-reveal-trigger, .wave-reveal.is-ready .wave-reveal-trigger { top: -62px; }
  .wave-reveal.is-revealed .wave-surface { transform: translateY(215px); }
}

/* NOV 8 — breathing room around the reveal control and full-bleed record. */
.number-section:has(> .section-inner > .wave-reveal) .number-header--centered {
  margin-bottom: 0;
}
.wave-reveal {
  margin-top: 165px;
}
.wave-reveal .wave-reveal-trigger,
.wave-reveal.is-ready .wave-reveal-trigger {
  top: -111px;
}
/* This creates a visible gap below the number and above the shoreline. */
.wave-reveal.is-revealed .wave-reveal-content {
  background: transparent;
}
.wave-reveal-content {
  isolation: isolate;
}
.wave-reveal-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: linear-gradient(180deg, #1a3c53 0%, #13243c 100%);
}
.record-expansion-inner {
  padding: 105px clamp(28px, 5vw, 90px) 100px;
}
@media (max-width: 800px) {
  .wave-reveal { margin-top: 135px; }
  .wave-reveal .wave-reveal-trigger,
  .wave-reveal.is-ready .wave-reveal-trigger { top: -95px; }
  .record-expansion-inner { padding: 75px 12px 65px; }
}

/* NOV 8 — true edge-to-edge expanded record, with readable inset content. */
.number-section:has(> .section-inner > .wave-reveal) > .section-inner {
  width: 100%;
  max-width: none;
}
.number-section:has(> .section-inner > .wave-reveal) .number-header--centered {
  width: min(var(--max-width), calc(100% - (var(--page-padding) * 2)));
  margin-left: auto;
  margin-right: auto;
}
.wave-reveal.is-revealed .wave-reveal-content {
  background: linear-gradient(180deg, #1a3c53 0%, #13243c 100%);
}
.wave-reveal-content::before { content: none; }
.wave-reveal-content .record-expansion-inner {
  width: min(var(--max-width), calc(100% - (var(--page-padding) * 2)));
  margin-inline: auto;
  padding: 105px 0 100px;
}
@media (max-width: 800px) {
  .wave-reveal-content .record-expansion-inner { padding: 75px 0 65px; }
}

/* NOV 8 — deeper, more substantial shoreline before the record opens. */
.wave-reveal,
.wave-reveal.is-revealed {
  min-height: 390px;
}
.wave-reveal .wave-surface {
  height: 390px;
  background:
    radial-gradient(ellipse 55% 12% at 18% 3%, rgba(241,255,255,.9), transparent 76%),
    radial-gradient(ellipse 50% 10% at 75% 6%, rgba(220,252,255,.7), transparent 78%),
    linear-gradient(180deg,
      #b9f4f4 0%,
      #72dbe9 9%,
      #38b5d4 23%,
      #218fb8 43%,
      #176f96 67%,
      #17516e 88%,
      #927f6e 98%,
      #b4a38c 100%);
}
.wave-reveal .wave-crest {
  top: -43px;
  height: 86px;
}
.wave-reveal.is-revealed .wave-surface {
  transform: translateY(405px);
}
@media (max-width: 800px) {
  .wave-reveal,
  .wave-reveal.is-revealed { min-height: 290px; }
  .wave-reveal .wave-surface { height: 290px; }
  .wave-reveal .wave-crest { top: -33px; height: 66px; }
  .wave-reveal.is-revealed .wave-surface { transform: translateY(305px); }
}

/* FINAL TYPOGRAPHY PASS — crystal interludes */
.visual-interlude-content h2 {
  line-height: 1.04;
  letter-spacing: 0.005em;
  overflow-wrap: normal;
}
.visual-interlude--hall .visual-interlude-content h2 {
  width: min(920px, 100%);
  font-size: clamp(56px, 7.2vw, 124px);
}
.visual-interlude--city .visual-interlude-content h2 {
  width: min(920px, 100%);
  font-size: clamp(56px, 7.2vw, 124px);
}
@media (max-width: 700px) {
  .visual-interlude-content h2 {
    font-size: clamp(44px, 11vw, 76px) !important;
    line-height: 1.08;
  }
}

/* FINAL: foliage ONLY — original hero image, title, and topbar remain unchanged. */
.hero .leaf-curtain { overflow: visible; }
.hero .leaf-curtain--left, .hero .leaf-curtain--right { width: 100%; }
.hero .tropical-curtain-image { position:absolute; top:0; height:100%; width:min(48vw,820px); object-fit:fill; pointer-events:none; filter:drop-shadow(0 7px 12px rgba(0,0,0,.3)); }
.hero .leaf-curtain--left .tropical-curtain-image { left:0; }
.hero .leaf-curtain--right .tropical-curtain-image { right:0; }
@media(max-width:700px){.hero .tropical-curtain-image {width:68vw;}}
