:root {
  --blue: #00475d;
  --red: #ca1719;
  --light: #388aa4;
  --ice: #f0f6f9;
  --ink: #171717;
  --muted: #566b73;
  --line: #d7e2e7;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--blue);
  background: #fff;
  font-synthesis: none;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled,
fieldset:disabled button {
  cursor: not-allowed;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--light);
  outline-offset: 5px;
}
button {
  color: inherit;
}
button span {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.preview-bar {
  padding: 8px 20px;
  background: var(--blue);
  color: white;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
}
.preview-bar span {
  margin: 0 9px;
}
.header {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
}
.brand img {
  width: 274px;
  height: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  padding-top: 52px;
  padding-bottom: 52px;
  min-height: 675px;
}
.hero-copy {
  padding-block: 21px 5px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  gap: 13px;
  align-items: center;
}
.small-line {
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
h1 {
  font-size: clamp(3.8rem, 6.15vw, 5.6rem);
  line-height: 1.01;
  letter-spacing: -0.065em;
  margin: 29px 0 26px;
  font-weight: 700;
}
h1 em,
.dialog-intro em {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--red);
  font-weight: 400;
  letter-spacing: -0.06em;
}
h1 em {
  font-size: 1.1em;
}
.intro {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 395px;
  color: var(--muted);
  margin: 0 0 28px;
}
.primary {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 18px 25px;
  display: inline-flex;
  gap: 47px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.96rem;
  font-weight: 700;
  min-height: 56px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #ad1012;
  transform: translateY(-2px);
}
.primary span {
  font-size: 1.4rem;
  font-weight: 400;
}
.invitation-note {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 16px 0 0;
}
.registration-expired {
  max-width: 395px;
  font-weight: 700;
}
.event-strip {
  background: var(--ice);
  border-block: 1px solid #e5edf1;
}
.event-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr 1.1fr;
  gap: 27px;
  padding-block: 36px;
}
.event-heading .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}
.event-heading h2 {
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  line-height: 1.17;
  margin: 10px 0 0;
}
.event-detail {
  border-left: 1px solid #cadbe2;
  padding-left: 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.45;
}
.detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 5px;
}
.event-detail strong {
  font-size: 1rem;
  color: var(--blue);
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  gap: 20px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.6;
}
.footer > div {
  display: flex;
  gap: 27px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover,
.header a:hover {
  text-decoration: underline;
}
dialog {
  border: 0;
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 36px 40px 25px;
  color: var(--blue);
  border-radius: 8px;
  box-shadow: 0 24px 100px #001d3360;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #002a3b99;
  backdrop-filter: blur(7px);
}
dialog[open] {
  animation: dialog-in 0.25s ease-out;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.close {
  position: absolute;
  top: 14px;
  right: 17px;
  width: 35px;
  height: 35px;
  border: 0;
  background: var(--ice);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.dialog-intro .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 18px;
}
.dialog-intro h2 {
  font-size: 2.75rem;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0 0 15px;
}
.dialog-intro > p:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 23px;
}
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin: 17px 0 8px;
}
.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  margin-left: 5px;
}
input:not([type="checkbox"]) {
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9cdd6;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  min-width: 0;
}
input::placeholder {
  color: #647881;
  font-size: 0.9rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field-help {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 7px 0 0;
}
.companion {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 14px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  margin: 23px 0 18px;
}
.companion:has(input:checked) {
  border-color: var(--blue);
}
.companion input {
  accent-color: var(--blue);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
}
.companion strong {
  font-size: 0.8rem;
}
.companion small {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.plus-one {
  margin-left: auto;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--light);
}
.privacy-note {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
}
.submit {
  width: 100%;
  margin-top: 8px;
}
.required-note {
  text-align: center;
  font-size: 0.69rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.notice,
.form-error {
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 14px;
  background: var(--ice);
  border-left: 3px solid var(--blue);
  margin: 15px 0;
}
.form-error {
  color: #a40e12;
  background: #fff1f1;
  border-color: var(--red);
}
.success {
  text-align: center;
  padding-top: 20px;
}
.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 23px;
  background: var(--ice);
  border-radius: 50%;
  font-size: 2rem;
  display: grid;
  place-items: center;
}
.success h2 {
  font-size: 2.3rem;
  letter-spacing: -0.05em;
}
.success p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}
.success-summary {
  background: var(--ice);
  padding: 18px;
  line-height: 1.7;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.success .primary {
  margin-top: 20px;
}
.legal-dialog {
  max-width: 720px;
  padding: 42px;
}
.legal-dialog h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.legal-dialog h3 {
  font-size: 1.05rem;
  margin-top: 26px;
}
.legal-dialog p,
.legal-dialog li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #425d67;
}
.legal-dialog address {
  font-style: normal;
  line-height: 1.75;
}
.noscript {
  padding: 25px;
  text-align: center;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .hero {
    gap: 85px;
  }

  .hero-copy {
    padding-top: 30px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 28px;
    min-height: 620px;
  }

  .event-inner {
    gap: 18px;
  }
  .event-detail {
    padding-left: 18px;
  }
  .hero-copy {
    padding-top: 10px;
  }
  h1 {
    font-size: 5rem;
  }
  .intro {
    font-size: 1rem;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 94px;
  }
  .brand img {
    width: 227px;
  }

  .hero {
    gap: 20px;
    padding-block: 32px;
    min-height: 540px;
  }
  h1 {
    font-size: 3.8rem;
  }

  .intro {
    font-size: 0.92rem;
  }
  .event-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .event-heading {
    padding-right: 20px;
  }
  .event-detail:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .footer {
    align-items: start;
    font-size: 0.7rem;
  }
  .footer > div {
    gap: 17px;
  }
}
@media (max-width: 580px) {
  .preview-bar {
    font-size: 0.67rem;
  }
  .preview-bar span {
    margin: 0 3px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 83px;
  }
  .brand img {
    width: 190px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 25px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .eyebrow {
    font-size: 0.66rem;
  }
  h1 {
    font-size: clamp(3.5rem, 13.5vw, 4.8rem);
    margin: 23px 0 21px;
    line-height: 1.02;
  }
  .intro {
    max-width: 340px;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .primary {
    width: 100%;
    max-width: 360px;
    font-size: 0.96rem;
  }
  .invitation-note {
    font-size: 0.73rem;
  }

  .event-inner {
    padding-block: 29px;
    gap: 27px 18px;
  }
  .event-heading h2 {
    font-size: 1.4rem;
  }
  .event-heading .eyebrow {
    font-size: 0.59rem;
  }
  .event-detail {
    padding-left: 17px;
    font-size: 0.77rem;
  }
  .event-detail strong {
    font-size: 0.9rem;
  }
  .detail-label {
    font-size: 0.6rem;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    padding-block: 22px;
  }
  .footer > div {
    width: 100%;
    gap: 27px;
    font-size: 0.8rem;
  }
  dialog {
    padding: 32px 23px 22px;
    max-height: calc(100dvh - 24px);
  }
  .dialog-intro h2 {
    font-size: 2.5rem;
  }
  .field-row {
    gap: 12px;
  }
  .legal-dialog {
    padding: 36px 24px;
  }
  .companion {
    padding: 15px 10px;
  }
  .plus-one {
    display: none;
  }
  .success .primary {
    font-size: 0.85rem;
    gap: 15px;
  }
}
@media (max-width: 360px) {
  .brand img {
    width: 165px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.eyebrow,
.detail-label,
.event-heading .eyebrow,
.dialog-intro .eyebrow,
.required-note {
  font-size: 0.75rem;
}
.footer,
.preview-bar,
.invitation-note {
  font-size: 0.8rem;
}
.event-detail,
.field-help,
.privacy-note,
.companion small {
  font-size: 0.875rem;
}
label,
.companion strong {
  font-size: 0.875rem;
}

.event-detail {
  overflow-wrap: anywhere;
}
@media (max-width: 580px) {
  .event-inner {
    grid-template-columns: 1fr;
  }
  .event-heading h2 br {
    display: none;
  }
  .event-detail,
  .event-detail:nth-child(3) {
    padding: 17px 0 0;
    border-left: 0;
    border-top: 1px solid #cadbe2;
  }
  .event-detail strong {
    font-size: 1.0625rem;
  }
  .event-detail {
    gap: 4px;
  }
  .event-heading .eyebrow {
    letter-spacing: 0.09em;
  }
  .preview-bar {
    font-size: 0.75rem;
  }
}

/* Event information takes the place of the anniversary illustration. */
.hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.primary {
  min-width: 200px;
  justify-content: center;
}
.event-strip {
  border: 0;
  border-radius: 3px;
  width: 100%;
}
.event-strip .event-inner {
  grid-template-columns: minmax(0, 1fr);
  padding: 36px 40px;
  gap: 25px;
}
.event-strip .event-heading {
  padding: 0;
}
.event-strip .event-heading h2 {
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1.15;
}
.event-strip .event-detail {
  border-left: 0;
  border-top: 1px solid #cadbe2;
  padding: 22px 0 0;
  gap: 7px;
  font-size: 1rem;
}
.event-strip .event-detail strong {
  font-size: 1.2rem;
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .event-strip .event-inner {
    padding: 30px;
  }
}
@media (max-width: 580px) {
  .event-strip .event-inner {
    padding: 28px 24px;
  }
  .event-strip .event-heading h2 {
    font-size: 1.75rem;
  }
  .event-strip .event-heading h2 br {
    display: initial;
  }
}
