:root {
  /* Page ground: stark white */
  --paper: #FFFFFF;
  /* Near-black ink for text, rules, buttons and the dark bands */
  --ink: #0A0A0A;
  /* The one pale-blue wash: date band, sections, buttons on dark */
  --wash: #D9E8F5;
  /* Muted grey for kickers (passes 4.5:1 on white and the wash) */
  --mute: #4B5260;
  /* Side gutter inside .wrap */
  --gutter: 16px;
  /* Type: Archivo, one variable family; width comes from font-stretch */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
a { color: inherit; }
ol, ul, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3 { margin: 0; font-stretch: 118%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 8.4vw, 6.75rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 8px; }
.page-head h1 { margin-bottom: 20px; } .venue-copy h2, .split > div > h2 { margin-bottom: 16px; }

.wrap { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* header */
.site-header { border-bottom: 1.5px solid var(--ink); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-stretch: 125%; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; }
.desktop-nav { display: none; align-items: center; gap: 28px; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-stretch: 112%; text-decoration: none; }
.mobile-nav { position: relative; }
.mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ink); font-stretch: 112%; font-weight: 700; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; display: grid; width: min(280px, calc(100vw - 32px)); padding: 6px 16px 16px; background: var(--paper); border: 1.5px solid var(--ink); }
.mobile-nav nav a { display: flex; align-items: center; min-height: 48px; padding: 0 2px; font-size: 1.05rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--wash); }
.mobile-nav nav .btn { justify-content: center; margin-top: 12px; border-bottom: 0; color: var(--paper); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--ink); color: var(--paper); border: 0; font: inherit; font-weight: 700; font-stretch: 112%; text-decoration: none; cursor: pointer; }
.btn:hover { background: #2A2F38; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--wash); }
.desktop-nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.kicker { margin: 0 0 18px; color: var(--mute); font-size: 14px; font-stretch: 112%; font-weight: 600; }
.lede { max-width: 40em; font-size: 1.15rem; }

/* hero */
.hero { padding-top: 40px; }
.hero-text { padding-bottom: 28px; }
.date-band { background: var(--wash); padding: 28px 0 22px; overflow: hidden; }
.date-figures {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.06em 0.18em;
  margin: 0; font-size: 22vw; font-stretch: 125%; font-weight: 800;
  line-height: 0.82; letter-spacing: -0.045em;
}
.date-figures span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.date-figures span:nth-child(2) { animation-delay: 0.12s; }
.date-figures span:nth-child(3) { animation-delay: 0.24s; }
@keyframes rise { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-foot { padding-top: 28px; padding-bottom: 72px; }
.when { font-size: 1.2rem; margin-bottom: 8px; }
.countdown { margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }

/* sections */
.section { padding-block: 72px; }
.wash { background: var(--wash); }
.wash .section, .section.wash { padding-block: 72px; }
.split { display: grid; gap: 32px; }
.intro { display: grid; gap: 24px; border-top: 1.5px solid var(--ink); }
/* Ruled blocks: keep the rule on the text edge, not the padded .wrap edge */
.intro, .modes { width: calc(100% - 2 * var(--gutter)); max-width: calc(1360px - 2 * var(--gutter)); padding-inline: 0; }
.intro p { font-size: 1.2rem; }

.lines { list-style: none; border-top: 1.5px solid var(--ink); }
.lines li { display: grid; grid-template-columns: 96px 1fr; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.lines time, .timeline time { font-variant-numeric: tabular-nums; font-stretch: 125%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }

.venue { display: grid; gap: 32px; }
.venue-copy p:last-child { margin-bottom: 0; }
.photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* cta band */
.cta-band { background: var(--ink); color: var(--paper); padding-block: 88px; }
.cta-inner { display: grid; gap: 18px; justify-items: start; }
.cta-band h2 { max-width: 14em; }
.cta-band p { max-width: 32em; margin: 0; font-size: 1.1rem; }
.cta-band .btn { background: var(--wash); color: var(--ink); }
.cta-band .btn:hover { background: #C6DCF0; }
.cta-band :focus-visible { outline-color: var(--paper); }

/* schedule */
.page-head { padding-top: 64px; padding-bottom: 40px; }
.timeline-wrap { padding-bottom: 72px; }
.timeline { list-style: none; border-top: 1.5px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 8px 20px; padding: 26px 0; border-bottom: 1px solid var(--ink); }
.timeline li > div p { margin: 0; max-width: 36em; }
.notes { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.notes > div { padding: 20px 0; border-bottom: 1px solid var(--ink); }
.notes dt { font-stretch: 112%; font-weight: 800; margin-bottom: 6px; font-size: 1.1rem; }
.notes dd { margin: 0; max-width: 32em; }

/* travel */
.modes { display: grid; gap: 0; padding-bottom: 72px; border-top: 1.5px solid var(--ink); }
.modes > div { padding: 28px 0 32px; border-bottom: 1px solid var(--ink); }
.modes p { margin: 0; max-width: 28em; }
.map-split { align-items: center; }
.stays { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.stays li { padding: 26px 0; border-bottom: 1px solid var(--ink); }
.stays p { margin-bottom: 10px; max-width: 36em; }
.stays p:last-child { margin-bottom: 0; font-weight: 600; }

/* rsvp */
.rsvp-grid { display: grid; gap: 40px; padding-bottom: 88px; }
.slot a[href^="tel:"] { white-space: nowrap; }
.slot p { font-size: clamp(1.25rem, 2vw, 1.6rem); font-stretch: 112%; line-height: 1.4; max-width: 22em; }
.wash-card { padding: 32px; background: var(--wash); }
.checklist h2 { font-size: 1.6rem; margin-bottom: 16px; }
.checklist ul { list-style: none; display: grid; gap: 12px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--ink); }

.rsvp-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-stretch: 112%; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0;
}
.field textarea { min-height: 96px; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 56px 40px; }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }
.foot-grid { display: grid; gap: 28px; }
.foot-name { font-stretch: 125%; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }
.foot-grid p { margin-bottom: 6px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.social a, .foot-cta a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.site-footer .foot-cta .btn { background: var(--wash); color: var(--ink); }
.site-footer .foot-cta .btn:hover { background: #C6DCF0; }

/* wider screens */
@media (min-width: 720px) {
  .date-figures { flex-wrap: nowrap; font-size: min(12.5vw, 13rem); }
  .lines li { grid-template-columns: 110px 1fr; }
  .timeline li { grid-template-columns: 130px 1fr; }
  .modes { grid-template-columns: repeat(3, 1fr); }
  .modes > div { padding: 32px 28px 36px 0; border-bottom: 0; }
  .modes > div + div { padding-left: 28px; border-left: 1px solid var(--ink); }
  .modes > div { border-bottom: 0; }
  .modes { border-bottom: 1px solid var(--ink); }
  .notes { grid-template-columns: repeat(3, 1fr); }
  .notes > div { padding: 24px 28px 28px 0; border-bottom: 0; }
  .notes > div + div { padding-left: 28px; border-left: 1px solid var(--ink); }
  .notes { border-bottom: 1px solid var(--ink); }
  .stays { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); }
  .stays li { padding: 26px 28px 28px 0; border-bottom: 0; }
  .stays li + li { padding-left: 28px; border-left: 1px solid var(--ink); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
  .split { grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .intro { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
  .venue { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
  .map-split { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .rsvp-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .rsvp-grid > .slot { grid-column: 1; }
  .rsvp-grid > .checklist { grid-column: 2; grid-row: 1; }
  .lines li { grid-template-columns: 130px 1fr; }
  .timeline li { grid-template-columns: 170px 1fr; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr auto; align-items: start; }
  .hero-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
  .hero-foot .actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; justify-content: flex-end; }
  .when, .countdown { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
