:root {
  color-scheme: light;
  --green: #113306;
  --green-soft: #9daf88;
  --green-pale: #eef3e7;
  --ink: #1d271a;
  --muted: #68705f;
  --line: #d8ded1;
  --gold: #b49a52;
  --paper: #ffffff;
  --shadow: 0 18px 60px rgba(17, 51, 6, 0.18);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled,
.site-header.solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(17, 51, 6, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.brand span {
  display: grid;
  line-height: 1.05;
}

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

.brand small {
  margin-top: 4px;
  font-size: 9px;
  font-family: Georgia, serif;
}

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

.wechat-pill {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: #0a6b1d;
  background: #5be871;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.login-link {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
}

.login-link button:first-child {
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
}

.login-link button { padding: 0; color: inherit; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.login-link button:first-child { padding-bottom: 3px; border-bottom: 2px solid currentColor; }
.account-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px; border: 1px solid #dce3d8; border-radius: 8px; color: #173b1e; background: #fff; }
.account-dialog::backdrop { background: rgba(10, 24, 13, .6); }
body.account-is-open { overflow: hidden; }
.account-dialog [hidden] { display: none !important; }
.account-close { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border: 0; background: transparent; color: inherit; font-size: 26px; cursor: pointer; }
.account-dialog h2 { margin: 8px 0; font-size: 26px; line-height: 1.4; }
.account-subtitle { margin: 0 0 24px; color: #667264; font-size: 14px; line-height: 1.7; }
.account-tabs { display: flex; border-bottom: 1px solid #dce3d8; margin-bottom: 24px; }
.account-tabs button { flex: 1; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; color: #667264; background: none; font: inherit; font-size: 14px; cursor: pointer; }
.account-tabs button[aria-selected="true"] { border-color: #173b1e; color: #173b1e; font-weight: bold; }
.account-qr { margin: auto; width: 204px; aspect-ratio: 1; display: grid; place-items: center; background: #f4f7f2; border: 1px dashed #bac8b4; }
.account-qr img { width: 100%; height: 100%; object-fit: contain; }
.account-qr-placeholder { text-align: center; font-size: 14px; line-height: 1.8; color: #667264; }
.account-qr-placeholder strong { display: block; color: #173b1e; }
.account-qr-caption { text-align: center; margin: 16px 0 8px; font-size: 14px; }
.account-qr-status, .account-status { min-height: 22px; font-size: 13px; color: #667264; line-height: 1.7; }
.account-qr-status { text-align: center; }
.account-refresh, .account-switch { border: 0; padding: 8px; background: none; color: #173b1e; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.account-refresh { display: block; margin: auto; }
.account-phone label { display: block; font-size: 14px; margin-bottom: 18px; }
.account-phone input { display: block; min-width: 0; width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #bdcaba; border-radius: 4px; margin-top: 8px; font: inherit; font-size: 16px; background: white; color: #173b1e; }
.account-code-row { display: flex; gap: 8px; align-items: center; }
.account-code-row input { flex: 1; }
.account-code-row button { flex: 0 0 112px; min-height: 46px; margin-top: 8px; padding: 8px; background: #edf3e9; border: 1px solid #bdcaba; color: #173b1e; font: inherit; font-size: 13px; border-radius: 4px; cursor: pointer; }
.account-submit { width: 100%; min-height: 46px; padding: 10px; border: 0; border-radius: 4px; color: #fff; background: #173b1e; font: inherit; cursor: pointer; }
.account-dialog button:disabled { opacity: .55; cursor: wait; }
.account-bottom { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 20px; font-size: 13px; }
.account-preview-note { padding-top: 16px; border-top: 1px solid #e3e9df; margin: 20px 0 0; font-size: 12px; line-height: 1.7; color: #788374; }
@media (max-width: 480px) { .account-dialog { padding: 28px 20px 20px; } }

.menu-button {
  width: 42px;
  height: 34px;
  display: grid;
  align-content: space-between;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.drawer {
  position: fixed;
  z-index: 60;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -24px 0 70px rgba(17, 51, 6, 0.24);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.drawer-nav {
  clear: both;
  display: grid;
  gap: 24px;
  padding-top: 64px;
}

.drawer-nav a {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: 21px;
}

.hero {
  position: relative;
  min-height: 584px;
  height: min(100vh, 760px);
  overflow: hidden;
  background: #233421;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.86);
}

.hero-shade {
  background: rgba(0, 0, 0, 0.42);
}

.hero-copy {
  position: absolute;
  left: 16px;
  bottom: 235px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-copy h1 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 5vw, 44px);
  line-height: 1.05;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(15px, 3vw, 21px);
  font-weight: 700;
}

.section-pad {
  padding: 56px 16px;
}

.intro {
  display: grid;
  gap: 34px;
}

.map-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #edf1e9;
  background: var(--green-pale);
}

.map-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.map-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.tag-practice { left: 9%; top: 37%; writing-mode: vertical-rl; }
.tag-bay { left: 21%; top: 37%; writing-mode: vertical-rl; }
.tag-field { left: 58%; top: 37%; }
.tag-south { left: 89%; top: 37%; writing-mode: vertical-rl; }
.tag-green { left: 36%; top: 84%; }
.map-caption { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #304b25; }

.text-block {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-block h2,
.section-title strong,
.page-hero h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 7vw, 54px);
  line-height: 1.03;
}

.text-block p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.english {
  margin: 16px 0 12px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 19px;
}

.outline-link,
.solid-link,
.wechat-cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid currentColor;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 14px;
}

.intro-more-wrap {
  margin-top: 0;
}

.more-toggle {
  margin-top: 0;
  list-style: none;
}

.more-toggle::-webkit-details-marker {
  display: none;
}

.intro-more-wrap[open] .more-toggle {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.more-toggle .label-open {
  display: none;
}

.intro-more-wrap[open] .label-closed {
  display: none;
}

.intro-more-wrap[open] .label-open {
  display: inline;
}

.intro-more {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.intro-more h3 {
  max-width: 520px;
  margin: 0;
  color: var(--green);
  font-size: clamp(22px, 4vw, 31px);
  line-height: 1.25;
}

.intro-flow {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.intro-flow span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-left: 3px solid var(--green-soft);
  background: #f7faf3;
  color: var(--green);
  font-weight: 700;
}

.intro-flow small {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.intro-more-grid {
  display: grid;
  gap: 12px;
}

.intro-more-grid article {
  padding: 15px 0;
  border-top: 1px solid rgba(216, 222, 209, 0.78);
}

.intro-more-grid strong {
  display: block;
  color: var(--green);
  font-size: 18px;
}

.intro-more-grid p,
.intro-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.intro-note {
  margin-top: 16px;
  padding: 13px 14px;
  background: #f7faf3;
  border: 1px solid rgba(216, 222, 209, 0.84);
}

.outline-link.light {
  color: #fff;
}

.solid-link,
.wechat-cta {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.section-title {
  margin-bottom: 32px;
}

.section-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-soft);
  font-weight: 700;
}

.section-title strong em {
  display: inline-block;
  margin-left: 10px;
  color: var(--green-soft);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(18px, 3.4vw, 28px);
  font-style: normal;
  font-weight: 700;
  vertical-align: 0.08em;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}

.facility-card {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.thumb,
.cafe-image,
.coach-photo,
.page-hero-image,
.modal-feature-image,
.modal-thumb {
  background-image: url("./public/assets/facility-grid.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.thumb {
  aspect-ratio: 268 / 154;
  width: 100%;
}

.crop-1 { background-position: 0% 0%; }
.crop-2 { background-position: 50% 0%; }
.crop-3 { background-position: 100% 0%; }
.crop-4 { background-position: 0% 100%; }
.crop-5 { background-position: 50% 100%; }
.crop-6 { background-position: 100% 100%; }

.real-photo { background-size: cover; background-position: center; }
.photo-tea { background-image: url("./public/assets/real-tea.jpg"); }
.photo-bays { background-image: url("./public/assets/real-bays.jpg"); }
.photo-field { background-image: url("./public/assets/real-field.jpg"); }
.photo-field-alt { background-image: url("./public/assets/real-field-alt.jpg"); }
.photo-green { background-image: url("./public/assets/real-green.jpg"); }
.photo-green-alt { background-image: url("./public/assets/real-green-alt.jpg"); }
.photo-workshop { background-image: url("./public/assets/real-workshop.jpg"); }
.photo-fitting { background-image: url("./public/assets/real-fitting.jpg"); }
.photo-fitness { background-image: url("./public/assets/real-fitness.jpg"); }

.facility-copy {
  padding-top: 13px;
}

.facility-copy h3,
.feature-row h3,
.membership-list h3,
.access-card h3,
.coach-card h2,
.honor-list h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.1;
}

.facility-copy h3 span {
  display: block;
  margin-top: 5px;
  color: var(--green-soft);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: 14px;
  line-height: 1.35;
}

.facility-copy p,
.feature-row p,
.membership-list p,
.access-card p,
.coach-card p,
.honor-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.numbers {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  color: var(--green-soft);
  font-family: Georgia, serif;
  font-size: 12px;
}

.cafe {
  display: grid;
  gap: 30px;
  color: #fff;
  background: var(--green);
}

.cafe .text-block h2,
.cafe .text-block p {
  color: #fff;
}

.cafe-image {
  min-height: 280px;
  box-shadow: var(--shadow);
}

.complex-viewer {
  min-height: 280px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #0b261d;
}

.complex-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: opacity 0.18s ease, transform 0.28s ease;
}

.complex-photo.is-changing {
  opacity: 0.35;
  transform: scale(1.015);
}

.complex-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
}

.complex-card {
  display: block;
  width: 100%;
  padding: 15px 0 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.complex-card.active {
  border-top-color: rgba(255, 255, 255, 0.66);
}

.complex-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.46);
  font-family: Georgia, serif;
  font-size: 13px;
}

.complex-list strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.complex-list p {
  margin: 7px 0 0;
  font-size: 13px;
}

.feature-row,
.membership-list,
.honor-list,
.coach-grid {
  display: grid;
  gap: 18px;
}

.feature-row article,
.track-card,
.membership-list article,
.access-card,
.coach-card,
.honor-list article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.feature-row article,
.track-card,
.membership-list article,
.coach-card,
.honor-list article {
  border-radius: 6px;
}

.track-card {
  display: block;
  min-height: 100%;
}

.track-card > span {
  display: inline-block;
  margin-top: 20px;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.coaches-preview,
.membership,
.coaches-page {
  background: #f8faf5;
}

.honors-preview {
  display: grid;
  gap: 30px;
}

.youth-preview {
  display: grid;
  gap: 30px;
  background: #0f3208;
}

.youth-preview .text-block h2,
.youth-preview .text-block p {
  color: #fff;
}

.youth-preview .solid-link {
  background: #fff;
  border-color: #fff;
  color: var(--green);
}

.youth-preview-image img,
.youth-hero img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.youth-preview-image img {
  height: 360px;
}

.youth-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.youth-mini-stats span {
  padding: 8px 12px;
  border: 1px solid rgba(17, 51, 6, 0.18);
  color: var(--green);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.youth-preview .youth-mini-stats span {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.honor-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.membership-list strong {
  display: block;
  margin-top: 20px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.access-card {
  display: grid;
  gap: 24px;
  align-items: center;
}

.english-address {
  font-family: Georgia, "Times New Roman", serif;
}

.access-details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.access-details a {
  width: fit-content;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

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

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

.qa {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.qa small {
  font-size: 22px;
}

.answer {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.qa.open + .answer {
  display: block;
}

.site-footer {
  position: relative;
  min-height: 675px;
  display: grid;
  align-content: end;
  padding: 80px 16px 54px;
  overflow: hidden;
  color: #fff;
  background: var(--green);
}

.site-footer.compact {
  min-height: 260px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17, 51, 6, 0.35), rgba(17, 51, 6, 0.8)), url("./public/assets/hero-driver-ball.png") center / cover;
}

.footer-content {
  position: relative;
  display: grid;
  gap: 34px;
}

.site-footer nav {
  display: grid;
  gap: 14px;
}

.site-footer p {
  margin: 20px 0 0;
  font-size: 22px;
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  backdrop-filter: blur(10px);
}

.footer-contact span {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.footer-contact a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1.4;
}

.footer-contact p,
.footer-contact small {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.footer-contact small {
  font-size: 13px;
}

.modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 51, 6, 0.66);
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(1040px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 20px;
  background: #fff;
}

.modal-close {
  float: right;
  margin-bottom: 12px;
  border: 0;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}

.modal-card h3 {
  clear: both;
  margin: 0 0 12px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.85;
}

.modal-hero {
  clear: both;
  display: grid;
  gap: 22px;
  padding-top: 10px;
}

.modal-feature-image {
  min-height: 290px;
  background-color: var(--green-pale);
}

.modal-intro {
  align-self: center;
}

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

.modal-thumb {
  min-height: 132px;
  position: relative;
  overflow: hidden;
}

.modal-thumb span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: #fff;
  background: rgba(17, 51, 6, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.modal-detail-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.modal-detail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8faf5;
}

.modal-detail-grid h4 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 16px;
}

.modal-detail-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.modal-detail-grid p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  .header-actions {
    animation: rb-soft-drop 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .header-actions {
    animation-delay: 0.08s;
  }

  .hero-image {
    transform: scale(1.04);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.is-loaded .hero-image {
    transform: scale(1);
  }

  .hero-copy h1,
  .hero-copy p {
    opacity: 0;
    animation: rb-fade-up 0.86s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero-copy p {
    animation-delay: 0.16s;
  }

  .reveal-item {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(24px);
    transition:
      opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  .reveal-item.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .facility-card,
  .feature-row article,
  .track-card,
  .membership-list article,
  .role-card,
  .talks-grid article,
  .training-days article,
  .youth-path article,
  .honor-list article,
  .access-card {
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.32s ease,
      border-color 0.32s ease;
  }

  .facility-card:hover,
  .feature-row article:hover,
  .track-card:hover,
  .membership-list article:hover,
  .role-card:hover,
  .talks-grid article:hover,
  .training-days article:hover,
  .youth-path article:hover,
  .honor-list article:hover,
  .access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(17, 51, 6, 0.12);
    border-color: rgba(17, 51, 6, 0.26);
  }

  .facility-card .thumb,
  .coach-photo,
  .honor-image img,
  .youth-preview-image img,
  .page-hero-image,
  .honors-hero img {
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.5s ease;
  }

  .facility-card:hover .thumb,
  .coach-card:hover .coach-photo,
  .honor-image:hover img,
  .youth-preview-image:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
  }

  .modal.open .modal-card {
    animation: rb-modal-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .drawer.open .drawer-nav a {
    animation: rb-fade-up 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .intro-more-wrap[open] .intro-more {
    animation: rb-fade-up 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .drawer.open .drawer-nav a:nth-child(2) { animation-delay: 0.04s; }
  .drawer.open .drawer-nav a:nth-child(3) { animation-delay: 0.08s; }
  .drawer.open .drawer-nav a:nth-child(4) { animation-delay: 0.12s; }
  .drawer.open .drawer-nav a:nth-child(5) { animation-delay: 0.16s; }
  .drawer.open .drawer-nav a:nth-child(6) { animation-delay: 0.20s; }
  .drawer.open .drawer-nav a:nth-child(7) { animation-delay: 0.24s; }
  .drawer.open .drawer-nav a:nth-child(8) { animation-delay: 0.28s; }

  @keyframes rb-fade-up {
    from {
      opacity: 0;
      filter: blur(7px);
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  @keyframes rb-soft-drop {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes rb-modal-in {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

.page-hero {
  display: grid;
  gap: 24px;
  padding: 120px 16px 58px;
  background: #f8faf5;
}

.page-hero-image,
.honors-hero img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.page-hero p {
  color: var(--muted);
  line-height: 1.8;
}

.honors-hero img {
  height: 420px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter {
  min-width: 82px;
  min-height: 38px;
  border: 1px solid var(--line);
  color: var(--green);
  background: #fff;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.coach-card.hidden {
  display: none;
}

.coach-photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}

.coach-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  border-bottom: 1px solid currentColor;
}

.home-team { margin: 36px 0; }
.coach-result-count { color: var(--muted); font-size: 14px; margin: -10px 0 24px; }
.team-card { display: flex; flex-direction: column; min-width: 0; }
.team-photo-button { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; margin-bottom: 20px; }
.team-portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #f1e5d7; }
.team-portrait img { position: absolute; width: 200%; max-width: none; height: auto; left: -100%; top: -4%; }
.team-role { min-height: 36px; font-size: 12px; line-height: 1.5; }
.team-card h2 { font-size: 25px; line-height: 1.3; overflow-wrap: anywhere; }
.team-specialty { min-height: 48px; font-size: 14px; line-height: 1.7; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 20px; color: #53634d; font-size: 12px; }
.team-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.team-actions button { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; color: var(--green); cursor: pointer; }
.team-actions button:hover { text-decoration: underline; }
.coach-detail-dialog { width: min(800px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 36px; color: var(--green); border: 1px solid var(--line); border-radius: 8px; background: white; overflow: auto; }
.coach-detail-dialog::backdrop { background: rgba(10, 24, 13, .6); }
body.coach-detail-open { overflow: hidden; }
.coach-detail-heading { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: 12px 0 24px; }
.coach-detail-heading h2 { font-size: 32px; line-height: 1.3; overflow-wrap: anywhere; margin: 10px 0; }
.coach-detail-heading .solid-link { margin-top: 12px; border: 0; cursor: pointer; font: inherit; }
.coach-detail-dialog section { padding: 22px 0; border-top: 1px solid var(--line); }
.coach-detail-dialog h3 { font-size: 20px; margin: 0 0 12px; }
.coach-detail-dialog p, .coach-detail-dialog li { font-size: 15px; line-height: 1.9; }
.coach-detail-dialog ul { padding-left: 20px; margin: 0; }
.coach-original summary { cursor: pointer; padding: 18px 0; border-top: 1px solid var(--line); }
.coach-original img { display: block; width: 100%; height: auto; }
.coach-source-note { color: var(--muted); font-size: 12px !important; }
@media (max-width: 600px) {
  .coach-detail-dialog { padding: 32px 20px 20px; }
  .coach-detail-heading { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .coach-detail-heading h2 { font-size: 24px; }
  .coach-detail-heading .solid-link { width: 100%; min-width: 0; padding: 12px 8px; font-size: 13px; }
}

.honor-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 700;
}

.honor-list ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.honor-monthly,
.honor-stories {
  background: #f8faf5;
}

.alumni-grid,
.story-list {
  display: grid;
  gap: 18px;
}

.alumni-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.alumni-card h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}

.alumni-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.alumni-card dl {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.alumni-card dl div {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.alumni-card dt {
  color: var(--green);
  font-weight: 700;
}

.alumni-card dd {
  margin: 0;
  color: var(--muted);
}

.story-list article {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.story-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.story-list span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.story-list h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.25;
}

.story-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.youth-hero {
  padding-top: 120px;
}

.youth-hero img {
  min-height: 390px;
}

.youth-overview,
.training-section,
.apply-section {
  background: #f8faf5;
}

.youth-path,
.role-grid,
.training-days,
.talks-grid {
  display: grid;
  gap: 18px;
}

.youth-path article,
.role-card,
.training-days article,
.talks-grid article,
.apply-form {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.youth-path article span,
.training-days article span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.youth-path h3,
.role-card h3,
.training-days h3,
.talks-grid h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
}

.youth-path p,
.role-card p,
.training-days p,
.talks-grid p,
.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.role-card.featured {
  border-color: rgba(180, 154, 82, 0.55);
  background: #fffdf7;
}

.role-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.talks-section {
  background: var(--green);
}

.talks-section .section-title strong,
.talks-section .talks-grid h3,
.talks-section .eyebrow {
  color: #fff;
}

.talks-section .section-title span {
  color: rgba(255, 255, 255, 0.72);
}

.talks-grid article {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.talks-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.talks-grid .solid-link {
  margin-top: 20px;
  cursor: pointer;
}

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

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}

.apply-form textarea {
  resize: vertical;
}

.apply-form .wide {
  grid-column: 1 / -1;
}

@media (min-width: 760px) {
  .site-header {
    height: 86px;
    padding: 0 40px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-copy {
    left: 8vw;
    bottom: 28vh;
  }

  .section-pad {
    padding: 82px min(8vw, 96px);
  }

  .intro,
  .cafe,
  .honors-preview,
  .youth-preview,
  .page-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
  }

  .intro-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .intro-flow span {
    align-items: flex-start;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
  }

  .intro-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facility-grid,
  .feature-row,
  .membership-list,
  .coach-grid,
  .alumni-grid,
  .honor-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .youth-path,
  .training-days,
  .talks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-list article {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 28px;
  }

  .apply-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-panel img {
    height: auto;
  }

  .cafe-image,
  .complex-viewer,
  .complex-photo {
    min-height: 430px;
  }

  .access-card {
    grid-template-columns: 1fr auto;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
    align-items: end;
  }

  .modal-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  }

  .modal-feature-image {
    min-height: 410px;
  }

  .modal-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .modal-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    padding-left: min(8vw, 96px);
    padding-right: min(8vw, 96px);
  }
}

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .wechat-pill {
    width: 56px;
    height: 56px;
  }

  .login-link {
    font-size: 13px;
  }

  .facility-grid {
    gap: 24px 14px;
  }
}
