@font-face {
  font-family: "Pacifico";
  src: url("assets/fonts/Pacifico-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cartier-red: #a42127;
  --rich-gold: #e7cda9;
  --begonia: #c46b7c;
  --rudder: #d99192;
  --silver-red: #c75d68;
  --scarlet: #c83c23;
  --peach: #dc91a3;
  --pink: #efbdc7;
  --beige: #fcf5e8;
  --champagne: #f5e7ea;
  --ink: #243047;
  --line: #e8bec5;
  font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, var(--beige), var(--champagne));
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 88% 0%, var(--pink) 0 13%, transparent 38%), radial-gradient(circle at 6% 22%, #c9c9dd 0 16%, transparent 38%), var(--champagne); }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 28px auto 56px; overflow: hidden; border: 1px solid rgba(82, 61, 95, .24); border-radius: 28px; background: var(--beige); box-shadow: 0 20px 50px rgba(58, 52, 87, .19); }
.topbar { min-height: 58px; display: grid; grid-template-columns: auto minmax(120px, 180px) minmax(190px, 1fr) auto; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: rgba(252, 245, 232, .9); }
.brand { color: var(--cartier-red); font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 700; letter-spacing: .03em; text-decoration: none; }
.brand span { color: var(--begonia); font-style: italic; }
.topbar input { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid #edb1a5; border-radius: 9px; outline-color: var(--cartier-red); background: #fff; color: var(--ink); }
.text-button { border: 0; color: var(--cartier-red); background: transparent; font-weight: 700; }
.hero { position: relative; isolation: isolate; min-height: 570px; overflow: hidden; border-bottom: 1px solid var(--line); background: url("assets/hero-airi.jpg") center top / cover no-repeat; }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, rgba(252,245,232,.92) 0%, rgba(234,224,231,.58) 25%, rgba(201,201,221,.03) 43%, rgba(201,201,221,.02) 61%, rgba(239,189,199,.5) 80%, rgba(226,151,162,.74) 100%); }
.hero-copy { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 570px; padding: 48px; }
.eyebrow, .kicker { margin: 0; color: var(--cartier-red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1 { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr) minmax(0, 1fr); align-items: center; width: 100%; margin: 0; color: var(--ink); font-family: "Bodoni 72", Didot, Baskerville, "Times New Roman", serif; font-size: clamp(48px, 5.65vw, 82px); font-weight: 700; line-height: .92; letter-spacing: .095em; text-shadow: 0 2px 18px rgba(252,245,232,.64); }
.title-name { grid-column: 1; white-space: nowrap; }
.title-mail { grid-column: 3; color: var(--cartier-red); font-family: "Bodoni 72", Didot, Baskerville, "Times New Roman", serif; font-size: .72em; font-style: italic; letter-spacing: .13em; text-align: right; white-space: nowrap; }
.hero-intro { grid-column: 1 / span 1; grid-row: 3; max-width: 390px; margin: 0; color: var(--ink); font: 500 15px/1.7 "STKaiti", "KaiTi", "Songti SC", serif; letter-spacing: .04em; text-shadow: 0 1px 10px rgba(252,245,232,.9); }
.year-tabs { display: flex; grid-column: 3; grid-row: 3; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.year-tab { min-width: 66px; padding: 8px 12px; border: 1px solid #e3a7a2; border-radius: 999px; background: rgba(255,255,255,.55); color: var(--cartier-red); font-weight: 700; }
.year-tab.active, .year-tab:hover { color: #fff; border-color: var(--cartier-red); background: var(--cartier-red); }
.year-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 28px 48px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, var(--beige), #eee7f0 52%, var(--champagne)); }
.year-cover { position: relative; min-height: 165px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 15px; background: var(--rich-gold); color: var(--beige); box-shadow: 0 7px 16px rgba(58, 52, 87, .16); text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.year-cover img { display: block; width: 100%; height: 100%; min-height: 165px; object-fit: cover; }
.year-cover span { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 24px 14px 12px; background: linear-gradient(transparent, rgba(36, 48, 71, .83)); }
.year-cover b { font: 700 26px/1 Georgia, serif; letter-spacing: .06em; }
.year-cover small { font-size: 11px; white-space: nowrap; }
.year-cover:hover, .year-cover.active { border-color: var(--cartier-red); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(58, 52, 87, .22); }
.dashboard { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr); gap: 0; }
.timeline-area { min-width: 0; padding: 34px; border-right: 1px solid var(--line); }
.section-heading, .stats-heading, .calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2, .stats-heading h2 { margin: 4px 0 0; font-size: 22px; color: var(--cartier-red); }
.result-count, .stats-total { margin: 0; color: var(--begonia); font-weight: 700; font-size: 13px; white-space: nowrap; }
.highlight-card { margin: 22px 0; padding: 17px 18px; border: 1px solid #f2c3ae; border-radius: 15px; background: linear-gradient(120deg, #fff5ed, #fffdf8); }
.highlight-card:empty { display: none; }
.highlight-card h3 { margin: 0 0 8px; color: var(--scarlet); font-size: 15px; }
.highlight-card p { margin: 0; color: #72464c; line-height: 1.65; }
.highlight-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.highlight-tags span { padding: 3px 8px; border-radius: 99px; color: #8c2e35; background: var(--rich-gold); font-size: 12px; font-weight: 700; }
.active-filter { margin: 0 0 14px; padding: 9px 12px; border-left: 3px solid var(--begonia); background: #fff2ec; color: #93454c; font-size: 13px; }
.mail-list { display: grid; gap: 15px; }
.mail-card { padding: 18px; border: 1px solid #f1d1c1; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(164, 33, 39, .04); transition: transform .2s, box-shadow .2s; }
.mail-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(164, 33, 39, .1); }
.mail-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 11px; border-bottom: 1px dashed #ebc7bd; color: #996568; font-size: 12px; }
.mail-meta time { color: var(--cartier-red); font-weight: 800; }
.original-link { margin-left: auto; color: var(--begonia); font-weight: 700; text-decoration: none; }
.mail-body pre { margin: 15px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.8 "Microsoft YaHei", sans-serif; color: #4c3134; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.photo-grid a { display: block; overflow: hidden; border-radius: 10px; background: #f7e7ce; aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.05); }
.load-more { display: block; width: min(100%, 260px); margin: 24px auto 0; padding: 11px; border: 1px solid var(--cartier-red); border-radius: 10px; color: var(--cartier-red); background: #fff; font-weight: 800; }
.load-more:hover { color: #fff; background: var(--cartier-red); }
.side-panel { min-width: 0; background: linear-gradient(180deg, #f7f0e8, #eee8f1); }
.calendar-card, .stats-card { padding: 28px 24px; }
.stats-card { border-top: 1px solid var(--line); }
.calendar-header h2 { margin: 0; color: var(--cartier-red); font-family: Georgia, serif; font-size: 20px; }
.icon-button { width: 32px; height: 32px; border: 1px solid #e7aba1; border-radius: 8px; color: var(--cartier-red); background: #fff; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.weekdays { margin: 19px 0 6px; color: #a26b69; text-align: center; font-size: 11px; }
.calendar-day { min-height: 38px; border: 1px solid transparent; border-radius: 9px; color: #6a4548; background: transparent; font-size: 12px; }
.calendar-day.muted { color: #d9b3ad; }
.calendar-day.has-mail { border-color: #f5b8a9; color: var(--cartier-red); background: #fff8f3; font-weight: 800; }
.calendar-day.has-mail::after { content: attr(data-count); display: block; color: var(--begonia); font-size: 9px; line-height: 8px; }
.calendar-day.selected { color: #fff; border-color: var(--cartier-red); background: var(--cartier-red); }
.calendar-day.selected::after { color: var(--rich-gold); }
.stats-note { margin: 10px 0 16px; color: #8f6160; font-size: 12px; line-height: 1.55; }
.member-stats { display: grid; gap: 11px; }
.member-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 10px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; }
.member-stat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13px; }
.member-stat-count { color: var(--begonia); font-size: 12px; font-weight: 800; }
.stat-track { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 99px; background: #f6d5ca; }
.stat-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cartier-red), var(--rudder)); }
.member-stat:hover .member-stat-name { color: var(--cartier-red); }
.former-tag { display: inline-block; margin-left: 3px; padding: 1px 4px; border: 1px solid #e9a797; border-radius: 999px; color: #a95852; background: #fff2eb; font-size: 9px; font-style: normal; font-weight: 700; line-height: 1.25; vertical-align: 1px; }
.member-directory { margin-top: 19px; border-top: 1px dashed #efc4b8; color: #704247; }
.member-directory summary { padding: 14px 0 9px; color: var(--cartier-red); cursor: pointer; font-weight: 800; font-size: 13px; }
.member-directory-head, .member-directory-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; }
.member-directory-head { color: #a26b69; font-size: 10px; }
.member-directory-list { display: grid; gap: 5px; margin-top: 6px; }
.member-directory-row { padding: 7px 0; border-bottom: 1px solid #fae1d7; font-size: 11px; }
.member-directory-row strong { color: #8e3037; }
.member-directory-row span:last-child { color: #805e60; line-height: 1.45; }
.alias-pairs { display: block; margin-top: 3px; color: var(--begonia); font-size: 10px; font-weight: 700; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.empty-state { padding: 35px 12px; color: #f2c4cd; text-align: center; }

/* Stage-night theme: black ground, ivory copy, and AKB red accents. */
:root { --ink: #f8f4ee; --line: #3b2630; --beige: #07080c; --champagne: #0d0e14; }
body { background: #030407; }
.shell { border-color: #38232d; background: #07080c; box-shadow: 0 22px 56px rgba(0, 0, 0, .62); }
.topbar { border-bottom-color: #3b2630; background: #050609; }
.brand { color: #fff8ef; }
.brand span { color: var(--peach); }
.topbar input { border-color: #70424d; background: #10121a; color: #fff8ef; }
.topbar input::placeholder { color: #b9aab0; }
.text-button { color: #ff6d78; }
.hero { border-bottom-color: #3b2630; }
.hero::before { background: linear-gradient(90deg, rgba(4,5,9,.8) 0%, rgba(14,14,23,.36) 25%, rgba(20,20,32,.02) 44%, rgba(20,20,32,.02) 60%, rgba(77,13,26,.27) 80%, rgba(4,5,9,.54) 100%); }
h1 { color: #fffaf4; text-shadow: 0 3px 22px rgba(0,0,0,.7); }
.title-mail { color: #ff4855; text-shadow: 0 3px 22px rgba(0,0,0,.7); }
.eyebrow, .kicker { color: #ff6b75; }
.hero-intro { color: #fff5ee; text-shadow: 0 2px 12px rgba(0,0,0,.78); }
.year-tab { border-color: #9b5360; background: rgba(7,8,12,.78); color: #fff8ef; }
.year-tab.active, .year-tab:hover { border-color: #ff5c68; background: #ba1f31; }
.year-gallery { border-bottom-color: #3b2630; background: #050609; }
.year-cover { border-color: #2d2027; box-shadow: 0 8px 20px rgba(0,0,0,.48); }
.year-cover:hover, .year-cover.active { border-color: #ff5965; box-shadow: 0 12px 26px rgba(164,33,39,.32); }
.timeline-area { border-right-color: #3b2630; background: #07080c; }
.section-heading h2, .stats-heading h2, .calendar-header h2 { color: #fff8ef; }
.result-count, .stats-total { color: #ff7f8c; }
.highlight-card { border-color: #5e3540; background: linear-gradient(120deg, #171016, #0d0e14); }
.highlight-card h3 { color: #ff6a74; }
.highlight-card p { color: #f6e3df; }
.highlight-tags span { color: #200b10; background: #f2b6bc; }
.active-filter { border-left-color: #ff6672; background: #1a1117; color: #ffd9d7; }
.mail-card { border-color: #392630; background: #111218; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.mail-card:hover { box-shadow: 0 10px 22px rgba(164,33,39,.24); }
.mail-meta { border-bottom-color: #55323c; color: #d1b7bb; }
.mail-meta time, .original-link { color: #ff7a84; }
.mail-body pre { color: #fbf5ef; }
.photo-grid a { background: #19141a; }
.load-more { border-color: #d83f4d; color: #fff5ef; background: #171017; }
.load-more:hover { background: #ba1f31; }
.side-panel { background: #0b0c11; }
.stats-card { border-top-color: #3b2630; }
.icon-button { border-color: #70424d; color: #fff6ef; background: #161017; }
.weekdays { color: #bca5aa; }
.calendar-day { color: #f4e9e8; }
.calendar-day.muted { color: #66545b; }
.calendar-day.has-mail { border-color: #994653; color: #fff5ef; background: #21131a; }
.calendar-day.selected { border-color: #e64b59; background: #ba1f31; }
.stats-note, .member-directory { color: #d9c5c7; }
.member-stat { color: #fff8ef; }
.member-stat-count, .alias-pairs { color: #ff8590; }
.stat-track { background: #38242d; }
.member-directory { border-top-color: #563640; }
.member-directory summary { color: #fff5ef; }
.member-directory-head { color: #bca5aa; }
.member-directory-row { border-bottom-color: #30222a; }
.member-directory-row strong { color: #ff9ba4; }
.member-directory-row span:last-child { color: #e0cfd0; }
.former-tag { border-color: #8e4652; color: #ffc1c7; background: #21131a; }

.member-showcase { padding: 34px 38px 40px; border-top: 1px solid #3b2630; background: #050609; }
.member-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.member-showcase-heading h2 { margin: 5px 0 0; color: #fff8ef; font: 700 27px/1.1 "Bodoni 72", Didot, "Songti SC", serif; letter-spacing: .05em; }
.member-showcase-heading > p { margin: 0; color: #cbb9bd; font-size: 13px; }
.member-carousel-shell { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 12px; }
.member-carousel { display: flex; gap: 14px; overflow-x: auto; padding: 5px 3px 15px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #8e3040 #1a1217; scrollbar-width: thin; }
.member-carousel::-webkit-scrollbar { height: 7px; }
.member-carousel::-webkit-scrollbar-track { border-radius: 99px; background: #1a1217; }
.member-carousel::-webkit-scrollbar-thumb { border-radius: 99px; background: #8e3040; }
.member-card { position: relative; flex: 0 0 132px; overflow: hidden; padding: 0; border: 1px solid #432932; border-radius: 14px; background: #111218; color: #fff8ef; scroll-snap-align: start; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.member-card:hover, .member-card:focus-visible, .member-card.active { border-color: #ff5965; outline: none; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(164,33,39,.28); }
.member-card img { display: block; width: 100%; height: 164px; object-fit: cover; object-position: center top; background: #1b161b; }
.member-card-copy { display: block; min-height: 61px; padding: 10px 10px 9px; background: linear-gradient(180deg, #17131a, #0d0e13); }
.member-card-name { display: block; overflow: hidden; color: #fff8ef; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.member-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 5px; color: #ff8590; font-size: 10px; }
.member-card-status { color: #d3bbc0; }
.member-scroll-button { width: 38px; height: 54px; border: 1px solid #68404b; border-radius: 11px; background: #151017; color: #fff8ef; font-size: 20px; }
.member-scroll-button:hover { border-color: #ff5965; background: #a42127; }
.member-scroll-button:disabled { cursor: default; opacity: .32; }

/* Night-sky motion layer */
body { background-color: #030407; background-image: radial-gradient(circle at 15% 12%, rgba(255,255,255,.055) 0 1px, transparent 1.5px), radial-gradient(circle at 75% 38%, rgba(255,89,101,.06) 0 1px, transparent 1.6px); background-size: 74px 74px, 113px 113px; }
.hero-copy { z-index: 2; }
.star-field { position: absolute; inset: -18px; z-index: 0; overflow: hidden; pointer-events: none; transition: transform .8s cubic-bezier(.2,.75,.25,1); }
.hero-star { position: absolute; left: var(--star-x); top: var(--star-y); width: var(--star-size); height: var(--star-size); border-radius: 50%; background: #fffdf7; box-shadow: 0 0 7px 1px rgba(255,255,255,.7), 0 0 13px rgba(255,100,115,.38); opacity: .18; animation: star-twinkle var(--star-duration) ease-in-out var(--star-delay) infinite; }
.hero-star:nth-child(5n) { background: #ff7782; box-shadow: 0 0 8px #ff5965; }
.hero-star:nth-child(7n) { border-radius: 0; transform: rotate(45deg); background: #f7e7ce; }
.shooting-star { position: absolute; left: -22%; top: var(--shoot-y); width: 150px; height: 1px; opacity: 0; transform: rotate(-14deg); transform-origin: right center; background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), #fff); filter: drop-shadow(0 0 5px rgba(255,89,101,.8)); animation: shooting-star 10.8s ease-in var(--shoot-delay) infinite; }
.shooting-star::after { position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255,89,101,.68); }
.title-name, .title-mail { background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: title-starlight 7s linear infinite; }
.title-name { background-image: linear-gradient(105deg, #fff9f2 12%, #e8d7dc 38%, #fff 48%, #f0c0c7 56%, #fff9f2 82%); }
.title-mail { background-image: linear-gradient(105deg, #ff4c59 12%, #ff9aa3 38%, #fff0ed 48%, #ff6571 58%, #d5293a 82%); }
.eyebrow { text-shadow: 0 0 11px rgba(255,89,101,.55); animation: soft-glow 3.2s ease-in-out infinite; }
.year-cover img, .member-card img { transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .4s ease; }
.year-cover:hover img, .member-card:hover img { transform: scale(1.055); filter: saturate(1.08) brightness(1.04); }
.member-card::after { position: absolute; right: 9px; top: 9px; z-index: 2; content: "✦"; color: #fff7e9; font-size: 17px; opacity: 0; filter: drop-shadow(0 0 6px #ff5965); transform: scale(.35) rotate(-30deg); transition: opacity .25s, transform .45s cubic-bezier(.2,1.6,.35,1); }
.member-card:hover::after, .member-card.active::after { opacity: 1; transform: scale(1) rotate(0); }
.member-showcase-heading h2::after { display: inline-block; margin-left: 10px; content: "✦"; color: #ff6571; font-size: .65em; filter: drop-shadow(0 0 7px rgba(255,89,101,.7)); animation: star-spin 5s linear infinite; }
/* 核心阅读区不能因观察器未触发而留下整片空黑。 */
.reveal-section, .reveal-section.is-visible { opacity: 1; transform: none; }
.star-burst { position: fixed; z-index: 9999; width: 1px; height: 1px; pointer-events: none; }
.star-burst i { position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: 1px; background: #fff9e9; box-shadow: 0 0 7px #ff5965; transform: rotate(var(--angle)) translateX(0) scale(1); animation: star-burst .7s ease-out forwards; }
.star-burst i:nth-child(2n) { width: 3px; height: 3px; background: #ff6571; }

@keyframes star-twinkle { 0%, 100% { opacity: .12; transform: scale(.65); } 48% { opacity: .92; transform: scale(1.45); } 70% { opacity: .35; transform: scale(.9); } }
@keyframes shooting-star { 0%, 72% { left: -22%; opacity: 0; } 74% { opacity: .95; } 88% { left: 116%; opacity: 0; } 100% { left: 116%; opacity: 0; } }
@keyframes title-starlight { to { background-position: -220% center; } }
@keyframes soft-glow { 0%, 100% { opacity: .82; } 50% { opacity: 1; text-shadow: 0 0 17px rgba(255,89,101,.9); } }
@keyframes star-spin { 50% { transform: rotate(180deg) scale(1.25); } 100% { transform: rotate(360deg); } }
@keyframes star-burst { 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)) scale(.15); } }

@media (max-width: 900px) { .hero, .hero-copy { min-height: 490px; } .hero-copy, h1 { grid-template-columns: minmax(0, 1fr) 225px minmax(0, 1fr); } .hero-copy { padding: 34px 32px 28px; } .year-gallery { padding: 24px 32px; } .dashboard { grid-template-columns: 1fr; } .timeline-area { border-right: 0; } .side-panel { border-top: 1px solid var(--line); } .calendar-card, .stats-card { padding: 26px; } }
@media (max-width: 620px) { .shell { width: 100%; margin: 0; border: 0; border-radius: 0; } .topbar { grid-template-columns: 1fr auto; } .nav-search { grid-column: 1; } .member-search { grid-column: 1 / -1; } .hero, .hero-copy { min-height: 470px; } .hero { background-position: center top; } .hero::before { background: linear-gradient(90deg, rgba(252,245,232,.8), rgba(224,218,233,.12) 42%, rgba(239,189,199,.6)); } .hero-copy, h1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hero-copy { padding: 30px 24px 24px; } h1 { grid-row: 2; align-items: start; font-size: clamp(38px, 12vw, 58px); } .title-name { grid-column: 1; } .title-mail { grid-column: 2; align-self: end; font-size: .6em; } .hero-intro { grid-column: 1 / -1; max-width: 260px; font-size: 13px; } .year-tabs { grid-column: 2; justify-content: flex-end; } .year-tab { min-width: 52px; padding: 7px 9px; } .year-gallery { grid-template-columns: 1fr; padding: 20px 24px; } .year-cover, .year-cover img { min-height: 155px; } .timeline-area { padding: 26px 18px; } .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .member-showcase { padding: 28px 16px 32px; } .member-showcase-heading { align-items: start; flex-direction: column; gap: 8px; } .member-carousel-shell { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 7px; } .member-scroll-button { width: 30px; height: 48px; } .member-card { flex-basis: 116px; } .member-card img { height: 145px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } .reveal-section { opacity: 1; transform: none; } .shooting-star { display: none; } }

/* Pacifico hero typography over one uninterrupted photograph */
.hero-copy { z-index: 2; }
h1 { position: absolute; inset: 0; z-index: 1; display: block; width: auto; pointer-events: none; font-family: "Pacifico", "Segoe Script", cursive; font-size: inherit; font-weight: 400; line-height: 1; letter-spacing: 0; }
.title-name, .title-mail { position: absolute; display: flex; flex-direction: column; align-items: flex-start; font-family: "Pacifico", "Segoe Script", cursive; font-style: normal; font-weight: 400; letter-spacing: .005em; white-space: nowrap; }
.title-name { left: 4.5%; top: 18%; font-size: clamp(82px, 9.2vw, 142px); line-height: .72; transform: rotate(-4deg); }
.title-mail { right: 5%; top: 48%; font-size: clamp(62px, 7vw, 106px); line-height: .72; text-align: left; transform: rotate(-3deg); }
.title-name span, .title-mail span { display: block; }
.eyebrow, .hero-intro, .year-tabs { position: relative; z-index: 3; }

@media (max-width: 900px) {
  .title-name { left: 3.5%; top: 20%; font-size: clamp(68px, 10vw, 100px); }
  .title-mail { right: 4%; top: 50%; font-size: clamp(54px, 8vw, 78px); }
}

@media (max-width: 620px) {
  .title-name { left: 3.5%; top: 20%; font-size: clamp(52px, 14vw, 70px); line-height: .78; transform: rotate(-5deg); }
  .title-mail { right: 4%; top: 52%; font-size: clamp(43px, 12vw, 58px); line-height: .78; }
}

/* Keep Pacifico ascenders, descenders, and entry strokes fully visible. */
.title-name, .title-mail { overflow: visible; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; animation: none; line-height: .94; }
.title-name { color: #f1e5e1; }
.title-mail { color: #ef5360; }
.title-name span:first-child { transform: translateX(-.12em); }
.title-name span:last-child { transform: translateX(.16em); }
