:root {
  --cream: #fff8eb;
  --paper: #fffdf7;
  --ink: #202015;
  --red: #a92822;
  --blue: #174c91;
  --apricot: #f2a45f;
  --gold: #d99529;
  --line: rgba(32, 32, 21, 0.2);
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.awaiting-entry { overflow: hidden; }
body.modal-open { overflow: hidden; }
.audio-entry { position: fixed; z-index: 40; inset: 0; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; transition: opacity .65s ease, visibility .65s; }
.audio-entry::before, .audio-entry::after { content: ""; position: absolute; width: min(34vw, 470px); aspect-ratio: 1; border: 1px solid rgba(169,40,34,.18); transform: rotate(45deg); }
.audio-entry::before { left: -20vw; top: -18vw; }
.audio-entry::after { right: -20vw; bottom: -18vw; border-color: rgba(23,76,145,.2); }
.audio-entry.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.audio-entry > p { font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.audio-entry h1 { max-width: 720px; margin: 22px 0 46px; font: 400 clamp(54px, 7vw, 108px)/.92 var(--display); letter-spacing: -.04em; }
.entry-ornament { color: var(--red); font-size: 35px; animation: entry-turn 8s linear infinite; }
.entry-primary { width: min(390px, 88vw); border: 0; padding: 20px 23px; background: var(--blue); color: white; display: flex; justify-content: space-between; font: 600 12px var(--sans); cursor: pointer; transition: transform .2s, background .2s; }
.entry-primary:hover { transform: translateY(-2px); background: var(--red); }
@keyframes entry-turn { to { transform: rotate(360deg); } }
html[lang="hy"] body, html[lang="hy"] button, html[lang="hy"] input, html[lang="hy"] select, html[lang="hy"] textarea { font-family: "Noto Sans Armenian", var(--sans); }
html[lang="hy"] h1, html[lang="hy"] h2, html[lang="hy"] h3, html[lang="hy"] .letter-heading p:last-child, html[lang="hy"] .cinematic-copy strong { font-family: "Noto Sans Armenian", var(--display); }
a { color: inherit; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.music-toggle { position: fixed; z-index: 18; right: 22px; bottom: 22px; min-width: 118px; height: 44px; padding: 0 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; background: rgba(25,22,17,.88); color: white; backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; gap: 11px; font: 600 10px var(--sans); text-transform: uppercase; letter-spacing: .12em; cursor: pointer; box-shadow: 0 8px 24px rgba(23,16,9,.16); }
.music-toggle:hover { background: var(--red); }
.music-bars { height: 15px; display: flex; align-items: center; gap: 2px; }
.music-bars i { display: block; width: 2px; height: 5px; border-radius: 3px; background: #f5c785; transform-origin: center; }
.music-toggle.is-playing .music-bars i { animation: music-bar .8s ease-in-out infinite alternate; }
.music-toggle.is-playing .music-bars i:nth-child(2) { animation-delay: -.45s; }
.music-toggle.is-playing .music-bars i:nth-child(3) { animation-delay: -.22s; }
.music-toggle[aria-pressed="false"] .music-bars i { height: 2px; animation: none; }
@keyframes music-bar { 0% { height: 4px; } 55% { height: 15px; } 100% { height: 8px; } }

.result-modal[hidden] { display: none; }
.result-modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; }
.result-modal.is-visible { opacity: 1; visibility: visible; }
.result-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 11, .72); backdrop-filter: blur(10px); }
.result-modal__card { position: relative; width: min(620px, 100%); min-height: 470px; padding: clamp(42px, 7vw, 78px); background: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 35px 100px rgba(15, 10, 5, .35); transform: translateY(24px) scale(.97); transition: transform .28s ease; overflow: hidden; }
.result-modal.is-visible .result-modal__card { transform: none; }
.result-modal__card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(32,32,21,.13); pointer-events: none; }
.result-modal__icon { width: 94px; height: 94px; margin-bottom: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: white; }
.result-modal__icon span::before { content: "✓"; font: 48px/1 var(--sans); }
.result-modal.is-error .result-modal__icon { background: var(--red); }
.result-modal.is-error .result-modal__icon span::before { content: "!"; }
.result-modal__card .eyebrow { margin: 0 0 18px; color: var(--red); }
.result-modal__card h2 { margin: 0; font-size: clamp(48px, 7vw, 78px); line-height: .98; }
.result-modal__card > p:not(.eyebrow) { max-width: 430px; margin: 24px 0 34px; font-size: 17px; line-height: 1.65; }
.result-modal__card button { width: min(320px, 100%); border: 0; padding: 18px 22px; background: var(--ink); color: white; display: flex; justify-content: space-between; font: 600 13px var(--sans); cursor: pointer; }
.result-modal__card button:hover { background: var(--red); }

.nav {
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(32,32,21,.12);
}
.nav a { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.monogram { font-family: var(--display); font-size: 28px; }
.nav-rsvp { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.language-picker { display: flex; gap: 3px; padding: 3px; border: 1px solid rgba(32,32,21,.18); border-radius: 30px; backdrop-filter: blur(12px); background: rgba(255,248,235,.5); }
.language-picker button { width: 34px; height: 28px; border: 0; border-radius: 18px; background: transparent; color: var(--ink); font: 600 10px "Noto Sans Armenian", var(--sans); letter-spacing: .08em; cursor: pointer; }
.language-picker button[aria-pressed="true"] { color: white; background: var(--blue); }

.portrait-scroll { height: 210vh; position: relative; background: var(--paper); }
.portrait-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.portrait-sticky::before { content: "30"; position: absolute; left: -1vw; bottom: -9vw; color: var(--apricot); opacity: .12; font: 400 min(32vw, 440px)/1 var(--display); }
.portrait-frame { position: absolute; z-index: 2; top: 8vh; right: 4vw; width: 58vw; height: 84vh; overflow: hidden; border-radius: 2px; transform-origin: 64% 50%; will-change: width, height, top, right, transform; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transform: scale(1.015); }
.portrait-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,8,.34), transparent 38%), linear-gradient(0deg, rgba(15,12,8,.32), transparent 44%); opacity: 0; will-change: opacity; }
.portrait-copy { position: absolute; z-index: 4; left: 6vw; top: 31vh; will-change: transform, opacity; }
.portrait-copy h1 { margin: 20px 0 24px; font: 400 clamp(76px, 9vw, 145px)/.82 var(--display); letter-spacing: -.045em; }
.portrait-copy h1 em { color: var(--red); font-weight: 400; }
.portrait-copy > p:last-child { margin: 0; font-size: 15px; letter-spacing: .03em; }
.portrait-date { position: absolute; z-index: 4; right: 7vw; bottom: 11vh; color: white; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.portrait-date span { color: #f5c785; padding: 0 10px; }
.portrait-scroll-cue { position: absolute; z-index: 4; left: 6vw; bottom: 7vh; display: flex; align-items: center; gap: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.portrait-scroll-cue i { display: block; width: 48px; height: 1px; background: var(--ink); position: relative; }
.portrait-scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--portrait-progress, 0)); transform-origin: left; }

.letter-scroll { height: 320vh; background: #f1a25c; position: relative; }
.letter-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1400px; }
.letter-sticky::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#a92822 1.2px, transparent 1.2px); background-size: 23px 23px; }
.letter-heading { position: absolute; left: 5vw; top: 18vh; z-index: 2; }
.letter-heading p:last-child { font: 400 clamp(38px, 4.4vw, 68px)/1 var(--display); max-width: 420px; margin: 25px 0; }
.envelope { width: min(600px, 78vw); aspect-ratio: 1.62; position: relative; transform-style: preserve-3d; transform: translateY(10vh) scale(.82) rotate(-2deg); filter: drop-shadow(0 35px 35px rgba(74,33,9,.22)); z-index: 3; will-change: transform, opacity; }
.envelope-back { position: absolute; inset: 0; border-radius: 5px; background: #f5e6c8; }
.envelope-front { position: absolute; z-index: 4; inset: 0; background: linear-gradient(145deg, transparent 49.5%, #e7cfaa 50%) left / 50.2% 100% no-repeat, linear-gradient(215deg, transparent 49.5%, #edd9b9 50%) right / 50.2% 100% no-repeat, linear-gradient(35deg, #f4e2c4 49.5%, transparent 50%) bottom / 100% 62% no-repeat; pointer-events: none; }
.envelope-flap { position: absolute; z-index: 5; inset: 0; background: #ead3ae; clip-path: polygon(0 0, 100% 0, 50% 60%); transform-origin: top; transform: rotateX(0deg); backface-visibility: hidden; will-change: transform; }
.letter-paper { position: absolute; z-index: 2; left: 6%; right: 6%; top: 8%; height: 90%; border-radius: 4px; background: var(--paper); border: 1px solid rgba(77,50,25,.13); transform: translateY(15%); display: flex; justify-content: space-between; align-items: start; padding: 35px; font: 18px var(--display); color: var(--red); will-change: transform; }
.letter-heart { font-size: 25px; }
.wax-seal { position: absolute; z-index: 7; left: 50%; top: 43%; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); color: #f5c785; display: grid; place-items: center; font: 23px var(--display); border: 3px double #d36a50; box-shadow: 0 4px 8px rgba(75,15,7,.25); will-change: transform, opacity; }
.open-letter { position: absolute; z-index: 8; top: 8vh; left: 50%; width: min(720px, 86vw); padding: clamp(34px, 5vw, 76px); background: var(--paper); box-shadow: 0 38px 80px rgba(80,35,8,.28); transform: translate(-50%, 80vh) rotate(1.5deg) scale(.8); opacity: 0; will-change: transform, opacity; }
.open-letter::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(169,40,34,.18); pointer-events: none; }
.open-letter h1 { font: 400 clamp(42px, 5vw, 72px)/1.02 var(--display); letter-spacing: -.035em; color: var(--red); margin: 20px 0 35px; }
.open-letter h1 span { white-space: nowrap; }
.open-letter > p:not(.eyebrow):not(.letter-signature) { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.75; }
.letter-signature { margin: 28px 0 0; font: italic 34px var(--display); color: var(--blue); }
.letter-progress { position: absolute; right: 2.2vw; top: 18vh; bottom: 18vh; width: 1px; background: rgba(32,32,21,.18); }
.letter-progress i { display: block; width: 3px; height: 100%; background: var(--red); transform: scaleY(var(--letter-progress, 0)); transform-origin: top; }
.motion-note { display: none; }

.hero {
  height: 260vh;
  position: relative;
  background: var(--cream);
}
.hero-sticky {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.hero-sticky::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--red) 0 18px, transparent 18px 28px, var(--blue) 28px 46px, transparent 46px 56px);
  clip-path: polygon(0 100%, 9px 0, 18px 100%, 28px 0, 38px 100%, 47px 0, 56px 100%, 100% 100%);
}
.hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  z-index: 2;
  padding: 19vh 5vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}
.eyebrow, .section-mark {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 600;
}
.hero h1, h2, .venue h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: .91;
}
.hero h1 { font-size: clamp(74px, 9vw, 150px); letter-spacing: -.045em; }
.hero h1 em { color: var(--red); font-weight: 400; }
.hero-intro { max-width: 390px; margin: 35px 0 28px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
.text-link { display: inline-flex; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid; text-decoration: none; font-size: 13px; font-weight: 600; }
.hero-art {
  height: 100%;
  width: 62%;
  position: absolute;
  inset: 0 0 0 auto;
  background: url('/assets/birthday-still-life.png') center / cover no-repeat;
  transform-origin: 77% 52%;
  will-change: width, transform, filter;
}
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream), transparent 24%); }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,11,5,.03), rgba(15,11,5,.25));
  opacity: var(--image-darken, 0);
  transition: opacity .1s linear;
}
.hero-glow {
  position: absolute;
  z-index: 2;
  width: 45vw;
  aspect-ratio: 1;
  right: -8vw;
  top: -20vw;
  border-radius: 50%;
  background: rgba(255, 220, 139, .5);
  filter: blur(80px);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.date-seal {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  top: 16%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-content: center;
  justify-items: center;
  box-shadow: 0 8px 30px rgba(23, 76, 145, .24);
  transform: rotate(8deg);
}
.date-seal span { font-size: 9px; letter-spacing: .18em; }
.date-seal strong { font-family: var(--display); font-size: 40px; line-height: .9; }
.armenian-note { position: absolute; left: 5vw; bottom: 32px; font-size: 11px; letter-spacing: .12em; }
.armenian-note span { color: var(--blue); font-size: 15px; font-weight: 600; }
.cinematic-copy {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  align-content: center;
  justify-content: center;
  grid-template-columns: auto auto;
  column-gap: .24em;
  color: white;
  text-shadow: 0 3px 30px rgba(31, 14, 5, .35);
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  will-change: opacity, transform;
}
.cinematic-copy span { align-self: end; padding-bottom: .7em; font-size: clamp(10px, 1vw, 14px); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.cinematic-copy strong { font: 400 clamp(70px, 10vw, 160px)/.78 var(--display); letter-spacing: -.04em; }
.cinematic-copy span:nth-of-type(2) { grid-column: 1; text-align: right; }
.cinematic-copy strong:nth-of-type(2) { color: #ffca7d; }
.hero-progress {
  position: absolute;
  z-index: 7;
  right: 28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  mix-blend-mode: difference;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.hero-progress i { display: block; width: 46px; height: 1px; background: rgba(255,255,255,.35); position: relative; }
.hero-progress i::after { content: ""; position: absolute; inset: 0; background: white; transform: scaleX(var(--hero-progress, 0)); transform-origin: left; }

.intro {
  padding: 140px 6vw;
  display: grid;
  grid-template-columns: .45fr 1.2fr .6fr;
  gap: 4vw;
  align-items: start;
  background: var(--paper);
}
.section-mark { color: var(--red); margin: 0; }
.intro h2, .video-copy h2, .event-heading h2, .rsvp h2 { font-size: clamp(54px, 6.5vw, 108px); letter-spacing: -.04em; }
.intro-copy { font-size: 17px; line-height: 1.75; margin: 46px 0 0; }

.video-scroll { height: 350vh; background: #100b08; color: var(--paper); position: relative; }
.video-sticky { height: 100svh; position: sticky; top: 0; overflow: hidden; background: #100b08; }
.video-sticky video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-loader { position: absolute; z-index: 5; left: 50%; top: 50%; min-width: 190px; padding: 18px 22px; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; color: white; background: rgba(16,11,8,.76); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); transition: opacity .25s; }
.video-loader i { flex: 0 0 auto; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,.28); border-top-color: #f5c785; border-radius: 50%; animation: video-loading .8s linear infinite; }
.video-loader p { margin: 0; font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .12em; }
.video-loader strong { display: block; margin-top: 2px; color: #f5c785; font-size: 12px; font-variant-numeric: tabular-nums; }
.video-ready .video-loader { opacity: 0; pointer-events: none; }
.video-failed .video-loader { display: none; }
@keyframes video-loading { to { transform: rotate(360deg); } }
.video-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,7,4,.64), transparent 52%), linear-gradient(0deg, rgba(10,7,4,.5), transparent 40%); pointer-events: none; }
.video-copy { position: absolute; left: 6vw; top: 13vh; z-index: 3; text-shadow: 0 4px 32px rgba(0,0,0,.35); }
.video-copy .eyebrow { color: #f5c785; }
.video-copy h2 { font-family: var(--display); font-weight: 400; line-height: .91; margin: 18px 0 0; }
.video-caption { position: absolute; z-index: 3; right: 6vw; bottom: 8vh; max-width: 300px; line-height: 1.65; font-size: 13px; opacity: .8; }
.video-progress { position: absolute; z-index: 4; left: 6vw; bottom: 8vh; display: flex; align-items: center; gap: 13px; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.video-progress i { display: block; width: min(260px, 38vw); height: 2px; background: rgba(255,255,255,.28); position: relative; }
.video-progress i::after { content: ""; position: absolute; inset: 0; background: #f5c785; transform: scaleX(var(--video-progress, 0)); transform-origin: left; }

.event-card { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 80vh; }
.event-heading { padding: 11vw 6vw; background: var(--apricot); }
.event-heading h2 { margin: 14vh 0 35px; }
.time { text-transform: uppercase; letter-spacing: .12em; line-height: 1.8; font-size: 12px; }
.time span { opacity: .6; }
.countdown { margin-top: 65px; padding-top: 24px; border-top: 1px solid rgba(32,32,21,.25); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.countdown div { display: grid; gap: 8px; }
.countdown strong { font: 400 clamp(30px, 4vw, 60px)/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; opacity: .62; }
.venue { background: var(--red); color: white; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 9vw; overflow: hidden; }
.venue-number { position: absolute; right: -10px; top: -40px; font-family: var(--display); font-size: 280px; opacity: .08; }
.venue h3 { font-size: clamp(70px, 9vw, 135px); margin: 20px 0 35px; }
.venue > p:not(.eyebrow) { line-height: 1.7; }
.venue-note { max-width: 360px; opacity: .75; margin: 30px 0; }
.map-wrap { width: min(100%, 520px); height: 210px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); margin-top: 12px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8) contrast(.95); }
.text-link.light { margin-top: 20px; align-self: flex-start; }

.rsvp { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding: 140px 7vw; background: var(--paper); }
.rsvp-copy { position: relative; }
.rsvp-copy .eyebrow { margin-top: 80px; }
.rsvp h2 { margin: 20px 0 30px; color: var(--blue); }
.rsvp-copy > p:last-of-type { max-width: 350px; line-height: 1.6; }
.pomegranate { color: var(--red); font-size: 130px; margin-top: 50px; }
.rsvp-form { display: grid; gap: 32px; align-content: start; padding-top: 50px; }
.rsvp-form label > span, legend { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 11px; }
input, select, textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); padding: 11px 0 15px; font: 18px var(--sans); outline: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; gap: 12px; flex-wrap: wrap; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; }
.choice span { display: block !important; margin: 0 !important; padding: 13px 18px; border: 1px solid var(--line); border-radius: 40px; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: white; }
.choice input:focus-visible + span { outline: 3px solid rgba(23,76,145,.25); outline-offset: 3px; }
.honeypot { position: absolute; left: -9999px; }
.privacy { font-size: 12px; opacity: .55; margin: -14px 0 0; }
.rsvp-form button { width: 100%; border: 0; padding: 20px 24px; background: var(--ink); color: white; font: 600 14px var(--sans); cursor: pointer; display: flex; justify-content: space-between; transition: background .2s, transform .2s; }
.rsvp-form button:hover { background: var(--red); transform: translateY(-2px); }
.rsvp-form button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-status { margin: -16px 0 0; min-height: 24px; font-size: 14px; }
.form-status.success { color: #276b3b; }
.form-status.error { color: var(--red); }
#people-field.is-hidden { display: none; }

footer { min-height: 180px; padding: 50px 6vw; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
footer a { text-decoration: none; }

@media (max-width: 800px) {
  .nav { padding: 0 18px; }
  .nav nav { display: none; }
  .music-toggle { right: 14px; bottom: 14px; min-width: 106px; height: 40px; padding: 0 14px; }
  .portrait-scroll { height: 190vh; }
  .portrait-frame { top: 42vh; right: 6vw; width: 88vw; height: 51vh; }
  .portrait-frame img { object-position: 61% center; }
  .portrait-copy { left: 7vw; top: 17vh; }
  .portrait-copy h1 { font-size: clamp(66px, 20vw, 92px); }
  .portrait-date { right: 9vw; bottom: 9vh; }
  .portrait-scroll-cue { left: 7vw; bottom: 3vh; }
  .letter-scroll { height: 380vh; }
  .letter-heading { left: 7vw; top: 16vh; }
  .letter-heading p:last-child { font-size: 42px; max-width: 300px; }
  .envelope { width: 88vw; margin-top: 20vh; }
  .letter-paper { padding: 20px; }
  .wax-seal { width: 52px; height: 52px; }
  .open-letter { top: 6vh; width: 90vw; padding: 40px 32px; }
  .open-letter h1 { font-size: 44px; }
  .letter-progress { right: 10px; }
  .hero { height: 210vh; }
  .hero-sticky { padding-top: 88px; }
  .hero-copy { inset: 88px 0 auto; width: 100%; height: 53%; padding: 5vh 7vw 3vh; justify-content: center; }
  .hero-art { top: 0; height: 100%; width: 100%; background-position: 68% center; transform-origin: 74% 60%; clip-path: inset(48% 0 0); }
  .hero-art::before { background: linear-gradient(180deg, var(--cream), transparent 26%); }
  .date-seal { width: 86px; height: 86px; top: 10%; }
  .hero-glow { display: none; }
  .armenian-note { display: none; }
  .cinematic-copy { grid-template-columns: auto; justify-content: start; padding-left: 7vw; }
  .cinematic-copy span, .cinematic-copy span:nth-of-type(2) { grid-column: 1; text-align: left; padding: 0 0 5px; }
  .cinematic-copy strong { grid-column: 1; font-size: clamp(68px, 24vw, 105px); }
  .hero-progress { bottom: 22px; right: 18px; }
  .intro { grid-template-columns: 1fr; padding: 64px 6vw 80px; }
  .intro h2 { margin-top: 34px; }
  .intro-copy { max-width: 480px; margin-top: 15px; }
  .video-scroll { height: 300vh; }
  .video-copy { top: 10vh; }
  .video-copy h2 { font-size: clamp(48px, 14vw, 74px); }
  .video-caption { bottom: 4vh; left: 6vw; right: auto; }
  .video-progress { bottom: 12vh; }
  .event-card, .rsvp { grid-template-columns: 1fr; }
  .event-heading { min-height: 620px; }
  .countdown { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .venue { min-height: 650px; padding: 16vw 8vw; }
  .rsvp { padding: 90px 7vw; gap: 30px; }
  .rsvp-form { padding-top: 10px; }
  .pomegranate { display: none; }
  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (max-width: 600px) {
  .grain { display: none; }
  .audio-entry { padding: 24px; }
  .audio-entry h1 { margin: 18px 0 34px; font-size: clamp(46px, 15vw, 68px); }
  .nav { height: 72px; }
  .language-picker button { width: 30px; height: 27px; }
  .portrait-copy { top: 14vh; }
  .portrait-copy h1 { margin: 14px 0 18px; font-size: clamp(58px, 19vw, 80px); }
  .portrait-frame { top: 40vh; height: 54vh; }
  .portrait-date { bottom: 7vh; font-size: 9px; }
  .portrait-scroll-cue { bottom: 2.5vh; }
  .letter-heading { top: 12vh; }
  .letter-heading p:last-child { font-size: clamp(34px, 11vw, 42px); }
  .open-letter { top: 3vh; width: 92vw; padding: 34px 26px; }
  .open-letter::after { inset: 10px; }
  .open-letter h1 { margin: 14px 0 24px; font-size: clamp(36px, 11vw, 44px); }
  .open-letter > p:not(.eyebrow):not(.letter-signature) { font-size: 14px; line-height: 1.58; }
  .hero-sticky { padding-top: 72px; }
  .hero-copy { inset: 72px 0 auto; padding: 3vh 7vw 2vh; }
  .hero h1 { font-size: clamp(58px, 18vw, 78px); }
  .hero-intro { margin: 22px 0 18px; font-size: 15px; }
  .cinematic-copy strong { font-size: clamp(56px, 20vw, 86px); }
  .intro { padding: 54px 7vw 68px; gap: 0; }
  .intro h2 { margin-top: 28px; font-size: clamp(44px, 14vw, 62px); }
  .video-copy { left: 7vw; right: 7vw; }
  .video-caption { left: 7vw; right: 7vw; max-width: none; }
  .video-progress { left: 7vw; }
  .event-heading { min-height: auto; padding: 78px 7vw; }
  .event-heading h2 { margin: 70px 0 28px; font-size: clamp(48px, 15vw, 68px); }
  .countdown { margin-top: 46px; }
  .venue { min-height: auto; padding: 84px 7vw; }
  .venue h3 { font-size: clamp(64px, 20vw, 88px); }
  .map-wrap { height: 190px; }
  .rsvp { padding: 76px 7vw; }
  .rsvp-copy .eyebrow { margin-top: 50px; }
  .rsvp h2 { font-size: clamp(48px, 15vw, 66px); }
  .choice-row { display: grid; grid-template-columns: 1fr; }
  .choice span { text-align: center; padding: 15px 16px; }
  input, select, textarea { font-size: 16px; }
  footer { min-height: 220px; padding: 44px 7vw; }
  .result-modal { padding: 14px; }
  .result-modal__card { min-height: min(500px, calc(100svh - 28px)); padding: 38px 26px; }
  .result-modal__icon { width: 78px; height: 78px; margin-bottom: 24px; }
  .result-modal__icon span::before { font-size: 40px; }
  .result-modal__card h2 { font-size: clamp(42px, 13vw, 58px); }
  .result-modal__card > p:not(.eyebrow) { margin: 20px 0 28px; font-size: 15px; }
}

@media (max-height: 680px) and (max-width: 600px) {
  .portrait-copy { top: 12vh; }
  .open-letter { top: 2vh; padding-top: 28px; padding-bottom: 28px; }
  .open-letter > p:not(.eyebrow):not(.letter-signature) { margin: 10px 0; font-size: 13px; line-height: 1.45; }
  .open-letter h1 { font-size: 34px; margin-bottom: 18px; }
  .result-modal__card { min-height: calc(100svh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-scroll { height: 100svh; }
  .portrait-scroll-cue { display: none; }
  .letter-scroll { height: auto; padding: 60px 0; }
  .letter-sticky { position: relative; height: auto; overflow: visible; display: block; }
  .letter-heading, .envelope, .letter-progress { display: none; }
  .open-letter { position: relative; top: auto; left: auto; margin: 0 auto; opacity: 1 !important; transform: none !important; }
  .hero { height: 100svh; }
  .hero-progress, .cinematic-copy { display: none; }
  .video-scroll { height: 100svh; }
  .video-sticky video { object-fit: cover; }
  .video-loader { display: none; }
  .video-loader i { animation: none; }
  .music-toggle.is-playing .music-bars i { animation: none; height: 8px; }
  .entry-ornament { animation: none; }
  .motion-note { display: block; position: absolute; z-index: 12; left: 50%; bottom: 18px; width: min(90vw, 620px); transform: translateX(-50%); text-align: center; font-size: 11px; line-height: 1.5; }
}
