:root {
  --match-red: #df2419;
  --match-red-dark: #8f1714;
  --match-gold: #f2a400;
  --match-cream: #f5efe4;
  --match-ink: #1f1b18;
  --match-muted: #736a61;
  --match-line: rgba(66, 47, 31, .16);
  --home-paper: url("images/home-paper-watermark-v088.png");
  --mission-detail-size: clamp(1.12rem, 1.42vw, 1.42rem);
  --scene-pad: clamp(28px, 6vw, 92px);
  --scene-width: 1440px;
  --hero-ease-out: cubic-bezier(.22, 1, .36, 1);
  --hero-ease-depth: cubic-bezier(.65, 0, .35, 1);
  --hero-entry-size: clamp(314px, 40.85vw, 646px);
  --hero-dock-size: clamp(342px, 34.2vw, 561px);
  --hero-dock-left: 78%;
  --hero-dock-top: 53%;
  --hero-dock-translate-y: -50%;
}

html { scroll-behavior: smooth; }

body.home-page {
  overflow-x: clip;
  background: #f8f4ec;
}

.home-page > header {
  background: rgba(255, 253, 248, .9);
  border-color: rgba(82, 57, 36, .1);
  backdrop-filter: blur(14px);
}

.home-page > header nav > a {
  position: relative;
}

.home-page > header nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.home-page > header nav > a:hover::after,
.home-page > header nav > a:focus-visible::after { transform: scaleX(1); }

main.home-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-shell { position: relative; }

.chapter-nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  right: 22px;
  display: grid;
  gap: 2px;
  transform: translateY(-50%);
}

.chapter-nav a {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgba(38, 31, 25, .68);
  font-size: .74rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: color 240ms ease, transform 240ms ease, background-color 240ms ease;
}

.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  color: var(--match-red-dark);
  background: #fff;
  transform: translateX(-4px);
}

.chapter-nav span { color: var(--match-red); font-variant-numeric: tabular-nums; }

.home-scene {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 65px);
  padding: var(--scene-pad) max(var(--scene-pad), calc((100% - var(--scene-width)) / 2));
  overflow: hidden;
}

.scene-index {
  margin: 0 0 30px;
  color: var(--match-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scene-index span { color: var(--match-red); }

.scene-heading { max-width: 940px; }
.mobile-break { display: none; }

.scene-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.latest-head h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 650;
  line-height: .96;
  letter-spacing: -.065em;
}

.scene-heading > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--match-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-scene {
  min-height: calc(100svh - var(--home-header-offset));
  display: block;
  padding: 0;
  isolation: isolate;
  perspective: 1300px;
  perspective-origin: 50% 50%;
  background:
    radial-gradient(circle at 82% 22%, rgba(246, 166, 0, .16), transparent 31%),
    linear-gradient(135deg, #fffdf8 0%, #f7f0e4 100%);
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(50vw, 760px);
  min-height: calc(100svh - var(--home-header-offset));
  padding: clamp(74px, 10vh, 128px) 0 clamp(42px, 6vh, 74px) var(--scene-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}

.hero-copy > [data-hero-step] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  filter: none;
  transition: none;
}

.home-shell.is-hero-intro-ready .hero-copy > [data-hero-step] {
  opacity: 0;
  transform: translateX(-30px);
  clip-path: inset(0 100% 0 0);
  filter: blur(6px);
  will-change: opacity, transform, clip-path, filter;
}

.home-shell.is-hero-intro-ready.is-hero-intro-playing .hero-copy > [data-hero-step] {
  transition:
    opacity 700ms var(--hero-ease-out) var(--hero-delay, 0ms),
    transform 900ms var(--hero-ease-out) var(--hero-delay, 0ms),
    clip-path 1050ms var(--hero-ease-out) var(--hero-delay, 0ms),
    filter 760ms var(--hero-ease-out) var(--hero-delay, 0ms);
}

.home-shell.is-hero-intro-ready .hero-copy > [data-hero-step].is-hero-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
}

.hero-kicker { margin: 0; font-weight: 700; letter-spacing: .08em; }

.hero-copy h1 {
  margin: 8px 0 0;
  color: var(--match-red);
  font-size: clamp(4rem, 9vw, 8.65rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.08em;
  padding-block: .06em .08em;
}

.hero-english {
  margin: 17px 0 0;
  color: #3b3028;
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .23em;
}

.hero-slogan {
  margin: clamp(32px, 5vw, 64px) 0 0;
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--match-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.brand-button {
    position: relative;
    isolation: isolate;
    min-width: 205px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid var(--match-red);
  border-radius: 0;
  background: transparent;
  color: var(--match-red-dark);
  text-decoration: none;
  isolation: isolate;
  transition: color 360ms cubic-bezier(.22, 1, .36, 1), transform 360ms cubic-bezier(.22, 1, .36, 1);
}

.brand-button::before {
  content: "";
  position: absolute;
    /* Keep the one-pixel frame visible while the red fill travels under it. */
    inset: 1px;
    z-index: 0;
  background: var(--match-red);
  transform: translateX(-101%);
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
}

.brand-button i {
    position: relative;
    z-index: 1;
  width: 32px;
  height: 1px;
  margin-left: auto;
  background: currentColor;
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
}

.brand-button i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.brand-button:hover,
.brand-button:focus-visible { color: #fff; transform: translateY(-2px); }
.brand-button > span { position: relative; z-index: 1; }
.brand-button:hover::before,
.brand-button:focus-visible::before { transform: translateX(0); }
.brand-button:hover i,
.brand-button:focus-visible i { transform: translateX(6px); }

.text-link {
  color: var(--match-ink);
  font-weight: 800;
  text-decoration: none;
}
.text-link span { display: inline-block; margin-left: 6px; transition: transform 260ms ease; }
.text-link:hover span,
.text-link:focus-visible span { transform: translate(3px, -2px); }

.hero-mark {
  --hero-depth: 0px;
  --hero-scale: 1;
  --hero-entry-x: 0px;
  --hero-entry-y: 0px;
  --hero-entry-scale: 1;
  --hero-translate-x: -50%;
  --hero-translate-y: var(--hero-dock-translate-y);
  position: absolute;
  z-index: 6;
  left: var(--hero-dock-left);
  top: var(--hero-dock-top);
  width: var(--hero-dock-size);
  aspect-ratio: 1;
  pointer-events: none;
  transform:
    translate(var(--hero-translate-x), var(--hero-translate-y))
    translateZ(var(--hero-depth))
    scale(var(--hero-scale));
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  opacity: 1;
  filter: blur(0);
  transition:
    transform 1109ms var(--hero-ease-depth),
    opacity 220ms ease,
    filter 220ms ease;
  will-change: transform, opacity, filter;
}

.home-shell.is-hero-intro-ready .hero-mark {
  --hero-depth: 520px;
  --hero-scale: .92;
  opacity: 0;
  filter: blur(30px);
  transform:
    translate(var(--hero-translate-x), var(--hero-translate-y))
    translate3d(var(--hero-entry-x), var(--hero-entry-y), var(--hero-depth))
    scale(calc(var(--hero-entry-scale) * var(--hero-scale)));
  transition: none;
}

.home-shell.is-hero-intro-ready.is-hero-intro-playing .hero-mark {
  transition:
    transform 1491ms var(--hero-ease-depth),
    opacity 1320ms cubic-bezier(.40, 0, .20, 1),
    filter 1540ms cubic-bezier(.50, 0, .20, 1);
}

.home-shell.is-hero-intro-ready .hero-mark.is-hero-arrived {
  --hero-depth: 0px;
  --hero-scale: 1;
  opacity: 1;
  filter: blur(0);
}

.home-shell.is-hero-intro-ready .hero-mark.is-hero-docked {
  --hero-depth: 0px;
  --hero-scale: 1;
  opacity: 1;
  filter: blur(0);
  transform:
    translate(var(--hero-translate-x), var(--hero-translate-y))
    translate3d(0, 0, 0)
    scale(1);
}

.hero-mark img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 32px rgba(91, 45, 20, .13));
  user-select: none;
  -webkit-user-drag: none;
  backface-visibility: hidden;
}

.logo-halo {
  position: absolute;
  inset: -13.5%;
  aspect-ratio: 1;
  pointer-events: none;
}

.logo-ring {
  content: "";
  position: absolute;
  border: 1px solid rgba(219, 37, 26, .1);
  border-radius: 50%;
  transform-origin: 50% 50%;
  will-change: transform;
  backface-visibility: hidden;
}
.logo-ring--outer {
  inset: 0;
  border-color: rgba(219, 37, 26, .18);
  animation: logo-ring-clockwise 54s linear infinite;
}
.logo-ring--inner {
  inset: 7.5%;
  animation: logo-ring-counterclockwise 66s linear infinite;
}

@keyframes logo-ring-clockwise { to { transform: rotate(360deg); } }
@keyframes logo-ring-counterclockwise { to { transform: rotate(-360deg); } }

.since-card {
  position: absolute;
  z-index: 11;
  right: clamp(52px, 7vw, 122px);
  top: 69%;
  width: clamp(152px, 12vw, 205px);
  min-height: 126px;
  padding: 18px 20px 17px 28px;
  border-left: 4px solid var(--match-gold);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 16px 50px rgba(74, 46, 20, .08);
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: none;
  transition: none;
}

.home-shell.is-hero-intro-ready .since-card {
  opacity: 0;
  transform: translateY(28px) scale(.92);
  filter: blur(10px);
  transition: none;
}

.home-shell.is-hero-intro-ready.is-hero-intro-playing .since-card {
  transition:
    opacity 660ms var(--hero-ease-out),
    transform 880ms var(--hero-ease-out),
    filter 700ms var(--hero-ease-out);
}

.home-shell.is-hero-intro-ready .since-card.is-hero-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.since-card span,
.since-card small { display: block; color: var(--match-muted); font-size: .68rem; letter-spacing: .1em; }
.since-card strong { display: block; margin: 2px 0; color: var(--match-red); font-size: 2.45rem; line-height: 1; font-variant-numeric: tabular-nums; }

.scroll-cue {
  position: absolute;
  z-index: 12;
  left: max(var(--scene-pad), calc((100% - var(--scene-width)) / 2));
  bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--match-muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
}
.scroll-cue i { width: 42px; height: 1px; background: currentColor; }

.mission-scene {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(22px, 3.8vh, 42px);
  align-content: center;
  color: var(--match-ink);
  padding-inline: clamp(28px, 4vw, 64px);
}

.mission-heading { max-width: 1020px; }
.mission-heading .scene-index { margin-bottom: clamp(18px, 2.8vh, 30px); }
.mission-heading h2 {
  max-width: 960px;
  font-size: clamp(3.8rem, 5.2vw, 5.8rem);
  line-height: .97;
  letter-spacing: -.068em;
}

.mission-route {
  position: relative;
  width: min(100%, 1380px);
  min-height: clamp(210px, 19vw, 280px);
  margin-inline: auto;
}
.mission-route > img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}
.mission-route ol { position: absolute; z-index: 2; inset: 0; margin: 0; padding: 0; list-style: none; }
.mission-step {
  position: absolute;
  top: 35.4%;
  width: min(26vw, 310px);
  text-align: center;
  transform: translateX(-50%);
}
.mission-step--1 { left: 14.25%; }
.mission-step--2 { left: 46.4%; }
.mission-step--3 { left: 74.9%; }
.mission-step__number {
  display: block;
  position: absolute;
  z-index: 3;
  top: clamp(-76px, -4.5vw, -58px);
  left: 50%;
  width: auto;
  color: var(--match-red);
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.055em;
  transform: translateX(-50%);
}
.mission-step b {
  display: block;
  margin-top: clamp(44px, 3.2vw, 56px);
  color: var(--match-ink);
  font-size: clamp(1.85rem, 2.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.mission-step p {
  margin: 10px 0 0;
  color: var(--match-muted);
  font-size: var(--mission-detail-size);
  font-weight: 540;
  line-height: 1.5;
}

.mission-copy {
  width: min(100%, 1460px);
  max-width: 980px;
  margin: 0;
  padding-top: clamp(20px, 2.7vh, 30px);
  border-top: 1px solid rgba(111, 78, 48, .22);
  color: var(--match-muted);
  font-size: var(--mission-detail-size);
  line-height: 1.72;
  text-align: left;
}

.activity-scene {
  display: grid;
  align-content: center;
  gap: clamp(36px, 6vh, 70px);
}

.activity-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--match-line);
}

.activity-card {
  min-height: 270px;
  padding: 28px;
  border: 0;
  background: rgba(255, 253, 248, .76);
  backdrop-filter: blur(2px);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1), background-color 420ms ease, opacity 320ms ease;
}
.activity-card > span[data-item-field="label"] { color: var(--match-red); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.activity-card h3 { margin: 54px 0 15px; font-size: clamp(1.45rem, 2.4vw, 2.35rem); line-height: 1.12; letter-spacing: -.035em; }
.activity-card p { margin: 0; color: var(--match-muted); }
[data-activity-interaction] .activity-card { cursor: pointer; }
[data-activity-interaction] .activity-card:focus-visible { outline: 3px solid rgba(203, 98, 57, .3); outline-offset: -3px; }
[data-activity-interaction] .activity-card p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 420ms cubic-bezier(.22, 1, .36, 1), opacity 280ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1);
}
[data-activity-interaction].has-active .activity-card:not(.is-active) { opacity: .55; transform: scale(.985); }
[data-activity-interaction] .activity-card.is-active { z-index: 1; background: #faf6ee; transform: translateY(-10px) scale(1.025); }
[data-activity-interaction] .activity-card.is-active p { max-height: 12em; opacity: 1; transform: none; }
@media (hover: hover) {
  [data-activity-interaction]:has(.activity-card:hover) .activity-card:not(:hover) { opacity: .55; transform: scale(.985); }
  [data-activity-interaction] .activity-card:hover { z-index: 1; background: #faf6ee; transform: translateY(-10px) scale(1.025); }
  [data-activity-interaction] .activity-card:hover p { max-height: 12em; opacity: 1; transform: none; }
}
.home-item-media { width: 100%; margin-top: 22px; overflow: hidden; background: rgba(31, 27, 24, .06); aspect-ratio: 16 / 9; }
.home-item-media img,
.home-item-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

.latest-section {
  padding: clamp(64px, 9vw, 130px) max(var(--scene-pad), calc((100% - var(--scene-width)) / 2));
}

.latest-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 42px;
}
.latest-head h2 { font-size: clamp(3rem, 6vw, 6rem); }
.latest-head .scene-index { margin-bottom: 12px; }

.members-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}

.members-empty {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--match-line);
  background: rgba(255, 255, 255, .62);
}
.members-empty h3 { margin: 7px 0 12px; color: var(--match-red); font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.05em; }
.members-empty p { max-width: 560px; margin: 0; color: var(--match-muted); }
.members-empty .empty-label { color: var(--match-ink); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.member-symbols { display: flex; align-items: end; gap: 14px; min-height: 190px; }
.member-symbols i { display: block; width: 30%; max-width: 130px; aspect-ratio: .7; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, rgba(223, 36, 25, .7), rgba(242, 164, 0, .32)); }
.member-symbols i:nth-child(2) { height: 164px; background: linear-gradient(180deg, rgba(242, 164, 0, .78), rgba(223, 36, 25, .26)); }
.member-symbols i:nth-child(3) { height: 126px; opacity: .72; }
.member-card-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.member-card-grid:empty { display: none; }
.member-card { min-width: 0; padding: 18px; border: 1px solid var(--match-line); background: rgba(255, 255, 255, .72); }
.member-card h3 { margin: 18px 0 4px; color: var(--match-red); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.12; }
.member-card p { margin: 8px 0 0; color: var(--match-muted); }
.member-card .member-role { color: var(--match-ink); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.member-media { margin-top: 0; aspect-ratio: 5 / 7; }
.member-media img { object-position: center top; }
.member-media.is-empty,
.member-media.is-media-error {
  display: grid;
  place-items: center;
  color: var(--match-muted);
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}
.member-media.is-empty::before { content: "暂无成员照片"; }
.member-media.is-media-error::before { content: "成员照片暂不可用"; }
.home-editor-preview .member-media.is-empty::before { display: none; }
.member-card[hidden],
.member-toggle-wrap[hidden] { display: none; }
.member-toggle-wrap { grid-column: 1 / -1; display: flex; justify-content: center; }
.member-toggle {
  min-width: 190px;
  padding: 12px 20px;
  border: 1px solid var(--match-red);
  background: transparent;
  color: var(--match-red-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.member-toggle:hover { background: rgba(223, 36, 25, .06); }
.member-toggle:focus-visible { outline: 3px solid var(--match-gold); outline-offset: 3px; }

.mission-scene,
.activity-scene,
.latest-section,
.members-scene {
  background-color: #fbf4e8;
  background-image: var(--home-paper);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

[data-home-field],
[data-item-field] { white-space: pre-line; }
.home-text--default { color: var(--match-ink); }
.home-text--brand-red { color: var(--match-red); }
.home-text--brand-gold { color: var(--match-gold); }
.home-text--muted { color: var(--match-muted); }
.contact-scene .home-text--muted { color: rgba(255, 249, 239, .65); }

body:not(.home-editor-preview) [data-home-field]:empty,
body:not(.home-editor-preview) [data-item-field]:empty { display: none; }

@media (min-width: 768px) and (max-width: 1023px) {
  .member-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .member-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-scene {
  min-height: calc(100svh - 65px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  color: #fff9ef;
  background: linear-gradient(135deg, #8f1714, #c7251a 58%, #d94a17);
}
.contact-copy { position: relative; z-index: 1; max-width: 1000px; }
.contact-copy .scene-index { color: rgba(255, 249, 239, .65); }
.contact-copy .scene-index span { color: #ffd36d; }
.contact-copy > p:not(.scene-index) { max-width: 680px; margin: 26px 0 0; color: rgba(255, 249, 239, .75); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.contact-copy .contact-status { padding-left: 18px; border-left: 2px solid #ffd36d; }

.brand-button--light { border-color: #fff7e9; color: #fff7e9; }
.brand-button--light::before { background: #fff7e9; }
.brand-button--light:hover,
.brand-button--light:focus-visible { color: var(--match-red-dark); }
.text-link--light { color: #fff7e9; }

.contact-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 249, 239, .3);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.contact-meta p { margin: 0; }
.contact-meta a { color: inherit; text-decoration: none; }

.contact-glow {
  position: absolute;
  right: -12vw;
  bottom: -22vw;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 249, 239, .17);
  border-radius: 50%;
}
.contact-glow::before,
.contact-glow::after { content: ""; position: absolute; border: 1px solid rgba(255, 249, 239, .12); border-radius: 50%; }
.contact-glow::before { inset: 12%; }
.contact-glow::after { inset: 28%; }

.home-page > footer { background: #211713; color: rgba(255, 248, 237, .62); }

@media (max-width: 1100px) {
  .chapter-nav { display: none; }
  .hero-scene {
    --hero-entry-size: clamp(300px, 40.85vw, 520px);
    --hero-dock-size: clamp(285px, 37.05vw, 456px);
    --hero-dock-left: 79%;
  }
  .hero-copy { width: 58vw; }
  .members-scene { grid-template-columns: 1fr 1fr; }
  .activity-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .home-scene { min-height: auto; padding-block: clamp(70px, 12vw, 110px); }
  .hero-scene { min-height: calc(100svh - var(--home-header-offset)); }
  .hero-copy { max-width: none; }
  .hero-mark img { width: 100%; }
  .since-card { right: 8%; }
  .scroll-cue { bottom: 24px; }
  .activity-track { grid-template-columns: 1fr; }
  .activity-card { min-height: auto; }
  .activity-card h3 { margin-top: 28px; }
  .members-scene { grid-template-columns: 1fr; }
  .members-empty { min-height: 420px; }
  .activity-track { grid-template-columns: 1fr; }
  .mission-heading h2 { font-size: clamp(3.5rem, 11vw, 5.8rem); }
  .mission-route { min-height: clamp(205px, 32vw, 290px); }
  .mission-step { width: 29vw; }
  .mission-step b { margin-top: clamp(42px, 6vw, 58px); font-size: clamp(1.15rem, 3vw, 1.65rem); }
  .mission-step p { margin-top: 6px; font-size: clamp(.88rem, 2vw, 1.05rem); }
}

@media (max-width: 760px) {
  .hero-scene {
    min-height: max(calc(100svh - var(--home-header-offset)), 760px);
    overflow: hidden;
    --hero-entry-size: min(74.1vw, 409px);
    --hero-dock-size: min(68.4vw, 371px);
    --hero-dock-left: 50%;
    --hero-dock-top: calc(100% - var(--hero-dock-size) - 38px);
    --hero-dock-translate-y: 0%;
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: clamp(16px, 2.7vh, 26px) 24px clamp(300px, 85vw, 430px);
    justify-content: flex-start;
  }

  .hero-copy h1 { font-size: clamp(56px, 21vw, 92px); }
  .hero-slogan { margin-top: 48px; font-size: clamp(34px, 10vw, 52px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .brand-button { width: 100%; }

  .since-card {
    top: auto;
    right: 18px;
    bottom: 45px;
    width: 145px;
    min-height: 110px;
    padding: 15px 15px 14px 20px;
  }

  .since-card strong { font-size: 40px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 12px; }
  .home-page > header { position: static; }
  .scene-heading h2,
  .contact-copy h2 { font-size: clamp(2.4rem, 10vw, 3.8rem); line-height: 1.02; }
  .mobile-break { display: block; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(3.5rem, 17vw, 6.5rem); }
  .hero-slogan { font-size: clamp(2.15rem, 10.8vw, 3.4rem); }
  .hero-english { letter-spacing: .16em; }
  .since-card { right: 14px; bottom: 45px; }
  .mission-scene { gap: 26px; }
  .mission-heading h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .mission-route {
    min-height: 0;
    margin-top: 2px;
  }
  .mission-route > img { display: none; }
  .mission-route ol {
    position: relative;
    inset: auto;
    display: grid;
    gap: 26px;
  }
  .mission-route::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 30px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--match-gold), var(--match-red) 18% 84%, transparent);
  }
  .mission-step {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    min-height: 74px;
    padding: 0 0 0 78px;
    text-align: left;
    transform: none;
  }
  .mission-step--1,
  .mission-step--2,
  .mission-step--3 { top: auto; }
  .mission-step__number {
    position: absolute;
    top: 0;
    left: 6px;
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0;
    border: 8px solid #f5bb49;
    border-radius: 50%;
    background: var(--match-red);
    transform: none;
  }
  .mission-step b { margin-top: 0; font-size: clamp(1.45rem, 6.4vw, 1.75rem); }
  .mission-step p { margin-top: 5px; font-size: clamp(.92rem, 4vw, 1.02rem); line-height: 1.45; }
  .mission-copy { padding-top: 18px; font-size: clamp(1rem, 4.35vw, 1.08rem); line-height: 1.65; text-align: left; }
  .latest-head { align-items: start; flex-direction: column; }
  .members-empty { min-height: auto; gap: 48px; }
  .member-symbols { min-height: 145px; }
  .contact-scene { min-height: auto; gap: 80px; }
  .contact-meta { flex-wrap: wrap; }
}

@media (min-width: 761px) and (max-height: 720px) {
  .hero-scene {
    min-height: calc(100svh - var(--home-header-offset));
    --hero-entry-size: min(clamp(314px, 40.85vw, 646px), 72svh);
    --hero-dock-size: min(clamp(342px, 34.2vw, 561px), 72svh);
    --hero-dock-top: calc(100% - var(--hero-dock-size) - 24px);
    --hero-dock-translate-y: 0%;
  }

  .hero-copy {
    min-height: calc(100svh - var(--home-header-offset));
    padding: clamp(28px, 5vh, 48px) 0 20px var(--scene-pad);
  }

  .hero-copy h1 { font-size: clamp(3.5rem, 5.2vw, 6rem); }
  .hero-english { margin-top: 10px; font-size: clamp(1rem, 1.55vw, 1.25rem); }
  .hero-slogan {
    margin-top: clamp(16px, 3vh, 24px);
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    line-height: 1.04;
  }
  .hero-intro { margin-top: 14px; font-size: .98rem; }
  .hero-actions { gap: 18px; margin-top: 18px; }
  .since-card { top: auto; bottom: 24px; }
  .scroll-cue { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .brand-button:hover,
  .brand-button:focus-visible,
  .activity-card:hover { transform: none; }
  .logo-ring { animation: none !important; }
  [data-parallax] { transform: none !important; }
}

/* v0.5.4: one six-chapter navigation model and one measured header offset. */
:root {
  --home-header-offset: var(--site-header-height, 65px);
  --chapter-label-size: clamp(.94rem, 1.05vw, 1.18rem);
}

.home-scene,
.latest-section { scroll-margin-top: var(--home-header-offset); }

.home-page > header { z-index: 10; }
.chapter-nav { z-index: 9; }
.chapter-nav a.is-active {
  color: var(--match-red-dark);
  background: #fff;
  box-shadow: 0 5px 18px rgba(74, 43, 20, .1);
  transform: translateX(-4px);
}

.scene-index {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .42em;
  font-size: var(--chapter-label-size);
  line-height: 1.35;
  letter-spacing: .11em;
  text-shadow: 0 1px 0 rgba(255,255,255,.18);
}
.scene-index span { font-variant-numeric: tabular-nums; }
.latest-section { min-height: calc(100svh - var(--home-header-offset)); }

.home-scene.has-scroll-cue { padding-bottom: max(var(--scene-pad), 82px); }
.latest-section.has-scroll-cue { padding-bottom: max(clamp(64px, 9vw, 130px), 92px); }
.chapter-nav a { border-radius: 0; }

@media (max-width: 800px) {
  .chapter-nav { right: 10px; }
  .chapter-nav a { padding: 6px 8px; font-size: .72rem; }
  .home-scene.has-scroll-cue { padding-bottom: 88px; }
}

/* The hero owns its own full-bleed stage; the shared scroll-cue padding must not move it. */
.home-shell .home-scene.hero-scene.has-scroll-cue { padding: 0; }

/* v0.5.9: keep every public chapter anchor-safe while halving only its top whitespace. */
:root {
  --public-section-original-top-space: var(--scene-pad);
  --public-section-heading-top-space: calc(var(--public-section-original-top-space) / 2);
}

.mission-scene,
.activity-scene,
.latest-section,
.members-scene,
.contact-scene { padding-top: var(--public-section-heading-top-space); }

.latest-section { --public-section-original-top-space: clamp(64px, 9vw, 130px); }

@media (max-width: 800px) {
  .mission-scene,
  .activity-scene,
  .latest-section,
  .members-scene,
  .contact-scene { --public-section-original-top-space: clamp(70px, 12vw, 110px); }
}

/* v0.8.13.2.1: the measured phone gap is 16-24px; the new asset key prevents
   an earlier v0.8.13.2 stylesheet from remaining in the browser cache. */
@media (max-width: 800px) {
  .hero-slogan { margin-top: clamp(16px, 5vw, 24px); }
}
