/* ---------- Design tokens ---------- */
:root {
  --bg: #f8f0e7;
  --bg-2: #e2d8ce;
  --ink: #1f3a2e;        /* deep forest green */
  --ink-soft: #2a4a3a;
  --muted: #6b6b63;
  --gold: #b8945a;
  --line: rgba(31, 58, 46, 0.18);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --container: 1440px;
  --radius: 6px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* ---------- Hero shell ---------- */
body {
  background: #f7ece1;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: transparent;
  overflow: hidden;
  padding: 0 clamp(20px, 4vw, 64px);
}

.decorative-lines {
  position: absolute;
  top: 0; left: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  max-width: var(--container);
  margin: 0 auto;
}

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

.logo-mark {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -1px;
}
.logo-mark__letters { font-size: 22px; font-weight: 500; line-height: 1; }
.logo-mark__v { display: inline-block; transform: translate(-2px, 2px); font-style: italic; }

.brand-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--ink);
}

.nav__menu {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-left: auto;
  margin-right: auto;
}

.nav__link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--ink);
  padding: 6px 2px;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after,
.nav__link--active::after { transform: scaleX(1); }
.nav__link--active { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 6px 20px -8px rgba(31,58,46,.6);
}
.btn--primary:hover {
  background: #15281f;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(31,58,46,.55);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary svg { transition: transform .3s var(--ease); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.nav__cta { padding: 14px 26px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 22px; height: 1.6px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}

/* ---------- Hero layout ---------- */
.hero__inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(20px, 4vw, 40px) 0 60px;
  min-height: calc(100vh - 120px);
}

/* ---------- Text column ---------- */
.hero__text { max-width: 620px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 8.5vw, 124px);
  line-height: 0.98;
  letter-spacing: -2px;
  color: var(--ink);
  margin: 0 0 36px;
}
.hero__title span {
  display: block;
}

.accent-line {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
  transform-origin: left;
  animation: lineGrow 1.1s var(--ease) .4s both;
}
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 440px;
}
.hero__subtitle strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 600px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.feature__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--ink);
  margin-bottom: 4px;
}
.feature__sub {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* ---------- Visual column ---------- */
.hero__visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-wrap {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 4 / 3;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(31,58,46,.22));
}

.hero__visual-glow {
  position: absolute;
  inset: 10% 0 10% 10%;
  background: radial-gradient(closest-side, rgba(31,58,46,.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero__title .reveal:nth-child(1) { transition-delay: .1s; }
.hero__title .reveal:nth-child(2) { transition-delay: .25s; }
.hero__title .reveal:nth-child(3) { transition-delay: .4s; }
.hero__subtitle.reveal { transition-delay: .6s; }
.hero__cta.reveal { transition-delay: .75s; }
.hero__features .feature:nth-child(1) { transition-delay: .9s; }
.hero__features .feature:nth-child(2) { transition-delay: 1.0s; }
.hero__features .feature:nth-child(3) { transition-delay: 1.1s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 12px;
    min-height: auto;
  }
  .hero__visual { order: -1; }
  .hero__visual-wrap {
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }
  .hero__title { font-size: clamp(48px, 12vw, 84px); }
  .hero__features { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .brand-name { font-size: 16px; letter-spacing: 3px; }
  .logo-mark { width: 44px; height: 44px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero__title { letter-spacing: -1px; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  position: relative;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 64px);
  overflow: hidden;
}

.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 28px;
}

.about__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin: 0 0 32px;
}

.about__desc {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 64px;
}

/* ----- Facilities ----- */
.facilities { margin-bottom: 56px; }

.facilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 0;
  max-width: 620px;
}

.facility {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px;
  transition: transform .35s var(--ease);
}
.facility:hover { transform: translateY(-4px); }

/* Vertical dividers between columns (not after last in row) */
.facility:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--line);
}

.facility__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.facility__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.5;
  color: var(--ink);
}

/* ----- Stats ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

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

.stat__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.stat__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat__value span {
  font-size: 22px;
  color: var(--gold);
}
.stat__star {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 18px;
  vertical-align: top;
  margin-left: 2px;
}

.stat__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
}

/* ----- About visual ----- */
.about__visual {
  position: relative;
  align-self: center;
  margin-right: calc(-1 * clamp(20px, 4vw, 64px));
}
.about__image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(31,58,46,.18));
}
.about__video {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  object-fit: cover;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { margin-right: 0; order: -1; }
  .facilities__grid { max-width: 100%; }
  .stats { max-width: 100%; }
}

@media (max-width: 768px) {
  .facilities__grid { grid-template-columns: repeat(2, 1fr); }
  .facility:not(:nth-child(4n))::after { display: none; }
  .facility:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--line);
  }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ============================================
   COURTS SECTION
   ============================================ */
.courts {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.courts__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-tag__num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.section-tag__line {
  width: 28px;
  height: 1px;
  background: var(--ink);
  opacity: 0.6;
}
.section-tag__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ink);
}

.courts__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 7.5vw, 110px);
  line-height: 1;
  letter-spacing: -2px;
  color: var(--ink);
  margin: 0 0 20px;
}

.accent-line--static { animation: none; transform: none; }

.courts__desc {
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 460px;
  margin: 18px 0 0;
}

/* Pagination/arrows */
.courts__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.courts__nav .court-arrow:first-of-type { margin-right: 0; }

.courts__arrows {
  display: flex;
  gap: 10px;
}

.courts__pager {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.courts__pager-current,
.courts__pager-total { display: inline; }
.courts__pager-current { color: var(--ink); font-weight: 600; }

.court-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
}
.court-arrow svg { width: 18px; height: 18px; }
.court-arrow:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.court-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: transparent;
  color: var(--gold);
}

/* Track */
.courts__track-wrap {
  width: 100%;
  overflow: hidden;
  padding: 14px 0 22px;
}
.courts__track {
  display: flex;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.courts__track::-webkit-scrollbar { display: none; }

/* Court card */
.court-card {
  position: relative;
  flex: 0 0 calc((100% - 4 * 24px) / 4);
  min-width: 240px;
  max-width: 320px;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 14px 22px;
  scroll-snap-align: start;
  transition: all .4s var(--ease);
}
.court-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.55);
  border-color: rgba(31,58,46,0.15);
  box-shadow: 0 24px 40px -22px rgba(31,58,46,0.25);
}
.court-card.is-active {
  border-color: var(--ink);
  background: rgba(255,255,255,0.55);
  box-shadow: 0 24px 40px -22px rgba(31,58,46,0.3);
}

.court-card__check {
  position: absolute;
  top: 14px; left: 14px;
  width: 28px; height: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(31,58,46,0.3);
}
.court-card__check svg { width: 14px; height: 14px; }

.court-vis {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  margin-bottom: 22px;
}
.court-vis svg,
.court-vis img {
  display: block;
  width: 100%;
  height: auto;
}

.court-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 10px;
  padding: 0 6px;
}
.court-card__title a {
  color: inherit;
  text-decoration: none;
}
.court-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  padding: 0 6px;
  min-height: 42px;
}

.court-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 6px;
  margin-bottom: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ink);
  background: rgba(255,255,255,0.4);
}
.pill svg { width: 14px; height: 14px; }

.court-card__btn {
  width: calc(100% - 12px);
  margin: 0 6px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .3s var(--ease);
  text-decoration: none;
}
.court-card__btn svg { width: 14px; height: 10px; transition: transform .3s var(--ease); }
.court-card__btn:hover {
  background: var(--ink);
  color: #fff;
}
.court-card__btn:hover svg { transform: translateX(4px); }

.court-card.is-active .court-card__btn {
  background: var(--ink);
  color: #fff;
}

/* Bottom features */
.courts__features {
  max-width: var(--container);
  margin: clamp(50px, 7vw, 90px) auto 0;
  padding: 38px clamp(20px, 4vw, 64px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.court-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.court-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px; top: 12%; bottom: 12%;
  width: 1px;
  background: var(--line);
}
.court-feature__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  margin-top: 2px;
}
.court-feature__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--ink);
  margin-bottom: 6px;
}
.court-feature__sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* Responsive courts */
@media (max-width: 1100px) {
  .court-card { flex: 0 0 calc((100% - 3 * 24px) / 3); }
  .courts__features { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .court-feature:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  .courts__head { grid-template-columns: 1fr; }
  .courts__nav { justify-self: start; }
  .court-card { flex: 0 0 80%; }
}
@media (max-width: 480px) {
  .courts__features { grid-template-columns: 1fr; }
  .court-card { flex: 0 0 90%; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  min-height: 760px;
  padding: clamp(82px, 9vw, 132px) clamp(20px, 4vw, 64px) 42px;
  overflow: hidden;
  background: #f8ebdb;
  border-top: 1px solid rgba(184, 148, 90, 0.25);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(184, 148, 90, 0.22);
  z-index: 2;
}
.site-footer::before { top: 0; }
.site-footer::after { bottom: 104px; }

.footer-balls {
  position: absolute;
  bottom: -92px;
  width: min(62vw, 820px);
  max-width: none;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.footer-balls--left {
  left: -176px;
}
.footer-balls--right {
  right: -154px;
}

.site-footer__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.32fr) minmax(300px, .72fr) minmax(320px, .95fr);
  gap: clamp(44px, 6vw, 88px);
}

.site-footer__brand,
.footer-nav,
.footer-contact {
  min-height: 440px;
}
.footer-nav,
.footer-contact {
  border-left: 1px solid rgba(184, 148, 90, 0.32);
  padding-left: clamp(34px, 4vw, 72px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 66px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: .82;
  color: var(--ink);
  letter-spacing: -3px;
}
.footer-logo span {
  display: inline-block;
  font-style: italic;
  transform: translate(-7px, 16px);
}
.footer-brand__divider {
  width: 1px;
  height: 64px;
  background: rgba(184, 148, 90, 0.58);
}
.footer-brand__name {
  font-size: clamp(17px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: clamp(6px, 1.25vw, 13px);
  color: var(--ink);
  white-space: nowrap;
}

.site-footer__headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 26px;
  color: var(--ink);
}
.site-footer__headline em {
  font-weight: 500;
}
.footer-accent {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 34px;
}
.site-footer__copy {
  margin: 0;
  max-width: 420px;
  color: #333833;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.62;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 300px;
}
.footer-nav a:not(.footer-book) {
  width: min(100%, 300px);
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(184, 148, 90, 0.26);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer-nav a:not(.footer-book):hover {
  color: var(--gold);
  border-color: rgba(184, 148, 90, 0.72);
  transform: translateX(5px);
}
.footer-book {
  width: min(100%, 300px);
  min-height: 58px;
  margin-top: 26px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(31,58,46,.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.footer-book svg {
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
  transition: transform .3s var(--ease);
}
.footer-book span {
  display: inline-block;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}
.footer-book:hover {
  background: #15281f;
  transform: translateY(-3px);
  box-shadow: 0 22px 34px -20px rgba(31,58,46,.8);
}
.footer-book:hover svg { transform: translateX(5px); }

.footer-contact h3 {
  margin: 0 0 42px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
}
.footer-contact__list {
  display: grid;
  gap: 28px;
  margin: 0 0 70px;
  padding: 0;
  list-style: none;
}
.footer-contact__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 20px;
  color: #3e433f;
  font-size: 15px;
  line-height: 1.45;
}
.footer-contact__list svg {
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.footer-social__title {
  margin-top: 0;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 34px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}
.footer-social svg {
  width: 32px;
  height: 32px;
}

.site-footer__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 104px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #3e433f;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .site-footer {
    min-height: auto;
    padding-bottom: 148px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-contact {
    grid-column: 1 / -1;
    min-height: 0;
    border-left: 0;
    border-top: 1px solid rgba(184, 148, 90, 0.32);
    padding: 42px 0 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px 60px;
  }
  .footer-contact h3,
  .footer-contact__list {
    grid-column: 1;
  }
  .footer-contact .footer-social__title,
  .footer-social {
    grid-column: 2;
  }
  .footer-social__title {
    align-self: end;
    margin-bottom: 0;
  }
  .footer-social {
    align-self: start;
  }
  .footer-balls {
    width: min(74vw, 720px);
    bottom: -92px;
  }
}

@media (max-width: 820px) {
  .site-footer {
    padding-top: 72px;
    padding-bottom: 230px;
  }
  .site-footer::after {
    bottom: 164px;
  }
  .site-footer__inner,
  .footer-contact {
    grid-template-columns: 1fr;
  }
  .site-footer__brand,
  .footer-nav,
  .footer-contact {
    min-height: 0;
  }
  .footer-nav {
    min-width: 0;
  }
  .footer-nav,
  .footer-contact {
    border-left: 0;
    border-top: 1px solid rgba(184, 148, 90, 0.32);
    padding: 38px 0 0;
  }
  .footer-brand {
    gap: 22px;
    margin-bottom: 48px;
  }
  .footer-brand__name {
    white-space: normal;
    line-height: 1.5;
  }
  .footer-nav a:not(.footer-book),
  .footer-book {
    width: 100%;
  }
  .footer-contact h3,
  .footer-contact__list,
  .footer-social__title,
  .footer-social {
    grid-column: auto;
  }
  .footer-contact__list {
    margin-bottom: 20px;
  }
  .site-footer__bottom {
    min-height: 164px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .footer-balls {
    width: min(62vw, 520px);
    opacity: 1;
    bottom: -28px;
  }
  .footer-balls--left {
    left: -78px;
    z-index: 2;
  }
  .footer-balls--right {
    right: -82px;
    z-index: 1;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-bottom: 198px;
  }
  .site-footer::after {
    bottom: 146px;
  }
  .footer-logo {
    font-size: 48px;
  }
  .footer-brand {
    align-items: flex-start;
  }
  .footer-brand__divider {
    height: 54px;
  }
  .footer-brand__name {
    font-size: 15px;
    letter-spacing: 5px;
  }
  .site-footer__headline {
    font-size: 38px;
  }
  .footer-contact__list li {
    grid-template-columns: 30px 1fr;
    gap: 16px;
  }
  .footer-contact__list svg {
    width: 30px;
    height: 30px;
  }
  .site-footer__bottom {
    min-height: 146px;
    font-size: 13px;
  }
  .footer-balls {
    bottom: -18px;
    width: min(82vw, 390px);
    opacity: 1;
  }
  .footer-balls--left {
    left: -54px;
    z-index: 2;
  }
  .footer-balls--right {
    right: -54px;
    z-index: 1;
  }
}

/* ---------- Standalone nav wrapper (used outside .hero on inner pages) ---------- */
.nav-wrap {
  position: relative;
  z-index: 10;
  padding: 0 clamp(20px, 4vw, 64px);
}

/* ---------- Mobile nav open state ---------- */
@media (max-width: 1100px) {
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 20px;
    background: var(--bg-2);
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    gap: 14px;
    z-index: 20;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__image { animation: none; }
  .accent-line { animation: none; }
}

/* ---------- Inner pages ---------- */
.pv-inner-page {
  color: var(--text);
  overflow: hidden;
}

.pv-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 132px) clamp(20px, 4vw, 64px) clamp(42px, 7vw, 80px);
}

.pv-page-hero--compact {
  padding-bottom: 10px;
}

.pv-page-hero__title {
  max-width: 880px;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 110px);
  line-height: .9;
  letter-spacing: 0;
}

.pv-page-hero__copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

.pv-story {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(300px, .9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 70px) clamp(20px, 4vw, 64px);
}

.pv-story__media video,
.pv-court-tile__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-story__media {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(31, 58, 46, .16);
}

.pv-story__text h2,
.pv-court-detail__content h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

.pv-story__text p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.pv-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--container);
  margin: 0 auto clamp(38px, 7vw, 92px);
  padding: 0 clamp(20px, 4vw, 64px);
}

.pv-timeline__item,
.pv-court-tile,
.pv-detail-grid > div {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(31, 58, 46, .13);
  border-radius: 8px;
}

.pv-timeline__item {
  padding: clamp(22px, 4vw, 36px);
}

.pv-timeline__item span,
.pv-court-tile__body > span,
.pv-detail-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pv-timeline__item h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.pv-timeline__item p,
.pv-court-tile__body p {
  color: var(--muted);
  line-height: 1.65;
}

.pv-courts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto clamp(60px, 9vw, 120px);
  padding: 0 clamp(20px, 4vw, 64px);
}

.pv-court-tile {
  background: rgba(255,255,255,0.35);
  border: 1.5px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  padding: 14px 14px 22px;
  transition: all .4s var(--ease);
}

.pv-court-tile__image {
  display: block;
  border-radius: 8px;
  margin-bottom: 22px;
  overflow: hidden;
}

.pv-court-tile__image img {
  height: auto;
  width: 100%;
}

.pv-court-tile:hover {
  background: rgba(255,255,255,0.55);
  border-color: rgba(31,58,46,0.15);
  box-shadow: 0 24px 40px -22px rgba(31,58,46,0.25);
  transform: translateY(-6px);
}

.pv-court-tile__body {
  padding: 0;
}

.pv-court-tile__body h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 10px;
  padding: 0 6px;
}

.pv-court-tile__body h2 a {
  color: inherit;
  text-decoration: none;
}

.pv-court-tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0 6px;
}

.pv-court-tile__meta small,
.pv-feature-chips span {
  align-items: center;
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .4px;
  padding: 7px 12px;
}

.pv-court-tile__btn {
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  letter-spacing: 2px;
  margin: 0 6px;
  padding: 14px 16px;
  transition: all .3s var(--ease);
  width: calc(100% - 12px);
}

.pv-court-tile__btn svg {
  height: 10px;
  transition: transform .3s var(--ease);
  width: 14px;
}

.pv-court-tile__btn:hover {
  background: var(--ink);
  color: #fff;
}

.pv-court-tile__btn:hover svg {
  transform: translateX(4px);
}

.pv-court-detail {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(320px, .8fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(62px, 9vw, 120px) clamp(20px, 4vw, 64px);
}

.pv-court-detail__image {
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(31,58,46,0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 58, 46, .16);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
}

.pv-court-detail__image img {
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: min(72vh, 720px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.pv-court-detail__content p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.pv-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.pv-detail-grid > div {
  padding: 16px;
}

.pv-detail-grid strong {
  display: block;
  margin-top: 6px;
}

.pv-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pv-empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 860px) {
  .pv-page-hero,
  .pv-story,
  .pv-court-detail {
    grid-template-columns: 1fr;
  }

  .pv-timeline {
    grid-template-columns: 1fr;
  }

  .pv-detail-grid {
    grid-template-columns: 1fr;
  }
}
