/* Warm paper with restrained vermilion accents. Functional styles remain in styles.css. */
@font-face {
  font-family: "Nanzhong Brush";
  src: url("assets/nanzhong-brush.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nanzhong Display";
  src: url("assets/nanzhong-serif.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --red-950: #7c2e29;
  --red-900: #a03e35;
  --red-800: #b15044;
  --red-700: #bd6354;
  --gold-700: #876329;
  --gold-500: #c59a51;
  --gold-300: #f0cd8f;
  --ink: #402d25;
  --ink-soft: #78614f;
  --paper: #f8f4ed;
  --paper-light: #fffdf8;
  --paper-deep: #eee5d6;
  --border: #dacebb;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: "Nanzhong Display", "Songti SC", "SimSun", serif;
  --brush: "Nanzhong Brush", "Nanzhong Display", "KaiTi", serif;
  --serif: "Songti SC", "SimSun", serif;
  --shadow-sm: 0 8px 24px rgba(55, 36, 28, .04);
  --shadow-lg: 0 24px 60px rgba(55, 36, 28, .08);
}
html { scroll-padding-top: 88px; }
body { background: var(--paper); }
select { font-family: var(--sans); font-size: 16px; }
.shell { width: min(1160px, calc(100% - 96px)); }
.section-pad { padding: 104px 0; }
.topbar { height: 80px; padding-inline: max(48px, calc((100vw - 1160px)/2)); color: var(--red-950); background: rgba(255,253,248,.96); border-bottom: 1px solid var(--border); }
.brand-mark { width: 43px; height: 43px; }
.brand-copy strong { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .2em; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.topbar-action { color: var(--red-900); background: transparent; border: 1px solid #bf9481; border-radius: 0; min-width: 118px; font-size: 14px; font-weight: 400; }
.topbar-action:hover { color: var(--paper-light); background: var(--red-900); box-shadow: none; }
.hero { min-height: 0; color: var(--ink); background: radial-gradient(ellipse at 85% 30%, rgba(210,189,154,.24), transparent 65%), linear-gradient(135deg, #fbf7ef 0%, var(--paper) 52%, #f3eadb 100%); }
.hero::before { content: ""; position: absolute; inset: 102px 20px 22px; border: 1px solid var(--border); pointer-events: none; }
.hero::after { opacity: .09; }
.hero-content { min-height: 0; padding-top: 126px; padding-bottom: 48px; }
.cover-masthead { display: flex; justify-content: space-between; gap: 20px; color: #ffe0ae; font-size: 12px; letter-spacing: .17em; }
.cover-masthead > span:last-child { font-family: Georgia, serif; font-size: 11px; letter-spacing: .2em; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; padding: 46px 0 40px; }
.hero-main { min-width: 0; text-align: left; }
.hero-kicker { margin: 0 0 24px; font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .35em; color: var(--gold-700); }
.hero h1 { display: grid; gap: 14px; font-family: var(--brush); font-weight: 400; font-size: clamp(60px, 7.2vw, 100px); line-height: 1.25; letter-spacing: .09em; color: #4d3a2e; text-shadow: none; }
.hero h1 i { display: none; }
.hero h1 > span:last-child { padding-left: .38em; color: var(--red-900); }
.hero-subtitle { margin-top: 30px; font-family: var(--display); font-size: 19px; letter-spacing: .2em; color: var(--ink); white-space: normal; }
.hero-dedication { margin: 16px 0 0; font-size: 15px; line-height: 1.9; letter-spacing: .04em; color: var(--ink-soft); }
.hero-photo { position: relative; inset: auto; width: 100%; height: auto; margin: 0; padding: 12px 12px 0; overflow: visible; border: 1px solid var(--border); border-radius: 0; background: var(--paper-light); box-shadow: 0 12px 30px rgba(83,62,34,.05); opacity: 1; }
.hero-photo img { display: block; width: 100%; height: 325px; object-fit: cover; object-position: 50% 50%; filter: saturate(.92) contrast(.99); }
.hero-cover-art { padding: 8px 8px 0; border-color: #caa66a; box-shadow: 0 22px 48px rgba(88, 57, 26, .12); }
.hero-cover-art::before { content: ""; position: absolute; z-index: 1; inset: 16px; border: 1px solid rgba(158, 117, 42, .35); pointer-events: none; }
.hero-cover-art img { object-position: center; }
.hero-cover-art figcaption { position: relative; z-index: 2; padding: 14px 8px 16px; color: var(--ink); }
.hero-cover-art figcaption small { color: var(--gold-700); }
.hero-photo::before, .hero-photo::after { display: none; }
.hero-photo figcaption { position: static; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 2px; color: #ffe0a0; font-size: 13px; letter-spacing: .08em; }
.hero-photo figcaption small { color: #ffe3bc; font-size: 9px; letter-spacing: .1em; }
.invitation-seal { position: absolute; z-index: 2; top: 22px; right: -14px; width: 36px; padding: 15px 7px; border: 1px solid var(--gold-300); background: var(--red-950); color: var(--gold-300); box-shadow: none; font-family: var(--display); font-size: 15px; font-weight: 400; line-height: 1.8; }
.cover-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 26px; border-top: 1px solid var(--border); }
.cover-date { display: flex; align-items: center; gap: 24px; }
.cover-date time { color: var(--gold-700); font: 400 55px/1.1 Georgia, serif; letter-spacing: -.04em; font-variant-numeric: lining-nums; white-space: nowrap; }
.cover-date time span { color: var(--gold-700); font-size: .7em; }
.cover-date p { margin: 0; color: #ffebcc; font-size: 12px; line-height: 1.9; }
.cover-rsvp { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 16px 24px; min-height: 56px; color: var(--paper-light); background: var(--red-900); border: 1px solid var(--red-900); font-size: 15px; letter-spacing: .08em; transition: background 180ms; }
.cover-rsvp span { font-size: 22px; }
.cover-rsvp:hover { background: var(--red-950); }
.arrival-section { padding: 52px 0 0; }
.section-index { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; color: var(--ink); font-size: 14px; letter-spacing: .16em; }
.section-index small { font-size: 10px; color: var(--ink-soft); letter-spacing: .14em; }
.section-index::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.event-card { width: 100%; grid-template-columns: 104px minmax(0, 1fr) 172px; background: transparent; border: 0; box-shadow: none; }
.event-date { min-height: 150px; padding: 16px; align-self: stretch; background: transparent; color: var(--red-900); border-right: 1px solid var(--border); }
.event-date span { color: var(--gold-700); font: 11px Georgia, serif; letter-spacing: .2em; }
.event-date strong { font: 64px/1.3 Georgia, serif; }
.event-date small { font-size: 12px; }
.event-details { padding: 0 32px; gap: 12px; }
.event-detail { align-items: flex-start; gap: 12px; }
.event-detail > svg { width: 19px; margin-top: 2px; }
.event-detail > div { grid-template-columns: 68px minmax(0, 1fr); gap: 4px 12px; min-width: 0; }
.event-detail strong { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.75; white-space: normal; word-break: normal; }
.event-detail span { font-size: 14px; font-weight: 600; }
.event-detail small, .event-detail .hotel-address { font-size: 15px; line-height: 1.8; word-break: normal; white-space: normal; }
.event-detail + .event-detail { padding-top: 0; border: 0; }
.event-detail .map-actions { margin-top: 6px; gap: 8px; }
.map-link { min-height: 44px; border-color: #d6b78b; color: var(--red-900); background: transparent; border-radius: 0; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.map-link:hover { color: var(--paper-light); background: var(--red-900); border-color: var(--red-900); }
.event-cta { padding: 12px 0 12px 24px; border-left: 1px solid var(--border); }
.event-cta p { font-size: 12px; }
.primary-button, .submit-button { min-height: 52px; background: var(--red-900); border-radius: 0; box-shadow: none; font-weight: 500; }
.primary-button:hover, .submit-button:hover { box-shadow: none; background: var(--red-950); }
.agenda-section { background:var(--paper-light); }
.agenda-layout { display:grid; grid-template-columns:290px minmax(0,1fr); gap:72px; align-items:start; }
.agenda-layout .section-heading { padding-top:8px; }
.agenda-list { margin:0; padding:0; list-style:none; border-top:1px solid var(--border); }
.agenda-list li { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; align-items:baseline; padding:17px 0; border-bottom:1px solid var(--border); }
.agenda-list time { color:var(--gold-700); font:17px/1.5 Georgia,serif; letter-spacing:.04em; }
.agenda-list strong { color:var(--ink); font-size:17px; font-weight:600; line-height:1.75; }
.venue-showcase { position: relative; overflow: hidden; background: #f0e7d8; }
.venue-showcase::before { content: ""; position: absolute; inset: 16px 20px; border-block: 1px solid rgba(157, 111, 43, .28); pointer-events: none; }
.venue-showcase-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.venue-photo { position: relative; margin: 0; padding: 10px 10px 0; background: var(--paper-light); border: 1px solid #c9a66d; box-shadow: 0 20px 45px rgba(77, 51, 25, .14); }
.venue-photo::before { content: ""; position: absolute; z-index: 1; top: 20px; left: 20px; width: 54px; height: 54px; border-top: 2px solid var(--gold-300); border-left: 2px solid var(--gold-300); pointer-events: none; }
.venue-photo img { display: block; width: 100%; height: clamp(230px, 34vw, 390px); object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.02); }
.venue-photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px 18px; color: var(--ink); }
.venue-photo figcaption span { color: var(--red-900); font-family: var(--display); font-size: 18px; letter-spacing: .14em; }
.venue-photo figcaption strong { color: var(--ink-soft); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.venue-copy { max-width: 395px; }
.venue-eyebrow { margin: 0 0 16px; color: var(--gold-700); font: 12px/1.6 Georgia, serif; letter-spacing: .14em; }
.venue-copy h2 { margin: 0; color: var(--red-900); font-family: var(--display); font-size: clamp(32px, 3.3vw, 46px); font-weight: 400; line-height: 1.5; letter-spacing: .1em; }
.venue-copy > p:not(.venue-eyebrow) { margin: 22px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.9; text-indent: 2em; }
.venue-details-list { margin: 0; padding-top: 18px; border-top: 1px solid #d2b98e; }
.venue-details-list div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 10px 0; }
.venue-details-list dt { color: var(--gold-700); font-size: 12px; letter-spacing: .12em; }
.venue-details-list dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.letter-section { background: var(--paper); }
.letter-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px 72px; }
.section-heading p { margin-bottom: 20px; color: var(--gold-700); font-size: 11px; letter-spacing: .17em; }
.section-heading h2 { font-family: var(--display); color: var(--red-900); font-size: 40px; font-weight: 400; line-height: 1.65; letter-spacing: .07em; }
.letter-layout > .section-heading { text-align: left; padding-top: 12px; }
.letter-aside { display: block; margin-top: 24px; color: var(--ink-soft); font-size: 13px; letter-spacing: .14em; }
.letter-card { margin: 0; padding: 44px 48px; border: 0; background: var(--paper-light); box-shadow: 0 12px 40px rgba(73,55,33,.04); }
.letter-card::before { width: 36px; height: 1px; top: 0; left: 48px; background: var(--gold-700); border: 0; }
.letter-card::after, .letter-watermark { display: none; }
.letter-card p { font-family: var(--sans); font-size: 18px; line-height: 2.05; }
.letter-card strong { font-weight: 500; }
.letter-card .salutation { margin-bottom: 16px; font-weight: 500; }
.letter-card footer { font-family: var(--sans); font-size: 14px; }
.letter-card time { font-size: 12px; }
.memories { grid-column: 1 / -1; margin: 0; gap: 40px; }
.memories div { padding: 24px 0 0; background: transparent; border-top: 1px solid var(--border); box-shadow: none; }
.memories span { top: 18px; right: 0; font: 32px Georgia, serif; color: #a77935; }
.memories strong { font-family: var(--display); font-size: 19px; font-weight: 400; }
.memories p { font-size: 14px; }
.signup-section { color: var(--ink); background: #f0e9dd; overflow: visible; }
.signup-section::before, .signup-leaf { display: none; }
.signup-grid { align-items: start; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; }
.section-heading.light h2 { color: var(--red-900); }
.section-heading.light p { color: var(--gold-700); }
.signup-copy { color: var(--ink-soft); font-family: var(--sans); font-size: 17px; line-height: 1.85; margin: 20px 0 26px; }
.signup-facts { border-top: 1px solid #d8bf9b; }
.signup-facts > div { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-color: #d8bf9b; }
.signup-facts span { color: var(--gold-700); font-size: 13px; }
.signup-facts strong { font-family: var(--sans); font-size: 17px; font-weight: 600; word-break: normal; }
.fact-location { gap: 9px; min-width: 0; }
.fact-location small { color: var(--ink-soft); font-family: var(--sans); font-size: 14px; line-height: 1.9; }
.signup-facts .map-link { color: var(--red-900); background: transparent; border-color: #bd945d; }
.signup-facts .map-link:hover { color: var(--paper-light); background: var(--red-900); }
.venue-contact { padding-block: 6px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.signup-form { padding: 36px; border: 0; background: var(--paper-light); box-shadow: var(--shadow-lg); }
.form-start-cue { margin: -36px -36px 28px; padding: 16px 24px; background: var(--red-950); border-bottom: 0; }
.form-start-cue strong { font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.form-start-cue small { color: #ffebcb; font-size: 12px; }
.form-start-icon { background: #f5d292; }
.form-heading { padding-bottom: 20px; }
.form-heading strong { font-family: var(--display); font-weight: 400; font-size: 28px; }
.form-heading > svg { display: none; }
.field-group > label, .field-group legend { font-size: 15px; }
.field-group input, .teaching-entry label, .segmented-control { border-radius: 0; }
.field-hint, .field-error { font-size: 13px; }
.field-hint { line-height: 1.8; }
.teaching-entry { gap: 8px; }
.teaching-entry select, .teaching-entry input { font-size: 16px; }
.add-teaching-button { font-size: 13px; border-radius: 0; }
.privacy-note { font-size: 12px; line-height: 1.8; }
.stats-section { padding-block: 80px; }
.stats-section .section-heading { text-align: left; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; }
.stats-section .section-heading p { margin: 0; }
.stats-section h2 { font-size: 28px; }
.stats-section .heading-flourish { display: none; }
.stats-summary { max-width: none; margin: 32px 0 0; padding: 32px 0; background: transparent; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: none; }
.stats-panel { max-width: none; margin-top: 24px; padding: 24px; background: transparent; border: 1px solid var(--border); box-shadow: none; }
.chart-empty { min-height: 150px; }
.chart-empty span { font-size: 13px; }
.class-roster { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--border); }
.roster-title { margin: 0 0 18px; color: var(--gold-700); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.roster-group + .roster-group { margin-top: 18px; }
.roster-group header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.roster-group header span { color: var(--red-900); font-family: var(--display); font-size: 23px; }
.roster-group header small { color: var(--ink-soft); font-size: 14px; }
.roster-list { display: flex; flex-wrap: wrap; gap: 13px; perspective: 900px; }
.class-chip { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 10px 15px; overflow: hidden; color: var(--ink); background: linear-gradient(145deg, #fffef9 0%, #f3e8d8 100%); border: 1px solid #cfaf7c; box-shadow: 5px 6px 0 #ddc7a3, 9px 13px 20px rgba(82, 52, 24, .13); font-size: 16px; font-weight: 600; line-height: 1.4; transform: rotateX(8deg) rotateY(-4deg) translateZ(0); transform-style: preserve-3d; animation: class-chip-arrive 620ms cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--chip-index) * 55ms); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.class-chip::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,.9) 46%, transparent 64%); transform: translateX(-135%); animation: class-chip-sheen 4.8s ease-in-out calc(900ms + var(--chip-index) * 140ms) infinite; pointer-events: none; }
.class-chip:hover { border-color: var(--gold-700); box-shadow: 7px 9px 0 #d4b47e, 14px 18px 24px rgba(82, 52, 24, .18); transform: rotateX(2deg) rotateY(3deg) translate3d(-2px, -4px, 14px); }
.class-chip i { position: relative; color: var(--red-900); font-family: Georgia, serif; font-size: 13px; font-style: normal; }
@keyframes class-chip-arrive { from { opacity: 0; transform: rotateX(46deg) rotateY(-18deg) translate3d(0, 24px, -28px); } to { opacity: 1; transform: rotateX(8deg) rotateY(-4deg) translateZ(0); } }
@keyframes class-chip-sheen { 0%, 72%, 100% { transform: translateX(-135%); } 86% { transform: translateX(135%); } }
.stats-note { font-size: 12px; }
.closing-section { min-height: 310px; color: var(--ink); background: var(--paper-deep); }
.closing-section::before, .closing-section::after, .closing-seal { display: none; }
.closing-inner p { color: #ffdda5; font-family: var(--sans); font-size: 13px; }
.closing-inner h2 { margin: 18px 0; color: var(--red-900); font-family: var(--brush); font-size: 48px; font-weight: 400; letter-spacing: .08em; }
.closing-inner > span { color: #ffe3bc; font-size: 13px; }
.page-footer { padding: 24px max(48px, calc((100vw - 1160px)/2)); background: var(--paper-deep); border-top: 1px solid var(--border); color: var(--ink-soft); font-size: 12px; }
.topbar-tools { display: flex; align-items: center; gap: 16px; }
.topbar .music-toggle { position: relative; inset: auto; z-index: auto; width: 44px; height: 44px; flex: 0 0 44px; box-shadow: none; border: 1px solid transparent; background: transparent; color: var(--red-900); }
.topbar .music-bars { background: var(--paper-light); }
.topbar .music-bars i { background: var(--red-900); }
.topbar .music-toggle:hover { border-color: #d5a666; background: rgba(240,205,143,.08); }
.cover-masthead,
.hero-dedication,
.hero-photo figcaption,
.hero-photo figcaption small,
.cover-date p,
.closing-inner p,
.closing-inner > span { color: var(--ink-soft); }
a:focus-visible, button:focus-visible { outline: 3px solid #a58043; outline-offset: 4px; }
@media (min-width: 1400px) { .hero-content { padding-top: 142px; padding-bottom: 52px; } .hero-layout { padding-block: 56px; } }
@media (max-width: 1050px) {
  .hero-layout { gap: 36px; }
  .hero h1 { font-size: 70px; }
  .hero-photo img { height: 310px; }
  .venue-showcase-grid { gap: 40px; }
  .hero-photo figcaption small { display: none; }
  .event-card { grid-template-columns: 82px minmax(0, 1fr); }
  .event-cta { grid-column: 2; border: 0; padding: 18px 32px 0; }
  .event-cta p { display: none; }
  .letter-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .letter-card { padding: 32px; }
  .section-heading h2 { font-size: 34px; }
  .signup-grid { gap: 36px; }
  .signup-form { padding: 28px; }
  .form-start-cue { margin: -28px -28px 24px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .topbar { padding-inline: 32px; }
  .hero h1 { font-size: 58px; }
  .hero-subtitle { font-size: 16px; }
  .hero-dedication { font-size: 14px; }
  .hero-photo img { height: 280px; }
  .venue-showcase-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .venue-copy { max-width: none; }
  .signup-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .signup-intro { display: block; }
  .signup-copy { max-width: 100%; }
  .signup-facts { margin: 0; }
  .letter-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .agenda-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .letter-layout h2 br { display: none; }
  .letter-aside { margin-top: 12px; }
  .letter-card { padding: 40px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  .shell, .shell.narrow { width: calc(100% - 40px); }
  .topbar { height: 64px; padding-inline: 20px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { display: none; }
  .topbar-action { min-width: 98px; padding-inline: 12px; min-height: 44px; font-size: 13px; }
  .topbar-tools { gap: 8px; }
  .hero::before { inset: 80px 10px 14px; }
  .hero-content { padding-top: 98px; padding-bottom: 34px; }
  .cover-masthead { justify-content: center; font-size: 11px; letter-spacing: .2em; }
  .cover-masthead > span:last-child { display: none; }
  .hero-layout { grid-template-columns: minmax(0,1fr); padding: 28px 4px 24px; gap: 28px; }
  .hero-main { text-align: center; }
  .hero-kicker { font-size: 12px; margin-bottom: 14px; letter-spacing: .32em; }
  .hero h1 { font-size: clamp(46px, 14.4vw, 76px); gap: 8px; letter-spacing: .09em; }
  .hero h1 > span:last-child { padding-left: .2em; }
  .hero-subtitle { margin-top: 18px; font-size: 16px; letter-spacing: .16em; }
  .hero-dedication { margin-top: 10px; font-size: 14px; line-height: 1.85; letter-spacing: 0; }
  .hero-photo { padding: 7px 7px 0; }
  .hero-photo img { height: auto; aspect-ratio: 1.7; object-position: center; }
  .hero-cover-art::before { inset: 13px; }
  .hero-photo figcaption { padding: 12px 2px; font-size: 12px; justify-content: space-between; letter-spacing: .04em; }
  .hero-photo figcaption small { display: block; font-size: 8px; letter-spacing: .04em; }
  .invitation-seal { top: auto; right: 0; bottom: 74px; padding: 8px 5px; font-size: 13px; width: 28px; line-height: 1.7; }
  .cover-footer { align-items: stretch; padding: 20px 4px 0; gap: 18px; }
  .cover-date { display: block; }
  .cover-date time { font-size: 36px; }
  .cover-date p { margin-top: 8px; font-size: 11px; line-height: 1.75; }
  .cover-rsvp { align-self: center; min-height: 50px; padding: 12px 16px; gap: 14px; font-size: 14px; letter-spacing: .02em; }
  .arrival-section { padding-top: 36px; }
  .venue-showcase { padding: 64px 0; }
  .venue-showcase::before { inset: 10px; }
  .venue-showcase-grid { gap: 28px; }
  .venue-photo { padding: 7px 7px 0; }
  .venue-photo img { height: 230px; }
  .venue-photo::before { top: 15px; left: 15px; width: 38px; height: 38px; }
  .venue-photo figcaption { display: block; padding: 13px 4px 15px; }
  .venue-photo figcaption span { display: block; font-size: 17px; }
  .venue-photo figcaption strong { display: block; margin-top: 5px; font-size: 12px; }
  .venue-eyebrow { margin-bottom: 12px; }
  .venue-copy h2 { font-size: 32px; }
  .venue-copy > p:not(.venue-eyebrow) { margin: 18px 0 0; font-size: 16px; }
  .venue-details-list div { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .section-index { margin-bottom: 20px; }
  .event-card { grid-template-columns: minmax(0,1fr); }
  .event-date { display: none; }
  .event-details { padding: 0; gap: 14px; }
  .event-detail { gap: 10px; }
  .event-detail > svg { width: 18px; margin-top: 6px; }
  .event-detail > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .event-detail span { display: block; font-size: 14px; }
  .event-detail strong { font-size: 17px; white-space: normal; word-break: normal; }
  .event-detail .hotel-address { font-size: 15px; grid-column: 1; white-space: normal; }
  .event-detail .map-actions { gap: 8px; margin-top: 10px; grid-column: 1; }
  .event-detail .map-link { flex: 1 1 auto; padding-inline: 9px; font-size: 13px; gap: 4px; }
  .event-detail .map-link svg { width: 14px; }
  .event-cta { grid-column: 1; padding: 20px 0 0; }
  .event-cta .primary-button { width: 100%; }
  .section-pad { padding: 60px 0; }
  .agenda-layout { gap:20px; }
  .agenda-list li { grid-template-columns:106px minmax(0,1fr); gap:12px; padding:15px 0; }
  .agenda-list time { font-size:15px; }
  .agenda-list strong { font-size:16px; }
  .section-heading h2 { white-space: normal; font-size: 29px; line-height: 1.65; letter-spacing: .04em; }
  .section-heading p { font-size: 10px; margin-bottom: 14px; }
  .letter-layout { gap: 26px; }
  .letter-layout h2 br { display: block; }
  .letter-layout > .section-heading { padding: 0; }
  .letter-aside { font-size: 12px; }
  .letter-card { padding: 30px 24px; }
  .letter-card::before { left: 24px; }
  .letter-card p { font-size: 17px; line-height: 2; }
  .letter-card footer { font-size: 13px; }
  .memories { gap: 20px; grid-template-columns: minmax(0,1fr); }
  .memories div { padding: 18px 0 0; }
  .memories strong { font-size: 18px; }
  .memories p { font-size: 13px; }
  .signup-grid { gap: 30px; }
  .signup-copy { font-size: 17px; }
  .signup-facts > div { grid-template-columns: 34px minmax(0,1fr); gap: 14px; padding: 16px 0; }
  .signup-facts .map-actions { gap: 8px; }
  .signup-facts .map-link { font-size: 13px; padding-inline: 10px; }
  .signup-form { padding: 28px 22px; scroll-margin-top: 6px; }
  .form-start-cue { margin: -28px -22px 24px; padding: 16px 18px; }
  .form-heading strong { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .teaching-entry { grid-template-columns: 1fr 1fr auto; }
  .teaching-entry .level-field { grid-column: 1 / -1; }
  .stats-section .section-heading { display: block; }
  .stats-section .section-heading p { margin-bottom: 12px; }
  .stats-section h2 { font-size: 26px; }
  .stats-summary { margin-top: 24px; padding: 24px 0; }
  .total-stat { border-bottom-color: var(--border); }
  .stats-panel { padding: 20px 16px; }
  .class-roster { margin-top: 18px; padding-top: 18px; }
  .roster-list { gap: 11px; }
  .class-chip { min-height: 47px; padding-inline: 13px; font-size: 16px; }
  .chart-empty { min-height: 140px; }
  .chart-empty span { font-size: 12px; text-align: center; }
  .closing-section { min-height: 260px; }
  .closing-inner p { font-size: 12px; letter-spacing: .12em; }
  .closing-inner h2 { font-size: 30px; white-space: normal; letter-spacing: .03em; line-height: 1.8; }
  .closing-inner > span { font-size: 12px; letter-spacing: .12em; }
  .page-footer { padding: 22px 20px 80px; font-size: 11px; gap: 6px; }
  .music-toggle { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .class-chip { transform: none; box-shadow: 3px 4px 0 #ddc7a3; }
}
