@font-face {
  font-family: Roboto;
  src: url('/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/roboto-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #08080a;
  --ink: #fff;
  --muted: #bbb9c0;
  --yellow: #ffda00;
  --rule: #ffffff26;
  --gutter: clamp(1.35rem, 5vw, 5rem);
  font-family: 'Basier Circle', Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-weight: 700; line-height: .96; letter-spacing: -.055em; }
em { color: var(--yellow); font-style: normal; }
.shell { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }
.section-pad { padding-block: clamp(5.5rem, 11vw, 10.5rem); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: max(42rem, 100svh);
  background: #050507;
}
.hero-light, .event-light {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.hero-light {
  background:
    linear-gradient(180deg, #050507 0%, #0505074a 27%, #05050700 70%, #08080a 100%),
    radial-gradient(ellipse at 50% 40%, #050507b3, #05050700 72%),
    url('/light.webp') center 77% / cover no-repeat;
  animation: light-drift 13s ease-in-out infinite alternate;
}
@keyframes light-drift { from { opacity: .77; } to { opacity: .98; } }
.hero-top {
  position: absolute;
  top: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: .875rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
}
.hero-top-dash { color: var(--yellow); margin-inline: .33rem; }
.hero-content {
  width: min(100% - 2rem, 65rem);
  padding-block: 6.25rem 6.5rem;
  text-align: center;
  animation: appear .85s ease-out both;
}
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.anniversary { display: block; width: clamp(7rem, 11.6vw, 10.5rem); height: auto; margin: 0 auto clamp(1.8rem, 4vh, 2.6rem); }
.hero-invited { font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: .95rem; }
.hero h1 {
  font-size: clamp(3.9rem, 9.5vw, 9.2rem);
  line-height: .86;
  letter-spacing: -.073em;
  margin-bottom: clamp(2.15rem, 5vh, 3.2rem);
  text-wrap: balance;
}
.button {
  display: inline-flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: .8rem 1.65rem;
  border-radius: 2px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.button-yellow { background: var(--yellow); color: #08080a; }
.button-yellow:hover:enabled, a.button-yellow:hover { background: #fff0a0; box-shadow: 0 0 2rem #ffda0040; transform: translateY(-2px); }
.button:disabled { cursor: default; opacity: .72; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: .1em;
}
.eyebrow span { width: 1.5rem; height: 1px; background: var(--yellow); flex: none; }
.invitation, .event-inner, .rsvp {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.75rem, 8vw, 8rem);
}
.invitation h2, .rsvp h2 { font-size: clamp(3rem, 6.35vw, 6.1rem); }
.invitation-copy { align-self: end; padding-bottom: .08rem; }
.invitation-copy p, .rsvp-intro > p:last-child {
  font-size: clamp(1.0625rem, 1.65vw, 1.3rem);
  color: var(--muted);
  line-height: 1.63;
  max-width: 37ch;
}
.invitation-copy p + p { margin-top: 1.2em; }
.invitation-copy p:last-child { color: var(--ink); }
.event { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--rule); background: #101015; }
.event-light {
  opacity: .39;
  background:
    linear-gradient(90deg, #111116 0%, #111116bd 49%, #11111638 100%),
    url('/light.webp') center 70% / cover no-repeat;
}
.event-inner { align-items: end; }
.event h2 { font-size: clamp(1.4rem, 2.6vw, 2.35rem); letter-spacing: -.034em; }
.event h2 span { color: var(--yellow); }
.event-date { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.6rem); margin-top: 1.55rem; }
.event-date strong { font-size: clamp(7rem, 16vw, 14rem); letter-spacing: -.1em; line-height: .74; margin-right: .07em; }
.event-date > span { font-size: clamp(1.75rem, 4.3vw, 4.1rem); font-weight: 700; letter-spacing: -.045em; line-height: .96; }
.event-details dl { margin: 0 0 1.6rem; }
.event-details dl > div { display: grid; grid-template-columns: minmax(5rem, .45fr) 1fr; gap: .8rem; align-items: baseline; border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.event-details dl > div:first-child { border-top: 1px solid var(--rule); }
.event-details dt { font-weight: 700; }
.event-details dd { margin: 0; color: #e2dfe5; line-height: 1.45; }
.text-link { display: inline-block; color: var(--yellow); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .4em; padding-block: .5rem; }
.text-link:hover { color: #fff; }
.rsvp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.75rem, 7vw, 7rem); }
.rsvp-intro > p:last-child { margin-top: 1.6rem; }
.rsvp-panel { align-self: start; padding-top: .3rem; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.wide { grid-column: 1 / -1; }
.field, legend { display: block; color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.4; }
.field > span, legend > span { color: var(--yellow); }
.field small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.field input, .field textarea {
  display: block;
  width: 100%;
  margin-top: .45rem;
  padding: .78rem;
  border: 1px solid #ffffff3f;
  border-radius: 2px;
  background: #121216;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color .2s;
}
.field input { min-height: 3.15rem; }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #ffffff85; }
fieldset { min-width: 0; padding: 0; margin: 1.25rem 0; border: 0; }
legend { padding: 0; margin-bottom: .55rem; }
.choices { display: grid; grid-template-columns: .82fr 1.18fr; gap: .65rem; }
.choice {
  position: relative;
  min-width: 0;
  min-height: 3.3rem;
  display: flex;
  align-items: center;
  gap: .68rem;
  padding: .65rem .75rem;
  border: 1px solid #ffffff3f;
  border-radius: 2px;
  background: #121216;
  cursor: pointer;
  font-size: .875rem;
  line-height: 1.25;
  transition: border-color .2s, background .2s, color .2s;
}
.choice:hover { border-color: #ffffff9e; }
.choice input {
  appearance: none;
  margin: 0;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: inherit;
  display: grid;
  place-items: center;
}
.choice input:checked::before { content: ''; width: .43rem; height: .43rem; background: currentColor; border-radius: 50%; }
.choice.positive { color: var(--yellow); border-color: #ffda0078; background: #ffda000b; }
.choice.positive:hover { border-color: var(--yellow); }
.choice:has(input:checked) { background: #35353c; border-color: #b6b5ba; }
.choice.positive:has(input:checked) { color: #08080a; background: var(--yellow); border-color: var(--yellow); }
.choice:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }
.choice input:focus-visible { outline: none; }
.submit { margin-top: 1.4rem; width: 100%; }
.form-status { color: #ffcec8; line-height: 1.5; margin-top: .85rem; }
.confirmation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.4rem, 5vw, 3rem);
  border: 1px solid #ffffff45;
  background: #100e15;
  animation: appear .55s ease-out both;
}
.confirmation::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #100e15 12%, #100e1540), url('/light.webp') center / cover no-repeat;
  animation: confirmation-light 2s ease-out both;
}
@keyframes confirmation-light { from { opacity: .12; } 35% { opacity: .65; } to { opacity: .3; } }
.confirmation h3 { color: var(--yellow); font-size: clamp(2.25rem, 4.8vw, 4.5rem); text-transform: uppercase; }
.confirmation p:not(.eyebrow) { margin-top: 1rem; line-height: 1.55; }
.confirmation-name { font-size: 1.15rem; font-weight: 700; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.65rem 2rem;
  color: var(--muted);
  font-size: .875rem;
}
.footer img { display: block; width: 4.6rem; height: auto; }
.reveal.is-waiting { opacity: 0; transform: translateY(12px); }
.reveal { transition: opacity .65s ease, transform .65s ease; }
@media (max-width: 780px) {
  .hero-light { background-position: center, center, 53% 80%; }
  .invitation, .event-inner, .rsvp { grid-template-columns: minmax(0, 1fr); }
  .invitation-copy p, .rsvp-intro > p:last-child { max-width: 42ch; }
}
@media (max-width: 480px) {
  .hero { min-height: max(37.5rem, 100svh); }
  .hero-top { letter-spacing: .04em; font-size: .8rem; }
  .hero h1 { font-size: clamp(2.9rem, 11.7vw, 4.6rem); }
  .hero-content { padding-bottom: 5.25rem; }
  .hero-light { background-position: center, center, 57% 80%; background-size: auto, auto, auto 100%; }
  .fields, .choices { grid-template-columns: minmax(0, 1fr); }
  .choice { padding-inline: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-waiting { opacity: 1; transform: none; }
}
