:root {
  --bg: #080908;
  --fg: #f0f1ed;
  --muted: #8d9089;
  --accent: #dfff43;
  --line: rgba(240, 241, 237, .16);
  --pad: clamp(24px, 5vw, 76px);
  --ease: cubic-bezier(.76, 0, .24, 1);
  --z-canvas: 0;
  --z-background: 10;
  --z-scene: 20;
  --z-foreground: 30;
  --z-header: 50;
  --z-navigation: 60;
  --z-menu: 100;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--fg);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

#ambient, .atmosphere, .depth-layer, .depth-orb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#ambient { z-index: var(--z-canvas); }
.atmosphere {
  z-index: var(--z-background);
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 46%), rgba(95, 106, 84, .22), transparent 31%),
    radial-gradient(circle at 50% 50%, transparent 10%, rgba(8, 9, 8, .78) 82%);
  transition: background 1200ms var(--ease);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .04;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #fff 3px);
}
.depth-layer--far {
  z-index: var(--z-background);
  opacity: .14;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 11vw 11vw;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  transform: translate3d(var(--far-x, 0), var(--far-y, 0), 0) scale(1.08);
  transition: opacity 900ms var(--ease);
}
.depth-orb {
  z-index: var(--z-background);
  inset: auto;
  left: var(--orb-x, 76%);
  top: var(--orb-y, 28%);
  width: clamp(130px, 18vw, 290px);
  height: clamp(130px, 18vw, 290px);
  border: 1px solid rgba(223, 255, 67, .24);
  border-radius: 50%;
  opacity: var(--orb-opacity, .22);
  background: radial-gradient(circle at 38% 34%, rgba(223, 255, 67, .12), transparent 66%);
  box-shadow: inset -30px -20px 80px rgba(0, 0, 0, .5), 0 0 110px rgba(223, 255, 67, .04);
  transform: translate3d(calc(-50% + var(--orb-parallax-x, 0px)), calc(-50% + var(--orb-parallax-y, 0px)), 0) scale(var(--orb-scale, 1)) rotate(var(--orb-rotation, 0deg));
  transition: left 1200ms var(--ease), top 1200ms var(--ease), opacity 900ms ease, transform 1200ms var(--ease);
}
.depth-orb i, .depth-orb span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(240, 241, 237, .16);
  border-radius: 50%;
  transform: rotate(54deg) scaleY(.25);
}
.depth-orb span { transform: rotate(-38deg) scaleY(.42); }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  min-height: 78px;
  padding: max(14px, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand__mark {
  width: 21px;
  height: 21px;
  position: relative;
  border: 1px solid var(--fg);
  border-radius: 50%;
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: 1px;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  display: grid;
  place-content: center;
  gap: 7px;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 350ms var(--ease);
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  padding: max(100px, calc(env(safe-area-inset-top) + 82px)) max(var(--pad), env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: center;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - var(--pad) - 24px) 38px);
  background: rgba(8, 9, 8, .985);
  transition: clip-path 760ms var(--ease), visibility 0s linear 760ms;
}
.menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - var(--pad) - 24px) 38px);
  transition: clip-path 760ms var(--ease), visibility 0s;
}
.menu > p {
  position: absolute;
  top: max(76px, calc(env(safe-area-inset-top) + 54px));
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.menu-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(var(--pad), env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  display: grid;
  place-content: center;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
}
.menu-close span { grid-area: 1 / 1; width: 27px; height: 1px; background: currentColor; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
.menu a {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(30px);
  text-decoration: none;
  font-size: clamp(40px, 6.4vw, 94px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.03;
  transition: color 220ms ease, transform 500ms var(--ease), opacity 500ms ease;
}
.menu.is-open a { opacity: 1; transform: translateY(0); }
.menu.is-open a:nth-of-type(1) { transition-delay: 180ms; }
.menu.is-open a:nth-of-type(2) { transition-delay: 220ms; }
.menu.is-open a:nth-of-type(3) { transition-delay: 260ms; }
.menu.is-open a:nth-of-type(4) { transition-delay: 300ms; }
.menu.is-open a:nth-of-type(5) { transition-delay: 340ms; }
.menu.is-open a:nth-of-type(6) { transition-delay: 380ms; }
.menu a span { width: 30px; color: var(--accent); font-size: 9px; font-weight: 400; letter-spacing: .15em; }
.menu a:hover, .menu a:focus-visible { color: var(--accent); transform: translateX(14px); }

.pager {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  top: 50%;
  z-index: var(--z-navigation);
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}
.pager a {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.pager a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  transition: background 250ms ease, box-shadow 250ms ease;
}
.pager a.is-active::after { background: var(--fg); box-shadow: 0 0 0 5px rgba(255, 255, 255, .08); }
.scene-counter { display: none; }

main { position: fixed; inset: 0; z-index: var(--z-scene); perspective: 1100px; }
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(98px, 12vh, 130px) max(var(--pad), env(safe-area-inset-right)) max(64px, calc(env(safe-area-inset-bottom) + 34px)) max(var(--pad), env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
}
.scene.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.catalog-preview .topbar,
.catalog-preview .pager,
.catalog-preview .scene-counter,
.catalog-preview .scroll-cue,
.catalog-preview .scene__meta,
.catalog-preview .vist-brand-pill,
.catalog-preview .vist-order-plate { display: none !important; }
body:not(.js-ready) #intro { visibility: visible; opacity: 1; }
body:not(.js-ready) { height: auto; overflow: auto; }
body:not(.js-ready) main { position: relative; }
body:not(.js-ready) .scene { position: relative; visibility: visible; opacity: 1; pointer-events: auto; }
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .58;
  background: linear-gradient(90deg, rgba(8, 9, 8, .28), transparent 48%, rgba(8, 9, 8, .2));
}
.scene__number {
  position: absolute;
  top: max(90px, calc(env(safe-area-inset-top) + 72px));
  left: max(var(--pad), env(safe-area-inset-left));
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.scene__tag {
  position: absolute;
  right: max(var(--pad), env(safe-area-inset-right));
  bottom: max(38px, calc(env(safe-area-inset-bottom) + 18px));
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.eyebrow { margin: 0 0 28px; color: var(--accent); font-size: 9px; text-transform: uppercase; letter-spacing: .19em; }

.scene--intro { text-align: center; }
.scene__meta {
  position: absolute;
  right: max(var(--pad), env(safe-area-inset-right));
  bottom: max(32px, calc(env(safe-area-inset-bottom) + 12px));
  left: max(var(--pad), env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.hero-title > p:first-child { margin: 0 0 28px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .24em; }
.hero-title h1 { position: relative; margin: 0; font-size: clamp(76px, 15vw, 230px); line-height: .72; letter-spacing: .18em; text-indent: .18em; font-weight: 400; }
.hero-title__sub { margin: 32px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .5em; text-indent: .5em; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #b9ffef; }
.glitch::after { color: #ff8b8b; }
.scene--intro.is-active .glitch::before { animation: glitch-loop-a .9s steps(1, end) infinite; }
.scene--intro.is-active .glitch::after { animation: glitch-loop-b .9s steps(1, end) infinite; }
.hero-date { position: absolute; top: 20%; right: 10%; display: flex; align-items: center; gap: 12px; text-align: left; }
.hero-date > span { font-size: 55px; font-weight: 200; letter-spacing: -.08em; }
.hero-date p { margin: 0; font-size: 8px; text-transform: uppercase; line-height: 1.6; letter-spacing: .15em; }
.hero-date b { color: var(--accent); }
.scroll-cue {
  position: absolute;
  bottom: max(33px, calc(env(safe-area-inset-bottom) + 14px));
  left: 50%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
  text-decoration: none;
  transition: opacity 400ms ease, transform 400ms ease;
}
.scroll-cue > span { width: 28px; height: 28px; position: relative; border: 1px solid var(--muted); border-radius: 50%; }
.scroll-cue > span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 1px; height: 12px; background: var(--fg); animation: drop 1.6s ease-in-out infinite; }
.scroll-cue small { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }
.hint-mobile { display: none; }
.has-interacted .scroll-cue { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }

.statement { width: min(1040px, 86vw); margin: auto; }
.statement h2 { margin: 0; font-size: clamp(49px, 7.7vw, 118px); line-height: .9; letter-spacing: -.065em; }
.statement h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--fg); }
.statement__body { width: min(520px, 76vw); margin: 45px 0 0 auto; color: #afb1ab; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.65; }

.coordinates { width: min(1200px, 90vw); margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: center; }
.coordinates__lead h2 { margin: 0; font-size: clamp(90px, 13vw, 190px); line-height: .65; letter-spacing: -.085em; }
.coordinates__lead h2 span { font-size: .34em; letter-spacing: .42em; color: transparent; -webkit-text-stroke: 1px var(--fg); }
.coordinates__list { border-top: 1px solid var(--line); }
.coordinates__list article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.coordinates__list article > span { padding-top: 5px; color: var(--accent); font-size: 8px; }
.coordinates__list article div { display: grid; grid-template-columns: 1fr 1.6fr; align-items: end; gap: 5px 20px; }
.coordinates__list small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.coordinates__list strong { font-size: clamp(20px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.04em; }
.coordinates__list p { grid-column: 2; margin: 0; color: var(--muted); font-size: 11px; }
.coordinates__actions { display: flex; gap: 12px; margin-top: 24px; }
.coordinates__actions a { min-width: 145px; min-height: 48px; padding: 0 17px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; text-decoration: none; text-transform: uppercase; font-size: 8px; letter-spacing: .16em; transition: color 220ms ease, background 220ms ease; }
.coordinates__actions a:hover, .coordinates__actions a:focus-visible { color: var(--bg); background: var(--accent); border-color: var(--accent); }

.flow { width: min(1120px, 88vw); margin: auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; align-items: center; }
.flow__head h2 { margin: 0; font-size: clamp(70px, 10vw, 150px); line-height: .74; letter-spacing: -.085em; }
.flow__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow__list li { display: grid; grid-template-columns: 62px 10px 1fr; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.flow__list time { color: var(--muted); font-size: 10px; }
.flow__list li > span { width: 5px; height: 5px; border: 1px solid var(--fg); border-radius: 50%; }
.flow__list li:first-child > span { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.flow__list div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.flow__list b { font-size: clamp(19px, 2.1vw, 29px); font-weight: 400; letter-spacing: -.035em; }
.flow__list small { color: var(--muted); font-size: 10px; text-align: right; }

.essentials { width: min(1160px, 88vw); margin: auto; }
.essentials > h2 { margin: 0; font-size: clamp(58px, 8.4vw, 126px); line-height: .82; letter-spacing: -.075em; }
.essentials > h2 em { color: var(--accent); font-style: normal; }
.essentials__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; border: 1px solid var(--line); background: var(--line); }
.essentials__cards article { min-height: 210px; padding: 24px; background: rgba(8, 9, 8, .76); backdrop-filter: blur(8px); }
.essentials__cards span { color: var(--accent); font-size: 8px; }
.essentials__cards h3 { margin: 50px 0 15px; font-size: 26px; font-weight: 400; letter-spacing: -.04em; }
.essentials__cards p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.scene--rsvp { padding-bottom: max(80px, calc(env(safe-area-inset-bottom) + 50px)); }
.rsvp { width: min(1100px, 88vw); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }
.rsvp__intro h2 { margin: 0; font-size: clamp(80px, 11vw, 160px); line-height: .68; letter-spacing: -.09em; }
.rsvp__intro h2 em { color: var(--accent); font-style: normal; }
.rsvp__intro > p:last-child { margin: 50px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
form { display: grid; gap: 18px; }
form > label, fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
form label > span, legend { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); outline: none; color: var(--fg); background: transparent; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 58px; resize: vertical; }
select option { color: var(--bg); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choices label { min-height: 44px; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); text-align: center; transition: color 220ms ease, background 220ms ease; }
.choices input:checked + span { color: var(--bg); border-color: var(--accent); background: var(--accent); }
.honeypot { position: absolute; left: -9999px; }
form button { min-height: 52px; padding: 0 18px; margin-top: 4px; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: space-between; color: var(--bg); background: var(--accent); text-transform: uppercase; font-size: 9px; letter-spacing: .18em; cursor: pointer; transition: color 220ms ease, background 220ms ease; }
form button:hover, form button:focus-visible { color: var(--fg); background: transparent; }
form button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 18px; margin: 0; color: var(--accent); font-size: 11px; line-height: 1.5; }
.scene footer { position: absolute; right: max(var(--pad), env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); left: max(var(--pad), env(safe-area-inset-left)); display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.scene footer a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }

@keyframes drop { 0% { transform: translateY(-2px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
@keyframes glitch-loop-a {
  0% { opacity: .34; transform: translateX(-4px); clip-path: inset(12% 0 66%); }
  20% { opacity: .22; transform: translateX(5px); clip-path: inset(68% 0 10%); }
  40% { opacity: .38; transform: translateX(-2px); clip-path: inset(38% 0 42%); }
  60% { opacity: .18; transform: translateX(4px); clip-path: inset(82% 0 4%); }
  80% { opacity: .3; transform: translateX(-5px); clip-path: inset(4% 0 78%); }
}
@keyframes glitch-loop-b {
  0% { opacity: .24; transform: translateX(4px); clip-path: inset(58% 0 18%); }
  20% { opacity: .36; transform: translateX(-3px); clip-path: inset(22% 0 60%); }
  40% { opacity: .2; transform: translateX(5px); clip-path: inset(76% 0 8%); }
  60% { opacity: .32; transform: translateX(-4px); clip-path: inset(44% 0 32%); }
  80% { opacity: .18; transform: translateX(3px); clip-path: inset(8% 0 72%); }
}

@media (max-width: 1200px) {
  .coordinates { grid-template-columns: .75fr 1.25fr; gap: 7vw; }
  .flow { grid-template-columns: .65fr 1.35fr; gap: 6vw; }
  .statement h2 { font-size: clamp(46px, 7.4vw, 92px); }
  .essentials__cards article { min-height: 190px; }
  .rsvp { gap: 7vw; }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  :root { --pad: clamp(34px, 6vw, 58px); }
  .scene { padding-top: clamp(110px, 11vh, 142px); }
  .hero-title h1 { font-size: clamp(100px, 15vw, 150px); }
  .hero-date { top: 16%; right: 8%; }
  .statement { width: 90vw; }
  .statement h2 { font-size: clamp(66px, 9vw, 94px); }
  .coordinates, .flow, .rsvp { width: 88vw; grid-template-columns: 1fr; gap: clamp(34px, 4vh, 52px); }
  .coordinates__lead h2 { font-size: clamp(110px, 17vw, 165px); }
  .coordinates__list article { padding: 16px 0; }
  .flow__head h2 { font-size: clamp(92px, 15vw, 140px); }
  .flow__list li { padding: 15px 0; }
  .essentials { width: 90vw; }
  .essentials > h2 { font-size: clamp(72px, 10vw, 104px); }
  .essentials__cards { margin-top: 44px; }
  .essentials__cards article { min-height: 190px; }
  .rsvp { gap: 4vh; }
  .rsvp__intro h2 { font-size: clamp(92px, 13vw, 130px); }
}

@media (max-width: 768px) {
  .scene:not(.scene--rsvp) { touch-action: none; }
  .scene--rsvp { touch-action: pan-y; }
  :root { --pad: 22px; }
  .topbar { min-height: 66px; padding-top: max(9px, env(safe-area-inset-top)); background: linear-gradient(180deg, rgba(8, 9, 8, .9), transparent); }
  .brand, .menu-button { min-height: 44px; }
  .pager { display: none; }
  .scene-counter {
    position: fixed;
    z-index: var(--z-navigation);
    right: max(22px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .16em;
  }
  .scene-counter span:first-child { color: var(--fg); }
  .scene-counter i { width: 28px; height: 1px; background: var(--line); }
  .menu { padding: max(90px, calc(env(safe-area-inset-top) + 72px)) max(24px, env(safe-area-inset-right)) max(54px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .menu > p { top: max(70px, calc(env(safe-area-inset-top) + 54px)); }
  .menu a { width: 100%; min-height: 52px; gap: 18px; font-size: clamp(34px, 11vw, 58px); line-height: 1.1; }
  .menu a span { width: 24px; }
  .scene {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(92px, calc(env(safe-area-inset-top) + 76px)) max(22px, env(safe-area-inset-right)) max(66px, calc(env(safe-area-inset-bottom) + 48px)) max(22px, env(safe-area-inset-left));
  }
  .scene__number { top: max(72px, calc(env(safe-area-inset-top) + 58px)); font-size: 8px; }
  .scene__tag { display: none; }
  .depth-layer--far { background-size: 26vw 26vw; opacity: .08; }
  .depth-orb { width: clamp(110px, 38vw, 180px); height: clamp(110px, 38vw, 180px); }
  .scene__meta { right: max(20px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); font-size: 7px; }
  .hero-title > p:first-child { margin-bottom: 23px; }
  .hero-title h1 { font-size: clamp(62px, 18.4vw, 105px); line-height: .84; letter-spacing: .08em; text-indent: .08em; }
  .hero-title__sub { margin-top: 26px; font-size: 9px; }
  .hero-date { position: relative; top: auto; right: auto; justify-content: center; margin: clamp(52px, 9vh, 76px) auto 0; }
  .hero-date > span { font-size: 50px; }
  .scroll-cue { bottom: max(33px, calc(env(safe-area-inset-bottom) + 14px)); }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
  .scroll-cue > span::after { transform: rotate(180deg); }

  .statement { width: 100%; }
  .statement h2 { font-size: clamp(39px, 11.5vw, 62px); line-height: .98; }
  .statement__body { width: 100%; margin: clamp(28px, 5vh, 42px) 0 0; font-size: clamp(14px, 3.8vw, 17px); line-height: 1.62; }

  .coordinates { width: 100%; grid-template-columns: 1fr; gap: clamp(24px, 4vh, 40px); }
  .coordinates__lead .eyebrow { margin-bottom: 18px; }
  .coordinates__lead h2 { font-size: clamp(80px, 25vw, 128px); line-height: .68; }
  .coordinates__list article { grid-template-columns: 28px 1fr; gap: 10px; padding: clamp(12px, 2vh, 18px) 0; }
  .coordinates__list article div { grid-template-columns: 1fr; gap: 5px; }
  .coordinates__list strong { font-size: clamp(20px, 5.8vw, 28px); }
  .coordinates__list p { grid-column: 1; font-size: 10px; line-height: 1.4; }
  .coordinates__actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .coordinates__actions a { min-width: 0; min-height: 46px; }

  .flow { width: 100%; grid-template-columns: 1fr; gap: clamp(24px, 4vh, 38px); }
  .flow__head .eyebrow { margin-bottom: 18px; }
  .flow__head h2 { font-size: clamp(68px, 20vw, 104px); line-height: .78; }
  .flow__list li { grid-template-columns: 44px 8px 1fr; gap: 10px; padding: clamp(10px, 1.7vh, 15px) 0; }
  .flow__list div { display: grid; gap: 3px; }
  .flow__list b { font-size: clamp(18px, 5vw, 24px); }
  .flow__list small { font-size: 9px; line-height: 1.35; text-align: left; }

  .essentials { width: 100%; }
  .essentials > .eyebrow { margin-bottom: 18px; }
  .essentials > h2 { font-size: clamp(43px, 12.4vw, 66px); line-height: .94; }
  .essentials__cards { grid-template-columns: 1fr; gap: 8px; margin-top: clamp(24px, 4vh, 38px); border: 0; background: transparent; }
  .essentials__cards article { min-height: 0; padding: clamp(14px, 2vh, 20px); border: 1px solid var(--line); background: rgba(8, 9, 8, .7); }
  .essentials__cards h3 { margin: 12px 0 7px; font-size: clamp(20px, 5.5vw, 26px); }
  .essentials__cards p { font-size: clamp(11px, 3vw, 14px); line-height: 1.45; }

  .scene--rsvp { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .scene--rsvp::-webkit-scrollbar { display: none; }
  .rsvp { width: 100%; grid-template-columns: 1fr; gap: 34px; margin: 0; }
  .rsvp__intro .eyebrow { margin-bottom: 18px; }
  .rsvp__intro h2 { font-size: clamp(76px, 23vw, 118px); line-height: .72; }
  .rsvp__intro > p:last-child { margin-top: 28px; font-size: 12px; }
  form { gap: 17px; padding-bottom: 20px; }
  .choices { grid-template-columns: 1fr 1fr; }
  .scene footer { position: static; min-height: 44px; margin-top: 42px; padding-bottom: max(4px, env(safe-area-inset-bottom)); gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title h1 { font-size: clamp(56px, 18vw, 82px); }
  .statement h2 { font-size: clamp(37px, 11vw, 50px); }
  .statement__body { font-size: clamp(14px, 3.7vw, 16px); }
  .coordinates__actions, .choices { grid-template-columns: 1fr; }
  .coordinates__actions a { min-height: 44px; }
  .essentials__cards p { font-size: 12px; }
  .rsvp { gap: 28px; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .scene { padding-top: max(70px, calc(env(safe-area-inset-top) + 58px)); padding-bottom: max(42px, calc(env(safe-area-inset-bottom) + 24px)); }
  .scene__number { top: max(58px, calc(env(safe-area-inset-top) + 44px)); }
  .hero-date { top: 16%; }
  .statement, .coordinates, .flow, .essentials, .rsvp { width: min(1080px, 90vw); }
  .statement h2 { font-size: clamp(38px, 7vw, 70px); }
  .statement__body { margin-top: 20px; font-size: 13px; }
  .coordinates, .flow, .rsvp { grid-template-columns: .8fr 1.2fr; gap: 5vw; }
  .coordinates__lead h2 { font-size: clamp(72px, 12vw, 120px); }
  .coordinates__list article { padding: 8px 0; }
  .coordinates__actions { margin-top: 10px; }
  .flow__head h2 { font-size: clamp(64px, 11vw, 110px); }
  .flow__list li { padding: 8px 0; }
  .essentials > h2 { font-size: clamp(42px, 7vw, 74px); }
  .essentials__cards { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
  .essentials__cards article { min-height: 130px; }
  .essentials__cards h3 { margin-top: 18px; }
  .rsvp__intro h2 { font-size: clamp(68px, 11vw, 110px); }
  .rsvp__intro > p:last-child { margin-top: 20px; }
  form { gap: 10px; }
  input, select { min-height: 38px; }
  textarea { min-height: 44px; }
  form button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .depth-layer--far, .depth-orb { display: none; }
  .atmosphere::after { display: none; }
  .glitch::before, .glitch::after, .scroll-cue > span::after { animation: none !important; }
  .menu, .menu a, .scroll-cue { transition-duration: 1ms !important; }
}
