@font-face {
  font-family: "Exo 2";
  src: url("assets/Exo2-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --peach: #f3d9ca;
  --wine: #9a2128;
  --dark-wine: #92000e;
  --ink: #10100e;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--peach); color: var(--ink); font-family: "Exo 2", Arial, sans-serif; font-style: italic; font-weight: 800; }
button, input { font: inherit; }
button, a, label, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .6; }
.invitation { width: 100%; max-width: 600px; margin-inline: auto; overflow: clip; container-type: inline-size; background: var(--peach); }
.artwork { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.event-details { display: grid; grid-template-columns: 1fr 1.06fr; margin: 0 3.8cqw; border: .72cqw solid var(--wine); }
.detail { padding: 4cqw 4.3cqw; text-transform: uppercase; }
.detail-label { display: block; font-size: 3.25cqw; line-height: 1.2; }
.venue { grid-column: 1 / -1; border-bottom: .72cqw solid var(--wine); padding-top: 3.8cqw; padding-bottom: 3.8cqw; }
.venue h2, .detail time { display: block; color: var(--wine); font-weight: 900; font-size: 5.45cqw; line-height: 1.15; letter-spacing: -.035em; }
.venue p { font-size: 3.1cqw; line-height: 1.35; }
.venue h2 { width: max-content; max-width: 100%; transform: scaleX(1.08); transform-origin: left center; }
.date { border-right: .72cqw solid var(--wine); }
.date, .arrival { padding-top: 4.4cqw; padding-bottom: 4.4cqw; }
.arrival { padding-left: 6cqw; }

.story { padding: 8.5cqw 5cqw 3.5cqw; background: url("assets/story-lights-strip.png") center / 100% 100%; text-align: center; text-transform: uppercase; font-size: max(14px, 3.9cqw); line-height: 1.45; letter-spacing: -.018em; }
.story p { transform: scaleX(1.07); }
.story strong { color: var(--wine); font-weight: 800; }
.story p + p { margin-top: 4.7cqw; }

.dress-heading { text-align: center; text-transform: uppercase; padding: 3.5cqw 1cqw 3cqw; }
.dress-heading h2 { color: var(--dark-wine); font-size: 10.7cqw; line-height: 1.02; font-weight: 900; letter-spacing: -.035em; transform: scaleX(1.22); }
.dress-heading p { margin-top: 1.5cqw; font-size: 4.1cqw; line-height: 1.1; }
.outfit-copy { margin-inline: 6.9cqw; height: 26.0465cqw; border: 1.4cqw solid var(--wine); border-bottom: 0; padding: 3.8cqw 5cqw 0; text-transform: uppercase; }
.outfit h3 { color: var(--wine); font-size: 4.5cqw; line-height: 1.25; }
.outfit p { margin-top: .7cqw; font-size: 3.25cqw; line-height: 1.4; }
.women { position: relative; overflow: hidden; aspect-ratio: 860 / 1124; background: url("assets/women-background.jpg") center -.232558cqw / 100% auto no-repeat; }
.women::before { content: ""; box-sizing: border-box; position: absolute; top: 0; left: 6.9cqw; right: 6.9cqw; height: 111.976744cqw; border: 1.4cqw solid var(--wine); }
.women-models { position: absolute; z-index: 2; left: 0; top: 37.209302cqw; display: block; width: 100%; height: auto; }
.men { background: url("assets/men-full-strip.png") center top / 100% 100%; }
.women .outfit-copy { position: relative; z-index: 1; height: auto; padding: 5.2cqw 6.4cqw 0; border: 0; background: none; }
.men .outfit-copy { background: url("assets/men-copy-strip.png") center / 100% 100%; }
.men .outfit-copy { height: 24.186cqw; }

.rsvp { padding: 3.4cqw 9.3cqw 0; background: #f5dbcc; }
.rsvp h2 { text-transform: uppercase; font-size: 7cqw; line-height: 1.13; letter-spacing: -.025em; font-weight: 800; margin-bottom: 6.7cqw; }
.rsvp h2 { transform: scaleX(1.1); transform-origin: left center; }
.attendance-options { margin: 0 0 6cqw; padding: 0; border: 0; display: grid; gap: 3.2cqw; }
.option { display: flex; align-items: center; gap: 3.4cqw; min-height: max(44px, 12.7cqw); padding: 2.5cqw 3.2cqw; border: .7cqw solid var(--wine); font-size: max(13px, 3.65cqw); line-height: 1.15; text-transform: uppercase; cursor: pointer; }
.option:has(input:checked) { background: var(--wine); color: #fff7f0; }
.option input { appearance: none; -webkit-appearance: none; margin: 0; width: 4.1cqw; height: 4.1cqw; flex-shrink: 0; border: .65cqw solid var(--wine); border-radius: 0; background: transparent; cursor: pointer; }
.option input:checked { border-color: #f5d9c8; background: #fff; }
.names-field { margin-bottom: 6cqw; }
.names-field label { display: block; margin-bottom: 2.2cqw; font-size: max(14px, 3.8cqw); line-height: 1.3; }
.names-field input { display: block; width: 100%; min-height: 48px; height: 12.7cqw; padding: 2cqw 3.2cqw; border: .7cqw solid var(--wine); border-radius: 0; color: var(--ink); background: transparent; font-size: max(16px, 4.1cqw); font-weight: 700; }
.names-field input::placeholder { color: #62564e; opacity: 1; }
.names-field input[aria-invalid="true"] { border-color: #79000b; }
.field-error { margin-top: 2cqw; color: #79000b; font-size: max(14px, 3.2cqw); line-height: 1.4; }
.form-status { font-size: max(14px, 3.2cqw); line-height: 1.4; margin-top: 2cqw; }
.submit-button { display: block; width: 100%; min-height: 17cqw; border: 0; background: var(--wine); color: #fff7f0; font-size: 3.8cqw; font-weight: 900; text-transform: uppercase; padding: 3cqw; }
.submit-button:active { background: var(--dark-wine); }
.contact { padding-top: 8.5cqw; text-align: center; text-transform: uppercase; background: #f5dbcc; }
.contact p { font-size: 4.1cqw; line-height: 1.15; }
.contact a { display: inline-block; color: var(--dark-wine); text-decoration: none; font-size: 6.6cqw; font-weight: 900; line-height: 1.2; letter-spacing: -.055em; margin-top: 3.2cqw; }
.contact a { transform: scaleX(1.14); }
.contact .organizer-name { margin-top: 1.4cqw; color: var(--dark-wine); font-size: 4.1cqw; text-transform: none; }
.footer-art { margin-top: 1cqw; }

[data-motion-art] { position: relative; isolation: isolate; }
.hero { position: relative; overflow: hidden; aspect-ratio: 860 / 1215; }
.hero-background { position: absolute; left: 0; top: 0; display: block; width: 100%; height: auto; }
.hero-replacement-logo, .hero-corner-flag, .hero-hanging-ornament, .hero-event-lettering { position: absolute; display: block; height: auto; }
.hero-replacement-logo { left: 28.72093%; top: 17.695473%; width: 45.116279%; }
.hero-corner-flag { left: 56.627907%; top: 0; width: 43.372093%; }
.hero-hanging-ornament { left: 2.325581%; top: 0; width: 24.069767%; }
.hero-event-lettering { left: 14.605418%; top: 39.267695%; width: 70.671378%; }
.hero-layers { position: absolute; inset: 0; pointer-events: none; }
.hero-layers img { display: block; width: 100%; height: auto; }
.hero-logo, .hero-ornament, .hero-flag { position: absolute; }
.hero-logo { left: 32.093023%; top: 16.131687%; width: 38.604651%; aspect-ratio: 332 / 154; }
.hero-ornament { left: 2.325581%; top: 0; width: 24.069767%; aspect-ratio: 207 / 291; transform-origin: 42.028986% 0; animation: ornament-sway 6.8s ease-in-out -1.7s infinite; animation-play-state: paused; }
.hero-flag { left: 56.627907%; top: 0; width: 43.372093%; aspect-ratio: 373 / 365; }
.flag-canvas { position: absolute; display: block; pointer-events: none; }
.flag-rendering > img { visibility: hidden; }
.logo-shine { position: absolute; inset: 0; mask: url("assets/logo.png") center / contain no-repeat; -webkit-mask: url("assets/logo.png") center / contain no-repeat; background: linear-gradient(110deg, transparent 42%, rgb(255 252 225 / 90%) 50%, transparent 58%) 180% 0 / 250% 100% no-repeat; mix-blend-mode: screen; animation: logo-glint 8.4s ease-in-out infinite; animation-play-state: paused; opacity: 0; }
.hero[data-motion-state="running"] .hero-ornament, .hero[data-motion-state="running"] .logo-shine { animation-play-state: running; }
@keyframes ornament-sway { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
@keyframes logo-glint { 0%, 12% { background-position: 180% 0; opacity: 0; } 14% { opacity: .72; } 28% { background-position: -80% 0; opacity: .72; } 30%, 100% { background-position: -80% 0; opacity: 0; } }
.motion-art--footer { margin-top: 1cqw; }
.motion-art--footer .footer-art { margin: 0; }
.motion-toggle { position: fixed; z-index: 20; right: max(12px, calc((100vw - 600px) / 2 + 12px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 10px 12px; border: 1px solid var(--wine); border-radius: 0; color: var(--wine); background: rgb(245 219 204 / 94%); font-size: 12px; line-height: 1.2; min-height: 38px; }
.motion-toggle:hover { background: #f7e5d9; }
[data-reveal].reveal-pending { opacity: 0; translate: 0 16px; transition: opacity 650ms ease, translate 650ms cubic-bezier(.2, .7, .2, 1); }
[data-reveal].reveal-pending.is-revealed { opacity: 1; translate: 0 0; }
@media print {
  [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .flag-canvas { display: none; }
  .flag-rendering > img { visibility: visible; }
  .hero-ornament, .logo-shine { animation: none; }
  .hero-ornament { transform: none; }
  .motion-toggle { display: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
}

.response-dialog { width: min(90vw, 440px); padding: 0; border: 3px solid var(--wine); background: var(--peach); color: var(--ink); }
.response-dialog::backdrop { background: rgb(20 8 5 / 65%); }
.dialog-content { padding: 26px; }
.dialog-eyebrow { color: var(--wine); font-size: 13px; }
.response-dialog h2 { color: var(--wine); font-size: 30px; margin: 10px 0 18px; text-transform: uppercase; }
.response-dialog p { line-height: 1.45; }
.response-note { font-size: 14px; margin-top: 18px; font-weight: 600; }
.dialog-close { width: 100%; border: 0; padding: 17px 10px; margin-top: 24px; color: white; background: var(--wine); font-size: 16px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { button, .option { transition: background-color .15s ease, color .15s ease; } }
