/* Page-level compositions built on the shared design system. */

/* --------------------------------------------------------------------------
   Prototype A: Homepage / The World
   -------------------------------------------------------------------------- */

.world-home {
  background:
    radial-gradient(ellipse 85% 35% at 7% 42%, rgba(157,184,191,.22), transparent 70%),
    var(--paper);
}

.home-hero {
  position: relative;
  height: clamp(45rem, 100svh, 48rem);
  min-height: 45rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0d100c;
  color: var(--paper-pale);
  isolation: isolate;
}

.home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
}

.home-hero--homepage:not(.readings-hero) .home-hero__text-cloud {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 0;
  display: block;
  width: min(94vw, 82rem);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
}

.home-hero--homepage:not(.readings-hero) .home-hero__content {
  z-index: 1;
}

@media (max-width: 48rem) {
  .home-hero--homepage:not(.readings-hero) .home-hero__text-cloud {
    top: 43%;
    width: 44rem;
  }
}

.home-hero__media {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("../img/hero/home-hero-starscape.webp");
  background-position: center 64%;
  background-size: cover;
  filter: saturate(.72) contrast(1.03);
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.05);
  will-change: transform;
}

@media (min-width: 48rem) and (max-width: 78rem) {
  .home-hero__media {
    background-image: url("../img/hero/home-hero-starscape.webp");
  }
}

.home-hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(4,8,5,.72) 0%, rgba(7,10,7,.15) 30%, rgba(4,5,4,.22) 68%, rgba(6,7,5,.7) 100%),
    radial-gradient(ellipse 60% 62% at 50% 43%, rgba(18,22,17,.03) 0%, rgba(6,8,5,.62) 100%);
}

.home-hero__wreath {
  position: absolute;
  inset: 7.5% auto auto 50%;
  z-index: 2;
  width: clamp(48rem, 96vw, 67rem);
  max-width: none;
  height: auto;
  margin: 0;
  opacity: .46;
  object-fit: contain;
  transform: translateX(-50%);
}

.home-hero__content {
  position: absolute;
  inset: 14% auto auto 50%;
  width: min(90%, 72rem);
  padding: 0;
  text-align: center;
  transform: translateX(-50%);
}

.home-hero__ornament {
  width: 2rem;
  margin: 0 auto 1.6rem;
}

.home-hero__star {
  display: block;
  width: 2rem;
  margin: 0 auto 1.6rem;
  color: var(--gold);
  filter: invert(67%) sepia(57%) saturate(702%) hue-rotate(357deg) brightness(87%);
}

.home-hero__ornament .home-hero__star {
  width: 100%;
  margin: 0;
}

.home-hero__content-group {
  transform: translateY(clamp(1.75rem, 3.25vw, 2.75rem));
}

.home-hero h1 {
  max-width: 15ch;
  margin: 0 auto 2rem;
  font-size: clamp(4rem, 5.8vw, 6rem);
  letter-spacing: -.045em;
  line-height: .9;
  text-shadow: 0 5px 28px rgba(0,0,0,.48);
}

.home-hero__headline-line { display: block; }

.home-hero__headline-line + .home-hero__headline-line {
  margin-top: .22em;
}

.home-hero__celestial-divider {
  display: none;
}

.home-hero--homepage .home-hero__title-line--future {
  font-style: normal;
}

.mobile-line {
  display: inline;
}

.home-hero__copy {
  max-width: 42rem;
  margin: 0 auto clamp(1.4rem, 2.2vw, 1.8rem);
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,.58);
}

.home-hero__offering {
  max-width: 48rem;
  margin: 1.45rem auto 0;
  font-size: clamp(.68rem, .78vw, .8rem);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.55;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.home-hero__actions {
  display: flex;
  width: min(100%, 36rem);
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.home-hero__actions .home-hero__action-button {
  --hero-action-compartment: 3.35rem;
  --hero-action-leading-surface: color-mix(in srgb, var(--paper-deep) 82%, var(--gold));
  --hero-action-trailing-surface: color-mix(in srgb, var(--paper-deep) 86%, var(--paper-pale));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 13.5rem;
  min-height: 3.35rem;
  padding: 0;
  border: 1px solid transparent;
  background: var(--paper-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  color: var(--green-deep);
  font-size: .76rem;
  transition: background-color 240ms ease-out, border-color 240ms ease-out, box-shadow 240ms ease-out, color 240ms ease-out, transform 250ms cubic-bezier(.22, .75, .25, 1);
}

.home-hero__action-button-leading,
.home-hero__action-button-trailing {
  position: absolute;
  inset-block: 0;
  z-index: 1;
  display: grid;
  width: var(--hero-action-compartment);
  place-items: center;
  background: var(--hero-action-leading-surface);
  transition: transform 250ms cubic-bezier(.22, .75, .25, 1), background-color 240ms ease-out;
}

.home-hero__action-button-leading { inset-inline-start: 0; }

.home-hero__action-button-trailing {
  inset-inline-end: 0;
  background: var(--hero-action-trailing-surface);
  transform: translateX(100%);
}

.home-hero__action-button svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.home-hero__action-button-label {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  padding-inline-start: var(--hero-action-compartment);
  place-items: center;
  white-space: nowrap;
  transition: transform 250ms cubic-bezier(.22, .75, .25, 1);
}

.home-hero__action-button:hover,
.home-hero__action-button:focus-visible {
  --hero-action-leading-surface: color-mix(in srgb, var(--gold) 84%, var(--paper-pale));
  --hero-action-trailing-surface: color-mix(in srgb, var(--gold) 78%, var(--paper-pale));
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}

.home-hero__action-button:hover .home-hero__action-button-leading,
.home-hero__action-button:focus-visible .home-hero__action-button-leading {
  transform: translateX(-100%);
}

.home-hero__action-button:hover .home-hero__action-button-trailing,
.home-hero__action-button:focus-visible .home-hero__action-button-trailing {
  transform: translateX(0);
}

.home-hero__action-button:hover .home-hero__action-button-label,
.home-hero__action-button:focus-visible .home-hero__action-button-label {
  transform: translateX(calc(var(--hero-action-compartment) / -2));
}

.home-hero__action-button:focus-visible {
  outline: 3px solid var(--paper-pale);
  outline-offset: 4px;
}

.home-hero__action-button:active {
  background: color-mix(in srgb, var(--gold) 86%, var(--green-deep));
  border-color: color-mix(in srgb, var(--gold) 86%, var(--green-deep));
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  transform: translateY(0);
}

.home-hero__action-button--secondary {
  --hero-action-leading-surface: color-mix(in srgb, var(--green-deep) 48%, transparent);
  --hero-action-trailing-surface: color-mix(in srgb, var(--green-deep) 36%, transparent);
  border-width: 2px;
  border-color: var(--gold);
  background: color-mix(in srgb, var(--green-deep) 18%, transparent);
  box-shadow: none;
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__action-button,
  .home-hero__action-button-leading,
  .home-hero__action-button-trailing,
  .home-hero__action-button-label {
    transition: none;
  }

  .home-hero__action-button:hover .home-hero__action-button-leading,
  .home-hero__action-button:focus-visible .home-hero__action-button-leading,
  .home-hero__action-button:hover .home-hero__action-button-trailing,
  .home-hero__action-button:focus-visible .home-hero__action-button-trailing,
  .home-hero__action-button:hover .home-hero__action-button-label,
  .home-hero__action-button:focus-visible .home-hero__action-button-label {
    transform: none;
  }
}

.home-hero .scroll-cue {
  position: absolute;
  inset: auto auto 3rem 50%;
  z-index: 6;
  transform: translateX(-50%);
}

/* About Elie: the poster remains the initial media; the video element is
   created only after an intentional play interaction. */
.about-elie-video {
  display: none;
}

.about-hero__desktop-title {
  display: none;
}

/* Desktop-only reference-fidelity candidate. Keep the established tablet and
   mobile composition below 78rem intact until its own bounded review. */
@media (min-width: 78.001rem) {
  .home-hero {
    z-index: 2;
    height: clamp(50rem, 100svh, 64rem);
    min-height: 50rem;
    overflow: visible;
    place-items: initial;
  }

  .home-hero--homepage {
    height: max(50rem, 100svh);
    min-height: 100svh;
  }

  .home-hero__media {
    inset: -5%;
    background-image: url("../img/hero/home-hero-starscape.webp");
    background-position: center 49%;
    filter: saturate(.84) contrast(1.03) brightness(.82);
    transform: translate3d(0, calc(var(--parallax-y, 0px) + 3rem), 0) scale(1.04);
  }

  .home-hero__visual::before {
    background:
      linear-gradient(180deg, rgba(4,8,5,.54) 0%, rgba(7,10,7,.2) 24%, rgba(4,5,4,.08) 65%, rgba(6,7,5,.34) 100%),
      radial-gradient(ellipse 49% 42% at 50% 44%, rgba(5,7,4,.42) 0%, rgba(5,7,4,.27) 45%, transparent 79%);
  }

  .home-hero__wreath {
    inset: 6.5% auto auto 50%;
    width: clamp(66rem, 82vw, 74rem);
    max-width: none;
    height: auto;
    opacity: .42;
    transform: translateX(-50%);
  }

  .home-hero__content {
    position: absolute;
    inset: 13% auto auto 50%;
    width: min(82%, 76rem);
    padding: 0;
    text-align: center;
    transform: translateX(-50%);
  }

  .home-hero--homepage .home-hero__content {
    inset-block-start: 18svh;
  }

  .home-hero__content-group {
    transform: translateY(clamp(2.5rem, 3.5vw, 3.75rem));
  }

  .home-hero--homepage .home-hero__content-group {
    transform: none;
  }

  .home-hero__content > .home-hero__star {
    width: 2rem;
    margin: 0 auto 1.7rem;
  }

  .home-hero__ornament {
    position: relative;
    display: grid;
    width: clamp(3rem, 3.2vw, 3.75rem);
    margin: 0 auto clamp(1.3rem, 2.5svh, 1.85rem);
    place-items: center;
  }

  .home-hero__ornament::before,
  .home-hero__ornament::after {
    position: absolute;
    top: 50%;
    width: clamp(5rem, 8vw, 8rem);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(239 201 117 / .82) 18%, rgb(239 201 117 / .82) 82%, transparent);
  }

  .home-hero__ornament::before { right: calc(100% + 1.15rem); }
  .home-hero__ornament::after { left: calc(100% + 1.15rem); }

  .home-hero__ornament .home-hero__star {
    width: 100%;
  }

  .home-hero h1 {
    width: 100%;
    max-width: none;
    margin: 0 0 1.8rem;
    font-size: clamp(6.2rem, 8.1vw, 8rem);
    line-height: .86;
  }

  .home-hero--homepage h1 {
    margin: 0;
    color: rgb(250 246 238 / .98);
    font-size: clamp(5.6rem, 6.5vw, 7rem);
    letter-spacing: -.04em;
    line-height: .88;
  }

  .home-hero--homepage .home-hero__title-line--future {
    color: rgb(255 240 210 / .96);
    font-style: italic;
    font-weight: 400;
  }

  .home-hero--homepage .home-hero__headline-line + .home-hero__headline-line {
    margin-top: .1em;
  }

  .home-hero__celestial-divider {
    display: flex;
    width: min(100%, 34rem);
    margin: clamp(1.35rem, 2.7svh, 2rem) auto clamp(1.25rem, 2.4svh, 1.75rem);
    gap: clamp(.5rem, .85vw, .8rem);
    align-items: center;
    justify-content: center;
    color: rgb(239 201 117 / .94);
  }

  .home-hero__celestial-rule {
    width: clamp(5rem, 12vw, 9rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 100%);
    opacity: .88;
  }

  .home-hero__celestial-rule:last-child {
    background: linear-gradient(90deg, currentColor, currentColor 80%, transparent);
  }

  .home-hero__celestial-dot {
    font-family: Georgia, serif;
    font-size: 1.4rem;
    line-height: 1;
  }

  .home-hero__celestial-moon {
    margin-inline: .05rem;
    color: #f0c975;
    font-family: Georgia, serif;
    font-size: clamp(2.3rem, 3vw, 3rem);
    line-height: .65;
    text-shadow: 0 .16rem .8rem rgb(239 201 117 / .2);
  }

  .home-hero__copy {
    max-width: 42rem;
    margin-block-end: 1.6rem;
    font-size: clamp(1.35rem, 1.75vw, 1.7rem);
    line-height: 1.5;
  }

  .home-hero--homepage .home-hero__copy {
    max-width: 48rem;
    margin: 0 auto clamp(1.75rem, 3.2svh, 2.15rem);
    font-family: var(--font-display);
    font-size: inherit;
    line-height: 1.3;
  }

  .home-hero__invitation-lead,
  .home-hero__invitation-continuation {
    display: block;
  }

  .home-hero__invitation-lead {
    margin-block-end: .3rem;
    color: rgb(255 248 228 / .99);
    font-size: clamp(1.95rem, 2.35vw, 2.5rem);
    line-height: 1.15;
  }

  .home-hero__invitation-continuation {
    max-width: 43rem;
    margin-inline: auto;
    color: rgb(255 242 216 / .97);
    font-size: clamp(1.35rem, 1.7vw, 1.7rem);
    font-style: italic;
    line-height: 1.32;
    text-wrap: balance;
  }

  .home-hero__offering {
    max-width: 54rem;
    margin-block-start: 1.55rem;
    font-size: clamp(.72rem, .82vw, .86rem);
    letter-spacing: .13em;
  }

  .home-hero--homepage .home-hero__offering {
    max-width: 58rem;
    margin-block-start: clamp(3rem, 6svh, 3.7rem);
    font-size: clamp(.72rem, .76vw, .84rem);
  }

  .home-hero__actions .home-hero__action-button {
    --hero-action-compartment: 3.75rem;
    min-width: 17rem;
    min-height: 3.75rem;
    font-size: .8rem;
  }

  .home-hero--homepage .home-hero__actions .home-hero__action-button {
    --hero-action-compartment: 4.4rem;
    --hero-action-leading-surface: #9c671d;
    --hero-action-trailing-surface: #f2cb6a;
    min-width: clamp(21rem, 24vw, 22rem);
    min-height: 4.4rem;
    border-color: #e7b34b;
    background: linear-gradient(112deg, #d99a2e 0%, #efc666 52%, #e2a93d 100%);
    box-shadow: 0 .55rem 1.4rem rgb(0 0 0 / .24), inset 0 0 0 1px rgb(255 236 180 / .3);
    font-size: .83rem;
  }

  .home-hero--homepage .home-hero__action-button:hover,
  .home-hero--homepage .home-hero__action-button:focus-visible {
    --hero-action-leading-surface: #b87a20;
    --hero-action-trailing-surface: #f7d47e;
    border-color: #f3cc69;
    background: linear-gradient(112deg, #e5aa38 0%, #f6d47b 52%, #edbc52 100%);
  }

  .home-hero .scroll-cue {
    inset-block-end: 1.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.82);
  }

}

@media (min-width: 78.001rem) and (max-height: 48rem) {
  .home-hero {
    height: 100svh;
    min-height: 45rem;
  }

  .home-hero__content {
    inset-block-start: 11%;
  }

  .home-hero h1 {
    font-size: clamp(4.8rem, 6vw, 6rem);
  }

  .home-hero--homepage .home-hero__content {
    inset-block-start: 8svh;
  }

  .home-hero--homepage .home-hero__ornament {
    width: 2.5rem;
    margin-block-end: 1rem;
  }

  .home-hero--homepage h1 {
    font-size: clamp(4.4rem, 5.8vw, 5.6rem);
    line-height: .86;
  }

  .home-hero--homepage .home-hero__celestial-divider {
    margin-block: 1.2rem 1rem;
  }

  .home-hero--homepage .home-hero__celestial-moon {
    font-size: 2.15rem;
  }

  .home-hero--homepage .home-hero__copy {
    margin-block-end: 1.55rem;
  }

  .home-hero--homepage .home-hero__invitation-lead {
    font-size: 1.75rem;
  }

  .home-hero--homepage .home-hero__invitation-continuation {
    max-width: 37rem;
    font-size: 1.3rem;
  }

  .home-hero--homepage .home-hero__actions .home-hero__action-button {
    --hero-action-compartment: 3.75rem;
    min-width: 16.5rem;
    min-height: 3.75rem;
  }

  .home-hero--homepage .home-hero__offering {
    margin-block-start: 1.35rem;
  }
}

/* The shared header returns to normal flow below the 96rem large-layout
   boundary, so the About composition no longer needs its sticky-header offset. */
@media (min-width: 78.001rem) and (max-width: 95.999rem) {
  .home-hero--homepage .home-hero__content {
    inset-block-start: clamp(3.5rem, 7svh, 4.5rem);
  }

  .about-hero {
    --about-hero-header-clearance: 0rem;
  }
}

.home-intro {
  position: relative;
  padding: clamp(4.5rem, 6vw, 6.5rem) 0 clamp(4.5rem, 6vw, 6.5rem);
  background:
    radial-gradient(ellipse 43% 70% at 94% 25%, rgba(191,140,52,.09), transparent 65%),
    linear-gradient(112deg, rgba(231,218,199,.32), transparent 42%),
    var(--paper);
  overflow: hidden;
}

.home-intro__grid {
  display: grid;
  width: min(90vw, 94rem);
  min-height: 34rem;
  grid-template-columns: minmax(22rem, 1.08fr) minmax(25rem, .92fr);
  gap: clamp(2.75rem, 5vw, 5.25rem);
  align-items: center;
}

.home-intro__art {
  position: relative;
  align-self: stretch;
  min-height: 34rem;
}

.home-intro__wash {
  position: absolute;
  inset: -11rem -1rem -5rem -8rem;
  width: calc(100% + 9rem);
  height: calc(100% + 15rem);
  object-fit: cover;
  opacity: .8;
}

@media (min-width: 78.001rem) {
  .home-intro {
    --intro-stage-width: min(92vw, 80rem);
    --intro-art-width: clamp(44rem, 53vw, 48rem);
    --intro-art-offset-x: -5rem;
    --intro-art-offset-y: -10rem;
    --intro-copy-offset-x: -2rem;
    --intro-gap: 2rem;
    padding-block: clamp(4.75rem, 5.4vw, 5.25rem);
  }

  .home-intro__grid {
    width: var(--intro-stage-width);
    min-height: 39rem;
    grid-template-columns: minmax(32rem, 34rem) minmax(32rem, 36rem);
    gap: var(--intro-gap);
    justify-content: center;
  }

  .home-intro__art {
    min-height: 39rem;
  }

  .home-intro__copy {
    inset-inline-start: var(--intro-copy-offset-x);
  }

  .home-intro__wash {
    inset: var(--intro-art-offset-y) auto auto var(--intro-art-offset-x);
    width: var(--intro-art-width);
    max-width: none;
    height: auto;
    content: url("../img/about/angelica-watercolor-1200w.webp");
    object-fit: contain;
    object-position: left top;
    opacity: .86;
    transform: none;
    pointer-events: none;
  }

  .home-intro__botanical {
    display: none;
  }

  .home-intro p {
    font-size: clamp(1.12rem, .32vw + 1rem, 1.24rem);
    line-height: 1.72;
  }

  .home-intro__assurance {
    margin-block-start: 1.45rem;
    font-size: clamp(2rem, 2.65vw, 2.85rem);
  }
}

@media (min-width: 87.5rem) and (max-width: 95.999rem) {
  .home-intro {
    --intro-art-offset-x: -8.5rem;
  }
}

@media (min-width: 96rem) {
  .home-intro {
    --intro-stage-width: min(90vw, 90rem);
    --intro-art-width: clamp(49rem, 51vw, 52rem);
    --intro-art-offset-x: -7.5rem;
    --intro-art-offset-y: -11rem;
    --intro-copy-offset-x: -1rem;
    --intro-gap: 2.5rem;
    padding-block: 5rem;
  }

  .home-intro__grid {
    min-height: 42rem;
    grid-template-columns: 36rem minmax(35rem, 42rem);
  }

  .home-intro__art {
    min-height: 42rem;
  }
}

@media (min-width: 48.001rem) and (max-width: 78rem) {
  .home-intro__grid {
    min-height: 31rem;
    grid-template-columns: minmax(18rem, .9fr) minmax(23rem, 1fr);
  }

  .home-intro__wash {
    inset: -3.25rem auto auto -1.5rem;
    width: min(50vw, 32rem);
    max-width: none;
    height: auto;
    content: url("../img/about/angelica-watercolor-1200w.webp");
    object-fit: contain;
    object-position: left top;
    opacity: .86;
    pointer-events: none;
  }

  .home-intro__botanical { display: none; }
}

.home-intro__botanical {
  position: absolute;
  inset: auto auto -3rem 14%;
  width: min(54%, 22rem);
  opacity: .84;
}

.home-intro__arc {
  display: none;
}

.home-intro__copy {
  position: relative;
  z-index: 2;
  max-width: 35rem;
  padding-block: 1rem;
}

.motion-ready .home-intro__copy {
  opacity: 1;
  transform: none;
}

.home-intro h2 {
  margin-block-end: 1.6rem;
  color: var(--green);
  font-size: clamp(2.85rem, 4.15vw, 4.8rem);
  letter-spacing: -.025em;
  line-height: 1.03;
}

.home-intro p {
  margin-block-end: 1rem;
  font-size: clamp(1.05rem, .42vw + .96rem, 1.2rem);
  line-height: 1.76;
}

.home-intro__assurance {
  margin-block: 1.3rem 0;
  color: var(--terracotta);
  font-size: clamp(1.8rem, 2.45vw, 2.55rem);
  line-height: 1.25;
  transform: rotate(-2deg);
}

.home-pathways {
  margin-block-start: -1.5rem;
  background:
    radial-gradient(ellipse 54% 30% at 50% 0%, rgba(255,253,248,.9), transparent 70%),
    linear-gradient(180deg, transparent, rgba(231,218,199,.48));
}

.home-pathways::before {
  position: absolute;
  inset: 2.8rem 3% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(191,140,52,.45), transparent);
}

@media (min-width: 48.001rem) {
  .home-pathways {
    margin-block-start: 0;
    background: var(--paper);
  }

  .home-pathways::before {
    display: none;
  }
}

/* The World testimonial environment. The artwork is deliberately decomposed
   into independent depth planes; the section remains complete without motion. */
.world-testimonial {
  --world-art-width: clamp(24rem, 25vw, 25.5rem);
  --world-copy-gap: clamp(1.25rem, 2vw, 2rem);
  position: relative;
  z-index: 1;
  min-height: clamp(44rem, 84svh, 52rem);
  overflow: hidden;
  padding: clamp(3rem, 4vw, 4rem) 0 clamp(4rem, 5vw, 5rem);
  background: var(--paper);
  isolation: isolate;
}

.world-testimonial__atmosphere {
  position: absolute;
  inset: 0 -2%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 76%, transparent 99%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 76%, transparent 99%);
}

.world-testimonial__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .62;
  transform: translate3d(0, var(--world-parallax-y, 0px), 0) scale(1.12);
  will-change: transform;
}

.world-testimonial__inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - (var(--gutter) * 1.5)), 94rem);
}

.world-testimonial__title {
  position: relative;
  z-index: 5;
  margin: 0 0 clamp(1.4rem, 2vw, 2rem);
  color: color-mix(in srgb, var(--green-deep) 76%, var(--sage));
  font-family: var(--font-interface);
  font-size: clamp(.72rem, .2vw + .68rem, .85rem);
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.world-testimonial__title::before,
.world-testimonial__title::after {
  display: inline-block;
  width: clamp(1.8rem, 4vw, 4.2rem);
  height: 1px;
  margin: 0 .9rem .25em;
  content: "";
  background: color-mix(in srgb, var(--gold) 56%, transparent);
}

.world-testimonial__title span {
  color: color-mix(in srgb, var(--charcoal) 64%, transparent);
  font-weight: 500;
}

.world-testimonial__composition {
  position: relative;
  min-height: clamp(34rem, 61svh, 37rem);
}

.world-testimonial__art {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  width: var(--world-art-width);
  aspect-ratio: 2 / 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.world-testimonial__wreath,
.world-testimonial__figure {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 .6rem .55rem rgba(73, 61, 39, .06));
  will-change: transform;
}

.world-testimonial__wreath {
  inset: 0;
  width: 100%;
  transform: translate3d(0, var(--world-parallax-y, 0px), 0);
}

.world-testimonial__figure {
  inset: 9.5% auto auto 50%;
  z-index: 2;
  width: 66%;
  transform: translate3d(-50%, var(--world-parallax-y, 0px), 0);
}

.world-testimonial__slides {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: inherit;
}

.world-testimonial__slide {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(19rem, 1fr) var(--world-art-width) minmax(19rem, 1fr);
  gap: var(--world-copy-gap);
  align-items: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms var(--ease-calm), visibility 0s linear 520ms;
}

.world-testimonial__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.world-testimonial__quote-side {
  position: relative;
  max-width: 34rem;
  color: color-mix(in srgb, var(--charcoal) 93%, var(--green));
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2vw, 2.2rem);
  font-style: italic;
  line-height: 1.38;
  text-wrap: pretty;
}

#testimonials .world-testimonial__quote-side {
  width: 100%;
  min-width: 0;
  padding: 3.75rem 2.75rem 3rem;
  isolation: isolate;
}

#testimonials .world-testimonial__quote-side::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2rem solid transparent;
  border-image-source: url("../img/testimonials/testimonial-parchment.webp");
  border-image-slice: 28% 28% fill;
  border-image-repeat: stretch;
  content: "";
  pointer-events: none;
}

#testimonials .world-testimonial__quote-side--left::before {
  inset: .5rem auto auto 2.25rem;
}

.world-testimonial__quote-side::before {
  position: absolute;
  inset: -2.15rem auto auto -.35rem;
  color: color-mix(in srgb, var(--gold) 72%, transparent);
  content: "“";
  font-family: var(--font-display);
  font-size: 5rem;
  font-style: normal;
  line-height: 1;
  opacity: .68;
}

.world-testimonial__quote-side--left {
  grid-column: 1;
  justify-self: end;
}

.world-testimonial__quote-side--right {
  grid-column: 3;
  justify-self: start;
}

.world-testimonial__slide[data-testimonial-layout="single"] .world-testimonial__quote-side--left {
  grid-column: 1;
}

.world-testimonial__quote-side--right::before {
  display: none;
}

.world-testimonial__quote-side p {
  margin: 0;
}

.world-testimonial__quote-side p + p {
  margin-block-start: .85rem;
}

.world-testimonial__quote-side footer {
  display: flex;
  margin-block-start: 1.35rem;
  color: var(--green-deep);
  font-family: var(--font-interface);
  font-size: .74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  align-items: baseline;
  gap: .65rem;
  flex-wrap: wrap;
}

.world-testimonial__quote-side footer cite {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.world-testimonial__quote-side footer span {
  color: color-mix(in srgb, var(--charcoal) 52%, transparent);
}

.world-testimonial__review-toggle[hidden] {
  display: none;
}

.world-testimonial__review-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  margin-block-start: .55rem;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: var(--green-deep);
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .3em;
  text-transform: uppercase;
}

.world-testimonial__controls {
  position: relative;
  z-index: 7;
  display: none;
  min-height: 2.75rem;
  margin: clamp(.35rem, 1vw, 1rem) auto 0;
  color: var(--green-deep);
  align-items: center;
  justify-content: center;
  gap: clamp(.9rem, 1.8vw, 1.5rem);
}

.has-world-testimonials .world-testimonial__controls {
  display: flex;
}

.world-testimonial__controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--green) 48%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper-pale) 48%, transparent);
  color: var(--green-deep);
  font: inherit;
  cursor: pointer;
  place-items: center;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.world-testimonial__controls button:hover {
  border-color: var(--green);
  background: color-mix(in srgb, var(--paper-pale) 78%, transparent);
  transform: translateY(-2px);
}

.world-testimonial__controls button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.world-testimonial__status {
  display: grid;
  min-width: 14rem;
  margin: 0;
  gap: .3rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.world-testimonial__status [data-testimonial-pair] {
  color: var(--green-deep);
}

.world-testimonial__status [data-testimonial-count] {
  color: color-mix(in srgb, var(--charcoal) 52%, transparent);
  font-size: .84em;
  letter-spacing: .16em;
}

.world-testimonial__foreground {
  position: absolute;
  inset: auto auto clamp(-12rem, -13vw, -8rem) 50%;
  z-index: 2;
  width: max(112rem, 118vw);
  max-width: none;
  height: auto;
  opacity: .34;
  pointer-events: none;
  transform: translate3d(-50%, var(--world-parallax-y, 0px), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 68%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 84%);
}

@media (max-width: 78rem) {
  .world-testimonial {
    --world-art-width: clamp(22rem, 29vw, 24rem);
    --world-copy-gap: clamp(1.25rem, 2.4vw, 2rem);
    min-height: 0;
    padding: 2.75rem 0 4rem;
  }

  .world-testimonial__inner {
    width: min(calc(100% - (var(--gutter) * 1.2)), 76rem);
  }

  .world-testimonial__slide {
    grid-template-columns: minmax(15.5rem, 1fr) var(--world-art-width) minmax(15.5rem, 1fr);
  }

  .world-testimonial__composition {
    min-height: clamp(31rem, 61svh, 35rem);
  }

  .world-testimonial__quote-side {
    font-size: clamp(1.5rem, 2vw, 1.7rem);
    line-height: 1.42;
  }
}

@media (max-width: 60rem) {
  .world-testimonial {
    --world-art-width: min(52vw, 26rem);
    min-height: 0;
    padding: clamp(4rem, 7vw, 5rem) 0 clamp(6rem, 10vw, 7.5rem);
  }

  .world-testimonial__atmosphere {
    inset: -2% -14% -3%;
    opacity: .78;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 84%, transparent 100%);
  }

  .world-testimonial__composition {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .world-testimonial__art {
    position: relative;
    inset: auto;
    order: 1;
    margin: 0 auto 2rem;
    transform: none;
  }

  .world-testimonial__slides {
    order: 2;
    min-height: 0;
  }

  .world-testimonial__slide {
    display: block;
    width: min(100%, 41rem);
    margin-inline: auto;
  }

  .world-testimonial__quote-side {
    max-width: none;
    font-size: clamp(1.08rem, .9vw + .76rem, 1.23rem);
    line-height: 1.58;
  }

  .world-testimonial__quote-side--right {
    margin-block-start: 1rem;
  }

  .world-testimonial__quote-side--right::before {
    display: none;
  }

  .world-testimonial__controls {
    margin-block-start: 2rem;
  }

  .world-testimonial__foreground {
    inset-block-end: -7rem;
    width: 96rem;
    opacity: .29;
  }
}

@media (max-width: 48rem), (max-height: 32rem) and (max-width: 64rem) {
  .world-testimonial {
    --world-art-width: min(75vw, 20rem);
    padding: 3.75rem 0 6.25rem;
  }

  .world-testimonial__inner {
    width: calc(100% - (var(--gutter) * 2));
  }

  .world-testimonial__title {
    max-width: 18rem;
    margin: 0 auto 2rem;
    font-size: .68rem;
  }

  .world-testimonial__title::before,
  .world-testimonial__title::after {
    width: 1.25rem;
    margin-inline: .55rem;
  }

  .world-testimonial__art {
    margin-block-end: 2.5rem;
  }

  .world-testimonial__quote-side {
    font-size: clamp(1.03rem, 1.6vw + .74rem, 1.16rem);
    line-height: 1.62;
  }

  .world-testimonial__quote-side::before {
    inset: -1.45rem auto auto -.2rem;
    font-size: 3rem;
  }

  #testimonials .world-testimonial__quote-side {
    padding: 3rem 2.25rem 2.5rem;
    overflow-wrap: break-word;
  }

  #testimonials .world-testimonial__quote-side--left::before {
    inset: .55rem auto auto 1.75rem;
  }

  .world-testimonial__quote-side footer {
    display: block;
    margin-block-start: 1.5rem;
  }

  .world-testimonial__quote-side footer span {
    display: block;
    margin-block-start: .25rem;
  }

  .world-testimonial__controls {
    margin-block-start: 2.25rem;
  }

  .world-testimonial__status {
    min-width: 8.7rem;
    font-size: .62rem;
  }

  .world-testimonial__foreground {
    inset-block-end: -4rem;
    width: 72rem;
    opacity: .25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-testimonial [data-world-depth] {
    --world-parallax-y: 0px !important;
    transition: none !important;
    will-change: auto;
  }

  .world-testimonial__slide {
    transition: none;
  }

  .world-testimonial__controls button {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Prototype B: Tarot-rich inner page
   -------------------------------------------------------------------------- */

.tarot-page {
  background: var(--paper-pale);
  color: var(--green-deep);
}

.tarot-hero {
  position: relative;
  height: clamp(45rem, 92svh, 48rem);
  min-height: 45rem;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.tarot-hero__landscape {
  position: absolute;
  inset: 26% -2% -4%;
  z-index: -4;
  background-position: center 56%;
  background-size: cover;
  filter: saturate(.78) contrast(.95);
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.05);
}

.tarot-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(180deg, rgba(250,246,238,.98) 0 23%, rgba(250,246,238,.82) 38%, rgba(250,246,238,.05) 64%, rgba(20,37,27,.25) 100%),
    radial-gradient(ellipse 48% 58% at 28% 33%, rgba(250,246,238,.95) 0 52%, rgba(250,246,238,.15) 80%),
    radial-gradient(ellipse 53% 47% at 57% 25%, rgba(157,184,191,.57), transparent 74%);
}

.tarot-hero::after {
  position: absolute;
  inset: auto -7% -3rem;
  z-index: 5;
  height: 6.8rem;
  border-radius: 48% 52% 0 0 / 80% 70% 0 0;
  content: "";
  background: var(--paper);
  transform: rotate(.8deg);
}

.tarot-hero__chart {
  position: absolute;
  inset: 2rem auto auto -9rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(191,140,52,.27);
  border-radius: 50%;
}

.tarot-hero__chart::before,
.tarot-hero__chart::after {
  position: absolute;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.tarot-hero__chart::before { inset: 3rem; }
.tarot-hero__chart::after { inset: 7rem; }

.tarot-hero__grid {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-wide));
  min-height: 100%;
  margin-inline: auto;
  padding: 10.5rem 0 6rem;
  grid-template-columns: minmax(24rem, 1.05fr) minmax(23rem, .9fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.tarot-hero__copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-block: 4rem;
}

.tarot-hero__star {
  width: 2rem;
  margin-block-end: 1.8rem;
  color: var(--gold);
}

.tarot-hero h1 {
  max-width: 15ch;
  margin-block-end: 2rem;
  color: var(--green);
  font-size: clamp(4rem, 5.8vw, 6rem);
  letter-spacing: -.045em;
  line-height: .91;
}

.tarot-hero__lede {
  max-width: 32rem;
  margin-block-end: 2rem;
  font-size: clamp(.88rem, .7vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.72;
  text-transform: uppercase;
}

.tarot-hero__actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.tarot-hero__card-stage {
  position: relative;
  z-index: 3;
  min-height: 41rem;
  align-self: end;
}

.tarot-hero__card {
  position: absolute;
  inset: 2.5rem auto auto 12%;
  width: clamp(17rem, 27vw, 27rem);
  filter: drop-shadow(0 28px 28px rgba(26,24,19,.3));
  transform: rotate(5deg);
  transform-origin: center;
}

.tarot-hero__botanical {
  position: absolute;
  inset: 1.3rem -3rem auto auto;
  z-index: -1;
  width: 14rem;
  opacity: .92;
  transform: rotate(8deg);
}

.tarot-hero__orb {
  position: absolute;
  inset: auto 0 3.4rem auto;
  width: 8.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 28%, rgba(255,255,255,.75), transparent 14%),
    radial-gradient(circle at 48% 47%, #8fb5c0, #385a68 60%, #1c3541 100%);
  box-shadow: inset -18px -22px 25px rgba(12,28,34,.34), 0 20px 28px rgba(19,30,32,.24);
}

.tarot-hero .scroll-cue {
  position: absolute;
  inset: auto auto 2.2rem 50%;
  z-index: 7;
  color: var(--paper-pale);
  transform: translateX(-50%);
}

.tarot-intro {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 6.5vw, 6.5rem) 0 clamp(3.5rem, 5vw, 5rem);
  background:
    linear-gradient(100deg, rgba(250,246,238,.96) 0 43%, rgba(250,246,238,.55) 62%, transparent 100%),
    radial-gradient(ellipse 34% 62% at 86% 38%, rgba(157,184,191,.56), transparent 72%),
    var(--paper);
  overflow: hidden;
}

.tarot-intro::before {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(191,140,52,.45), transparent);
  transform: rotate(9deg);
}

.tarot-intro__grid {
  display: grid;
  min-height: 36rem;
  grid-template-columns: minmax(20rem, .78fr) minmax(28rem, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.tarot-intro__copy {
  position: relative;
  z-index: 4;
  max-width: 31rem;
}

.tarot-intro h2 {
  margin-block-end: 1.7rem;
  color: var(--green);
  font-size: var(--text-heading);
  letter-spacing: -.025em;
  line-height: 1.03;
}

.tarot-intro__assurance {
  margin-block: 1.6rem;
  color: var(--terracotta);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1.1;
  transform: rotate(-3deg);
}

.tarot-intro__collage {
  position: relative;
  min-height: 36rem;
}

.tarot-intro__portrait-placeholder {
  position: absolute;
  inset: 0 auto auto 2%;
  width: min(72%, 34rem);
  height: 34rem;
  overflow: hidden;
  border-radius: 47% 47% 1.2rem 1.2rem / 34% 34% 1.2rem 1.2rem;
  box-shadow: 0 2rem 4rem rgba(39,36,31,.18);
}

.tarot-intro__portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  filter: grayscale(1) contrast(1.06);
}

.tarot-intro__asset-label {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: .55rem .75rem;
  background: rgba(20,37,27,.88);
  color: var(--paper-pale);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.tarot-intro__blue-panel {
  position: absolute;
  inset: 4rem 0 0 auto;
  z-index: -1;
  width: 48%;
  height: 33rem;
  background:
    url("../svg/watercolor-wash.svg") center / cover,
    var(--blue-pale);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 4% 76%, 0 55%);
}

.tarot-intro__blue-panel::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 12%;
  content: "";
  background: linear-gradient(90deg, var(--gold) 0 28%, var(--paper) 28% 48%, var(--terracotta) 48% 100%);
}

.tarot-intro__botanical {
  position: absolute;
  inset: auto -3rem -2rem auto;
  width: 15rem;
  opacity: .9;
}

.tarot-intro__sun {
  position: absolute;
  inset: auto auto -1.5rem -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(191,140,52,.7);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(191,140,52,.42) 0 1deg, transparent 1deg 8deg);
}

.tarot-pathways {
  margin-block-start: -2.5rem;
  padding-block-start: 5rem;
  background:
    radial-gradient(ellipse 50% 32% at 50% 0%, rgba(157,184,191,.26), transparent 72%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
}

.tarot-pathways::before,
.tarot-pathways::after {
  position: absolute;
  z-index: -1;
  content: "";
  background: url("../svg/botanical-branch.svg") center / contain no-repeat;
  opacity: .42;
}

.tarot-pathways::before {
  inset: 9rem auto auto -5rem;
  width: 16rem;
  height: 28rem;
  transform: rotate(-19deg);
}

.tarot-pathways::after {
  inset: auto -5rem 0 auto;
  width: 18rem;
  height: 30rem;
  transform: scaleX(-1) rotate(-14deg);
}

.tarot-pathways .pathway-card {
  min-height: 38rem;
  border-color: rgba(62,53,40,.38);
  box-shadow: 0 1rem 2.4rem rgba(62,53,40,.07);
}

.tarot-pathways .pathway-card__media {
  position: relative;
}

.tarot-pathways .pathway-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(20,37,27,.22));
}

.tarot-pathways .pathway-card--learn .pathway-card__media {
  background-image: linear-gradient(rgba(157,184,191,.08), rgba(34,59,42,.12));
  background-color: var(--blue);
  background-size: 57% auto;
  background-repeat: no-repeat;
}

@media (max-width: 78rem) {
  .home-hero__content { inset-block-start: 14%; }

  .tarot-hero__grid {
    grid-template-columns: minmax(22rem, 1fr) minmax(20rem, .85fr);
  }

  .tarot-hero__card-stage { min-height: 36rem; }
  .tarot-hero__card { width: min(28vw, 22rem); inset-block-start: 4rem; }
  .tarot-hero__orb { width: 6.5rem; }
  .tarot-intro__grid { grid-template-columns: .8fr 1fr; gap: 4rem; }
}

@media (max-width: 64rem) {
  .home-hero {
    height: clamp(43rem, 92svh, 54rem);
    min-height: 43rem;
  }

  .home-hero__content {
    inset-block-start: 14%;
  }

  .home-hero h1 { max-width: 11ch; }

  .home-intro__grid {
    grid-template-columns: .9fr 1fr;
    gap: clamp(2rem, 4.5vw, 3.25rem);
  }

  .home-intro__art { min-height: 31rem; }

  .tarot-hero {
    height: clamp(47rem, 96svh, 54rem);
    min-height: 47rem;
  }

  .tarot-hero__grid {
    padding-top: 8rem;
    grid-template-columns: minmax(20rem, 1.1fr) minmax(17rem, .72fr);
    gap: 1.5rem;
  }

  .tarot-hero__card-stage { min-height: 31rem; }
  .tarot-hero__card { inset: 3rem auto auto 8%; width: min(31vw, 19rem); }
  .tarot-hero__botanical { width: 10rem; }

  .tarot-intro__grid {
    grid-template-columns: minmax(16rem, .75fr) minmax(23rem, 1fr);
    gap: 2.5rem;
  }

  .tarot-intro__portrait-placeholder { width: 78%; }
}

@media (min-width: 48.001rem) and (max-width: 64rem) {
  .home-hero h1 {
    max-width: none;
    margin-bottom: 2rem;
    font-size: clamp(3.4rem, 6vw, 4.5rem);
    line-height: .9;
  }

  .home-hero__copy {
    max-width: 42rem;
    margin-bottom: 1.45rem;
  }

  .home-hero__offering { margin-top: 1.4rem; }

  .home-hero .scroll-cue { bottom: 1.5rem; }
}

@media (max-width: 48rem) {
  .home-hero {
    height: clamp(43rem, 100svh, 54rem);
    min-height: 43rem;
    place-items: end center;
  }

  .home-hero__media {
    inset: -2%;
    background-position: 64% center;
  }

  .home-hero__visual::before {
    background:
      linear-gradient(180deg, rgba(4,8,5,.78), rgba(7,10,7,.18) 30%, rgba(4,5,4,.78) 78%, rgba(6,7,5,.9)),
      radial-gradient(ellipse 90% 50% at 50% 52%, transparent, rgba(6,8,5,.72));
  }

  .home-hero__content {
    position: absolute;
    inset: clamp(8rem, 22svh, 11.5rem) auto auto 50%;
    width: calc(100% - (var(--gutter) * 2));
    padding: 0;
    transform: translateX(-50%);
  }

  .home-hero__content-group {
    transform: translateY(clamp(1rem, 4vw, 1.5rem));
  }

  .home-hero__wreath {
    inset: clamp(9rem, 18svh, 10rem) auto auto 50%;
    width: clamp(42rem, 175vw, 52rem);
    max-width: none;
    height: auto;
    transform: translateX(-50%);
  }

  .home-hero__star { width: 2.1rem; margin-bottom: 1.15rem; }
  .home-hero--homepage .home-hero__ornament { width: 2.1rem; margin-bottom: 1.15rem; }
  .home-hero h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.4rem;
    font-size: clamp(2.2rem, 9vw, 3.5rem);
    text-wrap: wrap;
  }
  .mobile-line { display: block; }
  .home-hero__copy { max-width: 30rem; margin-bottom: 1.4rem; font-size: clamp(1rem, 3.8vw, 1.18rem); line-height: 1.5; }
  .home-hero__offering { max-width: 22rem; margin-top: 1.4rem; font-size: .68rem; letter-spacing: .1em; line-height: 1.6; }
  .home-hero__actions { gap: .6rem; }
  .home-hero__actions .home-hero__action-button { --hero-action-compartment: 3.25rem; min-width: 0; min-height: 3.25rem; flex: 1 1 10rem; font-size: .7rem; letter-spacing: .14em; }
  .home-hero .scroll-cue { bottom: 2rem; }

  .home-intro {
    padding: clamp(3.5rem, 11vw, 4.75rem) 0 clamp(4.5rem, 12vw, 5.5rem);
  }

  .home-intro__grid {
    width: calc(100% - (var(--gutter) * 2));
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.4rem;
  }

  .home-intro__art {
    min-height: 0;
    margin: 0;
  }

  .home-intro__wash {
    position: relative;
    inset: auto;
    width: min(78vw, 21rem);
    height: auto;
    margin-inline: auto;
    content: url("../img/about/angelica-watercolor-640w.webp");
    object-fit: contain;
    opacity: .9;
    pointer-events: none;
  }

  .home-intro__botanical { display: none; }
  .home-intro__copy {
    width: 100%;
    min-width: 0;
    max-width: 34rem;
    padding: 0 .4rem 0 0;
  }
  .home-intro h2 { font-size: clamp(2.7rem, 11.4vw, 3.55rem); }
  .home-intro p {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.02rem, 1vw + .8rem, 1.13rem);
  }
  .home-intro__assurance { font-size: clamp(1.8rem, 8.3vw, 2.25rem); }

  .tarot-hero {
    height: clamp(53rem, 100svh, 59rem);
    min-height: 53rem;
    align-items: start;
  }

  .tarot-hero__landscape {
    inset: 41% -28% -2%;
    background-position: 58% center;
  }

  .tarot-hero::before {
    background:
      linear-gradient(180deg, rgba(250,246,238,.99) 0 38%, rgba(250,246,238,.7) 54%, rgba(250,246,238,.03) 72%, rgba(20,37,27,.26)),
      radial-gradient(ellipse 80% 40% at 23% 27%, rgba(157,184,191,.42), transparent 78%);
  }

  .tarot-hero__grid {
    display: block;
    padding: 7.8rem 0 5rem;
  }

  .tarot-hero__copy {
    width: min(100%, 32rem);
    padding: 2.4rem 0 0;
  }

  .tarot-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.9rem, 11.5vw, 4.5rem);
    text-wrap: wrap;
  }
  .tarot-hero__actions { gap: .35rem; }

  .tarot-hero__card-stage {
    min-height: 25rem;
    margin-top: -1.5rem;
  }

  .tarot-hero__card {
    inset: .5rem 3% auto auto;
    width: clamp(12rem, 44vw, 16rem);
    transform: rotate(7deg);
  }

  .tarot-hero__botanical {
    inset: 1rem -3rem auto auto;
    width: 9rem;
  }

  .tarot-hero__orb {
    inset: auto auto 2rem 12%;
    width: 5.2rem;
  }

  .tarot-hero .scroll-cue { bottom: 1.6rem; }

  .tarot-intro {
    padding-top: 5rem;
  }

  .tarot-intro::before { display: none; }

  .tarot-intro__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tarot-intro__copy {
    max-width: 33rem;
  }

  .tarot-intro__collage {
    min-height: 34rem;
    margin-inline: calc(var(--gutter) * -.2);
  }

  .tarot-intro__portrait-placeholder {
    width: 77%;
    height: 31rem;
  }

  .tarot-intro__blue-panel {
    inset-block-start: 3rem;
    height: 29rem;
  }

  .tarot-intro__botanical { width: 11rem; }
  .tarot-intro__sun { width: 7rem; height: 7rem; left: -1rem; }
}

@media (max-width: 28rem) {
  .home-hero__content { inset-block-start: 9rem; }
  .home-hero__copy { max-width: 21rem; }
  .home-hero__offering { max-width: 21rem; }

  .tarot-hero__actions .text-link { width: 100%; }
  .tarot-hero__card-stage { min-height: 23rem; }
  .tarot-intro__portrait-placeholder { width: 82%; height: 28rem; }
  .tarot-intro__blue-panel { width: 50%; height: 26rem; }
}

/* About Elie desktop portal: one content-driven flow stack beneath the site header. */
.about-elie-video__overlay-control {
  display: none;
}

.about-elie-video__mobile-controls {
  display: none;
}

.about-elie-video__inner-still {
  display: none;
}

@media (min-width: 78.001rem) {
  .about-hero {
    --about-hero-header-clearance: 7.25rem;
    display: block;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .about-hero__composition {
    position: relative;
    z-index: 3;
    display: grid;
    width: min(88vw, 74rem);
    min-height: 100svh;
    margin-inline: auto;
    padding-block-start: calc(var(--about-hero-header-clearance) + clamp(1.5rem, 4svh, 3rem));
    padding-block-end: clamp(2rem, 5svh, 4rem);
    grid-template-areas:
      "portal"
      "identity";
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: start;
    row-gap: 0;
  }

  .about-hero .home-hero__content {
    position: static;
    display: block;
    width: min(100%, 42rem);
    padding: 0;
    grid-area: identity;
    margin-block-start: clamp(-.7rem, -.75svh, -.45rem);
    text-align: center;
    transform: none;
  }

  .about-hero .home-hero__content-group {
    position: relative;
    isolation: isolate;
    transform: none;
  }

  .about-hero .home-hero__content-group::before {
    position: absolute;
    z-index: -1;
    inset: -2.75rem -7rem -2.5rem;
    content: "";
    background: radial-gradient(ellipse 65% 62% at 50% 50%, rgb(3 13 18 / .78) 0%, rgb(3 13 18 / .48) 47%, transparent 78%);
    filter: blur(9px);
    pointer-events: none;
  }

  .about-hero .home-hero__star,
  .about-hero .eyebrow {
    display: none;
  }

  .about-hero__meet-row,
  .about-hero__celestial-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #efd58f;
  }

  .about-hero__meet-row {
    --about-hero-meet-rule-width: clamp(3.75rem, 7vw, 6rem);
    display: grid;
    width: max-content;
    max-width: 100%;
    margin: 0 auto clamp(.68rem, 1.15svh, .95rem);
    column-gap: clamp(.55rem, .9vw, .85rem);
    grid-template-columns: var(--about-hero-meet-rule-width) auto var(--about-hero-meet-rule-width);
    color: rgb(244 222 165 / .94);
    font-family: var(--font-interface);
    font-size: clamp(.58rem, .55vw, .67rem);
    font-weight: 600;
    letter-spacing: .34em;
    line-height: 1;
    text-transform: uppercase;
  }

  .about-hero__meet-row .about-hero__ornament-rule {
    width: 100%;
    flex: none;
  }

  .about-hero__meet-label {
    display: inline-flex;
    align-items: center;
    gap: .58em;
  }

  .about-hero__meet-label::before,
  .about-hero__meet-label::after {
    width: .3em;
    height: .3em;
    border-radius: 50%;
    content: "";
    background: currentColor;
  }

  .about-hero__ornament-rule {
    width: clamp(3.75rem, 7vw, 6rem);
    height: 1px;
    flex: 0 1 clamp(3.75rem, 7vw, 6rem);
    background: linear-gradient(90deg, transparent, rgb(239 213 143 / .92) 18%, rgb(239 213 143 / .92) 82%, transparent);
  }

  .about-hero .home-hero__content-group h1 {
    width: auto;
    max-width: 100%;
    margin: 0;
    color: var(--paper-pale);
    font-family: var(--font-display);
    font-size: clamp(3rem, 4.25vw, 4.5rem);
    font-weight: 400;
    letter-spacing: clamp(.1em, .45vw, .15em);
    line-height: .96;
    white-space: normal;
    text-transform: uppercase;
    text-shadow: 0 .2rem 1.35rem rgb(0 0 0 / .38);
  }

  .about-hero .home-hero__headline-line {
    display: inline;
  }

  .about-hero__mobile-title {
    display: none;
  }

  .about-hero__desktop-title {
    display: inline;
  }

  .about-hero__celestial-divider {
    gap: clamp(.38rem, .6vw, .58rem);
    margin: clamp(.72rem, 1.25svh, 1rem) auto 0;
  }

  .about-hero__celestial-divider .about-hero__ornament-rule {
    width: clamp(4.65rem, 8.5vw, 7rem);
    flex-basis: clamp(4.65rem, 8.5vw, 7rem);
  }

  .about-hero__divider-stars {
    color: rgb(247 221 158 / .94);
    font-family: Georgia, serif;
    font-size: clamp(.76rem, .76vw, .94rem);
    letter-spacing: .22em;
    line-height: 1;
  }

  .about-hero__divider-moon {
    color: #f0c975;
    font-family: Georgia, serif;
    font-size: clamp(1.45rem, 1.6vw, 1.8rem);
    line-height: .7;
    text-shadow: 0 .16rem .8rem rgb(239 201 117 / .2);
  }

  .about-hero .about-elie-video {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block;
    width: min(82vw, 74rem);
    margin: 0;
    aspect-ratio: 1672 / 941;
    grid-area: portal;
    isolation: isolate;
    transform: none;
  }

  .about-elie-video::before {
    position: absolute;
    inset: 8% 9% -3%;
    z-index: -1;
    content: "";
    background: rgb(4 10 13 / .34);
    filter: blur(26px);
    pointer-events: none;
    transform: translateY(.8rem);
  }

  .about-elie-video::after {
    display: none;
  }

  .about-elie-video__poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 1;
    transition: none;
  }

  .about-elie-video__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about-elie-video__aperture {
    position: absolute;
    inset: 18.7% 18.3% 18.4% 18.3%;
    z-index: 2;
    overflow: hidden;
    clip-path: ellipse(50% 50% at 50% 50%);
    cursor: pointer;
  }

  .about-elie-video__inner-still {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: url("../video/about-elie/poster-hero-elie-inner.webp") 50% 25% / cover no-repeat;
  }

  .about-elie-video__player {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 420ms ease-out;
  }

  .about-elie-video.is-loading .about-elie-video__aperture {
    cursor: progress;
  }

  .about-elie-video.is-playing .about-elie-video__poster {
    opacity: 1;
    pointer-events: auto;
  }

  .about-elie-video.is-playing .about-elie-video__player {
    opacity: 1;
  }

  .about-elie-video__mobile-controls {
    position: absolute;
    top: 72%;
    left: 50%;
    z-index: 4;
    display: grid;
    width: 3.375rem;
    height: 3.375rem;
    place-items: center;
    transform: translate(-50%, -50%);
  }

  .about-elie-video__overlay-control {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 3.375rem;
    padding: 0;
    border: 1px solid rgb(239 213 143 / .92);
    border-radius: 50%;
    aspect-ratio: 1;
    place-items: center;
    background: rgb(8 24 30 / .76);
    box-shadow: 0 .45rem 1.2rem rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 246 218 / .13);
    color: #f3d998;
    cursor: pointer;
    transition: background-color 180ms ease-out, box-shadow 180ms ease-out;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .about-elie-video__overlay-control::before {
    position: absolute;
    inset: .27rem;
    border: 1px solid rgb(255 244 211 / .28);
    border-radius: inherit;
    content: "";
    pointer-events: none;
  }

  .about-elie-video__overlay-control svg {
    width: 1.35rem;
    fill: currentColor;
    transform: translateX(.05rem);
  }

  .about-elie-video__overlay-control.is-pause svg,
  .about-elie-video__overlay-control.is-replay svg {
    transform: none;
  }

  .about-elie-video__overlay-control.is-replay svg {
    width: 1.25rem;
  }

  .about-elie-video__overlay-control:hover {
    background: rgb(11 31 38 / .88);
  }

  .about-elie-video__overlay-control:focus-visible {
    outline: 3px solid var(--paper-pale);
    outline-offset: 3px;
  }

  .about-elie-video__overlay-control:disabled {
    cursor: progress;
    opacity: .68;
  }

  .about-elie-video__seek {
    display: none;
  }

  .about-hero .home-hero__copy {
    width: 100%;
    max-width: 34rem;
    margin: clamp(.95rem, 1.55svh, 1.3rem) auto 0;
    color: rgb(255 248 228 / .94);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.32vw, 1.42rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.45;
    text-wrap: balance;
    text-shadow: 0 .18rem 1.1rem rgb(0 0 0 / .48);
  }
}

@media (min-width: 78.001rem) and (max-height: 56.25rem) {
  .about-hero .about-elie-video {
    width: min(60vw, 58rem);
  }

  .about-hero .home-hero__content {
    margin-block-start: -.45rem;
  }

  .about-hero__meet-row {
    margin-bottom: .55rem;
  }

  .about-hero .home-hero__content-group h1 {
    font-size: clamp(2.75rem, 3.8vw, 3.65rem);
  }

  .about-hero__celestial-divider {
    margin-top: .6rem;
  }

  .about-hero .home-hero__copy {
    max-width: 30rem;
    margin-top: .72rem;
    font-size: clamp(1.07rem, 1.2vw, 1.25rem);
    line-height: 1.38;
  }
}

/* Phone-only About Elie treatment: a portrait introduction without the
   desktop portal artwork. The same controller selects this source set only
   when a visitor intentionally starts playback. */
@media (max-width: 48rem), (max-height: 32rem) and (max-width: 64rem) {
  .about-hero {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .about-hero .home-hero__visual {
    display: none;
  }

  .about-hero__composition {
    display: grid;
    width: 100%;
    margin-inline: 0;
    padding-block: 6.25rem 0;
    grid-template-areas: "portal";
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .about-hero .about-elie-video {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    grid-area: portal;
    overflow: hidden;
    background: #10252b;
    isolation: isolate;
  }

  .about-elie-video::before,
  .about-elie-video::after {
    display: none;
  }

  .about-elie-video__poster,
  .about-elie-video__poster img,
  .about-elie-video__aperture,
  .about-elie-video__player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .about-elie-video__poster {
    z-index: 1;
    opacity: 1;
    transition: opacity 180ms ease-out;
  }

  .about-elie-video__poster img,
  .about-elie-video__player {
    object-fit: cover;
    object-position: 50% 35%;
  }

  .about-elie-video__aperture {
    z-index: 2;
    overflow: hidden;
    clip-path: none;
    cursor: pointer;
  }

  .about-elie-video__player {
    background: #10252b;
    opacity: 0;
    transition: opacity 180ms ease-out;
  }

  .about-elie-video__mobile-controls {
    position: absolute;
    top: 66%;
    left: 50%;
    z-index: 4;
    display: grid;
    width: min(72%, 22rem);
    justify-items: center;
    gap: .35rem;
    transform: translate(-50%, -50%);
    transition: top 180ms ease-out;
  }

  .about-elie-video__overlay-control {
    position: relative;
    display: grid;
    width: clamp(4rem, 17vw, 4.65rem);
    padding: 0;
    border: 1px solid rgb(239 213 143 / .92);
    border-radius: 50%;
    aspect-ratio: 1;
    place-items: center;
    background: rgb(8 24 30 / .76);
    box-shadow: 0 .7rem 1.8rem rgb(0 0 0 / .34), inset 0 0 0 1px rgb(255 246 218 / .13);
    color: #f3d998;
    cursor: pointer;
    transition: width 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .about-elie-video__overlay-control::before {
    position: absolute;
    inset: .34rem;
    border: 1px solid rgb(255 244 211 / .28);
    border-radius: inherit;
    content: "";
    pointer-events: none;
  }

  .about-elie-video__overlay-control svg {
    width: 1.75rem;
    fill: currentColor;
    transform: translateX(.08rem);
  }

  .about-elie-video__overlay-control.is-pause svg {
    transform: none;
  }

  .about-elie-video__overlay-control.is-replay svg {
    width: 1.5rem;
    transform: none;
  }

  .about-elie-video__overlay-control:hover {
    background: rgb(11 31 38 / .88);
  }

  .about-elie-video__overlay-control:focus-visible {
    outline: 3px solid var(--paper-pale);
    outline-offset: 4px;
  }

  .about-elie-video__overlay-control:disabled {
    cursor: progress;
    opacity: .68;
  }

  .about-elie-video.is-initialized .about-elie-video__mobile-controls {
    top: 75%;
  }

  .about-elie-video.is-initialized .about-elie-video__overlay-control {
    width: 3rem;
    box-shadow: 0 .45rem 1.2rem rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 246 218 / .1);
  }

  .about-elie-video.is-initialized .about-elie-video__overlay-control::before {
    inset: .27rem;
  }

  .about-elie-video.is-initialized .about-elie-video__overlay-control svg {
    width: 1.3rem;
  }

  .about-elie-video__seek {
    --seek-progress: 0%;
    width: 100%;
    height: 2rem;
    padding: 0;
    margin: 0;
    appearance: none;
    background: transparent;
    color: #efd58f;
    cursor: pointer;
  }

  .about-elie-video__seek[hidden] {
    display: none;
  }

  .about-elie-video__seek:disabled {
    cursor: default;
  }

  .about-elie-video__seek::-webkit-slider-runnable-track {
    height: .2rem;
    border-radius: 999px;
    background: linear-gradient(to right, #efd58f 0 var(--seek-progress), rgb(242 235 215 / .34) var(--seek-progress) 100%);
  }

  .about-elie-video__seek::-webkit-slider-thumb {
    width: .9rem;
    height: .9rem;
    margin-block-start: -.35rem;
    border: 1px solid rgb(255 246 218 / .88);
    border-radius: 50%;
    appearance: none;
    background: #d9b96f;
    box-shadow: 0 .15rem .45rem rgb(0 0 0 / .42);
  }

  .about-elie-video__seek::-moz-range-track {
    height: .2rem;
    border-radius: 999px;
    background: rgb(242 235 215 / .34);
  }

  .about-elie-video__seek::-moz-range-progress {
    height: .2rem;
    border-radius: 999px;
    background: #efd58f;
  }

  .about-elie-video__seek::-moz-range-thumb {
    width: .9rem;
    height: .9rem;
    border: 1px solid rgb(255 246 218 / .88);
    border-radius: 50%;
    background: #d9b96f;
    box-shadow: 0 .15rem .45rem rgb(0 0 0 / .42);
  }

  .about-elie-video__seek:focus-visible {
    outline: 2px solid var(--paper-pale);
    outline-offset: 2px;
  }

  .about-elie-video.is-loading .about-elie-video__aperture {
    cursor: progress;
  }

  .about-elie-video.is-playing .about-elie-video__poster {
    opacity: 0;
    pointer-events: none;
  }

  .about-elie-video.is-playing .about-elie-video__player {
    opacity: 1;
  }

  .about-hero .about-hero__identity {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 46rem) {
  .about-hero__composition {
    padding-block-start: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-elie-video__poster,
  .about-elie-video__player,
  .about-elie-video__mobile-controls,
  .about-elie-video__overlay-control {
    transition-duration: 1ms;
  }
}

/* Homepage introduction: the existing Elie video component sits in its own
   celestial interlude, while the About page retains its hero composition. */
.homepage-elie-introduction {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 3.5vw, 3.75rem) var(--gutter) clamp(2.75rem, 4vw, 4rem);
  background: #061724;
  color: var(--paper-pale);
}

.homepage-elie-introduction__atmosphere {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 42% at 50% 42%, rgb(1 12 21 / .62), transparent 72%),
    linear-gradient(180deg, rgb(3 16 30 / .18), rgb(2 11 22 / .44)),
    url("../img/hero/meet-elie-celestial-background.webp") 50% 50% / cover no-repeat;
}

.homepage-elie-introduction__atmosphere::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse 82% 72% at 50% 50%, transparent 42%, rgb(2 10 20 / .28));
  pointer-events: none;
}

.homepage-elie-introduction__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 68rem);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.homepage-elie-introduction__video {
  position: relative;
  display: block;
  width: min(100%, 52rem);
  aspect-ratio: 1672 / 941;
  isolation: isolate;
}

.homepage-elie-introduction__identity {
  position: relative;
  width: min(100%, 42rem);
  margin-top: clamp(-.45rem, -.55vw, -.2rem);
  text-align: center;
  text-shadow: 0 .18rem 1.2rem rgb(0 0 0 / .4);
}

.homepage-elie-introduction__content-stage {
  position: relative;
  display: grid;
  width: min(100%, 42rem);
  margin-top: clamp(-.45rem, -.55vw, -.2rem);
  place-items: center;
  text-align: center;
}

.homepage-elie-introduction__content-stage > .homepage-elie-introduction__identity,
.homepage-elie-introduction__content-stage > .readings-video-transcript {
  grid-area: 1 / 1;
}

.homepage-elie-introduction__content-stage > .homepage-elie-introduction__identity {
  width: 100%;
  margin-top: 0;
  transition: opacity 220ms ease;
}

/* Reuse the Readings transcript presentation with the homepage content stage. */
.readings-video-transcript {
  align-self: start;
  width: min(100%, 38rem);
  min-block-size: clamp(7.5rem, 9vw, 8.75rem);
  padding: clamp(1.35rem, 2.4vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  border-block: 1px solid rgb(224 190 112 / .48);
  border-radius: .25rem;
  background:
    linear-gradient(90deg, transparent, rgb(224 190 112 / .13) 14%, rgb(224 190 112 / .13) 86%, transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgb(5 20 33 / .76), rgb(5 18 31 / .88));
  box-shadow: inset 0 0 2.75rem rgb(4 13 24 / .32);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.readings-video-transcript[hidden] {
  display: none;
}

.readings-video-transcript__cue {
  max-width: 34rem;
  margin: 0 auto;
  color: rgb(255 248 228 / .96);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.5;
  opacity: 0;
  text-wrap: balance;
  white-space: pre-line;
  transition: opacity 140ms ease;
}

.homepage-elie-introduction__video.has-transcript.is-playing:not(.is-paused) + .homepage-elie-introduction__content-stage > .homepage-elie-introduction__identity {
  opacity: 0;
  pointer-events: none;
}

.homepage-elie-introduction__video.has-transcript.is-playing:not(.is-paused) + .homepage-elie-introduction__content-stage > .readings-video-transcript {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease;
}

.homepage-elie-introduction__video.has-active-cue + .homepage-elie-introduction__content-stage .readings-video-transcript__cue {
  opacity: 1;
}

.homepage-elie-introduction__meet-row,
.homepage-elie-introduction__divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-elie-introduction__meet-row {
  display: grid;
  width: min(100%, 18rem);
  margin: 0 auto clamp(.7rem, 1vw, .9rem);
  column-gap: clamp(.55rem, .85vw, .8rem);
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  color: rgb(244 222 165 / .96);
  font-family: var(--font-interface);
  font-size: clamp(.58rem, .55vw, .68rem);
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1;
  text-transform: uppercase;
}

.homepage-elie-introduction__meet-row .homepage-elie-introduction__rule {
  width: 100%;
}

.homepage-elie-introduction__meet-label {
  /* Balances the terminal tracking so the visible letterforms, not only their
     inline box, share the portal and lockup centerline. */
  padding-inline-start: .34em;
}

.homepage-elie-introduction__rule {
  width: clamp(3.5rem, 7vw, 5.75rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(239 213 143 / .9) 18%, rgb(239 213 143 / .9) 82%, transparent);
}

.homepage-elie-introduction h2 {
  margin: 0;
  color: var(--paper-pale);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4vw, 4.35rem);
  font-weight: 400;
  letter-spacing: clamp(.095em, .4vw, .14em);
  line-height: .98;
  text-transform: uppercase;
}

.homepage-elie-introduction__divider {
  gap: clamp(.4rem, .65vw, .6rem);
  margin: clamp(.75rem, 1.2vw, 1rem) auto 0;
  color: rgb(247 221 158 / .94);
  font-family: Georgia, serif;
  font-size: clamp(.75rem, .75vw, .9rem);
  letter-spacing: .12em;
  line-height: 1;
}

.homepage-elie-introduction__divider .homepage-elie-introduction__rule {
  width: clamp(4.5rem, 8vw, 6.75rem);
}

.homepage-elie-introduction__moon {
  color: #f0c975;
  font-size: clamp(1.45rem, 1.55vw, 1.75rem);
  line-height: .7;
  text-shadow: 0 .16rem .8rem rgb(239 201 117 / .24);
}

.homepage-elie-introduction__tagline {
  margin: clamp(.9rem, 1.5vw, 1.2rem) auto 0;
  color: rgb(255 248 228 / .94);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.45;
  text-wrap: balance;
}

.homepage-elie-introduction__tagline span {
  display: block;
}

@media (min-width: 78.001rem) {
  .homepage-elie-introduction__video {
    width: clamp(37rem, 54vw, 52rem);
  }

  .homepage-elie-introduction__video .about-elie-video__mobile-controls {
    top: 71%;
  }

  .homepage-elie-introduction__video .about-elie-video__overlay-control {
    display: grid;
  }
}

@media (min-width: 48rem) {
  .homepage-elie-introduction__atmosphere {
    /* 5rem vertical overscan comfortably covers the ±48px local drift. */
    inset: -5rem 0;
    transform: translate3d(0, var(--meet-elie-background-y, 0px), 0) scale(1.055);
    will-change: transform;
  }
}

/* At intermediate widths, retain the same portal component rather than
   inheriting an incomplete desktop or phone treatment. */
@media (min-width: 48.001rem) and (max-width: 78rem) {
  .homepage-elie-introduction {
    padding-block: clamp(3.75rem, 6vw, 4.75rem) clamp(4rem, 6.5vw, 5.25rem);
  }

  .homepage-elie-introduction__video {
    width: min(86vw, 48rem);
  }

  .homepage-elie-introduction__video::before {
    position: absolute;
    inset: 8% 9% -3%;
    z-index: -1;
    content: "";
    background: rgb(4 10 13 / .34);
    filter: blur(26px);
    pointer-events: none;
    transform: translateY(.8rem);
  }

  .homepage-elie-introduction__video .about-elie-video__poster,
  .homepage-elie-introduction__video .about-elie-video__player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .homepage-elie-introduction__video .about-elie-video__poster {
    z-index: 1;
  }

  .homepage-elie-introduction__video .about-elie-video__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .homepage-elie-introduction__video .about-elie-video__aperture {
    position: absolute;
    inset: 18.7% 18.3% 18.4%;
    z-index: 2;
    display: block;
    width: auto;
    height: auto;
    overflow: hidden;
    clip-path: ellipse(50% 50% at 50% 50%);
    cursor: pointer;
  }

  .homepage-elie-introduction__video .about-elie-video__inner-still {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: url("../video/about-elie/poster-hero-elie-inner.webp") 50% 25% / cover no-repeat;
  }

  .homepage-elie-introduction__video .about-elie-video__player {
    z-index: 2;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 420ms ease-out;
  }

  .homepage-elie-introduction__video.is-playing .about-elie-video__player {
    opacity: 1;
  }

  .homepage-elie-introduction__video .about-elie-video__mobile-controls {
    position: absolute;
    top: 71%;
    left: 50%;
    z-index: 4;
    display: grid;
    width: 3.375rem;
    height: 3.375rem;
    place-items: center;
    transform: translate(-50%, -50%);
  }

  .homepage-elie-introduction__video .about-elie-video__overlay-control {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 3.375rem;
    padding: 0;
    border: 1px solid rgb(239 213 143 / .92);
    border-radius: 50%;
    aspect-ratio: 1;
    place-items: center;
    background: rgb(8 24 30 / .76);
    box-shadow: 0 .45rem 1.2rem rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 246 218 / .13);
    color: #f3d998;
    cursor: pointer;
  }

  .homepage-elie-introduction__video .about-elie-video__overlay-control svg {
    width: 1.35rem;
    fill: currentColor;
    transform: translateX(.05rem);
  }

  .homepage-elie-introduction__video .about-elie-video__overlay-control:focus-visible {
    outline: 3px solid var(--paper-pale);
    outline-offset: 3px;
  }
}

@media (max-width: 48rem), (max-height: 32rem) and (max-width: 64rem) {
  .homepage-elie-introduction {
    padding: clamp(3.5rem, 11vw, 4.75rem) 0 clamp(4.5rem, 13vw, 5.5rem);
  }

  .homepage-elie-introduction__inner {
    width: 100%;
  }

  .homepage-elie-introduction__video {
    width: min(100%, 34rem);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #10252b;
  }

  .homepage-elie-introduction__identity {
    width: min(100% - (var(--gutter) * 2), 28rem);
    margin-top: clamp(2.25rem, 7vw, 3rem);
  }

  .homepage-elie-introduction__content-stage {
    width: min(100% - (var(--gutter) * 2), 28rem);
    margin-top: clamp(2.25rem, 7vw, 3rem);
  }

  .homepage-elie-introduction__content-stage > .homepage-elie-introduction__identity {
    width: 100%;
    margin-top: 0;
  }

  .homepage-elie-introduction__content-stage > .readings-video-transcript {
    width: 100%;
    min-block-size: clamp(7rem, 18vw, 8.25rem);
  }

  .homepage-elie-introduction h2 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
    letter-spacing: .1em;
  }

  .homepage-elie-introduction__meet-row {
    font-size: .6rem;
  }

  .homepage-elie-introduction__tagline {
    font-size: clamp(1.03rem, 4.6vw, 1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-elie-introduction__atmosphere {
    transform: none;
    will-change: auto;
  }

  .homepage-elie-introduction__content-stage > .homepage-elie-introduction__identity,
  .homepage-elie-introduction__content-stage > .readings-video-transcript,
  .homepage-elie-introduction__content-stage .readings-video-transcript__cue {
    transition: none;
  }
}

/* Approved homepage typography specimen: canonical roles, unchanged metrics. */
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__title {
  font-family: var(--font-display);
}

.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__title-line--future {
  font-style: italic;
}

.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__invitation-lead {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
}

.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__copy,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__invitation-continuation,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__action-button,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__offering,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__destination-nav,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__destination-label,
.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__explore {
  font-family: var(--font-body);
  font-style: normal;
}

.world-home .home-hero--homepage:where([aria-labelledby="home-hero-title"]) .home-hero__action-button-label {
  font-size: 1.12em;
  font-weight: 700;
}
