:root {
  --paper: #f9f2e7;
  --paper-deep: #f1e3cf;
  --ink: #342326;
  --wine: #722d36;
  --wine-dark: #531d26;
  --gold: #b88948;
  --gold-pale: #e4c99a;
  --line: rgba(114, 45, 54, .18);
  --shadow: 0 18px 42px rgba(71, 39, 28, .11);
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 100% 0, rgba(184, 137, 72, .15), transparent 29rem),
    linear-gradient(135deg, rgba(114, 45, 54, .035) 25%, transparent 25%) 0 0 / 20px 20px,
    var(--paper);
  line-height: 1.7;
}

a { color: inherit; }
button { font: inherit; }
.shell { width: min(100% - 36px, 760px); margin: 0 auto; }
.eyebrow { margin: 0 0 10px; color: var(--wine); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.section { padding: 66px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-title { margin: 0; font: 700 clamp(28px, 8vw, 42px)/1.2 var(--serif); letter-spacing: .04em; }
.section-lead { max-width: 580px; margin: 16px 0 0; color: #6d5555; }

.topbar { position: relative; z-index: 20; min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--wine); text-decoration: none; font: 700 19px var(--serif); letter-spacing: .14em; }
.menu-button {
  width: 42px; height: 38px; padding: 0 0 0 11px; border: 0; border-radius: 0;
  display: inline-flex; align-items: center; position: relative; order: -1; color: var(--wine); background: transparent; cursor: pointer;
}
.menu-button::before { content: ""; position: absolute; inset: 5px auto 5px 0; width: 1px; background: var(--gold); }
.menu-glyph, .menu-glyph::before, .menu-glyph::after { display: block; height: 1.5px; background: currentColor; }
.menu-glyph { width: 18px; position: relative; }
.menu-glyph::before, .menu-glyph::after { content: ""; position: absolute; left: 0; }
.menu-glyph::before { top: 6px; width: 13px; }
.menu-glyph::after { top: 12px; width: 18px; }
.menu-button[aria-expanded="true"] { color: var(--paper); background: var(--wine); }
.menu-button[aria-expanded="true"] .menu-glyph { background: transparent; }
.menu-button[aria-expanded="true"] .menu-glyph::before { top: 0; width: 18px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-glyph::after { top: 0; transform: rotate(-45deg); }
.topbar:has(.menu-button[aria-expanded="true"]) .brand { color: var(--paper); }
.menu-button:focus-visible, .site-menu a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.site-menu {
  position: fixed; z-index: 10; inset: 0 0 auto; padding: 92px max(18px, calc((100vw - 760px) / 2));
  background: rgba(83, 29, 38, .98); color: #fffaf1; transform: translateY(-105%); transition: transform .25s ease;
  box-shadow: 0 12px 30px rgba(38, 13, 18, .2); visibility: hidden; pointer-events: none;
}
.site-menu[data-open="true"] { transform: translateY(0); visibility: visible; pointer-events: auto; }
.site-menu nav { display: grid; gap: 10px; }
.site-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.22); color: inherit; text-decoration: none; font: 600 20px var(--serif); letter-spacing: .08em; }
.site-menu p { margin: 18px 0 0; color: rgba(255,250,241,.75); font-size: 13px; }

.hero { padding: 18px 0 70px; text-align: center; }
.hero-ornament {
  display: grid;
  width: min(220px, 53vw);
  margin: 16px auto 14px;
  place-items: center;
}
.hero-ornament img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 7px 9px rgba(112, 24, 31, .15));
}
.hero h1 { margin: 0; color: var(--wine-dark); font: 700 clamp(35px, 10vw, 56px)/1.15 var(--serif); letter-spacing: .08em; }
.hero-date { margin: 14px 0 0; color: var(--gold); font: 700 14px var(--sans); letter-spacing: .18em; }
.hero-copy { max-width: 520px; margin: 25px auto 0; color: #665051; }
.countdown {
  max-width: 530px; margin: 34px auto 0; padding: 23px 18px 20px; border: 1px solid var(--gold-pale);
  background: rgba(255, 251, 245, .72); box-shadow: var(--shadow);
}
.countdown-label { margin: 0; color: var(--wine); font-weight: 700; font-size: 13px; letter-spacing: .13em; }
.countdown-time { margin: 7px 0 0; color: var(--wine-dark); font: 700 clamp(23px, 7.5vw, 38px)/1.25 var(--serif); letter-spacing: .05em; }
.countdown-note { margin: 9px 0 0; color: #836a57; font-size: 13px; }

.detail-grid { display: grid; gap: 16px; margin-top: 32px; }
.detail { padding: 20px 20px 21px; border-left: 3px solid var(--gold); background: rgba(255, 252, 247, .72); }
.detail h3 { margin: 0; color: var(--wine); font: 700 19px var(--serif); }
.detail p { margin: 6px 0 0; }
.detail small { display: block; margin-top: 8px; color: #846e60; }
.copy-address { display: inline-block; margin-top: 8px; padding: 8px 13px; border: 1px solid var(--wine); color: var(--wine); background: transparent; cursor: pointer; font-size: 13px; text-decoration: none; }
.copy-address:hover, .copy-address:focus-visible { background: var(--wine); color: white; }
.copy-status { display: inline-block; min-height: 1.3em; margin: 0 0 0 10px; color: #806452; font-size: 13px; }

.guest-flow { margin: 34px 0 0; padding: 0; list-style: none; }
.guest-flow li { display: grid; grid-template-columns: 82px 1fr; gap: 18px; position: relative; padding: 0 0 31px; }
.guest-flow li:not(:last-child)::before { content: ""; position: absolute; top: 32px; bottom: 0; left: 40px; width: 1px; background: var(--gold-pale); }
.guest-flow time { position: relative; z-index: 1; width: 82px; height: 32px; display: grid; place-items: center; color: #fffaf1; background: var(--wine); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.guest-flow h3 { margin: 0; color: var(--wine-dark); font: 700 20px var(--serif); }
.guest-flow p { margin: 4px 0 0; color: #665051; }

.team-section { padding: 30px 0; }
.team-callout { padding: 16px 0 16px 18px; border-left: 2px solid var(--gold); color: var(--ink); background: transparent; }
.team-callout h2 { margin: 0; color: var(--wine); font: 700 20px var(--serif); }
.team-callout p { margin: 4px 0 11px; color: #745f59; font-size: 14px; }
.button-link { display: inline-block; padding: 6px 0; color: var(--wine); text-decoration: none; font-weight: 700; font-size: 14px; }
.button-link:hover, .button-link:focus-visible { color: var(--wine-dark); text-decoration: underline; text-underline-offset: 4px; }

.footer { padding: 35px 0 44px; color: var(--wine); text-align: center; font: italic 18px/1.4 Georgia, "Times New Roman", var(--serif); letter-spacing: .035em; }
.icp-link { display: block; width: fit-content; margin: 18px auto 0; color: #79675d; font: normal 12px/1.6 sans-serif; letter-spacing: 0; text-decoration: none; }
.icp-link:hover { text-decoration: underline; }

.page-intro { padding: 30px 0 48px; }
.page-intro h1 { max-width: 600px; margin: 0; color: var(--wine-dark); font: 700 clamp(32px, 9vw, 48px)/1.2 var(--serif); letter-spacing: .05em; }
.page-intro p:last-child { max-width: 640px; margin: 16px 0 0; color: #695454; }
.notice { margin-top: 22px; padding: 13px 16px; border: 1px solid var(--gold-pale); color: #725a47; background: rgba(255, 252, 247, .74); font-size: 14px; }

.team-timeline { margin: 32px 0 0; padding: 0 0 0 20px; border-left: 1px solid var(--gold-pale); }
.task { position: relative; padding: 0 0 37px 25px; }
.task::before { content: ""; position: absolute; top: 5px; left: -28px; width: 13px; height: 13px; border: 3px solid var(--paper); border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 1px var(--gold); }
.task-time { margin: 0 0 4px; color: var(--wine); font-weight: 800; letter-spacing: .06em; }
.task-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.task h2 { margin: 0; color: var(--wine-dark); font: 700 22px var(--serif); }
.place { color: #826856; font-size: 13px; }
.task-body { margin: 10px 0 0; color: #594547; }
.task-body ul { margin: 8px 0 0; padding-left: 19px; }
.task-body li + li { margin-top: 5px; }
.roles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.role { padding: 3px 9px; border: 1px solid var(--line); color: var(--wine); background: rgba(255, 252, 247, .7); font-size: 12px; }
.pending { color: #8a6530; font-weight: 700; }
.task.highlight::before { background: var(--gold); }
.task.highlight h2 { color: var(--wine); }

@media (min-width: 640px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail:first-child { grid-column: span 2; }
  .task { padding-left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-menu { transition: none; }
}
