/* ==========================================================================
   Betty & Kevin — "Letter" (書信)
   A printed invitation as a web page: one narrow column, jade ink on warm
   paper, gold hairlines, vermilion accents, vertical Chinese in the margin.
   ========================================================================== */

:root {
  --paper:   #f6f1e7;
  --paper-2: #efe8da;
  --card:    #fffdf8;
  --ink:     #1f2a26;
  --body:    #3b4641;
  --muted:   #5f6863;
  --gold:    #a37c32;
  --red:     #b23b2a;
  --line:    #d8ccb4;
  --field:   #8f8572;
  --ph:      #d9a273;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --han:   "LXGW WenKai TC", "Kaiti TC", "STKaiti", serif;

  --column: 640px;
  --wide:   880px;
  --pad:    20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--body);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--card); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); }
strong, b { font-weight: 600; color: var(--ink); }

html.locked .site { display: none; }

/* ---------- Layout ------------------------------------------------------ */

.column { max-width: calc(var(--column) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.wide   { max-width: var(--wide); margin-left: auto; margin-right: auto; }
@media (min-width: 720px) {
  /* let figures and the map break out of the text column */
  .bleed { margin-left: calc((var(--column) - min(var(--wide), 100vw - 40px)) / 2); margin-right: calc((var(--column) - min(var(--wide), 100vw - 40px)) / 2); }
}

.section { padding: clamp(64px, 10vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(40px, 6vw, 56px); }
.section__title { margin: 0; font-weight: 500; font-size: clamp(34px, 5vw, 46px); letter-spacing: .02em; line-height: 1.15; }
.han-sub { margin: 8px 0 0; font-family: var(--han); font-size: 17px; letter-spacing: .4em; padding-left: .4em; color: var(--red); }
.lede { margin: 18px auto 0; max-width: 30em; font-style: italic; color: var(--muted); }
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.rule { width: 48px; height: 1px; margin: 28px auto; border: 0; background: var(--gold); }

/* ---------- Buttons & links -------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 32px;
  cursor: pointer;
  font: 600 15px/1 var(--serif); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--card); background: var(--ink); border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--card); }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--card); background: var(--ink); border-color: var(--ink); }

.link { font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 1px; transition: color .2s; }
.link:hover { color: var(--red); }

/* ---------- Vertical margin text --------------------------------------- */

.vmargin {
  position: fixed; right: clamp(20px, 4vw, 56px); top: 50%; translate: 0 -50%; margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--han); font-size: 20px; letter-spacing: .6em; color: var(--red); opacity: .75;
  pointer-events: none;
}
@media (max-width: 1000px) { .vmargin { display: none; } }

/* ---------- Nav --------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px var(--pad) 14px;
  background: rgba(246,241,231,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__mark { font-size: 15px; font-weight: 600; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; text-decoration: none; color: var(--gold); }
.nav__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(20px, 4vw, 40px); margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: inline-block; padding: 6px 0;
  font-size: 17px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
@media (max-width: 480px) {
  .nav { padding-top: 14px; padding-bottom: 8px; }
  .nav__links { gap: 0 18px; }
  .nav__links a { font-size: 15px; letter-spacing: .06em; padding: 8px 0; }
}
@media (max-width: 374px) {
  .nav__links { gap: 0 14px; }
  .nav__links a { font-size: 14px; letter-spacing: .03em; }
}

/* ---------- Hero (invitation wording) ---------------------------------- */

.hero { padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 8vw, 80px); }
.hero p { margin: 0 0 16px; }
.hero__xi { font-family: var(--han); font-weight: 700; font-size: 48px; line-height: 1; color: var(--red); margin-bottom: 32px !important; }
.hero__intro { font-style: italic; color: var(--muted); }
.hero__names { margin: 14px 0 26px; font-weight: 500; font-size: clamp(46px, 9vw, 84px); line-height: 1.02; letter-spacing: .01em; }
.hero__names span { display: block; }
.hero__names .amp { margin: 10px 0; font-size: .38em; font-weight: 400; font-style: italic; color: var(--gold); }
.hero__when { margin: 32px 0 36px !important; padding: 22px 0; border-block: 1px solid var(--line); }
.hero__when strong { display: block; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; }
.hero__when span { display: block; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Image placeholders ----------------------------------------- */
/* <div class="ph" data-label="..."></div> — flat tint + label; swap for <img> */
.ph { position: relative; overflow: hidden; background: var(--ph); }
.ph::after {
  content: attr(data-label);
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  font: 500 10px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.photo { aspect-ratio: 3 / 2; }
.photo--tall { aspect-ratio: 4 / 5; }
.photos-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photos-duo .ph { aspect-ratio: 3 / 4; }

/* ---------- Timeline ---------------------------------------------------- */

.timeline { position: relative; max-width: var(--column); margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 1px; background: var(--line); }
.event { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; margin-bottom: 48px; }
.event:last-child { margin-bottom: 0; }
.event__time { padding-right: 8px; text-align: right; font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.event__time small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.event__node {
  justify-self: center; display: grid; place-items: center; width: 42px; height: 42px; z-index: 1;
  border-radius: 50%; border: 1px solid var(--gold); background: var(--paper);
  font-family: var(--han); font-size: 19px; color: var(--red);
}
.event__body { padding-left: 8px; text-align: left; }
.event__body h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.event__body p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.event__where { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.event__loc { margin-top: 8px !important; font-size: 15px !important; line-height: 1.45 !important; color: var(--muted) !important; }
.event__loc strong { display: block; font-size: 16px; color: var(--ink); }
.event__loc a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.event__loc a:hover { color: var(--red); }
.event:nth-child(even) .event__time { order: 3; padding: 0 0 0 8px; text-align: left; }
.event:nth-child(even) .event__node { order: 2; }
.event:nth-child(even) .event__body { order: 1; padding: 0 8px 0 0; text-align: right; }

@media (max-width: 640px) {
  .timeline::before { left: 21px; }
  .event, .event:nth-child(even) { grid-template-columns: 42px 1fr; column-gap: 20px; margin-bottom: 40px; }
  .event .event__node, .event:nth-child(even) .event__node { order: 0; grid-row: span 2; }
  .event .event__time, .event:nth-child(even) .event__time { order: 1; padding: 0; text-align: left; font-size: 24px; display: flex; align-items: baseline; gap: 8px; }
  .event .event__time small { margin: 0; }
  .event .event__body, .event:nth-child(even) .event__body { order: 2; padding: 4px 0 0; text-align: left; }
}

/* ---------- Venue & map ------------------------------------------------- */

.venue__address { margin: 18px 0 6px; font-style: normal; }
.venue__address strong { display: block; font-size: 22px; }
.venue__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 36px; }
.map {
  position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--paper-2);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- Details (good to know) ------------------------------------- */

.details { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin: 0; text-align: left; }
.details div { padding-top: 18px; border-top: 1px solid var(--line); }
.details dt { margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.details dd { margin: 0; font-size: 17px; line-height: 1.6; }
@media (min-width: 641px) { .details--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Dress code -------------------------------------------------- */

.page-head { padding: clamp(56px, 10vw, 104px) 0 clamp(40px, 6vw, 56px); }
.page-head .section__title { font-size: clamp(40px, 7vw, 60px); }
.dress-code-name { margin: 24px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }

.prose { padding: clamp(48px, 8vw, 72px) 0 clamp(64px, 10vw, 104px); text-align: left; }
.look { display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.look:last-of-type { border-bottom: 1px solid var(--line); }
.look__han { grid-row: span 2; font-family: var(--han); font-size: 30px; line-height: 1.2; color: var(--red); }
.look h3 { margin: 0 0 6px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.look p { margin: 0; }

.palette { margin-top: clamp(48px, 8vw, 72px); text-align: center; }
.palette h2 { margin: 0 0 6px; font-size: 26px; font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 20px 8px; margin: 28px 0; padding: 0; list-style: none; }
.swatch { display: grid; justify-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.swatch i { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.swatch--no { color: var(--muted); }
.swatch--no span { text-decoration: line-through; text-decoration-color: var(--red); }
.swatch--no i { position: relative; }
.swatch--no i::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1.5px; background: var(--red); transform: rotate(45deg); }
.palette__note { max-width: 32em; margin: 0 auto; color: var(--body); }

/* ---------- RSVP -------------------------------------------------------- */

.reply {
  margin: clamp(40px, 8vw, 80px) 0 clamp(64px, 10vw, 104px);
  padding: clamp(36px, 6vw, 56px) clamp(20px, 5vw, 52px);
  background: var(--card);
  border: 1px solid var(--line);
  outline: 1px solid var(--line); outline-offset: -9px;
  text-align: center;
}
.reply__deadline { margin: 10px 0 0; color: var(--body); }
.reply__deadline strong { color: var(--red); }

.rsvp-form { margin-top: 36px; text-align: left; }
.field { display: grid; gap: 8px; margin-bottom: 26px; }
.rsvp-form fieldset { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.rsvp-form label.field__label, .rsvp-form legend {
  padding: 0; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.field__hint { font-size: 15px; font-style: italic; color: var(--muted); }
.rsvp-form input[type="text"], .rsvp-form input[type="email"], .rsvp-form select, .rsvp-form textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  font: 400 19px var(--serif); color: var(--ink);
  background: var(--card); border: 1px solid var(--field); border-radius: 2px;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.rsvp-form select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2a26' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.rsvp-form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.rsvp-form :is(input, select, textarea):hover { border-color: var(--ink); }
.rsvp-form :is(input, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(163,124,50,.3); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 12px;
  text-align: center; font-size: 18px; line-height: 1.25; color: var(--ink);
  background: var(--card); border: 1px solid var(--field); border-radius: 2px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--card); font-weight: 600; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(163,124,50,.45); }
@media (max-width: 480px) { .choices, .choices--3 { grid-template-columns: 1fr; } }

.attending-only { transition: opacity .25s; }
.attending-only[hidden] { display: none; }

/* honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: progress; }

.form-error { min-height: 1.5em; margin: 0 0 12px; text-align: center; font-size: 16px; font-weight: 500; color: var(--red); }
.form-submit { text-align: center; }
.form-submit .btn { width: 100%; max-width: 320px; }

.rsvp-done { padding: 12px 0; }
.rsvp-done__han { font-family: var(--han); font-weight: 700; font-size: 52px; line-height: 1; color: var(--red); }
.rsvp-done h2 { margin: 14px 0 6px; font-size: 36px; font-weight: 500; }
.rsvp-done p { margin: 0; }

/* ---------- Footer ------------------------------------------------------ */

.footer { display: grid; justify-items: center; gap: 6px; padding: 48px var(--pad) 56px; border-top: 1px solid var(--line); text-align: center; }
.footer__mark { font-family: var(--han); font-weight: 700; font-size: 28px; color: var(--red); }
.footer__names { font-size: 17px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.footer__place { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Password gate ---------------------------------------------- */

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--pad); background: var(--paper); }
.gate[hidden] { display: none; }
.gate__card { width: min(360px, 100%); text-align: center; animation: rise .8s both; }
.gate__seal { margin-bottom: 20px; font-family: var(--han); font-weight: 700; font-size: 60px; line-height: 1; color: var(--red); }
.gate__title { margin: 0 0 6px; font-size: 28px; font-weight: 500; color: var(--ink); }
.gate__title + .gate__sub { margin: 0 0 32px; font-style: italic; color: var(--muted); }
.gate form { display: grid; gap: 14px; }
.gate label { font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.gate input {
  min-height: 50px; padding: 10px 14px; text-align: center;
  font: 400 20px var(--serif); letter-spacing: .2em; color: var(--ink);
  background: var(--card); border: 1px solid var(--field); border-radius: 2px; outline: none;
}
.gate input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(163,124,50,.3); }
.gate__error { min-height: 1.4em; margin: 0; font-size: 16px; font-weight: 500; color: var(--red); }
.gate--shake .gate__card { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Motion ------------------------------------------------------ */

.reveal { animation: rise .9s cubic-bezier(.2,.7,.1,1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; }
.d4 { animation-delay: .46s; } .d5 { animation-delay: .58s; } .d6 { animation-delay: .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

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

/* ---------- Two-day schedule ------------------------------------------- */

.day { margin-top: clamp(48px, 7vw, 72px); }
.day:first-of-type { margin-top: 0; }
.day__head { margin-bottom: 36px; }
.day__date { margin: 0; font-size: 26px; font-weight: 600; color: var(--ink); }
.day__date small { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- Travel & Stay ---------------------------------------------- */

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--body); }
.legend li { display: flex; align-items: center; gap: 8px; }

.pin {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 600 14px/1 var(--serif); color: var(--card); background: var(--gold);
  border: 2px solid var(--card); box-shadow: 0 2px 6px rgba(31,42,38,.35);
}
.pin--venue { width: 40px; height: 40px; font-family: var(--han); font-size: 20px; font-weight: 700; background: var(--red); }
.pin--poi { width: 16px; height: 16px; background: var(--ink); }
.legend .pin { width: 22px; height: 22px; font-size: 12px; box-shadow: none; border-width: 1px; }
.legend .pin--venue { font-size: 12px; }
.legend .pin--poi { width: 12px; height: 12px; }

.pin { padding: 0; cursor: pointer; }
.map-canvas { position: relative; height: clamp(360px, 58vh, 540px); border: 1px solid var(--line); background: var(--paper-2); }
.map-canvas--venue { height: clamp(300px, 46vh, 420px); }
.maplibregl-popup-content { padding: 12px 30px 12px 14px; border-radius: 2px; font: 16px/1.45 var(--serif); color: var(--body); box-shadow: 0 6px 24px rgba(31,42,38,.18); }
.maplibregl-popup-content strong { display: block; font-size: 17px; color: var(--ink); }
.maplibregl-popup-content a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); }
.maplibregl-popup-close-button { width: 28px; height: 28px; font-size: 20px; color: var(--muted); }
.maplibregl-ctrl-group { border-radius: 2px !important; }

.stays { margin: 0; padding: 0; list-style: none; text-align: left; counter-reset: stay; }
.stay {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 18px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.stay:last-child { border-bottom: 1px solid var(--line); }
.stay .pin { grid-column: 1; grid-row: 1 / span 5; margin-top: 2px; box-shadow: none; }
.stay > :not(.pin):not(.stay__walk) { grid-column: 2 / -1; }
.stay > h3 { grid-column: 2; grid-row: 1; }
.stay h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.stay__meta { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.stay p { margin: 4px 0 0; font-size: 17px; }
.stay__meta span + span::before { content: " · "; }
.stay__walk { grid-column: 3; grid-row: 1; justify-self: end; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--ink); }
.stay__actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 16px; }
.stay__actions button { padding: 0 0 1px; font: inherit; font-weight: 500; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--gold); cursor: pointer; }
@media (max-width: 520px) {
  .stay { grid-template-columns: 32px 1fr; column-gap: 14px; }
  .stay .pin { width: 26px; height: 26px; font-size: 13px; }
  .stay > h3 { grid-column: 2; }
  .stay__walk { grid-column: 2; grid-row: 2; justify-self: start; }
}

.note-card { margin: 32px 0 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); text-align: left; font-size: 17px; }
.note-card strong { color: var(--red); }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin: 0; text-align: left; }
.ways div { padding-top: 18px; border-top: 1px solid var(--line); }
.ways dt { margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.ways dd { margin: 0; font-size: 17px; line-height: 1.6; }
@media (max-width: 640px) { .ways { grid-template-columns: 1fr; gap: 28px; } }


/* five nav items: keep them on one line on phones */
@media (max-width: 480px) {
  .nav { padding-left: 12px; padding-right: 12px; }
  .nav__links { gap: 0 12px; flex-wrap: nowrap; }
  .nav__links a { font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
}
@media (max-width: 374px) {
  .nav__links { gap: 0 10px; }
  .nav__links a { font-size: 13px; letter-spacing: 0; }
}

/* ---------- Copy still to be written ----------------------------------- */
/* <span class="todo">…</span>: stands out on the page and is easy to grep for. */
.todo { padding: 0 .3em; font-style: normal; color: var(--ink); background: rgba(217,162,115,.28); outline: 1px dashed var(--ph); }

/* ---------- Nav: RSVP button ------------------------------------------ */

.nav__links a.nav__rsvp { padding: 4px 14px; border: 1px solid var(--ink); color: var(--ink); transition: background .2s, color .2s; }
.nav__links a.nav__rsvp:hover, .nav__links a.nav__rsvp[aria-current="page"] { color: var(--card); background: var(--ink); }
@media (max-width: 480px) {
  .nav__links a.nav__rsvp { padding: 4px 10px; }
}

/* ---------- Hero: at a glance + calendar ------------------------------- */

.hero__facts { font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.hero__facts > span + span::before { content: " · "; color: var(--gold); }
.hero__facts .todo { text-transform: none; letter-spacing: 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px !important; }
.hero__actions .btn { min-width: 240px; }
.hero__cal { font-size: 16px; color: var(--muted); }

/* ---------- Home: venue note, more link, story ------------------------- */

.venue__note { max-width: 30em; margin: 10px auto 0; font-size: 17px; color: var(--muted); }
.story { max-width: 32em; margin: 36px auto 0; }
.story p { margin: 0 0 16px; }

/* ---------- Dress code note -------------------------------------------- */

.look-note { margin: 28px 0 0; text-align: center; font-style: italic; color: var(--muted); }
.day__where { margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.day__where a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); }
.venue__actions .btn { min-width: 240px; }
@media (max-width: 400px) {
  .hero__when strong, .hero__when span { font-size: 15px; letter-spacing: .1em; }
  .hero__facts { font-size: 14px; letter-spacing: .08em; }
}
