/* ==========================================================
   24.10 – Total Black · invitation
   ========================================================== */
:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --fg: #ececec;
  --mute: #8a8a8a;
  --dim: #3d3d3d;
  --line: rgba(255, 255, 255, .12);
  --red: #c1121f;
  --g: clamp(16px, 3.4vw, 52px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
}

/* ---------- shared atoms ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mute);
}
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 14px var(--red);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .12em .2em; margin: -.16em -.12em -.2em; }
.wi { display: inline-block; will-change: transform; }

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 19px 30px; border-radius: 999px;
  background: var(--fg); color: #050505;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--red); transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: none; }
.btn b { font-weight: 500; font-size: 16px; line-height: 1; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn:focus-visible, a:focus-visible, label:focus-within { outline: 1px solid var(--fg); outline-offset: 4px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 18px;
  padding: calc(var(--g) * .8) var(--g);
  background: #000; color: var(--fg);
  clip-path: inset(0 0 0 0);
}
.loader__row {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mute);
}
.loader__center { align-self: center; justify-self: center; text-align: center; }
.loader__count { overflow: hidden; }
.loader__num {
  display: block; padding: 0 .12em; font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(140px, 34vw, 480px); line-height: .82; letter-spacing: -.06em;
}
.loader__sub { overflow: hidden; margin-top: 10px; }
.loader__sub span {
  display: block; font-size: clamp(12px, 1.1vw, 15px); font-weight: 500;
  letter-spacing: .6em; text-transform: uppercase; color: var(--mute); padding-left: .6em;
}
.loader__bar { height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }

/* ---------- grain / cursor / toast ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: var(--noise); opacity: .085;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-7%, 4%); } 33% { transform: translate(5%, -6%); }
  50% { transform: translate(-3%, 7%); } 67% { transform: translate(7%, 2%); } 83% { transform: translate(-6%, -4%); } 100% { transform: translate(0, 0); }
}

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid #fff;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: #fff; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  padding: 14px 24px; border-radius: 999px;
  background: var(--fg); color: #050505; font-size: 13px; font-weight: 600;
  transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--g);
  color: #fff; mix-blend-mode: difference;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
}
.hdr__logo { font-weight: 800; letter-spacing: .3em; }
.hdr__nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.hdr__nav a, .hdr__logo { position: relative; }
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: .26em; bottom: -5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 600px;
  background: var(--bg);
}
.hero__bg, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: 0; }
.hero__gl { z-index: 2; pointer-events: none; transform-origin: 50% 100%; }
.hero__fallback { position: absolute; z-index: 2; bottom: 0; left: 50%; height: 92%; transform: translateX(-50%); filter: grayscale(1) contrast(1.15); }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(5, 5, 5, .55) 55%, var(--bg));
}

.hero__titlewrap { position: absolute; z-index: 1; left: 0; right: 0; top: 14%; pointer-events: none; user-select: none; will-change: transform; }
.hero__title {
  display: flex; justify-content: center; align-items: flex-end;
  font-weight: 900; font-size: min(27.5vw, 60vh); line-height: .8; letter-spacing: -.055em;
  white-space: nowrap;
}
.hl { display: flex; will-change: transform; }
/* reveal masks: tight tracking makes glyphs overhang their box, so masks get side padding cancelled by negative margin */
.hc { display: block; overflow: hidden; padding: .04em .14em 0; margin: 0 -.14em; }
/* gradient fill via background-clip:text only paints inside the box — pad it so overhanging curves get colour too */
.hci {
  display: block; will-change: transform; padding: 0 .12em; margin: 0 -.12em;
  background: linear-gradient(180deg, #f6f6f6 0%, #d6d6d6 45%, #6d6d6d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl--dot .hci { background: none; color: var(--red); }

.hero__info { position: absolute; z-index: 4; bottom: calc(var(--g) + 4px); display: flex; flex-direction: column; gap: 8px; }
.hero__info--l { left: var(--g); }
.hero__info--r { right: var(--g); align-items: flex-end; text-align: right; }
.hero__info--r .tag:not(:first-child) { margin-top: 10px; }
.hero__lead {
  font-weight: 800; font-size: clamp(30px, 3.6vw, 58px); line-height: .92;
  letter-spacing: -.03em; text-transform: uppercase;
}
.hero__note { font-style: italic; font-weight: 300; color: var(--mute); font-size: clamp(14px, 1.1vw, 17px); }
.hero__meta { font-weight: 700; font-size: clamp(17px, 1.5vw, 24px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; }

.hero__cue {
  position: absolute; z-index: 4; left: 0; right: 0; margin-inline: auto; width: max-content; bottom: calc(var(--g) + 4px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--mute);
}
.hero__cue i { position: relative; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.hero__cue i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--fg);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- bands ---------- */
.bands {
  position: relative; overflow: hidden; z-index: 1;
  height: clamp(190px, 25vw, 360px);
  display: grid; place-items: center;
  background: var(--bg);
}
.band { position: absolute; left: -6%; width: 112%; padding: clamp(10px, 1.2vw, 18px) 0; overflow: hidden; white-space: nowrap; }
.band--a { background: var(--fg); color: #050505; transform: rotate(-4deg); z-index: 2; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.band--b { background: #080808; color: var(--fg); transform: rotate(3deg); border-block: 1px solid var(--line); }
.band__track { display: inline-flex; will-change: transform; }
.band__item {
  display: inline-flex; align-items: center; gap: .55em; padding-right: .55em;
  font-weight: 900; font-size: clamp(30px, 4.8vw, 76px); line-height: 1; letter-spacing: -.025em; text-transform: uppercase;
}
.band__item i { font-style: normal; font-size: .55em; color: var(--red); }
/* outlines: stroke painted under a bg-coloured fill hides the variable font's overlapping contours */
.band--b .band__item { color: #080808; -webkit-text-stroke: 2.4px #b5b5b5; paint-order: stroke fill; }
.band--b .band__item i { -webkit-text-stroke: 0; color: var(--red); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 200px) var(--g); border-top: 1px solid var(--line); }
.sec-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 90px);
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--mute);
}
.sec-head__num { color: var(--fg); font-weight: 800; }
.sec-head__line { flex: 1; height: 1px; background: var(--line); transform-origin: left; }
.h2 {
  font-weight: 900; font-size: clamp(50px, 9.2vw, 156px); line-height: .86;
  letter-spacing: -.05em; text-transform: uppercase;
}

/* ---------- 01 program ---------- */
.program__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 6vw, 110px); margin-top: clamp(50px, 7vw, 120px);
}
.program__clock {
  position: sticky; top: 13vh; align-self: start;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.dial { width: min(100%, 440px); height: auto; overflow: visible; }
.dial__rim { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.dial__rim--in { stroke: rgba(255, 255, 255, .06); }
.dial__ticks line { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.dial__ticks line.is-major { stroke: var(--fg); stroke-width: 2; }
.dial__nums text { fill: var(--mute); font-family: var(--font); font-weight: 700; font-size: 17px; text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.dial__marks circle { fill: var(--red); filter: drop-shadow(0 0 6px var(--red)); }
.dial__hour { stroke: var(--fg); stroke-width: 7; stroke-linecap: round; }
.dial__min { stroke: var(--fg); stroke-width: 2; stroke-linecap: round; opacity: .8; }
.dial__pin { fill: var(--red); }
.dial__read { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dial__time {
  font-weight: 900; font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.dial__day { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

.program__list { list-style: none; }
.pitem {
  min-height: 48vh; padding: 40px 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 2.4vw, 36px); row-gap: 10px; align-content: center;
  border-top: 1px solid var(--line);
  opacity: .22; transition: opacity .7s var(--ease);
}
.pitem:last-child { border-bottom: 1px solid var(--line); }
.pitem.is-active { opacity: 1; }
.pitem > :not(.pitem__idx) { grid-column: 2; }
.pitem__idx { grid-row: 1 / span 3; padding-top: 1.2em; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--mute); }
.pitem.is-active .pitem__idx { color: var(--red); }
.pitem__time {
  font-weight: 900; font-size: clamp(50px, 7.6vw, 124px); line-height: .9; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pitem__time em { display: block; font-style: normal; color: var(--bg); -webkit-text-stroke: 3px var(--fg); paint-order: stroke fill; }
.pitem__title { font-weight: 800; font-size: clamp(18px, 1.9vw, 28px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; max-width: 22ch; }
.pitem__desc { color: var(--mute); max-width: 42ch; font-size: clamp(14px, 1.1vw, 17px); }

/* ---------- 02 place ---------- */
.place__city {
  font-weight: 900; font-size: clamp(56px, 14vw, 236px); line-height: .84;
  letter-spacing: -.06em; text-transform: uppercase;
}
.place__city .row { display: block; }
.place__city .row--out { padding-left: 11vw; color: var(--bg); -webkit-text-stroke: 3px var(--fg); paint-order: stroke fill; }
.place__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(60px, 8vw, 120px);
}
.place__addr { font-style: normal; display: grid; grid-template-columns: auto 1fr; gap: 14px 26px; align-items: baseline; }
.place__k { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.place__v { font-size: clamp(19px, 2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.place__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.place__brand { margin-top: clamp(50px, 7vw, 100px); display: flex; align-items: center; gap: 14px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

.radar { position: relative; justify-self: end; width: min(100%, 340px); aspect-ratio: 1; display: grid; place-items: center; }
.radar__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.radar__ring text { fill: var(--fg); font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.radar__wave {
  position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  animation: wave 3.6s cubic-bezier(.2, .6, .3, 1) infinite; opacity: 0;
}
.radar__wave:nth-of-type(2) { animation-delay: 1.2s; }
.radar__wave:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes wave { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1.05); opacity: 0; } }
.radar__cross { position: absolute; inset: 22%; }
.radar__cross::before, .radar__cross::after { content: ''; position: absolute; background: var(--line); }
.radar__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__pin {
  position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-weight: 900; font-size: 26px; letter-spacing: -.03em;
  box-shadow: 0 0 0 10px rgba(193, 18, 31, .18), 0 0 60px rgba(193, 18, 31, .55);
}

/* ---------- 03 dress ---------- */
.dress { overflow: hidden; }
.dress__title { font-weight: 900; font-size: clamp(76px, 22vw, 380px); line-height: .8; letter-spacing: -.065em; text-transform: uppercase; }
.dress__w { position: relative; display: block; width: max-content; color: var(--bg); -webkit-text-stroke: 3px #6a6a6a; paint-order: stroke fill; --p: 0%; }
.dress__w--r { margin-left: auto; }
.dress__w::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  color: var(--fg); -webkit-text-stroke: 0;
  clip-path: inset(0 calc(100% - var(--p)) 0 0);
}
.dress__lead { margin-top: clamp(40px, 5vw, 80px); max-width: 32ch; font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; line-height: 1.35; }
.swatches { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2.2vw, 34px); margin-top: clamp(50px, 6vw, 90px); }
.swatches li { display: flex; flex-direction: column; gap: 4px; }
.sw {
  display: block; aspect-ratio: 1; border-radius: 50%; margin-bottom: 16px;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .13), transparent 42%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -20px 40px rgba(0, 0, 0, .8), 0 30px 60px rgba(0, 0, 0, .8);
  transition: transform .7s var(--ease);
}
.swatches li:hover .sw { transform: translateY(-12px) scale(1.04); }
.swatches b { font-weight: 800; font-size: clamp(11px, 1.1vw, 15px); text-transform: uppercase; letter-spacing: .04em; }
.swatches code { font-family: var(--font); font-size: clamp(9px, .8vw, 11px); color: var(--mute); letter-spacing: .12em; }

/* ---------- 04 gift ---------- */
.gift__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.gift .h2 { font-size: clamp(44px, 6vw, 112px); }
.gift__lead { margin-top: 30px; font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; }
.gift__lead b { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.env-wrap { padding-top: 28%; }
.env { position: relative; width: min(100%, 540px); aspect-ratio: 1.55; margin-inline: auto; perspective: 1600px; }
.env__back { position: absolute; inset: 0; border-radius: 6px; background: #121212; box-shadow: 0 50px 90px rgba(0, 0, 0, .85); }
.env__card {
  position: absolute; left: 6%; right: 6%; top: 5%; height: 90%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 20px; border-radius: 4px; background: #efefef; color: #050505;
}
.env__card strong { font-weight: 900; font-size: clamp(36px, 4.6vw, 70px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.env__card-k { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #666; }
.env__front { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.env__front::before, .env__front::after { content: ''; position: absolute; inset: 0; border-radius: 6px; }
.env__front::before { background: linear-gradient(160deg, #1f1f1f, #161616); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env__front::after { background: linear-gradient(0deg, #1b1b1b, #222); clip-path: polygon(0 100%, 50% 48%, 100% 100%); }
.env__flap { position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 4; transform-origin: 50% 0; }
.env__flap::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.env__seal {
  position: absolute; left: 50%; top: 60%; z-index: 5; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #e0303a, #8a0b14 62%, #5a060c);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .65), inset 0 0 0 4px rgba(0, 0, 0, .16), inset 0 0 0 7px rgba(255, 255, 255, .06);
  color: rgba(0, 0, 0, .45); font-weight: 900; font-size: 20px; letter-spacing: -.04em;
}

/* ---------- 05 house ---------- */
.amen {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(50px, 7vw, 100px);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.amen__item {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1; padding: clamp(18px, 2.4vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: color .6s var(--ease);
}
.amen__item::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease);
}
.amen__item:hover { color: #050505; }
.amen__item:hover::before { transform: scaleY(1); }
.amen__num { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--mute); }
.amen__item:hover .amen__num { color: #050505; }
.amen__icon { width: clamp(52px, 6vw, 92px); height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amen__name { font-weight: 800; font-size: clamp(20px, 2.4vw, 38px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.amen__icon .steam { animation: steam 2.6s ease-in-out infinite; }
.amen__icon .steam:nth-child(2) { animation-delay: .4s; }
.amen__icon .steam:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
.amen__icon .mist { fill: currentColor; stroke: none; animation: mist 2.4s ease-in-out infinite; }
.amen__icon .mist:nth-of-type(2) { animation-delay: .5s; }
.amen__icon .mist:nth-of-type(3) { animation-delay: 1s; }
@keyframes mist { 0%, 100% { transform: translateY(4px); opacity: .1; } 50% { transform: translateY(-3px); opacity: 1; } }
.amen__icon .wave { animation: swell 2.2s ease-in-out infinite; }
.amen__icon .wave--2 { animation-delay: -1.1s; }
@keyframes swell { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
.amen__icon .bub { animation: bub 2.2s ease-in infinite; }
.amen__icon .bub:nth-of-type(2) { animation-delay: .7s; }
.amen__icon .bub:nth-of-type(3) { animation-delay: 1.3s; }
@keyframes bub { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }

.house__note {
  display: flex; align-items: center; gap: 18px; margin-top: 34px;
  font-size: clamp(16px, 1.6vw, 22px); font-weight: 600;
}
.house__note-k {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900;
}

.beds { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: center; margin-top: clamp(90px, 11vw, 170px); }
.beds__num { font-weight: 900; font-size: clamp(150px, 27vw, 440px); line-height: .76; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.beds__text b { display: block; font-weight: 900; font-size: clamp(28px, 3.6vw, 60px); line-height: .95; text-transform: uppercase; letter-spacing: -.035em; }
.beds__text p { margin-top: 18px; max-width: 36ch; color: var(--mute); font-size: clamp(15px, 1.3vw, 19px); }

.check { margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); max-width: 760px; }
.check__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.check__count { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.check__item {
  position: relative; display: flex; align-items: center; gap: 20px; padding: 22px 0;
  border-top: 1px solid var(--line); cursor: pointer;
  font-size: clamp(18px, 2vw, 28px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
}
.check__item input { position: absolute; opacity: 0; pointer-events: none; }
.check__item i {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.check__item i::after {
  content: ''; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .45s var(--ease);
}
.check__item span { position: relative; transition: color .4s; }
.check__item span::after {
  content: ''; position: absolute; left: 0; top: 52%; height: 2px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.check__item input:checked + i { background: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.check__item input:checked + i::after { transform: rotate(45deg) scale(1); }
.check__item input:checked ~ span { color: var(--mute); }
.check__item input:checked ~ span::after { transform: scaleX(1); }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 180px) var(--g) 0; border-top: 1px solid var(--line); text-align: center; }
.final__top { display: flex; flex-direction: column; align-items: center; gap: 34px; position: relative; z-index: 3; }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 2.4vw, 40px); }
.cd { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 1.5em; }
.cd__n {
  display: block; overflow: hidden; height: .92em; padding: 0 .1em; margin: 0 -.1em;
  font-weight: 900; font-size: clamp(54px, 9.5vw, 160px); line-height: .92; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.cd__n > span { display: block; }
.cd__l { font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.cd__sep { font-weight: 300; font-size: clamp(40px, 6vw, 100px); line-height: .92; color: var(--dim); }

.final__stage { position: relative; height: min(118vh, 1180px); margin-top: clamp(20px, 4vw, 60px); }
.final__img {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; height: 100%; width: auto; max-width: none;
  z-index: 1; filter: brightness(.92) contrast(1.08); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 var(--m, 0%), transparent calc(var(--m, 0%) + 18%));
          mask-image: linear-gradient(to bottom, #000 0%, #000 var(--m, 0%), transparent calc(var(--m, 0%) + 18%));
}
.final__img:not([src]) { display: none; }
.final__stage::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.final__title {
  position: absolute; z-index: 0; left: 0; right: 0; top: 12%;
  display: flex; flex-direction: column; align-items: center;
  font-weight: 900; font-size: clamp(80px, 19vw, 330px); line-height: .8; letter-spacing: -.065em; text-transform: uppercase;
  pointer-events: none;
}
.final__title span {
  display: block; padding-top: .06em;
  background: linear-gradient(180deg, #f6f6f6 0%, #cfcfcf 50%, #3a3a3a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final__actions { position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: -14vh; }
.foot {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(80px, 10vw, 140px); padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .place__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .radar { grid-column: 1 / -1; justify-self: center; width: min(80%, 320px); }
}

@media (max-width: 767px) {
  .hdr { padding: 16px var(--g); }
  .hdr__nav { display: none; }

  .hero { min-height: 560px; }
  .hero__titlewrap { top: 11%; }
  .hero__title { flex-direction: column; align-items: center; font-size: 52vw; line-height: .78; }
  .hl--dot { display: none; }
  .hero__info { bottom: calc(var(--g) + 6px); gap: 6px; }
  .hero__lead { font-size: 30px; }
  .hero__note { font-size: 13px; }
  .hero__meta { font-size: 16px; }
  .hero__info--r .tag:not(:first-child) { margin-top: 6px; }
  .hero__cue { display: none; }
  .tag { font-size: 10px; letter-spacing: .24em; }

  .program__grid { grid-template-columns: 1fr; gap: 0; }
  .program__clock {
    top: 0; z-index: 4; flex-direction: row-reverse; justify-content: space-between; gap: 16px;
    margin: 0 calc(var(--g) * -1); padding: 64px var(--g) 22px;
    background: linear-gradient(to bottom, var(--bg) 78%, rgba(5, 5, 5, 0));
  }
  .dial { width: 128px; flex: none; }
  .dial__read { align-items: flex-start; }
  .dial__time { font-size: 60px; }
  .pitem { min-height: 56vh; padding: 34px 0; }
  .pitem__time { font-size: 50px; white-space: normal; }

  .place__city { font-size: 15vw; }
  .place__city .row--out { padding-left: 0; }
  .place__grid { grid-template-columns: 1fr; }
  .place__actions { align-items: stretch; }
  .radar { grid-column: auto; width: min(78%, 300px); }

  .dress__title { font-size: 25vw; }
  .swatches { gap: 8px; }
  .swatches b { font-size: 9px; letter-spacing: 0; }
  .swatches code { font-size: 8px; letter-spacing: .02em; }
  .sw { margin-bottom: 10px; }

  .gift__grid { grid-template-columns: 1fr; }
  .env-wrap { padding-top: 34%; }

  .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beds { grid-template-columns: 1fr; gap: 10px; }
  .beds__num { font-size: 52vw; }

  .cd__l { font-size: 8px; letter-spacing: .18em; }
  .cd__sep { display: none; }
  .countdown { gap: 14px; }
  .cd__n { font-size: 15vw; }
  .final__stage { height: 96vh; height: 96svh; }
  .final__title { font-size: 25vw; top: 6%; }
  .final__img { height: 82%; }
  .gift .h2 { font-size: 12.5vw; }
  .final__actions { flex-direction: column; align-items: stretch; margin-top: -10vh; }
  .foot { flex-direction: column; align-items: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .dot, .hero__cue i::after, .radar__wave, .amen__icon * { animation: none !important; }
}
