@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-italic-latin-ext.woff") format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-italic-latin.woff") format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a0a0a;
  --paper: #fff;
  --gutter: clamp(28px, 6vw, 80px);
  --rule: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--paper); color: var(--ink); }
a { color: var(--paper); }
a:hover { color: rgba(255, 255, 255, 0.6); }

/* Header — slides in once the hero wordmark has scrolled away */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.lockup {
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lockup span { display: block; }
.site-header nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
}

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14vh var(--gutter) 8vh;
  gap: 44px;
}
.wordmark {
  margin: 0;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.015em;
  font-size: clamp(64px, 15vw, 190px);
}
.wordmark span {
  display: block;
  animation: wordmarkBreathe 4.5s ease-in-out infinite;
}
@keyframes wordmarkBreathe {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}
.hero-copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-copy p { margin: 0; }
.tagline {
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}
.lede {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
}
.button-outline {
  margin-top: 14px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.button-outline:hover { background: var(--paper); color: var(--ink); }

/* The evening */
.evening {
  padding: 130px var(--gutter) 140px;
  border-top: 1px solid var(--rule);
}
.evening .eyebrow { margin-bottom: 56px; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 48px 56px;
  max-width: 940px;
  margin: 0;
}
.facts dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.facts dd {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.evening-note {
  max-width: 560px;
  margin: 72px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

/* Registration */
.register {
  padding: 130px var(--gutter) 140px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 60px;
}
.register-intro { max-width: 600px; margin: 0 0 72px; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.register-intro p {
  margin: 0;
  font-size: 23px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.register-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 48px 56px;
  max-width: 940px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.field-wide { grid-column: 1 / -1; }
.field-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--paper); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.field select option { background: var(--ink); color: var(--paper); }
.field textarea { resize: vertical; line-height: 1.5; }
.bio-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  align-self: flex-end;
}
.bio-counter.is-over { color: rgba(255, 120, 120, 0.9); }
.form-actions {
  grid-column: 1 / -1;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.button-solid {
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 0;
  padding: 19px 38px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.button-solid:hover { opacity: 0.82; }
.form-note { font-size: 12px; line-height: 1.6; max-width: 480px; color: rgba(255, 255, 255, 0.4); }

.form-note a { color: inherit; }
.form-note a:hover { color: var(--paper); }
.form-status { font-size: 13px; line-height: 1.6; color: rgba(255, 120, 120, 0.9); }
.form-status:empty { display: none; }
.button-solid:disabled { opacity: 0.5; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.register-done { max-width: 560px; outline: none; }
.register-done p { margin: 0; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.55); }
.register-done .done-title {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--paper);
}
[hidden] { display: none !important; }

/* Closing note */
.closing {
  padding: 100px var(--gutter) 120px;
  border-top: 1px solid var(--rule);
}
.closing p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--rule);
}
.site-footer .lockup { font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.site-footer .est {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}
.site-footer .est a { color: inherit; text-decoration: none; }
.site-footer .est a:hover { color: var(--paper); }

/* Privacy page */
.page {
  max-width: calc(640px + 2 * var(--gutter));
  padding: 120px var(--gutter) 120px;
}
.page h1 {
  margin: 0 0 48px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
}
.page h2 {
  margin: 48px 0 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.page p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }
.page .back {
  display: inline-block;
  margin-bottom: 72px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark span { animation: none; }
  .site-header { transition: none; }
}

/* RSVP page */
.rsvp-details { margin: 40px 0 0; display: grid; gap: 28px; }
.rsvp-details dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.rsvp-details dd { margin: 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.rsvp-current { margin-top: 40px !important; font-size: 14px !important; color: var(--muted) !important; }
.rsvp-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 44px 0 20px; }
button.button-outline {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
button.button-outline:disabled { opacity: 0.5; cursor: default; }
