/* ==========================================================================
   同济黔足 · TONGJI GUIZHOU FC
   Design system: paper / ink / crest red. Editorial club ledger.
   ========================================================================== */

@font-face {
  font-family: "Smiley Sans";
  src: url("../fonts/SmileySans-Oblique.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2ede3;
  --paper-2: #e7dfd0;
  --paper-3: #ddd3c1;
  --ink: #14171a;
  --ink-2: #26292b;
  --muted: #6e685c;
  --red: #c8102e;
  --red-deep: #9a0b22;
  --line: rgba(20, 23, 26, 0.18);
  --line-soft: rgba(20, 23, 26, 0.1);
  --line-light: rgba(242, 237, 227, 0.22);
  --display: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  --photo-fade: saturate(0.62) brightness(1.06) contrast(0.94) sepia(0.04);
  --photo-full: saturate(1) brightness(1) contrast(1) sepia(0);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 400;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.red {
  color: var(--red);
}

.arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  flex: none;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(242, 237, 227, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--red);
}

.brand-text small {
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1;
  letter-spacing: 0.15em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav a span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--red);
  letter-spacing: 0.04em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--red);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4);
  animation: live 2.4s infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s, top 0.25s;
}

.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.mobile-menu nav a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
}

.mobile-menu-foot {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding-top: clamp(30px, 5vh, 64px);
  padding-bottom: clamp(30px, 4.5vh, 56px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.kicker .rule {
  width: 38px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.hero-title {
  margin: 18px 0 26px;
  font-family: var(--display);
  font-size: clamp(82px, 12.6vw, 190px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.025em;
}

.hero-title span {
  display: block;
}

.hero-title .red {
  margin-left: 0.06em;
}

.hero-lede {
  max-width: 36em;
  padding-left: 20px;
  border-left: 2px solid var(--red);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}

.hero-lede p + p {
  margin-top: 10px;
}

.hero-lede .muted {
  font-size: 13px;
  line-height: 1.85;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vh, 46px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts > div {
  padding: 14px 14px 12px;
  border-left: 1px solid var(--line);
}

.facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts dt {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.facts dd {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: clamp(400px, 54vh, 600px);
}

.hero-q {
  position: absolute;
  top: -13%;
  right: -9%;
  width: 76%;
  opacity: 0.05;
  transform: rotate(-9deg);
  z-index: 0;
}

.photo {
  position: absolute;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-fade);
  transition: filter 0.55s ease;
}

.photo:hover img {
  filter: var(--photo-full);
}

.photo-main {
  top: 0;
  right: 0;
  width: 80%;
  z-index: 2;
  box-shadow: 16px 16px 0 var(--red);
}

.photo-main img {
  aspect-ratio: 4 / 3;
}

.photo-sub {
  left: 0;
  bottom: 2%;
  width: 52%;
  z-index: 3;
  box-shadow: -10px 12px 0 rgba(20, 23, 26, 0.12);
}

.photo-sub img {
  aspect-ratio: 3 / 2;
}

.hero-years {
  position: absolute;
  top: 0;
  right: -30px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.hero-caption {
  position: absolute;
  left: 0;
  bottom: -26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-caption span {
  color: var(--red);
}

.hero-caption .sep {
  color: var(--line);
  margin: 0 6px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.strip-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.strip-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.strip-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  flex: none;
}

/* ---------- latest ---------- */
.latest {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.latest-grid {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 280px;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.latest-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.latest-meta .label {
  color: rgba(242, 237, 227, 0.5);
}

.latest-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 38px);
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.latest-score .score {
  font-size: clamp(68px, 8.5vw, 120px);
  color: var(--red);
  letter-spacing: -0.04em;
}

.latest-score .score i {
  font-style: normal;
  font-size: 0.48em;
  vertical-align: 0.16em;
  margin: 0 0.06em;
}

.latest-info {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(242, 237, 227, 0.76);
  border-left: 1px solid var(--line-light);
  padding-left: clamp(18px, 2.4vw, 30px);
}

.latest-info .muted {
  color: rgba(242, 237, 227, 0.42);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.text-link .arrow {
  transition: transform 0.25s;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

.latest-watermark {
  position: absolute;
  right: -12px;
  bottom: -66px;
  font-family: var(--display);
  font-size: 300px;
  line-height: 1;
  color: rgba(242, 237, 227, 0.035);
  pointer-events: none;
  z-index: 0;
}

/* ---------- section shell ---------- */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 150px) 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 280px;
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-index span {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--red);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.015em;
}

.section-note {
  max-width: 24em;
  justify-self: end;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.section-head.light h2 {
  color: var(--paper);
}

.section-head.light .section-index {
  color: rgba(242, 237, 227, 0.5);
}

.section-head.light .section-note {
  color: rgba(242, 237, 227, 0.5);
}

/* ---------- history ---------- */
.timeline {
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 180px 64px minmax(0, 1fr);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline .year {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}

.timeline .marker {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.timeline .marker::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: -24px;
  width: 1px;
  background: var(--line);
}

.timeline li:last-child .marker::before {
  display: none;
}

.timeline .marker::after {
  content: "";
  position: relative;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
  transition: background 0.25s;
}

.timeline li:hover .year {
  color: var(--red);
}

.timeline li:hover .marker::after {
  background: var(--red);
}

.timeline .event {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(14px, 2.6vw, 32px);
  padding-right: 8px;
}

.timeline h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.timeline .event p {
  max-width: 38em;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.timeline .is-gap .year {
  color: var(--muted);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
}

.timeline .is-gap h3 {
  color: var(--muted);
}

/* full-bleed archive band */
.archive-band {
  position: relative;
  width: 100%;
  margin-top: clamp(56px, 8vw, 100px);
}

.archive-band img {
  display: block;
  width: 100%;
  height: clamp(340px, 48vw, 560px);
  object-fit: cover;
  filter: var(--photo-fade);
  transition: filter 0.6s ease;
}

.archive-band:hover img {
  filter: var(--photo-full);
}

.archive-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 23, 26, 0.82) 0%, rgba(20, 23, 26, 0.28) 52%, rgba(20, 23, 26, 0.02) 100%);
  pointer-events: none;
}

.archive-band figcaption {
  position: absolute;
  left: max(var(--gutter), calc(50% - 640px + var(--gutter)));
  bottom: clamp(26px, 5vw, 54px);
  z-index: 1;
  max-width: 560px;
  color: var(--paper);
}

.archive-band figcaption .label {
  color: rgba(242, 237, 227, 0.55);
}

.archive-band figcaption p {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.22;
}

/* ---------- results ---------- */
.results {
  background: var(--ink);
  color: var(--paper);
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 28px;
}

.result-summary > div {
  padding: 18px 18px 16px;
  border-left: 1px solid var(--line-light);
}

.result-summary > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.result-summary strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.result-summary span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 227, 0.45);
}

.result-summary .summary-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.result-summary .summary-note strong {
  font-size: clamp(18px, 2.1vw, 28px);
  color: var(--red);
}

.result-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.result-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  background: none;
  border: 1px solid var(--line-light);
  color: rgba(242, 237, 227, 0.65);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: 0.2s;
}

.result-filters button span {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(242, 237, 227, 0.38);
}

.result-filters button:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.result-filters button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.result-filters button.is-active span {
  color: rgba(255, 255, 255, 0.6);
}

.table-wrap {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.results-table th {
  padding: 0 14px 11px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-align: left;
  color: rgba(242, 237, 227, 0.38);
  white-space: nowrap;
}

.results-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(242, 237, 227, 0.09);
  vertical-align: middle;
  color: rgba(242, 237, 227, 0.82);
}

.results-table td:first-child {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(242, 237, 227, 0.5);
  white-space: nowrap;
}

.results-table tbody tr {
  transition: background 0.2s;
}

.results-table tbody tr:hover {
  background: rgba(242, 237, 227, 0.035);
}

.results-table .score-cell {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--paper);
}

.results-table .score-cell small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(242, 237, 227, 0.38);
}

.result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid;
  font-size: 11px;
}

.result.win {
  border-color: rgba(242, 237, 227, 0.45);
  color: var(--paper);
}

.result.win::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--red);
}

.result.loss {
  border-color: rgba(242, 237, 227, 0.14);
  color: rgba(242, 237, 227, 0.38);
}

.result.draw {
  border-color: rgba(242, 237, 227, 0.28);
  color: rgba(242, 237, 227, 0.66);
}

.src {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid rgba(242, 237, 227, 0.18);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 227, 0.4);
  vertical-align: 1px;
  white-space: nowrap;
}

.src[data-source="team"] {
  border-color: rgba(200, 16, 46, 0.55);
  color: #e46b7a;
}

.results-table tr.is-unknown td {
  color: rgba(242, 237, 227, 0.32);
}

.results-table tr.is-unknown .score-cell {
  color: rgba(242, 237, 227, 0.25);
}

.table-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(242, 237, 227, 0.35);
}

/* ---------- teams ---------- */
.campus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.campus {
  padding-top: clamp(24px, 3.4vw, 44px);
  padding-bottom: clamp(24px, 3.4vw, 44px);
}

.campus:first-child {
  padding-right: clamp(22px, 3.4vw, 52px);
}

.campus:last-child {
  padding-left: clamp(22px, 3.4vw, 52px);
}

.campus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.campus-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
}

.campus h3 {
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.campus-en {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.campus dl {
  margin: 24px 0 22px;
  border-top: 1px solid var(--line);
}

.campus dl div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.campus dt {
  color: var(--muted);
}

.campus dd {
  color: var(--ink-2);
}

.campus-copy {
  max-width: 30em;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.campus-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.link-line {
  flex: 1;
  width: 1px;
  background: var(--line);
}

.link-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 21px;
  color: var(--red);
}

.teams-note {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- team names ---------- */
.name-block {
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.name-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  margin-bottom: 18px;
}

.name-head p {
  max-width: 42em;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.name-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.name-list li {
  display: grid;
  grid-template-columns: 128px minmax(180px, 250px) minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 28px);
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.name-list .period {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.name-list strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.name-list p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.name-quote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--red);
  background: var(--paper-2);
}

.name-quote p {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
}

.name-quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- gallery ---------- */
.gallery {
  background: var(--paper-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.g-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
}

.g-wide {
  grid-column: span 12;
}

.g-item:nth-child(2),
.g-item:nth-child(3) {
  grid-column: span 6;
}

.g-item:nth-child(4),
.g-item:nth-child(5),
.g-item:nth-child(6),
.g-item:nth-child(7),
.g-item:nth-child(8),
.g-item:nth-child(9) {
  grid-column: span 4;
}

.g-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-fade);
  transition: filter 0.5s ease, transform 0.7s ease;
}

.g-wide img {
  aspect-ratio: 16 / 7;
}

.g-item:nth-child(2) img,
.g-item:nth-child(3) img {
  aspect-ratio: 4 / 3;
}

.g-item:nth-child(4) img,
.g-item:nth-child(5) img,
.g-item:nth-child(6) img {
  aspect-ratio: 4 / 5;
}

.g-item:nth-child(7) img,
.g-item:nth-child(8) img,
.g-item:nth-child(9) img {
  aspect-ratio: 4 / 3;
}

.g-item:hover img {
  filter: var(--photo-full);
  transform: scale(1.03);
}

.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 36px 16px 13px;
  background: linear-gradient(transparent, rgba(20, 23, 26, 0.82));
  color: var(--paper);
  font-size: 12px;
}

.g-item figcaption span {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.g-wide figcaption {
  padding: 50px 22px 20px;
  font-size: 14px;
}

.gallery-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.gallery-foot p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- archive ---------- */
.archive-stats {
  display: flex;
  gap: clamp(30px, 6vw, 80px);
  padding: 18px 0;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.archive-stats span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 44px);
}

.card {
  position: relative;
  border-top: 1px solid var(--ink);
  cursor: pointer;
  outline-offset: 4px;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
  z-index: 1;
}

.card:hover::before,
.card:focus-visible::before {
  width: 100%;
}

.card-media {
  overflow: hidden;
  background: var(--paper-2);
}

.card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  filter: saturate(0.72) brightness(1.04) contrast(0.97);
  transition: filter 0.5s, transform 0.6s;
}

.card:hover .card-media img,
.card:focus-visible .card-media img {
  filter: var(--photo-full);
  transform: scale(1.02);
}

.card-body {
  padding: 16px 0 22px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  transition: color 0.2s;
}

.card:hover h3,
.card:focus-visible h3 {
  color: var(--red);
}

.card p {
  max-width: 32em;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--red);
}

/* ---------- join ---------- */
.join {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 0;
  background: var(--red);
  color: var(--paper);
  scroll-margin-top: var(--header-h);
}

.join-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}

.join .section-index span {
  color: var(--paper);
}

.join .section-index.light {
  color: rgba(255, 255, 255, 0.6);
}

.join h2 {
  margin: 16px 0 22px;
  font-family: var(--display);
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.015em;
}

.join-copy > p {
  max-width: 26em;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
}

.join-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.join-panel {
  padding: 22px 20px 24px;
  background: var(--red);
}

.join-no {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.join-panel h3 {
  margin: 12px 0 10px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
}

.join-panel p {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
}

.join-panel .small {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.join-q {
  position: absolute;
  right: -3%;
  bottom: -20%;
  width: 42vw;
  opacity: 0.13;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

/* ---------- footer ---------- */
.site-footer {
  padding: clamp(54px, 7vw, 88px) 0 22px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.4;
}

.footer-brand span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(242, 237, 227, 0.42);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px 26px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(242, 237, 227, 0.68);
  border-bottom: 1px solid transparent;
}

.footer-nav a:hover {
  color: var(--paper);
  border-bottom-color: var(--red);
}

.footer-meta {
  font-size: 12px;
  line-height: 1.95;
  color: rgba(242, 237, 227, 0.42);
}

.footer-meta p + p {
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.32);
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 26, 0.74);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  overflow: auto;
  padding: clamp(28px, 4.4vw, 58px);
  background: var(--paper);
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.modal-head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
}

.modal-body {
  padding-left: 20px;
  border-left: 2px solid var(--red);
}

.modal-body p {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-2);
}

.modal-foot {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--muted);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  padding: 50px 16px 30px;
  background: rgba(20, 23, 26, 0.95);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(1100px, 88vw);
  margin: 0 auto;
  text-align: center;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border: 1px solid rgba(242, 237, 227, 0.2);
}

.lightbox figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 227, 0.65);
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 22px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lb-prev,
.lb-next {
  width: 42px;
  height: 42px;
  justify-self: center;
  background: none;
  border: 1px solid rgba(242, 237, 227, 0.25);
  color: var(--paper);
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.lb-prev:hover,
.lb-next:hover {
  border-color: var(--paper);
  background: rgba(242, 237, 227, 0.08);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .section-head {
    grid-template-columns: 120px minmax(0, 1fr) 240px;
  }

  .hero-main {
    grid-template-columns: 1fr 0.9fr;
  }

  .latest-grid {
    grid-template-columns: 140px minmax(0, 1fr) 240px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 66px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 5.5px;
  }

  .nav {
    display: none;
  }

  .header-meta {
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 0;
  }

  .hero-main {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(74px, 20vw, 150px);
  }

  .hero-visual {
    min-height: 0;
    padding-top: 0;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 10px;
    align-items: end;
  }

  .photo {
    position: relative;
    padding: 6px;
  }

  .photo-main {
    top: auto;
    right: auto;
    width: 100%;
    box-shadow: 10px 10px 0 var(--red);
  }

  .photo-sub {
    left: auto;
    bottom: auto;
    width: 100%;
    box-shadow: none;
  }

  .hero-years,
  .hero-q {
    display: none;
  }

  .hero-caption {
    position: static;
    grid-column: 1 / -1;
    margin-top: 12px;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .strip-item:nth-child(1),
  .strip-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .latest-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .latest-meta {
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-light);
    padding-bottom: 10px;
  }

  .latest-score {
    justify-content: flex-start;
  }

  .latest-info {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    padding-top: 12px;
  }

  .latest-watermark {
    font-size: 200px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .section-note {
    justify-self: start;
  }

  .timeline li {
    grid-template-columns: 120px 40px minmax(0, 1fr);
  }

  .timeline .event {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .campus-grid {
    grid-template-columns: 1fr;
  }

  .campus:first-child {
    padding-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .campus:last-child {
    padding-left: 0;
  }

  .campus-link {
    flex-direction: row;
    border: 0;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .link-line {
    width: auto;
    height: 1px;
    flex: 1;
  }

  .link-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
    flex: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .g-item:nth-child(2),
  .g-item:nth-child(3),
  .g-item:nth-child(4),
  .g-item:nth-child(5),
  .g-item:nth-child(6) {
    grid-column: span 6;
  }

  .g-item:nth-child(2) img,
  .g-item:nth-child(3) img,
  .g-item:nth-child(4) img,
  .g-item:nth-child(5) img,
  .g-item:nth-child(6) img {
    aspect-ratio: 4 / 3;
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .join-panels {
    max-width: 640px;
  }

  .join-q {
    width: 70vw;
    bottom: -8%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero-top .label:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(64px, 22vw, 120px);
  }

  .hero-lede {
    font-size: 14px;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .facts > div:nth-child(1),
  .facts > div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    grid-template-columns: 1fr 0.72fr;
  }

  .photo-main {
    box-shadow: 8px 8px 0 var(--red);
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .latest-score {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .latest-score .team {
    font-size: 26px;
  }

  .latest-score .score {
    font-size: 64px;
  }

  .result-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-summary > div {
    border-bottom: 1px solid var(--line-light);
  }

  .result-summary > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .result-summary .summary-note {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    border-bottom: 0;
  }

  .result-filters button {
    padding: 7px 11px;
    font-size: 11px;
  }

  /* table -> cards */
  .results-table thead {
    display: none;
  }

  .results-table,
  .results-table tbody {
    display: block;
    width: 100%;
  }

  .results-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "date result"
      "comp result"
      "opponent score";
    column-gap: 14px;
    row-gap: 3px;
    position: relative;
    padding: 14px 0 12px;
    border-bottom: 1px solid rgba(242, 237, 227, 0.12);
  }

  .results-table td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 12px;
  }

  .results-table td[data-label="日期"] {
    grid-area: date;
    margin-bottom: 2px;
    color: rgba(242, 237, 227, 0.42);
  }

  .results-table td[data-label="赛事"] {
    grid-area: comp;
    color: rgba(242, 237, 227, 0.55);
  }

  .results-table td[data-label="对手"] {
    grid-area: opponent;
    margin-top: 3px;
    font-size: 15px;
    color: var(--paper);
  }

  .results-table .score-cell {
    grid-area: score;
    align-self: end;
    justify-self: end;
    font-size: 26px;
  }

  .results-table td[data-label="结果"] {
    grid-area: result;
    align-self: start;
    justify-self: end;
  }

  .result {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .result.win::before {
    display: none;
  }

  .timeline li {
    grid-template-columns: 78px 26px minmax(0, 1fr);
    padding: 18px 0;
  }

  .timeline .year {
    font-size: 27px;
  }

  .timeline .is-gap .year {
    font-size: 17px;
  }

  .timeline h3 {
    font-size: 15px;
  }

  .timeline .event p {
    font-size: 12px;
  }

  .archive-band figcaption p {
    font-size: 20px;
  }

  .gallery-grid {
    gap: 8px;
  }

  .g-wide,
  .g-item:nth-child(2),
  .g-item:nth-child(3),
  .g-item:nth-child(4),
  .g-item:nth-child(5),
  .g-item:nth-child(6),
  .g-item:nth-child(7),
  .g-item:nth-child(8),
  .g-item:nth-child(9) {
    grid-column: span 12;
  }

  .g-item:nth-child(2) img,
  .g-item:nth-child(3) img,
  .g-item:nth-child(4) img,
  .g-item:nth-child(5) img,
  .g-item:nth-child(6) img,
  .g-item:nth-child(7) img,
  .g-item:nth-child(8) img,
  .g-item:nth-child(9) img {
    aspect-ratio: 4 / 3;
  }

  .gallery-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-stats {
    justify-content: space-between;
    gap: 16px;
  }

  .name-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .name-list li {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 12px 0;
  }

  .name-list li p {
    grid-column: 1 / -1;
  }

  .name-list strong {
    font-size: 20px;
  }

  .name-quote {
    padding: 18px;
  }

  .join-panels {
    grid-template-columns: 1fr;
  }

  .join h2 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: 92vh;
  }

  .lightbox {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 56px 8px 24px;
  }

  .lightbox figure {
    max-width: 92vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
