/* Oxford Polo — site styles
   Layout: full-bleed photographic plates alternating with calm chalk and Oxford-navy bands.
   Text sits on a narrow measure, offset left on a 12-column grid; brass is used only for small marks. */
:root {
  --navy: #111B2D;
  --navy-raised: #1A2740;
  --chalk: #F1F2EE;
  --white: #FAFAF8;
  --turf: #1E3A2B;
  --brass: #A98A58;
  --brass-soft: #CDB78F;
  --ink: #111B2D;
  --ink-soft: #4F596B;
  --rule: rgba(17, 27, 45, .14);
  --on-dark: #EEF0F2;
  --on-dark-soft: rgba(238, 240, 242, .7);
  --rule-dark: rgba(238, 240, 242, .17);

  --f-display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --f-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --step-xl: clamp(3.1rem, 7.4vw, 6.9rem);
  --step-l: clamp(2.5rem, 4.6vw, 4.25rem);
  --step-m: clamp(1.9rem, 3vw, 2.75rem);
  --step-s: clamp(1.45rem, 1.9vw, 1.8rem);
  --lede: clamp(1.35rem, 2.1vw, 1.85rem);

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 168px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .7, .12, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; } /* the width and height on each image reserve its space while it loads */
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px;
}
.skip:focus { top: 16px; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.bg-chalk { background: var(--chalk); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-turf { background: var(--turf); color: var(--on-dark); }
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 32px);
}

/* ---------- Type roles ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-sans);
  font-size: .72rem; font-weight: 500; line-height: 1.4;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--brass); flex: none; }
.bg-navy .label, .bg-turf .label, .on-dark .label,
.hero .label, .page-hero .label, .estate .label, .estate-hero .label { color: var(--on-dark-soft); }
.label--plain::before { display: none; }

.h-xl { font-size: var(--step-xl); font-weight: 300; line-height: .98; letter-spacing: -.015em; }
.h-l { font-size: var(--step-l); font-weight: 300; }
.h-m { font-size: var(--step-m); }
.h-s { font-size: var(--step-s); font-weight: 500; line-height: 1.15; }
.lede {
  font-family: var(--f-display);
  font-size: var(--lede); line-height: 1.38; font-weight: 400;
  text-wrap: pretty;
}
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose p + p { margin-top: 1.1em; }
.bg-navy .prose, .bg-turf .prose, .on-dark .prose { color: var(--on-dark-soft); }
.small { font-size: .875rem; line-height: 1.6; }
.muted { color: var(--ink-soft); }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Links & buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-sans);
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  padding: 18px 28px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn svg { width: 22px; height: 10px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost { color: var(--on-dark); border-color: rgba(238, 240, 242, .45); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--dark:hover { background: transparent; color: var(--navy); }
.btn--outline { color: var(--navy); border-color: rgba(17, 27, 45, .35); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 7px;
  background: linear-gradient(var(--brass), var(--brass)) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link svg { width: 20px; height: 9px; transition: transform .45s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.prose a, .inline-link {
  color: inherit; text-decoration: none;
  background: linear-gradient(var(--brass), var(--brass)) left 92% / 100% 1px no-repeat;
}
.prose a:hover, .inline-link:hover { color: var(--brass); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background-color .5s var(--ease), transform .55s var(--ease), box-shadow .5s;
}
.site-header.is-solid {
  background: rgba(17, 27, 45, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--rule-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
/* Wordmark: proportions matched to the Oxford Polo logo (1.6 : 1, two fine rules) */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: 1.06rem; line-height: 1.06;
  padding: .56em .5em .54em;
  border: 1px solid currentColor;
  outline: 1px solid currentColor; outline-offset: 1.75px;
  margin: 3px;
  flex: none;
}
.wordmark span:first-child { letter-spacing: .035em; }
.wordmark span:last-child { letter-spacing: .2em; padding-left: .2em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 34px); }
.nav a {
  position: relative;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding-block: 10px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--brass-soft);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { padding: 14px 22px; white-space: nowrap; }
.menu-toggle {
  display: none;
  align-items: center; gap: 12px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 500 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  padding: 12px 0;
}
.menu-toggle .bars { width: 26px; height: 9px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy); color: var(--on-dark);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { background: var(--navy); }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu ul a {
  font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 300;
  text-decoration: none; line-height: 1.25;
}
.mobile-menu ul a[aria-current="page"] { font-style: italic; color: var(--brass-soft); }
.mobile-menu .contact-lines { display: grid; gap: 6px; color: var(--on-dark-soft); font-size: .95rem; }
.mobile-menu .contact-lines a { text-decoration: none; }
.mobile-menu .contact-lines .keep { white-space: nowrap; } /* "Weston-on-the-Green" stays on one line */

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; /* the whole first screen, so no page shows beneath it */
  display: flex; align-items: flex-end;
  background: var(--navy); color: var(--on-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 27, 45, .6) 0%, rgba(17, 27, 45, 0) 24%),
    linear-gradient(90deg, rgba(17, 27, 45, .45) 0%, rgba(17, 27, 45, .3) 40%, rgba(17, 27, 45, 0) 64%),
    linear-gradient(20deg, rgba(17, 27, 45, .9) 6%, rgba(17, 27, 45, .35) 46%, rgba(17, 27, 45, 0) 68%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__eyebrow { margin-bottom: clamp(20px, 3vw, 32px); }
.hero h1 { max-width: 14ch; }
.hero__foot {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
}
.hero__foot p { max-width: 46ch; color: var(--on-dark-soft); font-size: 1.05rem; }

/* line-by-line headline rise, only when motion is welcome */
/* room for italic descenders and overhang; the negative margins keep line spacing unchanged */
.rise { display: block; overflow: hidden; padding: 0 .12em .26em; margin: 0 -.12em -.2em; }
.rise > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 2.8s var(--ease) both; }
  .rise > span { animation: rise 1.3s var(--ease) both; }
  .rise:nth-child(2) > span { animation-delay: .12s; }
  .rise:nth-child(3) > span { animation-delay: .24s; }
  .fade-in { animation: fade 1.4s var(--ease) .45s both; }
}
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(135%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Sub-page hero (split) ---------- */
.page-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(86svh, 860px);
  background: var(--navy); color: var(--on-dark);
}
.page-hero__text {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: calc(var(--header-h) + 72px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.page-hero__text p { max-width: 44ch; color: var(--on-dark-soft); font-size: 1.08rem; }
.page-hero__media { position: relative; overflow: hidden; min-height: 320px; }
.page-hero__media img, .page-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 27, 45, .62) 0%, rgba(17, 27, 45, 0) 24%);
}
@media (prefers-reduced-motion: no-preference) {
  .page-hero__media img { animation: settle 2.8s var(--ease) both; }
}

.page-hero--short { min-height: min(68svh, 660px); }

/* ---------- Full-bleed hero (Kemsley) ---------- */
.estate-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(90svh, 920px);
  display: flex; align-items: flex-end;
  background: var(--navy); color: var(--on-dark);
}
.estate-hero > img, .estate-hero > video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.estate-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 27, 45, .55) 0%, rgba(17, 27, 45, .05) 30%, rgba(17, 27, 45, .2) 55%, rgba(17, 27, 45, .88) 100%);
}
.estate-hero .wrap { width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.estate-hero p { max-width: 50ch; color: var(--on-dark-soft); margin-top: 24px; font-size: 1.08rem; }

/* ---------- Intro statement ---------- */
.intro .grid-12 { row-gap: 40px; }
.intro__label { grid-column: 1 / span 3; padding-top: .7em; }
.intro__body { grid-column: 4 / span 8; }
.intro__body .lede { color: var(--ink); }
.intro__body .link { margin-top: 36px; }
.creds {
  grid-column: 4 / span 9;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  padding-top: 32px; border-top: 1px solid var(--rule);
}
.creds dt { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.creds dd { margin: 0; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; font-weight: 500; }
.creds div { min-width: 0; }

/* ---------- Section heads ---------- */
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 32px); row-gap: 20px;
  align-items: end; margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1 / span 7; }
.section-head p { grid-column: 9 / span 4; color: var(--ink-soft); }
.bg-navy .section-head p, .bg-turf .section-head p { color: var(--on-dark-soft); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pillar {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 3 / 4; max-width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 2.6vw, 40px);
  color: var(--on-dark); text-decoration: none;
  background: var(--navy);
}
.pillar img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.pillar::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 27, 45, 0) 28%, rgba(17, 27, 45, .6) 56%, rgba(17, 27, 45, .95) 100%);
  transition: background-color .6s;
}
.pillar:hover img { transform: scale(1.05); }
.pillar h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 400; }
.pillar p { margin-top: 12px; color: var(--on-dark-soft); font-size: .98rem; max-width: 34ch; }
.pillar .link { margin-top: 24px; align-self: flex-start; }

/* ---------- Wide photographic band ---------- */
.band { margin: 0 0 clamp(56px, 7vw, 96px); aspect-ratio: 21 / 9; max-width: 100%; overflow: hidden; background: var(--chalk); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }

/* ---------- Pathway (a real sequence) ---------- */
.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); counter-reset: step; }
.path li { position: relative; padding-top: 44px; min-width: 0; }
.path li::before {
  content: ""; position: absolute; top: 12px; left: 0; right: calc(-1 * clamp(16px, 2vw, 32px));
  height: 1px; background: var(--rule);
}
.path li:last-child::before { right: 0; }
.path li::after {
  content: ""; position: absolute; top: 8px; left: 0; width: 9px; height: 9px;
  background: var(--brass); transform: rotate(45deg);
}
.path .step-n {
  display: block; font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: 2.6rem; line-height: 1; color: var(--brass); margin-bottom: 14px;
}
.path h3 { font-size: 1.55rem; font-weight: 500; margin-bottom: 10px; }
.path p { font-size: .95rem; color: var(--ink-soft); }
.path-foot { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.path-foot p { color: var(--ink-soft); }

/* ---------- Client roll ---------- */
.roll { display: grid; gap: clamp(48px, 6vw, 72px); }
.roll__group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 20px; padding-top: 28px; border-top: 1px solid var(--rule-dark); }
.roll__group h3 {
  grid-column: 1 / span 3;
  font-family: var(--f-sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark-soft); line-height: 1.6; padding-top: .7em;
}
.names {
  grid-column: 4 / span 9;
  display: flex; flex-wrap: wrap; align-items: baseline;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.45rem, 2.35vw, 2.25rem); line-height: 1.32;
  font-variant-numeric: lining-nums;
}
.names li { display: inline-flex; align-items: center; transition: color .4s; }
.names li::after {
  content: ""; width: 6px; height: 6px; margin-inline: .62em;
  background: var(--brass); transform: rotate(45deg) translateY(-2px); flex: none;
}
.names li:last-child::after { display: none; }
.names li:hover { color: var(--brass-soft); }
.bg-chalk .roll__group, .roll--light .roll__group { border-top-color: var(--rule); }
.roll--light .roll__group h3 { color: var(--ink-soft); }

/* ---------- Estate band (home) ---------- */
.estate { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--navy); }
.estate__media { position: absolute; inset: 0; z-index: -2; }
.estate__media img, .estate__media video { width: 100%; height: 100%; object-fit: cover; }
.estate__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.estate__media video.is-playing { opacity: 1; }
.estate::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17, 27, 45, .92) 0%, rgba(17, 27, 45, .62) 42%, rgba(17, 27, 45, .12) 75%);
}
.estate .wrap { padding-block: clamp(96px, 13vw, 200px); }
.estate__text { max-width: 560px; display: grid; gap: 24px; justify-items: start; }
.estate__text p { color: var(--on-dark-soft); }

.estate-hero > video { opacity: 0; transition: opacity 1.4s var(--ease); }
.estate-hero > video.is-playing { opacity: 1; }

/* ---------- Directions ---------- */
.dir-text { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; justify-items: start; min-width: 0; }
.dir-notes { grid-column: 7 / span 6; min-width: 0; }

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px);
}
.facts > div { padding-top: 22px; border-top: 1px solid var(--rule); min-width: 0; }
.bg-navy .facts > div { border-top-color: var(--rule-dark); }
.facts .figure {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: 1;
  font-variant-numeric: lining-nums;
}
.facts .unit { font-size: .4em; font-weight: 500; font-style: italic; }
.facts p { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); max-width: 22ch; }
.bg-navy .facts p { color: var(--on-dark-soft); }

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

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 36px; align-items: center; }
.split__media { grid-column: 1 / span 6; position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--chalk); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.split__media:hover img { transform: scale(1.03); }
.split__media--wide { aspect-ratio: 5 / 4; }
.split__text { grid-column: 8 / span 5; display: grid; gap: 24px; justify-items: start; min-width: 0; }
.split--reverse .split__media { grid-column: 7 / span 6; grid-row: 1; }
.split--reverse .split__text { grid-column: 1 / span 5; grid-row: 1; }
.split + .split { margin-top: clamp(80px, 10vw, 144px); }
.split__text .prose { color: var(--ink-soft); }
.bg-navy .split__text .prose { color: var(--on-dark-soft); }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px;
  background: var(--brass); transform: rotate(45deg);
}
.bg-navy .ticks li { color: var(--on-dark-soft); }

/* ---------- Offer grid (lessons, services) ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 88px); }
.offers > article { padding-block: 36px; border-top: 1px solid var(--rule); display: grid; gap: 14px; align-content: start; min-width: 0; }
.offers h3 { font-size: var(--step-s); font-weight: 500; line-height: 1.15; }
.offers p { color: var(--ink-soft); }
.offers .meta { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }

/* ---------- Sub-nav ---------- */
.subnav { border-bottom: 1px solid var(--rule); background: var(--white); }
.subnav ul { display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding-block: 22px; white-space: nowrap;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
  transition: color .3s;
}
.subnav a:hover { color: var(--ink); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 28px); }
.team--full { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px clamp(20px, 3vw, 44px); }
.team--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(20px, 3vw, 44px); }
.person { display: grid; gap: 14px; align-content: start; min-width: 0; }
.person__photo { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--chalk); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.85); transition: transform 1.4s var(--ease), filter .8s; }
.person:hover .person__photo img { transform: scale(1.03); filter: saturate(1); }
.person h3 { font-size: 1.7rem; font-weight: 500; margin-top: 6px; }
.person .role { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.person .cred { font-size: .86rem; color: var(--ink-soft); font-variant-numeric: lining-nums; }
.person .bio { color: var(--ink-soft); font-size: .98rem; }
.person .aside { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--rule); }

.names a { color: inherit; text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) left 94% / 100% 1px no-repeat; transition: color .3s; }
.names a:hover { color: var(--brass); }

/* ---------- Partners strip ---------- */
.partners { display: grid; gap: 28px; }
.partners__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 12px; padding-top: 24px; border-top: 1px solid var(--rule); align-items: baseline; }
.partners__row h3 { grid-column: 1 / span 3; font-family: var(--f-sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.partners__row .names { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 88px); }
.partner-list article { padding-block: 32px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; min-width: 0; }
.partner-list h3 { font-size: 1.7rem; font-weight: 500; }
.partner-list .meta { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.partner-list p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 32px; align-items: end; }
.cta-band h2 { grid-column: 1 / span 7; }
.cta-band .cta-side { grid-column: 9 / span 4; display: grid; gap: 24px; justify-items: start; }
.cta-band .cta-side p { color: var(--on-dark-soft); }
.cta-band .phone { font-family: var(--f-display); font-size: 1.6rem; text-decoration: none; font-variant-numeric: lining-nums; }

/* ---------- Quote ---------- */
.quote { max-width: 980px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.18; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; display: block; font-style: normal; color: var(--brass); font-size: 1.6em; line-height: .6; margin-bottom: 18px; }
.quote figcaption { margin-top: 28px; }
.quote--side blockquote { font-size: clamp(1.6rem, 2.3vw, 2.3rem); }

/* ---------- Tables: membership & week ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tiers { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.tiers th, .tiers td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tiers th[scope="row"] { text-align: left; font-weight: 400; color: var(--ink); padding-left: 0; width: 40%; }
.tiers thead th { vertical-align: bottom; border-bottom: 1px solid var(--ink); padding-bottom: 24px; }
.tiers thead th:first-child { text-align: left; padding-left: 0; }
.tier-name { display: block; font-family: var(--f-display); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.tier-save { display: block; margin-top: 10px; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.tier-tag { display: block; margin-top: 8px; font-family: var(--f-display); font-style: italic; font-size: 1.05rem; font-weight: 400; color: var(--ink-soft); }
.tiers .is-gold { background: rgba(169, 138, 88, .08); }
.tiers thead .is-gold { box-shadow: inset 0 2px 0 var(--brass); }
.yes { display: inline-block; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.no { display: inline-block; width: 14px; height: 1px; background: var(--rule); vertical-align: middle; background: rgba(17, 27, 45, .3); }
.tiers td { font-variant-numeric: lining-nums tabular-nums; }
.tiers .group-row th { text-align: left; padding-left: 0; padding-top: 32px; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.week { width: 100%; border-collapse: collapse; }
.week th, .week td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--rule-dark); vertical-align: top; }
.week thead th { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-soft); padding-bottom: 14px; }
.week td.day { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; width: 22%; }
.week td.time { font-variant-numeric: lining-nums tabular-nums; font-size: 1.05rem; width: 14%; color: var(--brass-soft); }
.week td.what { color: var(--on-dark); }
.week td.note { color: var(--on-dark-soft); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 28px;
  font-family: var(--f-display); font-size: var(--step-s); font-weight: 500; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .45s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .answer { padding-bottom: 32px; max-width: 70ch; color: var(--ink-soft); display: grid; gap: 1em; }

/* ---------- Steps (short numbered sequences inside pages) ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); }
.steps li { border-top: 1px solid var(--rule); padding-top: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.steps .step-n { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 1.45rem; font-weight: 500; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.bg-navy .steps li { border-top-color: var(--rule-dark); }
.bg-navy .steps p { color: var(--on-dark-soft); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; background: var(--chalk); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 64px; }
.contact-details { grid-column: 1 / span 4; display: grid; gap: 36px; align-content: start; }
.contact-details h3 { font-family: var(--f-sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.contact-details p, .contact-details a { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.35; text-decoration: none; font-variant-numeric: lining-nums; }
.contact-details a:hover { color: var(--brass); }
.form { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.1rem/1.5 var(--f-sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(17, 27, 45, .3); border-radius: 0;
  padding: 10px 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111B2D' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.form .actions p { color: var(--ink-soft); font-size: .9rem; max-width: 46ch; }
.form-status { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.4rem; color: var(--turf); }
/* What a browser without the script shows when the booking app sends it back (#sent or #not-sent) */
.form-note { display: none; }
.form-note:target { display: block; }

/* ---------- Membership prices ---------- */
.tier-price { display: block; margin-top: 14px; font-family: var(--f-display); font-size: 1.75rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.tier-price small { font-size: .55em; font-style: italic; font-weight: 400; color: var(--ink-soft); }
.tier-half { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-soft); font-weight: 400; line-height: 1.4; }

.pricing-extras {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 48px;
  margin-top: clamp(56px, 7vw, 88px);
}
.fees { grid-column: 1 / span 7; min-width: 0; display: grid; gap: 24px; align-content: start; }
.extras-side { grid-column: 9 / span 4; display: grid; gap: 0; align-content: start; min-width: 0; }
.extras-side article { padding-block: 24px; border-top: 1px solid var(--rule); display: grid; gap: 10px; justify-items: start; }
.extras-side article:first-child { padding-top: 0; border-top: 0; }
.extras-side .meta { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.extras-side h3 { font-size: 2rem; font-weight: 500; line-height: 1.1; font-variant-numeric: lining-nums; }
.extras-side h3 small { font-size: .5em; font-style: italic; font-weight: 400; color: var(--ink-soft); }
.extras-side p { color: var(--ink-soft); font-size: .98rem; }

.fee-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: lining-nums tabular-nums; }
.fee-table th, .fee-table td { padding: 16px 12px; border-bottom: 1px solid var(--rule); text-align: center; vertical-align: bottom; }
.fee-table thead th { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; border-bottom-color: var(--ink); }
.fee-table th:first-child { text-align: left; padding-left: 0; }
.fee-table tbody th { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { color: var(--ink-soft); }
.fee-note { color: var(--ink-soft); font-size: .95rem; max-width: 52ch; }

/* ---------- Fixtures ---------- */
.fixture-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 64px; }
.fixture-col { grid-column: span 7; min-width: 0; }
.fixture-col + .fixture-col { grid-column: 9 / span 4; }
.fixture-col__title {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.fixtures__month {
  padding: 28px 0 8px;
  font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--brass);
}
.fixture {
  position: relative;
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; align-items: baseline; gap: 8px 20px;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  transition: opacity .4s;
}
.fixture__date { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.fixture__name { font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; line-height: 1.2; }
/* A tournament's name links to its page on the booking site */
.fixture__link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--brass), var(--brass)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.fixture__link:hover, .fixture__link:focus-visible { background-size: 100% 1px; }
.chip {
  justify-self: end; white-space: nowrap;
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid rgba(17, 27, 45, .28); color: var(--ink);
}
.chip--high { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.fixtures--junior .fixture { grid-template-columns: 6rem minmax(0, 1fr); }
.fixtures--junior .fixture__name { font-size: 1.3rem; }
.fixture.is-past { opacity: .42; }
.fixture.is-next .fixture__date { color: var(--brass); font-weight: 500; }
.fixture.is-next .fixture__date::after {
  content: "Next"; display: block; width: fit-content; margin-top: 6px;
  font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  background: var(--brass); color: var(--white); padding: 3px 8px;
}
.fixture-note { margin-top: 28px; color: var(--ink-soft); font-size: .95rem; max-width: 46ch; }

/* ---------- Gift vouchers (Play page) ---------- */
.gift {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 40px;
  align-items: center; margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule);
}
.gift__text { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; min-width: 0; }
.gift__text > p:not(.label) { color: var(--ink-soft); }
.gift__steps { display: grid; gap: 12px; }
.gift__steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline; color: var(--ink-soft); }
.gift__steps .step-n { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--brass); }
.gift__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.gift__actions .inline-link { color: var(--ink-soft); font-size: .95rem; }
.gift__cards { grid-column: 7 / span 6; display: grid; gap: clamp(16px, 2vw, 24px); }
.voucher__card {
  position: relative; isolation: isolate; aspect-ratio: 2.1; max-width: 100%;
  display: grid; grid-template-rows: auto 1fr; gap: 12px;
  padding: clamp(20px, 2.4vw, 30px); background: var(--navy); color: var(--on-dark);
  box-shadow: 0 24px 48px -30px rgba(17, 27, 45, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.voucher__card--turf { background: var(--turf); }
.voucher__card::before {
  content: ""; position: absolute; inset: 10px; z-index: -1; pointer-events: none;
  border: 1px solid rgba(205, 183, 143, .5); outline: 1px solid rgba(205, 183, 143, .5); outline-offset: 3px;
}
.voucher__card:hover { transform: translateY(-3px); box-shadow: 0 32px 56px -30px rgba(17, 27, 45, .6); }
.voucher__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.voucher__mark {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: .72rem; line-height: 1.06;
  padding: .5em .45em .48em; border: 1px solid currentColor; outline: 1px solid currentColor; outline-offset: 1.5px; margin: 2px;
}
.voucher__mark span:first-child { letter-spacing: .035em; }
.voucher__mark span:last-child { letter-spacing: .2em; padding-left: .2em; }
.voucher__kind { font-size: .64rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-soft); padding-top: 4px; }
.voucher__body { align-self: end; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.voucher__title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 400; line-height: 1.05; margin: 0; }
.voucher__title em { font-style: italic; font-weight: 300; }
.voucher__detail { margin-top: 6px; font-size: .85rem; color: var(--on-dark-soft); max-width: 28ch; }
.voucher__valid { margin-top: 8px; font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); }
.voucher__price { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300; line-height: .9; white-space: nowrap; font-variant-numeric: lining-nums; }
.voucher__price span { display: block; font-family: var(--f-sans); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); text-align: right; margin-top: 6px; }
@media (max-width: 1000px) {
  .gift__text, .gift__cards { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .voucher__card { aspect-ratio: auto; min-height: 200px; }
  .voucher__body { flex-direction: column; align-items: flex-start; }
  .voucher__price span { text-align: left; }
}

/* ---------- Booking app: links and live data ---------- */
.btn--sm { padding: 12px 16px; gap: 10px; font-size: .64rem; letter-spacing: .16em; }
.fixture__note { display: block; margin-top: 4px; font-family: var(--f-sans); font-size: .74rem; font-weight: 400; color: var(--brass); letter-spacing: 0; }
.tiers tfoot th, .tiers tfoot td { padding-top: 24px; border-bottom: 0; }

.thisweek {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 24px;
  margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule);
}
.thisweek__head { grid-column: 1 / span 4; grid-row: 1 / span 2; display: grid; gap: 18px; align-content: start; min-width: 0; }
.thisweek__head > p:not(.label) { color: var(--ink-soft); }
.sessions { grid-column: 6 / span 7; border-top: 1px solid var(--ink); min-width: 0; }
.thisweek > .link { grid-column: 6 / span 7; }
.session {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto auto; align-items: center; gap: 6px 20px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.session__when, .session__what, .session__meta { display: grid; gap: 2px; min-width: 0; }
.session__day { font-size: .78rem; color: var(--ink-soft); }
.session__time { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.session__name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.session__level { font-size: .8rem; color: var(--ink-soft); }
.session__meta { text-align: right; }
.session__places { font-size: .76rem; font-weight: 500; letter-spacing: .06em; color: var(--turf); white-space: nowrap; }
.session__price { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.sessions__empty { padding: 18px 0; color: var(--ink-soft); }

/* A closed date (Christmas, say) from the booking app: a brass rule and a pale wash, shown only while there is one */
.closure { padding: 14px 18px; border-left: 2px solid var(--brass); background: rgba(169, 138, 88, .1); color: var(--ink); font-size: .95rem; line-height: 1.55; }
.closure[hidden] { display: none; }
.closure strong { font-weight: 500; }
.bg-navy .closure { border-left-color: var(--brass-soft); background: rgba(205, 183, 143, .1); color: var(--on-dark); }
.section-head + .closure { margin-bottom: 32px; }
.thisweek > .closure { grid-column: 6 / span 7; }
.whatson__list > .closure { margin-bottom: 28px; }

a.voucher__card { color: var(--on-dark); text-decoration: none; }
a.voucher__card:focus-visible { outline-offset: 4px; }
.voucher__price--any { font-size: clamp(1.5rem, 2.1vw, 1.9rem); }

.contact-book { padding: 24px; background: var(--chalk); display: grid; gap: 10px; justify-items: start; }
.contact-details .contact-book p { font-family: var(--f-sans); font-size: .98rem; line-height: 1.6; color: var(--ink-soft); }
.contact-details .contact-book .link { font-family: var(--f-sans); font-size: .72rem; margin-top: 4px; }
/* ---------- Privacy and terms ---------- */
.doc-head { background: var(--navy); color: var(--on-dark); }
.doc-head .wrap { display: grid; gap: 24px; justify-items: start; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(48px, 6vw, 88px); }
.doc-head p { max-width: 56ch; color: var(--on-dark-soft); font-size: 1.08rem; }
.doc-head .doc-date { font-size: .8rem; letter-spacing: .08em; }
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 48px; }
.doc__nav { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.doc__nav h2 { font-family: var(--f-sans); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.doc__nav ol { display: grid; gap: 8px; font-size: .92rem; line-height: 1.45; }
.doc__nav a { color: var(--ink-soft); text-decoration: none; }
.doc__nav a:hover { color: var(--ink); }
.doc__body { grid-column: 5 / span 8; min-width: 0; max-width: 68ch; color: var(--ink-soft); }
.doc__body h2 { font-size: var(--step-s); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc__body > h2:first-child { margin-top: 0; }
.doc__body h3 { font-family: var(--f-sans); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; color: var(--ink); margin: 1.9em 0 .6em; }
.doc__body p + p, .doc__body p + ul, .doc__body ul + p, .doc__body p + .table-scroll, .doc__body .table-scroll + p { margin-top: 1em; }
.doc__body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: .45em; }
.doc__body li::marker { color: var(--brass); }
.doc__body strong { color: var(--ink); font-weight: 500; }
.doc__body a { color: inherit; text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) left 92% / 100% 1px no-repeat; }
.doc__body a:hover { color: var(--brass); }
.doc__body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.doc__body th, .doc__body td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.doc__body thead th { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-bottom-color: var(--ink); }
.doc__body tbody th { color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 1000px) {
  .doc__nav { position: static; }
  .doc__nav, .doc__body { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding-top: clamp(80px, 9vw, 128px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 48px; }
.footer-brand { grid-column: 1 / span 4; display: grid; gap: 28px; justify-items: start; align-content: start; }
.footer-brand .wordmark { font-size: 1.25rem; }
.footer-brand p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; color: var(--on-dark-soft); max-width: 26ch; }
.footer-col { grid-column: span 2; min-width: 0; }
.footer-col h3 { font-family: var(--f-sans); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a, .footer-col address { font-style: normal; text-decoration: none; color: var(--on-dark); font-size: .95rem; line-height: 1.6; font-variant-numeric: lining-nums; }
.footer-col a:hover { color: var(--brass-soft); }
.footer-bottom {
  margin-top: clamp(64px, 8vw, 104px); padding-top: 24px; border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: .8rem; color: var(--on-dark-soft);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }
.affil { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- Scroll reveal (progressive: visible unless JS marks it as waiting) ---------- */
[data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-waiting { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-waiting { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .header-actions { gap: 12px; }
  .header-actions .btn { padding: 14px 16px; }
}
@media (max-width: 1140px) {
  .nav, .header-actions .btn { display: none; }
  .header-actions .btn--book { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1000px) {
  .intro__label, .intro__body, .creds { grid-column: 1 / -1; }
  .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-head h2, .section-head p { grid-column: 1 / -1; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { aspect-ratio: 4 / 3; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .path li::before { right: 0; }
  .roll__group h3, .names, .partners__row h3 { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__media, .split__text, .split--reverse .split__media, .split--reverse .split__text { grid-column: 1 / -1; grid-row: auto; }
  .split__media { aspect-ratio: 4 / 3; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team--full, .team--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; }
  .cta-band h2, .cta-band .cta-side { grid-column: 1 / -1; }
  .page-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero__text { padding: calc(var(--header-h) + 56px) var(--gutter) 48px; }
  .page-hero__media { aspect-ratio: 4 / 3; min-height: 0; }
  .thisweek__head { grid-row: auto; }
  .thisweek__head, .sessions, .thisweek > .link,
  .contact-details, .form, .dir-text, .dir-notes, .fees, .extras-side, .fixture-col, .fixture-col + .fixture-col { grid-column: 1 / -1; }
  .dir-notes { margin-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { grid-column: span 3; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .wordmark { font-size: .9rem; }
  .hero__media img { object-position: 58% 30%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(17, 27, 45, .62) 0%, rgba(17, 27, 45, .5) 30%, rgba(17, 27, 45, .68) 52%, rgba(17, 27, 45, .94) 82%);
  }
  .hide-sm { display: none; }
  .pillar { aspect-ratio: 4 / 5; }
  .band { aspect-ratio: 4 / 3; }
  .pillar::after { background: linear-gradient(180deg, rgba(17, 27, 45, 0) 18%, rgba(17, 27, 45, .72) 48%, rgba(17, 27, 45, .96) 100%); }

  /* Membership table restacks: benefit on its own line, three tiers beneath */
  .tiers { min-width: 0; font-size: .92rem; }
  .tiers thead tr, .tiers tbody tr, .tiers tfoot tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiers tfoot th[scope="row"] { padding: 0; }
  .tiers tfoot .btn { width: 100%; justify-content: center; padding: 10px 4px; font-size: .56rem; letter-spacing: .08em; }
  .header-actions .btn--book { display: none; }
  .session { grid-template-columns: minmax(0, 1fr) auto; }
  .session__what { grid-column: 1; }
  .session__meta { grid-column: 1; text-align: left; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .session .btn { grid-column: 2; grid-row: 1 / span 3; }
  .tiers thead th:first-child { display: none; }
  .tiers thead th { padding: 0 4px 18px; }
  .tiers td { padding-inline: 4px; }
  .tier-name { font-size: 1.4rem; }
  .tier-save { letter-spacing: .12em; }
  .tier-tag { display: none; }
  .tier-price { font-size: 1.15rem; }
  .tier-half { font-size: .7rem; }
  .fee-table th, .fee-table td { padding: 14px 6px; }
  .fee-table thead th { font-size: .6rem; letter-spacing: .1em; }
  .fee-table tbody th { font-size: 1.1rem; }
  .fixture { grid-template-columns: minmax(0, 1fr) auto; }
  .fixture__date { grid-column: 1 / -1; }
  .fixtures--junior .fixture { grid-template-columns: minmax(0, 1fr); }
  .tiers th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 18px 0 4px; border-bottom: 0; }
  .tiers td { padding: 8px 6px 16px; }
  .tiers .group-row th { grid-column: 1 / -1; }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .path { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .team, .team--full, .team--3 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .footer-col { grid-column: span 6; }
  /* Timetable restacks: notes sit under the session */
  .week thead tr, .week tbody tr { display: grid; grid-template-columns: 6.5rem 3.5rem minmax(0, 1fr); column-gap: 12px; border-bottom: 1px solid var(--rule-dark); }
  .week th, .week td, .week td.day, .week td.time { padding: 0; border-bottom: 0; width: auto; }
  .week thead tr { padding-bottom: 14px; }
  .week thead th:last-child { display: none; }
  .week tbody tr { padding: 18px 0; row-gap: 6px; }
  .week td.day { font-size: 1.25rem; }
  .week td.note { grid-column: 3; }
  .estate::after { background: linear-gradient(180deg, rgba(17, 27, 45, .5) 0%, rgba(17, 27, 45, .9) 70%); }
}
