:root {
  --porcelain: #f4f0ea;
  --bone: #e7dfd3;
  --chrome: #c9c6bf;
  --ink: #171717;
  --rouge: #9e4f55;
  --teal: #4e7d78;
  --mint: #b9cfc2;
  --mustard: #b68a3a;
  --burgundy: #4b1f2a;
  --shadow: rgba(23, 23, 23, 0.18);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans Condensed", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7f2e9 0%, #ebe1d3 45%, #d7c8b6 100%);
  background-size: 72px 72px, auto;
  font-family: var(--sans);
  letter-spacing: 0;
}

.gsap-curtain {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
  background: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 13px 16px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: rgba(244, 240, 234, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.reserve,
.reserve-section a,
.age-actions button {
  border: 1px solid var(--ink);
  padding: 10px 18px;
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px min(5vw, 72px) 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 9vw 8vh;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 999px 999px 12px 12px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.86), transparent 36%),
    linear-gradient(180deg, rgba(185, 207, 194, 0.42), rgba(158, 79, 85, 0.12));
  box-shadow: inset 0 0 120px rgba(255, 255, 255, 0.46);
}

.stage-rail {
  position: absolute;
  top: 18vh;
  bottom: 16vh;
  width: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--mustard), transparent);
  opacity: 0.5;
}

.rail-left {
  left: 14vw;
}

.rail-right {
  right: 14vw;
}

.hero-copy,
.hero-side,
.hero-object {
  position: relative;
  z-index: 2;
}

.hero-copy {
  justify-self: start;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(23, 23, 23, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.signal h2,
.detail-copy h2,
.reserve-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
}

.hero h1 {
  max-width: 360px;
  font-size: clamp(56px, 7vw, 116px);
}

.hero-side {
  align-self: end;
  justify-self: end;
  max-width: 210px;
  padding-bottom: 44px;
  text-align: right;
}

.hero-side p {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.hero-side span,
footer p,
.reserve-section p,
.signal-copy p,
.section-intro p {
  color: rgba(23, 23, 23, 0.68);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.hero-object {
  display: grid;
  place-items: center;
  min-height: 560px;
  perspective: 1200px;
}

.product-photo {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: min(310px, 30vw);
  min-width: 210px;
  padding: 18px;
  background: rgba(244, 240, 234, 0.72);
  border: 1px solid rgba(23, 23, 23, 0.08);
  transform-style: preserve-3d;
  filter: drop-shadow(0 36px 42px var(--shadow));
  will-change: transform;
}

.product-photo img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(0.92) contrast(1.04);
}

.product-photo i {
  position: absolute;
  right: 28%;
  bottom: 22%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rouge);
  box-shadow: 0 0 30px var(--rouge);
  animation: signalPulse 2.6s ease-in-out infinite;
}

.hero-media-flank {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 122px;
  height: 218px;
  transform: translateY(-50%);
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: rgba(244, 240, 234, 0.5);
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.08);
}

.hero-media-flank img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96);
}

.hero-media-flank video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96);
}

.hero-media-flank span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 240, 234, 0.22), transparent);
  animation: lightSweep 4.4s ease-in-out infinite;
}

.flank-left {
  left: 11%;
}

.flank-right {
  right: 11%;
}

.state-light {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--rouge);
  box-shadow: 0 0 28px var(--rouge);
}

.orbital-ring {
  position: absolute;
  border: 1px solid rgba(23, 23, 23, 0.13);
  border-radius: 50%;
}

.ring-one {
  width: 390px;
  height: 390px;
}

.ring-two {
  width: 278px;
  height: 278px;
  transform: rotate(45deg);
  border-color: rgba(158, 79, 85, 0.22);
}

.plinth {
  position: absolute;
  bottom: 84px;
  display: grid;
  place-items: center;
  width: 270px;
  height: 54px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: rgba(244, 240, 234, 0.48);
  box-shadow: 0 20px 54px rgba(23, 23, 23, 0.1);
}

.plinth span,
.hero-floor,
.scene-card span,
.detail-copy dt {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-floor {
  position: absolute;
  z-index: 2;
  right: 9vw;
  bottom: 32px;
  left: 9vw;
  display: flex;
  justify-content: space-between;
  color: rgba(23, 23, 23, 0.58);
}

.marquee-strip {
  display: flex;
  gap: 44px;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(23, 23, 23, 0.16);
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.marquee-strip span {
  min-width: max-content;
  animation: drift 24s linear infinite;
}

.reveal-stage {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.reveal-stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ritual,
.signal,
.product-detail,
.reserve-section,
.screening-room {
  padding: 120px min(6vw, 86px);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-intro h2,
.signal h2,
.detail-copy h2,
.reserve-section h2 {
  font-size: clamp(44px, 6vw, 84px);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.scene-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: rgba(244, 240, 234, 0.44);
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1), box-shadow 500ms ease;
}

.scene-card img {
  width: 100%;
  height: 78%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 900ms cubic-bezier(.2, .8, .2, 1), filter 900ms ease;
}

.scene-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transform: translateX(-120%);
}

.scene-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
}

.scene-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.02);
}

.scene-card:hover::before {
  animation: lightSweepCard 900ms ease;
}

.scene-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.scene-card strong {
  max-width: 180px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.scene-large {
  min-height: 530px;
}

.signal-panel,
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(8vw, 96px);
  align-items: center;
  border-top: 1px solid rgba(23, 23, 23, 0.16);
}

.screening-room {
  border-top: 1px solid rgba(23, 23, 23, 0.16);
}

.projector {
  display: grid;
  grid-template-columns: 72px minmax(280px, 520px) 72px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 26px auto 24px;
}

.projector-screen {
  position: relative;
  --curtain: 0%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), transparent 28%, transparent 72%, rgba(23,23,23,.08)),
    rgba(244, 240, 234, 0.5);
  box-shadow: 0 32px 90px rgba(23, 23, 23, 0.12);
}

.projector-screen::before,
.projector-screen::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: var(--curtain);
  background: rgba(23, 23, 23, 0.88);
  pointer-events: none;
}

.projector-screen::before {
  left: 0;
}

.projector-screen::after {
  right: 0;
}

.projector-screen img,
.projector-screen video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(.88) contrast(.96);
}

.projector-screen figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: var(--porcelain);
  text-shadow: 0 1px 20px rgba(23, 23, 23, 0.48);
}

.projector-screen span,
.reel-strip button,
.reel-arrow {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.projector-screen strong {
  max-width: 220px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 0.96;
  text-align: right;
}

.reel-arrow {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(23, 23, 23, 0.24);
  background: rgba(244, 240, 234, 0.38);
  cursor: pointer;
  transition: transform 300ms ease, background 300ms ease;
}

.reel-arrow:hover {
  transform: translateY(-4px);
  background: var(--ink);
  color: var(--porcelain);
}

.reel-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.reel-strip button {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 0;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: rgba(244, 240, 234, 0.42);
  cursor: pointer;
}

.reel-strip button.active {
  outline: 2px solid var(--ink);
  outline-offset: -7px;
}

.reel-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.74);
  transition: transform 500ms ease, filter 500ms ease;
}

.reel-strip button:hover img,
.reel-strip button.active img {
  transform: scale(1.06);
  filter: saturate(1);
}

.state-demo {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background:
    linear-gradient(90deg, rgba(23,23,23,.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(185, 207, 194, 0.62), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.4), rgba(158, 79, 85, 0.12));
  background-size: 46px 46px, auto, auto;
}

.state-device {
  position: relative;
  display: grid;
  place-items: center;
  width: min(260px, 45vw);
  height: auto;
  margin-top: 20px;
  filter: drop-shadow(0 28px 48px rgba(23, 23, 23, 0.16));
}

.state-device img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: saturate(.9);
}

.state-light[data-state="orbit"],
body.state-orbit .state-light {
  background: var(--teal);
  box-shadow: 0 0 30px var(--teal);
}

body.state-away .state-light {
  background: var(--mustard);
  box-shadow: 0 0 30px var(--mustard);
}

.state-controls {
  display: flex;
  gap: 8px;
}

.state-controls button {
  min-width: 76px;
  padding: 10px 13px;
  border: 1px solid rgba(23, 23, 23, 0.25);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.state-controls button.active {
  background: var(--ink);
  color: var(--porcelain);
}

#stateText {
  margin: 0 24px 28px;
  font-family: var(--serif);
  font-size: 28px;
  text-align: center;
}

.detail-image {
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: rgba(244, 240, 234, 0.42);
}

.detail-image img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.detail-copy dl {
  display: grid;
  gap: 24px;
  margin: 38px 0 0;
}

.detail-copy dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 23, 23, 0.16);
}

.detail-copy dd {
  margin: 0;
  color: rgba(23, 23, 23, 0.7);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.32;
}

.reserve-section {
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 23, 23, 0.18) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 45%, rgba(158, 79, 85, 0.18), transparent 32%);
}

.reserve-section p {
  max-width: 560px;
  margin: 18px auto 30px;
}

footer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 32px min(6vw, 86px);
  border-top: 1px solid rgba(23, 23, 23, 0.18);
  background: var(--ink);
  color: var(--porcelain);
}

footer strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

footer span,
footer p {
  color: rgba(244, 240, 234, 0.66);
}

.age-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 23, 23, 0.68);
  backdrop-filter: blur(18px);
}

.age-gate.is-hidden {
  display: none;
}

.age-panel {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(244, 240, 234, 0.34);
  background: var(--porcelain);
}

.age-mark {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 36px;
}

.age-panel h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 0.95;
}

.age-panel p {
  margin: 18px 0 26px;
  color: rgba(23, 23, 23, 0.72);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.42;
}

.age-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.age-actions a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

@keyframes floatDevice {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes lightSweep {
  0%, 100% { transform: translateX(-130%); }
  52% { transform: translateX(130%); }
}

@keyframes lightSweepCard {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes signalPulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.75); opacity: 1; }
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding-top: 112px;
  }

  .hero::before {
    inset: 92px 18px 70px;
  }

  .hero-copy {
    order: 2;
    justify-self: center;
    text-align: center;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(48px, 17vw, 76px);
  }

  .hero-object {
    order: 1;
    min-height: 470px;
  }

  .product-photo {
    width: 230px;
    min-width: 0;
    padding: 12px;
  }

  .ring-one {
    width: 292px;
    height: 292px;
  }

  .ring-two {
    width: 210px;
    height: 210px;
  }

  .plinth {
    bottom: 68px;
    width: 220px;
  }

  .hero-media-flank {
    width: 76px;
    height: 136px;
    opacity: .56;
  }

  .flank-left {
    left: 2px;
  }

  .flank-right {
    right: 2px;
  }

  .hero-side {
    order: 3;
    justify-self: center;
    text-align: center;
    padding: 0 0 36px;
  }

  .scene-grid,
  .signal-panel,
  .product-detail,
  footer {
    grid-template-columns: 1fr;
  }

  .scene-card,
  .scene-large {
    min-height: 390px;
  }

  .ritual,
  .signal,
  .product-detail,
  .reserve-section,
  .screening-room {
    padding: 82px 18px;
  }

  .projector {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .reel-arrow {
    width: 44px;
    height: 54px;
  }

  .reel-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .reel-strip button {
    min-height: 150px;
  }

  .detail-image img {
    min-height: 420px;
  }

  .rail-left,
  .rail-right {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
