@font-face {
  font-family: "Barlow";
  src: url("/barlow-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/barlow-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/barlow-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/barlow-semicondensed-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #00202a;
  --deep-blue: #08415c;
  --blue: #0068b3;
  --green: #50b948;
  --green-light: #a5e59a;
  --paper: #f3f8fa;
  --muted: #49616e;
  --line: #ccdce4;
  --sans: "Barlow", system-ui, "Segoe UI", sans-serif;
  --display: "Barlow Semi Condensed", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--green-light); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shell { width: min(100% - 5rem, 1180px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  color: var(--ink);
  background: var(--green-light);
}
.skip-link:focus { transform: none; }

.site-header { background: #fff; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.05rem;
  padding-block: .5rem;
}
.brand-link { display: inline-flex; flex-shrink: 0; }
.brand-link img { display: block; width: 7.25rem; height: auto; }
.header-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.company-link {
  color: var(--deep-blue);
  font-size: .94rem;
  font-weight: 700;
  text-underline-offset: .24em;
  text-decoration-color: #5c98bf;
}
.company-link:hover { text-decoration-thickness: 2px; }
.nav-rsvp {
  display: inline-grid;
  min-height: 2.75rem;
  padding: .45rem .92rem;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: .22rem;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav-rsvp:hover { color: #fff; background: var(--blue); }

.hero { color: #fff; background: linear-gradient(115deg, var(--ink), var(--deep-blue) 88%); }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.6rem);
  padding-block: clamp(3.4rem, 7vw, 6rem);
}
.hero-date {
  margin: 0 0 1.05rem;
  color: var(--green-light);
  font-size: .94rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1.45rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.65vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.023em;
  line-height: .99;
}
.hero h1 > span { display: block; }
.event-name { font-size: .82em; margin-bottom: .12em; }
.event-number { color: var(--green-light); }
.hero-details { margin: 0 0 .2rem; color: #fff; font-size: 1.075rem; font-weight: 700; }
.hero-details span { margin-inline: .25em; color: var(--green-light); }
.hero-venue { color: #d8e9f3; margin: 0; font-size: 1.01rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.2rem; margin-top: 1.5rem; }
.hero-actions > span { color: #e8f2f6; font-size: .96rem; font-weight: 630; }
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #82b4c8;
  border-radius: .35rem;
  background: var(--ink);
  box-shadow: 0 18px 40px #00131b70;
  object-fit: contain;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  justify-content: center;
  align-items: center;
  padding: .73rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .24rem;
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-green { background: var(--green); color: var(--ink); }
.button-green:hover { background: var(--green-light); }
.button-dark { min-width: 9.5rem; background: var(--blue); color: #fff; }
.button-dark:hover { background: var(--deep-blue); }
.button-dark:disabled { opacity: .7; transform: none; }

.rsvp-section { padding-block: clamp(3rem, 6vw, 5.25rem); scroll-margin-top: .5rem; }
.rsvp-layout { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(29rem, 1.55fr); gap: clamp(2rem, 6vw, 5.5rem); }
.rsvp-info h2, .confirmation h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.65vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .97;
}
.intro { max-width: 25rem; margin: .85rem 0 0; color: var(--muted); font-size: 1.1rem; }
.event-details { margin: 1.65rem 0 1.2rem; color: var(--muted); }
.event-details div { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .75rem; margin-bottom: 1rem; }
.event-details dt { color: var(--deep-blue); font-size: .95rem; font-weight: 750; }
.event-details dd { margin: 0; font-size: .975rem; }
.details-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.details-links a, .text-button {
  color: var(--blue);
  font-size: .97rem;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: #7aacce;
  text-underline-offset: .24em;
}
.details-links a:hover, .text-button:hover { text-decoration-thickness: 2px; }

.rsvp-panel { min-width: 0; padding: 1.3rem 0 0; border-top: 3px solid var(--green); }
.field-label { display: block; margin-bottom: .55rem; color: var(--ink); font-weight: 740; }
.email-input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: .68rem .85rem;
  border: 1px solid #88a5b6;
  border-radius: .25rem;
  background: #fff;
  color: var(--ink);
}
.email-input::placeholder { color: #526774; }
.email-input:focus-visible { outline-offset: 2px; }
.size-fieldset { min-width: 0; margin: 1.4rem 0 0; padding: 0; border: 0; }
.size-fieldset legend { padding: 0; }
.size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.size-picker {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .28rem;
  padding: .55rem .35rem .35rem;
  background: #fff;
  text-align: center;
}
.size-picker > label { display: block; font-size: .95rem; font-weight: 750; }
.stepper { display: grid; grid-template-columns: 1fr minmax(1.6rem, .8fr) 1fr; align-items: center; margin-top: .3rem; }
.stepper button {
  display: grid;
  min-width: 0;
  min-height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: .2rem;
  color: var(--deep-blue);
  background: #e6f1f7;
  font-size: 1.3rem;
  line-height: 1;
  transition: background .18s ease, color .18s ease;
}
.stepper button:hover:not(:disabled) { color: var(--ink); background: #cce4f2; }
.stepper button:disabled { color: #778993; background: #f3f7f9; }
.stepper input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0;
  appearance: textfield;
  border: 0;
  border-radius: .18rem;
  color: var(--ink);
  background: #fff;
  text-align: center;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.stepper :focus-visible { position: relative; z-index: 1; outline-offset: 0; }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.total { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.form-note { margin: .9rem 0 0; color: var(--muted); font-size: .94rem; }
.form-feedback {
  margin: .8rem 0 0;
  padding: .65rem .8rem;
  border-left: 3px solid #a13328;
  background: #f8eae5;
  color: #7c251c;
  font-size: .95rem;
}
.confirmation { padding: 1.4rem 0; }
.confirmation h3 { font-size: clamp(2.15rem, 5vw, 3.8rem); }
.confirmation p { max-width: 29rem; margin: .85rem 0 1.25rem; }
.text-button { padding: .5rem 0; border: 0; background: none; }

.site-footer { background: var(--ink); }
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 5.5rem;
  padding-block: .8rem;
}
.site-footer .brand-link img { width: 6.25rem; }
.site-footer .company-link { color: #e1f0f7; text-decoration-color: #8ab6ca; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter .46s ease-out both; }
  @keyframes enter {
    from { opacity: 0; transform: translateY(.45rem); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 940px) {
  .shell { width: min(100% - 3.2rem, 1180px); }
  .rsvp-layout { grid-template-columns: 1fr minmax(24rem, 1.4fr); }
}
@media (max-width: 760px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; padding-block: 2.65rem 2.9rem; }
  .hero h1 { font-size: clamp(2.8rem, 7.5vw, 4.2rem); }
  .rsvp-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 470px) {
  .shell { width: min(100% - 2rem, 1180px); }
  .masthead { min-height: 4.2rem; padding-block: .4rem; }
  .masthead .brand-link img { width: 5.5rem; }
  .header-nav { gap: .6rem .8rem; }
  .header-nav .company-link, .nav-rsvp { font-size: .88rem; }
  .nav-rsvp { padding-inline: .7rem; }
  .hero-layout { gap: 1.45rem; padding-block: 2rem 2.2rem; }
  .hero-date { margin-bottom: .78rem; font-size: .875rem; letter-spacing: .055em; }
  .hero h1 { margin-bottom: 1.12rem; }
  .hero-actions { margin-top: 1.15rem; }
  .rsvp-panel { padding-top: 1.2rem; }
  .size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
