/* ==========================================================================
   澳門武術總會 · AAMCM — Design System
   Palette: paper / ink / seal red / brass
   Type: Noto Serif TC (display) + Noto Sans TC (text)
   ========================================================================== */

:root {
  --paper: #f7f3ea;
  --paper-deep: #efe7d7;
  --cream: #e6dcc6;
  --ink: #17150f;
  --ink-soft: #2a2721;
  --muted: #6c6659;
  --muted-light: #746d5f;
  --line: rgba(23, 21, 15, 0.13);
  --line-strong: rgba(23, 21, 15, 0.28);
  --red: #a61e1e;
  --red-bright: #c0392b;
  --gold: #a98a52;
  --gold-soft: #cbb387;
  --serif: "Noto Serif TC", "Songti TC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --sans: "Noto Sans TC", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);
  --header-h: 86px;
  --topbar-h: 38px;
}

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

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

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

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

p {
  margin: 0 0 1em;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

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

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transition: top 0.2s;
}

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

/* --- Type helpers ------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--red);
  flex: none;
}

.eyebrow--light {
  color: rgba(247, 243, 234, 0.6);
}

.display {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.16;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.section-title .em {
  color: var(--red);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 2;
  color: var(--ink-soft);
}

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

.serif {
  font-family: var(--serif);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--ghost-light {
  border-color: rgba(247, 243, 234, 0.35);
  color: var(--paper);
}

.btn--ghost-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 7px;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s, border-color 0.3s;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--red);
  border-color: var(--red);
}

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

.link-arrow--light {
  color: var(--paper);
  border-color: rgba(247, 243, 234, 0.3);
}

.link-arrow--light:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header.is-fixed {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 9, 0.55), rgba(13, 12, 9, 0));
  pointer-events: none;
  transition: opacity 0.4s;
}

.site-header.is-fixed.is-stuck {
  position: fixed;
  background: rgba(247, 243, 234, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.site-header.is-fixed.is-stuck::before {
  opacity: 0;
}

.topbar {
  height: var(--topbar-h);
  background: var(--ink);
  color: rgba(247, 243, 234, 0.66);
  font-size: 11px;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition: height 0.35s var(--ease), opacity 0.35s;
}

.site-header.is-fixed .topbar {
  background: rgba(13, 12, 9, 0.32);
  color: rgba(247, 243, 234, 0.7);
}

.site-header.is-stuck .topbar {
  height: 0;
  opacity: 0;
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__motto {
  margin: 0;
  letter-spacing: 0.28em;
  font-weight: 300;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.25s;
}

.topbar__meta a:hover {
  color: var(--paper);
}

.topbar__meta svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.topbar__lang {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid rgba(247, 243, 234, 0.18);
}

.topbar__lang a {
  padding: 6px 7px;
  border-bottom: 1px solid transparent;
}

.topbar__lang a.is-active {
  color: var(--paper);
  border-bottom-color: var(--red-bright);
}

.topbar__lang span {
  opacity: 0.3;
}

.header-main {
  height: var(--header-h);
}

.site-header.is-stuck .header-main {
  height: 72px;
}

.header-main__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand__seal {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__seal {
  transform: rotate(2deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__zh {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.brand__en {
  font-size: 8.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  opacity: 0.58;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__item:hover .nav__link::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.site-header.is-fixed:not(.is-stuck) .nav__link.is-active {
  color: var(--paper);
}

.nav__chev {
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
  margin-left: 3px;
}

.nav__drop {
  position: absolute;
  top: calc(100% + 2px);
  left: -22px;
  min-width: 200px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(23, 21, 15, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.nav__drop a::after {
  content: "→";
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav__drop a:hover {
  background: var(--paper-deep);
  color: var(--red);
}

.nav__drop a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

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

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  border-color: var(--line-strong);
}

.site-header.is-fixed:not(.is-stuck) .icon-btn:hover {
  border-color: rgba(247, 243, 234, 0.4);
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 12px;
}

.site-header.is-fixed:not(.is-stuck) .header-cta.btn--line {
  border-color: rgba(247, 243, 234, 0.45);
  color: var(--paper);
}

.site-header.is-fixed:not(.is-stuck) .header-cta.btn--line:hover {
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: background 0.3s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.site-header.is-fixed:not(.is-stuck) .menu-toggle {
  border-color: rgba(247, 243, 234, 0.4);
}

/* Search panel */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 13, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.search-panel__inner {
  width: min(760px, calc(100vw - 48px));
  max-width: 100%;
  color: var(--paper);
}

.search-panel__label {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.5);
  margin-bottom: 28px;
}

.search-panel form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.35);
  padding-bottom: 14px;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  padding: 6px 0;
}

.search-panel input::placeholder {
  color: rgba(247, 243, 234, 0.28);
}

.search-panel button[type="submit"] {
  color: var(--paper);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.3);
  transition: background 0.3s, color 0.3s;
}

.search-panel button[type="submit"]:hover {
  background: var(--paper);
  color: var(--ink);
}

.search-panel__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(247, 243, 234, 0.25);
}

.search-panel__hints {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(247, 243, 234, 0.45);
}

.search-panel__hints a {
  padding: 4px 12px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  transition: border-color 0.3s, color 0.3s;
}

.search-panel__hints a:hover {
  border-color: var(--gold-soft);
  color: var(--paper);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 32px;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.mobile-menu__body {
  padding: 26px 0 10px;
  display: grid;
  gap: 28px;
}

.mobile-menu__group-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 6px;
}

.mobile-menu__links {
  display: grid;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.mobile-menu__links a span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-light);
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.mobile-menu__footer a {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-menu__footer .btn {
  margin-top: 10px;
  width: 100%;
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(640px, 100svh);
  background: #0e0d0a;
  color: var(--paper);
  overflow: clip;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(0.42) contrast(1.06) brightness(0.9);
  transform: scale(1.07);
}

.hero__slide.is-active .hero__media img {
  animation: heroZoom 9s linear forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0.94) 0%, rgba(11, 10, 8, 0.78) 34%, rgba(11, 10, 8, 0.22) 66%, rgba(11, 10, 8, 0.5) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.55) 0%, rgba(11, 10, 8, 0) 26%, rgba(11, 10, 8, 0.1) 55%, rgba(11, 10, 8, 0.86) 100%);
}

.hero__content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 72px);
  padding-bottom: clamp(186px, 21vh, 220px);
}

.hero__bottom-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding-bottom: 26px;
}

.hero__content {
  width: min(760px, 100%);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.66);
  margin-bottom: clamp(20px, 3vh, 34px);
}

.hero__kicker::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--red-bright);
}

.hero h1 {
  font-size: clamp(3rem, 7.2vw, 7.2rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: pre-line;
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 480px;
  font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
  line-height: 1.95;
  color: rgba(247, 243, 234, 0.72);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__aside {
  position: absolute;
  top: calc(var(--header-h) + var(--topbar-h) + 70px);
  right: max(24px, 4vw);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  color: rgba(247, 243, 234, 0.55);
}

.hero__aside-line {
  width: 1px;
  height: 74px;
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.4), transparent);
}

.hero__aside-text {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.44em;
}

.hero__seal {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.3);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 234, 0.7);
  transform: rotate(90deg);
}

.hero__bottom {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(247, 243, 234, 0.16);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
}

.hero__stat {
  padding: 0 clamp(18px, 2.6vw, 42px);
  border-left: 1px solid rgba(247, 243, 234, 0.16);
}

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

.hero__stat dt {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}

.hero__stat dd {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 234, 0.5);
  white-space: nowrap;
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__index {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 234, 0.55);
  min-width: 62px;
}

.hero__index strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__dot {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
}

.hero__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: rgba(247, 243, 234, 0.28);
  transition: background 0.3s, width 0.3s;
}

.hero__dot:hover::after {
  background: rgba(247, 243, 234, 0.6);
}

.hero__dot.is-active::after {
  background: var(--red-bright);
  width: 34px;
}

.hero__arrows {
  display: flex;
  gap: 2px;
}

.hero__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 243, 234, 0.22);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.3s, color 0.3s;
}

.hero__arrow:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.45);
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 26px;
  background: rgba(247, 243, 234, 0.3);
  animation: scrollPulse 2.4s infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* --- Ticker ------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(247, 243, 234, 0.08);
  overflow: hidden;
}

.ticker__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  background: var(--red);
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.ticker__label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: tickerDot 1.6s infinite;
}

@keyframes tickerDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerMove 46s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.78);
}

.ticker__item::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ticker__item:hover {
  color: var(--paper);
}

.ticker__date {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.4);
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Sections ----------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tint {
  background: var(--paper-deep);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .eyebrow {
  color: rgba(247, 243, 234, 0.5);
}

.section--ink .eyebrow::before {
  background: var(--red-bright);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__left {
  max-width: 720px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  margin: 14px 0 0;
}

.section--ink .section-head p {
  color: rgba(247, 243, 234, 0.55);
}

.section-head__link {
  flex: none;
  padding-bottom: 6px;
}

.section-foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* --- Intro / About ------------------------------------------------------ */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.intro__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: var(--cream);
}

.intro__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 243, 234, 0.25);
  margin: 16px;
  pointer-events: none;
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04);
  transition: transform 1.2s var(--ease);
}

.intro:hover .intro__media img {
  transform: scale(1.035);
}

.intro__badge {
  position: absolute;
  left: -28px;
  bottom: 42px;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 26px;
  min-width: 168px;
  box-shadow: 0 24px 50px rgba(23, 21, 15, 0.12);
}

.intro__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--red);
}

.intro__badge span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.intro__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.intro__label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--line-strong);
}

.intro__title {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.25;
  margin-bottom: 26px;
}

.intro__title em {
  font-style: normal;
  color: var(--red);
}

.intro__body {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.05;
  max-width: 580px;
}

.intro__body p + p {
  margin-top: 1em;
}

.intro__quote {
  margin: 30px 0 34px;
  padding-left: 22px;
  border-left: 2px solid var(--red);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.intro__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 26px 28px;
  border-left: 1px solid var(--line);
}

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

.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat__num em {
  font-style: normal;
  font-size: 0.45em;
  color: var(--red);
  font-weight: 600;
}

.stat__label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* --- News --------------------------------------------------------------- */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.news-feature {
  position: relative;
  display: block;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.news-feature__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.news-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0) 38%, rgba(11, 10, 8, 0.82) 100%);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease), filter 1s;
}

.news-feature:hover .news-feature__media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.news-feature__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 6px 12px;
}

.news-feature__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(22px, 3vw, 38px);
}

.news-feature__date {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 234, 0.62);
}

.news-feature h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.4;
  margin: 12px 0 10px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.news-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 20px;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
}

.news-row:hover {
  background: rgba(23, 21, 15, 0.025);
  padding-left: 10px;
}

.news-row__date {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-row__day {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.news-row__ym {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}

.news-row__cat {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 6px;
}

.news-row h3 {
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.news-row:hover h3 {
  color: var(--red);
}

.news-row__summary {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row__arrow {
  width: 18px;
  height: 18px;
  margin-top: 16px;
  color: var(--muted-light);
  transition: transform 0.3s, color 0.3s;
}

.news-row:hover .news-row__arrow {
  transform: translateX(4px);
  color: var(--red);
}

/* --- Events ------------------------------------------------------------- */
.events-section {
  position: relative;
  overflow: hidden;
}

.events-section::before {
  content: "武";
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(240px, 34vw, 520px);
  line-height: 1;
  color: rgba(247, 243, 234, 0.03);
  pointer-events: none;
}

.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.events-header .eyebrow {
  margin-bottom: 18px;
}

.event-rows {
  border-top: 1px solid rgba(247, 243, 234, 0.16);
  position: relative;
  z-index: 1;
}

.event-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1.5fr) minmax(0, 1fr) 116px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  transition: background 0.3s, padding 0.3s;
}

.event-row:hover {
  background: rgba(247, 243, 234, 0.04);
  padding-inline: 14px;
}

.event-row__date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
}

.event-row__day {
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  color: var(--paper);
}

.event-row__month {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(247, 243, 234, 0.5);
}

.event-row__main h3 {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: color 0.3s;
}

.event-row:hover .event-row__main h3 {
  color: var(--gold-soft);
}

.event-row__meta {
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 234, 0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.event-row__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-row__meta svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.event-row__venue {
  font-size: 12.5px;
  color: rgba(247, 243, 234, 0.55);
  line-height: 1.7;
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border: 1px solid rgba(247, 243, 234, 0.22);
  color: rgba(247, 243, 234, 0.65);
  white-space: nowrap;
}

.event-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.event-status--upcoming {
  border-color: rgba(203, 179, 135, 0.5);
  color: var(--gold-soft);
}

.event-status--ongoing {
  border-color: var(--red-bright);
  color: #e78b80;
}

.event-row__cta {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.event-row:hover .event-row__cta {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.events-foot {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.events-foot p {
  margin: 0;
  font-size: 12px;
  color: rgba(247, 243, 234, 0.4);
  letter-spacing: 0.06em;
}

/* --- Gallery ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 216px);
  gap: 14px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  display: block;
}

.gallery-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card:nth-child(6) {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 1.1s var(--ease), filter 0.6s;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0) 32%, rgba(11, 10, 8, 0.92) 100%);
  transition: opacity 0.4s;
}

.gallery-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 20px;
  color: var(--paper);
}

.gallery-card__count {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 234, 0.6);
  margin-bottom: 4px;
}

.gallery-card h3 {
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.gallery-card__icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.35);
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-card:hover .gallery-card__icon {
  opacity: 1;
  transform: translateY(0);
}

/* --- Pillars ------------------------------------------------------------ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: background 0.4s var(--ease), color 0.4s;
}

.pillar:hover {
  background: var(--ink);
  color: var(--paper);
}

.pillar__num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: auto;
}

.pillar__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--gold);
  transition: color 0.3s;
}

.pillar:hover .pillar__icon {
  color: var(--gold-soft);
}

.pillar h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 8px;
}

.pillar p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  transition: color 0.3s;
}

.pillar:hover p {
  color: rgba(247, 243, 234, 0.55);
}

.pillar__arrow {
  margin-top: 22px;
  width: 18px;
  height: 18px;
  color: var(--muted-light);
  transition: transform 0.35s var(--ease), color 0.3s;
}

.pillar:hover .pillar__arrow {
  transform: translate(4px, -4px);
  color: var(--paper);
}

/* --- Downloads preview -------------------------------------------------- */
.downloads-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.downloads-intro .eyebrow {
  margin-bottom: 18px;
}

.downloads-intro p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
  margin: 20px 0 30px;
  max-width: 380px;
}

.file-list-simple {
  border-top: 1px solid var(--line-strong);
}

.file-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s;
}

a.file-row:hover {
  padding-left: 10px;
  background: rgba(23, 21, 15, 0.025);
}

.file-type {
  width: 46px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
  background: rgba(247, 243, 234, 0.5);
}

.file-row__body h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.file-row:hover .file-row__body h3 {
  color: var(--red);
}

.file-row__meta {
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  display: flex;
  gap: 12px;
}

.file-row__action {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.file-row:hover .file-row__action {
  border-color: var(--line-strong);
  color: var(--red);
}

/* --- CTA ---------------------------------------------------------------- */
.cta {
  position: relative;
  padding-block: clamp(84px, 12vw, 150px);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.7) brightness(0.5);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.92), rgba(11, 10, 8, 0.55) 55%, rgba(11, 10, 8, 0.75));
}

.cta__inner {
  max-width: 780px;
}

.cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.5);
  margin-bottom: 24px;
}

.cta__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red-bright);
}

.cta h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.24;
  font-weight: 500;
  margin-bottom: 22px;
  text-wrap: balance;
}

.cta p {
  max-width: 500px;
  color: rgba(247, 243, 234, 0.62);
  font-size: 14.5px;
  line-height: 1.95;
  margin-bottom: 34px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #100f0b;
  color: rgba(247, 243, 234, 0.58);
  padding-top: clamp(64px, 8vw, 100px);
  overflow: hidden;
}

.site-footer__watermark {
  position: absolute;
  right: -3vw;
  bottom: -8vw;
  font-family: var(--serif);
  font-size: clamp(280px, 38vw, 560px);
  line-height: 1;
  color: rgba(247, 243, 234, 0.026);
  pointer-events: none;
  user-select: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 76px);
  position: relative;
  z-index: 1;
}

.footer-brand .brand {
  color: var(--paper);
  margin-bottom: 22px;
}

.footer-brand .brand__zh {
  font-size: 22px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.95;
  color: rgba(247, 243, 234, 0.45);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  display: grid;
  place-items: center;
  color: rgba(247, 243, 234, 0.6);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.footer-social a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.38);
  margin-bottom: 20px;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  display: inline-block;
  padding: 3px 0;
  font-size: 13.5px;
  color: rgba(247, 243, 234, 0.66);
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col a:hover {
  color: var(--paper);
  padding-left: 4px;
}

.footer-contact dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.footer-contact dt {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.32);
  margin-bottom: 3px;
}

.footer-contact dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.7);
}

.footer-contact a:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 234, 0.1);
  padding: 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.55);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(247, 243, 234, 0.5);
  border-bottom: 1px solid rgba(247, 243, 234, 0.2);
}

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

/* --- Page hero (inner pages) ------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--paper);
  padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.page-hero__index {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.page-hero__en {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.page-hero__subtitle {
  max-width: 560px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  margin: 0;
}

.page-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.03);
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 243, 234, 0.3);
  margin: 10px;
}

.page-hero__watermark {
  position: absolute;
  right: 2vw;
  bottom: -0.28em;
  font-family: var(--serif);
  font-size: clamp(140px, 20vw, 280px);
  line-height: 1;
  color: rgba(23, 21, 15, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-bottom: 28px;
}

.breadcrumb a {
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span {
  opacity: 0.5;
}

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

/* --- Page body / generic ----------------------------------------------- */
.page-body {
  padding-block: clamp(56px, 7vw, 96px);
}

.page-body--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.side-card {
  border: 1px solid var(--line);
  padding: 26px;
  background: rgba(255, 255, 255, 0.3);
}

.side-card h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-card p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.side-card--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.side-card--ink h3 {
  border-color: rgba(247, 243, 234, 0.16);
}

.side-card--ink p {
  color: rgba(247, 243, 234, 0.55);
}

.side-card__big {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  color: var(--gold-soft);
  margin-bottom: 8px;
}

.side-links {
  display: grid;
  gap: 0;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  transition: color 0.25s, padding-left 0.25s;
}

.side-links a:last-child {
  border-bottom: 0;
}

.side-links a:hover {
  color: var(--red);
  padding-left: 4px;
}

.side-links svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

/* --- Filter bar --------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.filter-tab span {
  font-size: 9.5px;
  opacity: 0.55;
}

.filter-tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-tab.is-active span {
  color: rgba(247, 243, 234, 0.6);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-strong);
  min-width: 240px;
  padding-bottom: 6px;
}

.filter-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 13px;
  padding: 6px 0;
}

.filter-search button {
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.filter-search button:hover {
  color: var(--red);
}

.result-meta {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  margin-bottom: 24px;
}

/* --- News cards --------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--paper-deep);
  margin-bottom: 18px;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease), filter 0.5s;
}

.news-card:hover .news-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.news-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.16em;
  padding: 5px 10px;
}

.news-card__date {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-card__date::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--red);
}

.news-card h3 {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.news-card:hover h3 {
  color: var(--red);
}

.news-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__more {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, gap 0.25s;
}

.news-card:hover .news-card__more {
  color: var(--red);
  gap: 12px;
}

/* --- Pagination --------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pagination a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pagination .is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.pagination .page-ellipsis {
  border: 0;
  min-width: 24px;
}

/* --- Article / prose ---------------------------------------------------- */
.article-head {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-head__cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: 20px;
}

.article-head h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.38;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta svg {
  width: 13px;
  height: 13px;
}

.article-cover {
  max-width: 1040px;
  margin: 0 auto 48px;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--paper-deep);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.prose {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-soft);
}

.prose > p:first-of-type,
.prose .lead {
  font-size: 17.5px;
  line-height: 1.95;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1.35em;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin: 2em 0 0.8em;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  line-height: 1.45;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.7em 0 0.7em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.5em;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.55em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
}

.prose ol {
  counter-reset: item;
}

.prose ol li {
  counter-increment: item;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.55em;
}

.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--red);
}

.prose a {
  color: var(--red);
  border-bottom: 1px solid rgba(166, 30, 30, 0.3);
  transition: border-color 0.25s;
}

.prose a:hover {
  border-color: var(--red);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--paper-deep);
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
}

.prose img {
  margin: 2em 0;
  width: 100%;
  height: auto;
}

.prose figure {
  margin: 2em 0;
}

.prose figcaption {
  font-size: 11px;
  color: var(--muted-light);
  margin-top: 8px;
  text-align: center;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}

.prose th {
  background: var(--paper-deep);
  font-weight: 500;
}

.fact-list {
  margin: 1.6em 0 2em !important;
  padding: 22px 26px !important;
  background: var(--paper-deep);
  border-left: 2px solid var(--gold);
  list-style: none !important;
}

.fact-list li {
  padding-left: 0 !important;
  margin-bottom: 10px !important;
  font-size: 14px;
  line-height: 1.75;
}

.fact-list li:last-child {
  margin-bottom: 0 !important;
}

.fact-list li::before {
  display: none !important;
}

.fact-list strong {
  color: var(--ink);
}

.file-list {
  margin: 1.4em 0 2em !important;
  border-top: 1px solid var(--line);
  list-style: none !important;
}

.file-list li {
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--line);
}

.file-list li::before {
  display: none !important;
}

.file-list .file-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  color: var(--ink);
  border: 0;
}

.file-list .file-link::before {
  content: "PDF";
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border: 1px solid var(--line-strong);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.file-list .file-link::after {
  content: "↓";
  margin-left: auto;
  color: var(--muted-light);
}

.file-list .file-link:hover {
  color: var(--red);
}

.article-share {
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-share__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted-light);
}

.article-share__actions {
  display: flex;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}

.share-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.share-btn svg {
  width: 14px;
  height: 14px;
}

.article-nav {
  max-width: 760px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}

.article-nav a {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: color 0.25s;
}

.article-nav a:last-child {
  text-align: right;
  align-items: flex-end;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.article-nav a:first-child {
  padding-right: 24px;
}

.article-nav span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--muted-light);
}

.article-nav strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-nav a:hover strong {
  color: var(--red);
}

.related-news {
  margin-top: clamp(64px, 8vw, 100px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

/* --- Event page --------------------------------------------------------- */
.event-cards {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.25);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.event-card:hover {
  border-color: var(--line-strong);
  background: #fffdf8;
  transform: translateY(-2px);
}

.event-card__date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.event-card__day {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}

.event-card__ym {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}

.event-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  background: var(--paper-deep);
  color: var(--muted);
}

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

.tag--gold {
  background: rgba(169, 138, 82, 0.14);
  color: var(--gold);
}

.event-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 6px;
}

.event-card__meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-card__meta svg {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

.event-card__side {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.event-card__side .event-status {
  border-color: var(--line-strong);
  color: var(--muted);
}

.event-card__side .event-status--upcoming {
  border-color: var(--gold);
  color: var(--gold);
}

.event-card__side .event-status--ongoing {
  border-color: var(--red);
  color: var(--red);
}

.event-card__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}

.event-card:hover .event-card__arrow {
  background: var(--ink);
  color: var(--paper);
}

.year-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.year-tab {
  min-height: 44px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.year-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* --- Gallery page ------------------------------------------------------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}

.album-card {
  display: block;
}

.album-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.album-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  transition: transform 1s var(--ease), filter 0.5s;
}

.album-card:hover .album-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.album-card__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 14, 11, 0.72);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.album-card__body {
  padding-top: 16px;
}

.album-card__date {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
  margin-bottom: 7px;
}

.album-card h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  transition: color 0.25s;
}

.album-card:hover h3 {
  color: var(--red);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-tile {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-deep);
  cursor: zoom-in;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.9s var(--ease), filter 0.4s;
}

.photo-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 8, 0.18);
  opacity: 0;
  transition: opacity 0.35s;
}

.photo-tile:hover::after {
  opacity: 1;
}

.photo-tile__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.65);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.photo-tile:hover .photo-tile__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(9, 8, 6, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.65);
  text-align: center;
}

.lightbox__counter {
  position: absolute;
  top: 28px;
  left: 32px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.6);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.28);
  color: var(--paper);
  transition: background 0.25s, color 0.25s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--paper);
  color: var(--ink);
}

.lightbox__close {
  top: 24px;
  right: 28px;
}

.lightbox__prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Structure page ----------------------------------------------------- */
.committee {
  border-top: 1px solid var(--line-strong);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
}

.committee__head {
  position: sticky;
  top: 24px;
  align-self: start;
}

.committee__index {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 10px;
}

.committee__head h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.4;
}

.committee__head p {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.committee__roles {
  display: grid;
  gap: 24px;
}

.role-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.role-group__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.name-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.name-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.name-chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(166, 30, 30, 0.03);
}

.name-chip--lead {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 500;
}

.name-chip--lead:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* --- Clubs page --------------------------------------------------------- */
.club-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.club-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.club-card:hover {
  border-color: var(--line-strong);
  background: #fffdf8;
  transform: translateY(-2px);
}

.club-card__mark {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.club-card__body {
  min-width: 0;
}

.club-card h3 {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 8px;
}

.club-card__meta {
  display: grid;
  gap: 3px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.club-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-card__meta em {
  font-style: normal;
  color: var(--muted-light);
  margin-right: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.club-count {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
}

.club-count strong {
  font-size: 24px;
  font-weight: 500;
  color: var(--red);
  margin-right: 4px;
}

/* --- Squad page --------------------------------------------------------- */
.squad-section + .squad-section {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-strong);
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.coach-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
}

.coach-card__role {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 10px;
}

.coach-card h3 {
  font-size: 19px;
  font-weight: 500;
}

.squad-team-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.squad-team-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.squad-team-head h2 span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-left: 14px;
}

.squad-team-head .count {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.squad-group {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.squad-group__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.squad-group__head h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.squad-group__head span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}

.squad-group .name-chips {
  gap: 6px;
}

.squad-group .name-chip {
  font-size: 12.5px;
  padding: 5px 10px;
}

/* --- Referees page ------------------------------------------------------ */
.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.45s var(--ease);
}

.referee-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 36px;
}

.referee-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 26px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  transition: color 0.25s;
}

.referee-tab span {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted-light);
}

.referee-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.referee-tab.is-active {
  color: var(--ink);
}

.referee-tab.is-active::after {
  transform: scaleX(1);
}

.referee-level {
  margin-bottom: 34px;
}

.referee-level__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.referee-level__head h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.referee-level__head span {
  font-size: 10px;
  color: var(--muted-light);
}

.referee-level__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --- Downloads page ----------------------------------------------------- */
.download-list {
  border-top: 1px solid var(--line-strong);
}

.download-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 130px 54px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}

.download-item:hover {
  background: rgba(23, 21, 15, 0.025);
  padding-inline: 12px;
}

.download-item__body h3 {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 4px;
}

.download-item__body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.download-item__meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  text-align: right;
  line-height: 1.8;
}

.download-item__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.download-item:hover .download-item__btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-row__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--red);
}

.info-row__icon svg {
  width: 17px;
  height: 17px;
}

.info-row h3 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 4px;
}

.info-row p,
.info-row a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.info-row a:hover {
  color: var(--red);
}

.map-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper-deep);
}

.map-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.map-card a {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
  border-bottom: 1px solid rgba(166, 30, 30, 0.4);
  padding-bottom: 3px;
}

.form-card {
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: clamp(24px, 3.5vw, 42px);
}

.form-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 8px;
}

.form-card > p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.form-field label em {
  font-style: normal;
  color: var(--red);
  margin-left: 3px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-light);
}

.form-note {
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--muted-light);
  line-height: 1.7;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.alert {
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert--success {
  border-color: rgba(60, 120, 80, 0.35);
  background: rgba(60, 120, 80, 0.06);
  color: #2f6b48;
}

.alert--error {
  border-color: rgba(166, 30, 30, 0.3);
  background: rgba(166, 30, 30, 0.05);
  color: var(--red);
}

/* --- Search ------------------------------------------------------------- */
.search-result-group + .search-result-group {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.search-result-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}

.search-result-group__head h2 {
  font-size: 20px;
}

.search-result-group__head span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.search-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.search-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 18px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s, color 0.25s;
}

.search-item:hover {
  padding-left: 6px;
}

.search-item__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.search-item h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.search-item p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.search-item svg {
  width: 16px;
  height: 16px;
  color: var(--muted-light);
}

.empty-state {
  padding: clamp(48px, 8vw, 90px) 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
}

.empty-state__mark {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--line-strong);
  margin-bottom: 14px;
}

.empty-state h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* --- Misc --------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s, color 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ink);
  color: var(--paper);
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

html.js-reveal .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.notice-strip {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  font-size: 12px;
  color: var(--muted);
}

.notice-strip .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.notice-strip strong {
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 11px;
}

.notice-strip a {
  border-bottom: 1px solid var(--line-strong);
}

.notice-strip a:hover {
  color: var(--red);
  border-color: var(--red);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.about-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.about-figures img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-figures img:first-child {
  grid-row: span 2;
  aspect-ratio: 4 / 6.3;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item__year {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--red);
}

.timeline-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav__list {
    gap: 14px;
  }
  .nav__link {
    font-size: 12.5px;
  }
  .header-cta {
    display: none;
  }
  .hero__stat {
    padding: 0 22px;
  }
  .committee {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }
  .nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-main__inner {
    gap: 16px;
  }
  .brand__zh {
    font-size: 19px;
  }
  .brand__en {
    font-size: 7.5px;
  }
  .intro {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .intro__badge {
    left: 12px;
    bottom: 18px;
    padding: 16px 18px;
    min-width: 140px;
  }
  .intro__badge strong {
    font-size: 34px;
  }
  .intro__stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .news-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .news-feature__media {
    aspect-ratio: 16 / 9;
  }
  .event-row {
    grid-template-columns: 96px minmax(0, 1fr) 110px;
    gap: 20px;
  }
  .event-row__venue {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-card:nth-child(1) {
    grid-column: span 2;
  }
  .gallery-card:nth-child(6) {
    grid-column: span 1;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .downloads-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(247, 243, 234, 0.1);
  }
  .footer-contact dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .two-col,
  .prose-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .news-grid,
  .album-grid,
  .club-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .event-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .event-card__side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-self: start;
  }
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .committee {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .committee__head {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .committee__head h2 {
    font-size: 1.35rem;
  }
  .committee__head p {
    margin: 0;
  }
  .page-hero__inner {
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 820px) {
  .topbar__meta .topbar__phone,
  .topbar__meta .topbar__email,
  .topbar__meta .topbar__fb {
    display: none;
  }
  .topbar__motto {
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }
  .hero__stat {
    padding: 0 20px;
  }
  .hero__stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .hero__stat dd {
    font-size: 9px;
  }
  .hero__bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero__scroll {
    display: none;
  }
  .hero__aside {
    display: none;
  }
  .hero__content-wrap {
    padding-bottom: 300px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section-head__link {
    align-self: flex-start;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro__media {
    aspect-ratio: 16 / 11;
    order: -1;
  }
  .intro__badge {
    left: auto;
    right: 18px;
    bottom: -24px;
  }
  .intro__stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 22px 18px;
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(odd) {
    padding-left: 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-hero__media {
    display: none;
  }
  .page-hero__watermark {
    font-size: 130px;
    opacity: 0.7;
  }
  .article-head {
    text-align: left;
  }
  .article-meta {
    justify-content: flex-start;
    gap: 14px;
  }
  .article-cover {
    aspect-ratio: 16 / 10;
    margin-bottom: 32px;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav a:last-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    text-align: left;
    align-items: flex-start;
  }
  .download-item {
    grid-template-columns: 46px minmax(0, 1fr) 44px;
    gap: 14px;
  }
  .download-item__meta {
    display: none;
  }
  .squad-group {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .role-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .role-group__label {
    padding-top: 0;
    border-top: 0;
    color: var(--muted-light);
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-contact dl {
    grid-template-columns: 1fr 1fr;
  }
  .file-row {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    gap: 14px;
  }
  .file-type {
    width: 40px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
  }
  body {
    font-size: 15px;
  }
  .header-main {
    height: 68px;
  }
  .brand__seal {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
  .brand__zh {
    font-size: 17px;
    letter-spacing: 0.1em;
  }
  .brand__en {
    display: none;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    letter-spacing: 0.02em;
  }
  .hero__kicker {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    gap: 10px;
  }
  .hero__kicker::before {
    width: 24px;
  }
  .hero__subtitle {
    font-size: 13.5px;
    margin-bottom: 26px;
  }
  .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    min-height: 48px;
  }
  .hero__controls {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .hero__arrows {
    display: none;
  }
  .hero__index strong {
    font-size: 18px;
  }
  .hero__bottom {
    padding-top: 16px;
  }
  .ticker__label {
    padding: 0 14px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .ticker__item {
    padding: 12px 20px;
    font-size: 11.5px;
  }
  .news-grid,
  .album-grid,
  .club-grid,
  .photo-grid,
  .coach-grid {
    grid-template-columns: 1fr;
  }
  .news-feature__body {
    padding: 20px;
  }
  .news-row {
    grid-template-columns: 64px minmax(0, 1fr) 14px;
    gap: 12px;
    padding: 18px 0;
  }
  .news-row__day {
    font-size: 23px;
  }
  .event-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }
  .event-row__day {
    font-size: 30px;
  }
  .event-row__cta {
    display: none;
  }
  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .events-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-grid {
    gap: 8px;
  }
  .gallery-card__body {
    padding: 12px 14px;
  }
  .gallery-card h3 {
    font-size: 12.5px;
  }
  .gallery-card__count {
    display: none;
  }
  .pillar {
    min-height: 210px;
    padding: 22px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-contact dl {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-footer__watermark {
    font-size: 180px;
    bottom: -20px;
  }
  .page-hero {
    padding-top: 36px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .page-hero__subtitle {
    font-size: 13px;
  }
  .breadcrumb {
    margin-bottom: 20px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-search {
    min-width: 0;
    width: 100%;
  }
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex: none;
    white-space: nowrap;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 22px;
  }
  .article-meta {
    gap: 10px 16px;
  }
  .article-share {
    align-items: flex-start;
    flex-direction: column;
  }
  .download-item {
    padding: 16px 0;
  }
  .download-item__body h3 {
    font-size: 13.5px;
  }
  .download-item__body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .referee-tabs {
    overflow-x: auto;
  }
  .referee-tab {
    padding: 14px 18px;
    white-space: nowrap;
    font-size: 14px;
  }
  .squad-team-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .event-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }
  .event-card__date {
    padding-right: 12px;
  }
  .event-card__day {
    font-size: 30px;
  }
  .event-card h3 {
    font-size: 15.5px;
  }
  .event-card__meta {
    font-size: 11px;
    gap: 8px;
  }
  .event-card__side {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
  }
  .article-nav strong {
    font-size: 13px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .search-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .search-item svg {
    display: none;
  }
  .cta::after {
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.55), rgba(11, 10, 8, 0.9));
  }
  .cta__inner {
    position: relative;
    z-index: 1;
  }
  .lightbox {
    padding: 70px 16px;
  }
  .lightbox__prev {
    left: 8px;
  }
  .lightbox__next {
    right: 8px;
  }
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    width: 42px;
    height: 42px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .brand__zh {
    font-size: 15.5px;
  }
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero__stat dt {
    font-size: 1.3rem;
  }
  .notice-strip {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .hero__content-wrap {
    padding-bottom: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =======================================================================
   Member portal
   ======================================================================= */
.topbar__member {
  color: var(--paper);
  font-weight: 500;
}

.topbar__member svg {
  opacity: 0.9;
}

.member-auth-section {
  padding-block: clamp(44px, 6vw, 88px);
  background: var(--paper);
}

.member-auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid var(--line);
  background: #fffdf8;
  min-height: 580px;
}

.member-auth__art {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--ink);
}

.member-auth__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.02);
}

.member-auth__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 21, 15, 0.05) 20%, rgba(23, 21, 15, 0.82) 100%);
}

.member-auth__quote {
  position: absolute;
  left: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(30px, 4vw, 52px);
  color: var(--paper);
}

.member-auth__quote h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
  line-height: 1.1;
  margin: 16px 0 16px;
  color: var(--paper);
}

.member-auth__quote p {
  max-width: 340px;
  color: rgba(247, 243, 234, 0.74);
  font-size: 13px;
  line-height: 1.9;
}

.member-auth__seal {
  position: absolute;
  top: 30px;
  right: 32px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.5);
  color: rgba(247, 243, 234, 0.85);
  font-family: var(--serif);
  font-size: 27px;
  transform: rotate(4deg);
}

.member-auth__card {
  padding: clamp(30px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-auth__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.member-auth__card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.member-auth__intro {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.member-login-form {
  display: grid;
  gap: 18px;
}

.member-login-form__submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}

.member-auth__links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.member-auth__links a {
  color: var(--red);
  border-bottom: 1px solid rgba(166, 30, 30, 0.35);
  padding-bottom: 2px;
}

.member-auth__note {
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted-light);
}

.member-form-page {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.member-form-page--single {
  display: block;
  max-width: 720px;
}

.member-form-page__intro {
  position: sticky;
  top: 28px;
}

.member-form-page__intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 18px 0 16px;
}

.member-form-page__intro p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.member-check-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.member-check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  color: var(--muted);
}

.member-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.member-form-card {
  padding: clamp(24px, 3.5vw, 42px);
}

.member-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px !important;
  line-height: 1.7;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
  cursor: pointer;
}

.member-consent input {
  width: 14px !important;
  height: 14px;
  margin-top: 2px;
  flex: none;
}

.member-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.member-form-actions > a {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

/* --- Member shell ------------------------------------------------------ */
.member-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.member-shell > * {
  min-width: 0;
}

.member-nav {
  position: sticky;
  top: 26px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.member-nav__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.member-nav__profile > div > strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
}

.member-nav__profile > div > span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 3px;
}

.member-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-nav__links {
  display: grid;
  min-width: 0;
  max-width: 100%;
  padding: 10px 0;
}

.member-nav__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 11px;
  padding: 12px 20px;
  font-size: 12.5px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.member-nav__links a svg {
  width: 15px;
  height: 15px;
  opacity: 0.65;
}

.member-nav__links a:hover {
  color: var(--ink);
  background: rgba(23, 21, 15, 0.035);
}

.member-nav__links a.is-active {
  color: var(--red);
  background: rgba(166, 30, 30, 0.055);
  border-left-color: var(--red);
}

.member-nav__links a.is-active svg {
  opacity: 1;
}

.member-nav__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.member-nav__back,
.member-nav__logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.member-nav__back svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

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

.member-nav__logout svg {
  width: 13px;
  height: 13px;
}

.member-main {
  min-width: 0;
}

.member-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.member-section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  margin-top: 7px;
}

.member-section-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.member-section {
  margin-top: clamp(36px, 5vw, 54px);
}

.member-section--within {
  margin-top: 30px;
}

.member-section-head--compact {
  margin-bottom: 12px;
}

.member-section-head--compact h2 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.member-record-list {
  border-top: 1px solid var(--line);
}

.member-record-list__item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.member-record-list__item:hover {
  background: rgba(23, 21, 15, 0.025);
}

.member-record-list__date {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.member-record-list__event {
  min-width: 0;
}

.member-record-list__event strong {
  display: -webkit-box;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.member-record-list__event small {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--muted-light);
}

.member-alert {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fffdf8;
  margin-bottom: 20px;
}

.member-alert svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
}

.member-alert strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.member-alert p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}

.member-alert--warning {
  border-color: rgba(166, 120, 30, 0.35);
  background: rgba(166, 120, 30, 0.06);
  color: #7a5511;
}

.member-alert--danger {
  border-color: rgba(166, 30, 30, 0.35);
  background: rgba(166, 30, 30, 0.055);
  color: var(--red);
}

.member-alert--info {
  border-color: rgba(23, 21, 15, 0.18);
  background: rgba(23, 21, 15, 0.035);
  color: var(--ink);
}

.member-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(22px, 3.5vw, 34px);
  align-items: start;
}

.member-side {
  display: grid;
  gap: 18px;
}

.member-side .side-card {
  padding: 22px;
}

.member-side__kicker {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.55);
}

.member-side__number {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  color: var(--paper);
  margin: 16px 0 2px;
}

.member-side .side-card--ink h3 {
  color: rgba(247, 243, 234, 0.85);
  font-size: 15px;
}

.member-facts {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.member-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.member-facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-facts dt {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.member-facts dd {
  font-size: 11.5px;
  text-align: right;
  color: var(--ink);
}

.member-facts--roomy > div {
  padding-bottom: 14px;
}

.member-facts--roomy dt {
  font-size: 11px;
}

.member-facts--roomy dd {
  font-size: 13px;
}

.side-links {
  display: grid;
  margin-top: 14px;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.side-links a:last-child {
  border-bottom: 0;
}

.side-links a:hover {
  color: var(--red);
}

.side-links svg {
  width: 13px;
  height: 13px;
}

.member-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.member-inline-actions .btn {
  padding: 9px 14px;
  font-size: 10.5px;
}

/* --- Digital athlete card --------------------------------------------- */
.athlete-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  min-height: 270px;
  padding: 24px 26px;
  background:
    radial-gradient(circle at 82% 16%, rgba(166, 30, 30, 0.35), transparent 32%),
    linear-gradient(135deg, #1c1914 0%, #2a261e 60%, #17150f 100%);
  color: var(--paper);
  border: 1px solid rgba(247, 243, 234, 0.18);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(23, 21, 15, 0.18);
}

.athlete-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(247, 243, 234, 0.13);
  pointer-events: none;
}

.athlete-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.16);
}

.athlete-card__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.athlete-card__seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.5);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
}

.athlete-card__brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.athlete-card__brand small {
  display: block;
  margin-top: 2px;
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 234, 0.55);
}

.athlete-card__season {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.68);
  border: 1px solid rgba(247, 243, 234, 0.2);
  padding: 5px 8px;
  white-space: nowrap;
}

.athlete-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0 15px;
}

.athlete-card__photo {
  width: 82px;
  height: 104px;
  background: rgba(247, 243, 234, 0.08);
  border: 1px solid rgba(247, 243, 234, 0.25);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 32px;
  color: rgba(247, 243, 234, 0.8);
}

.athlete-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athlete-card__label {
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 234, 0.5);
}

.athlete-card__info h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
  margin: 5px 0 4px;
  color: var(--paper);
}

.athlete-card__info p {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 234, 0.62);
}

.athlete-card__club {
  margin-top: 5px;
  font-family: var(--sans) !important;
  letter-spacing: 0.02em !important;
  color: rgba(247, 243, 234, 0.78) !important;
}

.athlete-card__validity {
  align-self: flex-start;
  margin-top: 4px;
}

.athlete-card__foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(247, 243, 234, 0.16);
  padding-top: 12px;
}

.athlete-card__foot span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(247, 243, 234, 0.45);
  margin-bottom: 3px;
}

.athlete-card__foot strong {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.88);
  font-weight: 500;
}

.athlete-card__empty {
  position: relative;
  z-index: 1;
  padding: 38px 0;
  text-align: center;
}

.athlete-card__empty strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 8px;
}

.athlete-card__empty p {
  font-size: 11px;
  color: rgba(247, 243, 234, 0.6);
}

.athlete-card__watermark {
  position: absolute;
  right: -10px;
  bottom: -34px;
  font-family: var(--serif);
  font-size: 170px;
  line-height: 1;
  color: rgba(247, 243, 234, 0.045);
  pointer-events: none;
  z-index: 0;
}

.validity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.validity::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.validity--valid {
  color: #2f7a4d;
}

.athlete-card .validity--valid {
  color: #8fd8a8;
}

.validity--expiring {
  color: #9a6a12;
}

.athlete-card .validity--expiring {
  color: #e8c270;
}

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

.athlete-card .validity--expired {
  color: #f19a90;
}

.validity--suspended,
.validity--revoked,
.validity--replaced {
  color: var(--muted);
}

.athlete-card .validity--suspended,
.athlete-card .validity--revoked,
.athlete-card .validity--replaced {
  color: rgba(247, 243, 234, 0.55);
}

.member-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
}

.member-status--active {
  color: #2f7a4d;
}

.member-status--pending {
  color: #9a6a12;
}

.member-status--disabled {
  color: var(--muted);
}

.member-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.member-filter a {
  padding: 7px 13px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  transition: all 0.2s;
}

.member-filter a:hover,
.member-filter a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.member-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.member-table--records {
  min-width: 920px;
}

.member-table th {
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  white-space: nowrap;
}

.member-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  vertical-align: middle;
}

.member-table tbody tr:last-child td {
  border-bottom: 0;
}

.member-table tbody tr:hover {
  background: rgba(23, 21, 15, 0.022);
}

.member-table td strong {
  color: var(--ink);
  font-weight: 500;
}

.record-result {
  display: inline-block;
  color: var(--red);
  font-weight: 500;
}

.record-verified {
  display: inline-block;
  margin-left: 8px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: #2f7a4d;
  border: 1px solid rgba(47, 122, 77, 0.35);
  padding: 2px 5px;
  vertical-align: middle;
}

.member-empty {
  border: 1px dashed var(--line-strong);
  padding: 40px 24px;
  text-align: center;
}

.member-empty strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 6px;
}

.member-empty p {
  font-size: 11.5px;
  color: var(--muted);
}

.member-note {
  border-left: 2px solid var(--red);
  background: var(--paper-deep);
  padding: 18px 20px;
  margin-top: 26px;
}

.member-note strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.member-note p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.member-note a {
  color: var(--red);
  border-bottom: 1px solid rgba(166, 30, 30, 0.35);
}

.member-count {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.member-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.member-profile-grid .form-card {
  height: 100%;
}

/* --- Public verification ---------------------------------------------- */
.verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.verify-form {
  height: 100%;
}

.verify-help {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.verify-help strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}

.verify-help p {
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
}

.verify-result-wrap {
  display: flex;
}

.verify-result,
.verify-empty {
  width: 100%;
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 46px);
  background: #fffdf8;
  position: relative;
  overflow: hidden;
}

.verify-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--muted);
}

.verify-result--valid::before {
  background: #2f7a4d;
}

.verify-result--expiring::before {
  background: #9a6a12;
}

.verify-result--expired::before {
  background: var(--red);
}

.verify-result--suspended::before,
.verify-result--revoked::before,
.verify-result--replaced::before {
  background: var(--muted);
}

.verify-result__kicker {
  font-size: 8.5px;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.verify-result__status {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin: 18px 0 12px;
  color: var(--ink);
}

.verify-result--valid .verify-result__status {
  color: #2f7a4d;
}

.verify-result--expiring .verify-result__status {
  color: #9a6a12;
}

.verify-result--expired .verify-result__status {
  color: var(--red);
}

.verify-result--suspended .verify-result__status,
.verify-result--revoked .verify-result__status,
.verify-result--replaced .verify-result__status {
  color: var(--muted);
}

.verify-result__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 26px;
}

.verify-result__facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.verify-result__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.verify-result__facts dt {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.verify-result__facts dd {
  font-size: 12px;
  text-align: right;
  color: var(--ink);
}

.verify-result__privacy {
  margin-top: 20px;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted-light);
}

.verify-empty {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
}

.verify-empty__seal {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 34px;
  color: var(--red);
  transform: rotate(-3deg);
  margin-bottom: 24px;
}

.verify-empty h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.verify-empty p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 300px;
}

.verify-empty ul {
  margin-top: 24px;
  text-align: left;
  display: grid;
  gap: 9px;
}

.verify-empty li {
  position: relative;
  padding-left: 16px;
  font-size: 10.5px;
  color: var(--muted);
}

.verify-empty li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--red);
}

.verify-foot {
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}

.verify-foot a {
  color: var(--red);
}

/* --- Member responsive ------------------------------------------------- */
@media (max-width: 1100px) {
  .member-overview {
    grid-template-columns: 1fr;
  }
  .member-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-side .side-card:last-child {
    grid-column: 1 / -1;
  }
  .athlete-card {
    max-width: 520px;
  }
}

@media (max-width: 920px) {
  .member-auth {
    grid-template-columns: 1fr;
  }
  .member-auth__art {
    min-height: 280px;
  }
  .member-auth__quote h1 {
    font-size: 2.6rem;
  }
  .member-auth__card {
    padding: 34px 28px;
  }
  .member-form-page {
    grid-template-columns: 1fr;
  }
  .member-form-page__intro {
    position: static;
  }
  .member-shell {
    grid-template-columns: 1fr;
  }
  .member-nav {
    position: static;
  }
  .member-nav__profile {
    padding: 16px 18px;
  }
  .member-nav__links {
    display: flex;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 0;
    gap: 0;
  }
  .member-nav__links a {
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding: 12px 16px;
  }
  .member-nav__links a.is-active {
    border-left: 0;
    border-bottom-color: var(--red);
  }
  .member-nav__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
  }
  .verify-layout {
    grid-template-columns: 1fr;
  }
  .verify-result-wrap {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .member-profile-grid {
    grid-template-columns: 1fr;
  }
  .member-side {
    grid-template-columns: 1fr;
  }
  .member-side .side-card:last-child {
    grid-column: auto;
  }
  .member-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .member-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .member-form-actions .btn {
    justify-content: center;
  }
  .member-inline-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .member-auth__quote {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  .member-auth__quote h1 {
    font-size: 2.2rem;
  }
  .member-auth__art {
    min-height: 210px;
  }
  .member-auth__quote {
    display: none;
  }
  .verify-result,
  .verify-empty {
    padding: 28px 22px;
  }
  .athlete-card {
    padding: 20px;
  }
  .athlete-card__body {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 13px;
  }
  .athlete-card__photo {
    width: 68px;
    height: 88px;
  }
  .athlete-card__validity {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .athlete-card__info h3 {
    font-size: 21px;
  }
  .athlete-card__foot {
    grid-template-columns: 1fr 1fr;
  }
  .athlete-card__foot > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .topbar__member span {
    display: none;
  }
  .member-nav__links {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .member-nav__links a {
    flex: 1 0 33.333%;
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }
  .member-nav__links a.is-active {
    border-bottom-color: var(--red);
  }
  .member-auth__card {
    padding: 28px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field--full {
    grid-column: auto;
  }
  .athlete-card__season {
    font-size: 8px;
  }
  .member-nav__links a span {
    font-size: 11px;
  }
  .member-nav__links a {
    padding: 10px 12px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .member-nav,
  .page-hero,
  .member-inline-actions,
  .member-section-head .link-arrow,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .page-body {
    padding: 0;
  }
  .member-shell {
    display: block;
  }
  .athlete-card {
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #333;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .member-section,
  .member-alert {
    display: none !important;
  }
}

/* =======================================================================
   Original association logo / brand assets
   ======================================================================= */
.brand--logo {
  gap: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: 100%;
}

.brand__logo--on-dark {
  display: none;
}

.site-header.is-fixed:not(.is-stuck) .brand__logo--on-light {
  display: none;
}

.site-header.is-fixed:not(.is-stuck) .brand__logo--on-dark {
  display: block;
}

.site-header.is-stuck .brand__logo {
  height: 48px;
}

.footer-brand .brand__logo {
  height: 52px;
}

.athlete-card__seal {
  display: block;
  object-fit: contain;
  padding: 3px;
  background: rgba(247, 243, 234, 0.035);
}

@media (max-width: 820px) {
  .brand__logo {
    height: 50px;
  }
}

@media (max-width: 640px) {
  .brand__logo {
    height: 44px;
  }
  .footer-brand .brand__logo {
    height: 48px;
  }
}

@media (max-width: 380px) {
  .brand__logo {
    height: 40px;
  }
}

/* Build / deployment stamp */
.topbar__build {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.42);
  white-space: nowrap;
}

@media (max-width: 1220px) {
  .topbar__build {
    display: none;
  }
}

/* =======================================================================
   Public member lookup
   ======================================================================= */
.lookup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.lookup-form {
  position: sticky;
  top: 26px;
}

.lookup-layout > *,
.lookup-results {
  min-width: 0;
}

.lookup-help {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lookup-help strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.lookup-help p {
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}

.lookup-empty {
  border: 1px solid var(--line);
  background: var(--paper-deep);
  min-height: 360px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lookup-empty__seal {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--red);
  font-family: var(--serif);
  font-size: 32px;
  transform: rotate(-3deg);
  margin-bottom: 22px;
}

.lookup-empty h3 {
  font-family: var(--serif);
  font-size: 25px;
  margin-bottom: 10px;
}

.lookup-empty p {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.lookup-empty ul {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.lookup-empty li {
  position: relative;
  padding-left: 16px;
  font-size: 10.5px;
  color: var(--muted);
}

.lookup-empty li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--red);
}

.lookup-member {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.lookup-member__avatar {
  width: 64px;
  height: 78px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 27px;
  border: 1px solid var(--line-strong);
}

.lookup-member__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookup-member > div {
  flex: 1;
  min-width: 0;
}

.lookup-member h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 4px 0;
}

.lookup-member p {
  font-size: 11px;
  color: var(--muted);
}

.lookup-card-block {
  margin-bottom: 28px;
}

.lookup-card-block .athlete-card {
  max-width: 100%;
}

.lookup-card-block h3,
.lookup-results h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-top: 5px;
}

@media (max-width: 980px) {
  .lookup-layout {
    grid-template-columns: 1fr;
  }
  .lookup-form {
    position: static;
  }
}

@media (max-width: 640px) {
  .lookup-member {
    flex-wrap: wrap;
  }
  .lookup-member > span:last-child {
    margin-left: 80px;
  }
  .lookup-member h2 {
    font-size: 1.7rem;
  }
}

@media print {
  .lookup-form,
  .lookup-help,
  .lookup-empty,
  .lookup-card-block .member-section-head,
  .lookup-results .member-note {
    display: none !important;
  }
  .lookup-layout {
    display: block;
  }
}

.lookup-record-list {
  display: none;
}

.lookup-record {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.lookup-record__date {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 3px;
}

.lookup-record__body {
  min-width: 0;
}

.lookup-record__body strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.lookup-record__body small {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

.lookup-record .record-result {
  padding-top: 2px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .lookup-results .member-table-wrap {
    display: none;
  }
  .lookup-record-list {
    display: block;
    border-top: 1px solid var(--line);
  }
}

.member-login-quick {
  width: 100%;
  justify-content: space-between;
  margin-bottom: 22px;
}
