/* ==========================================================================
   Golf & Sports — Private School of Golf, Islamabad
   Shared stylesheet for index.html and privacy-policy.html
   ========================================================================== */

:root {
  /* Palette */
  --bone: #EDEAE1;        /* base light ground */
  --paper: #E3DFD3;       /* secondary light ground */
  --sage: #C2C6B0;        /* testimonial band */
  --ink: #1A1F1A;         /* body text on light */
  --moss: #545E4E;        /* secondary text on light */
  --pine: #1E2A22;        /* dark sections */
  --night: #141A15;       /* contact + footer */
  --brass: #A98A57;       /* the one accent */

  --line-light: rgba(26, 31, 26, 0.16);
  --line-dark: rgba(237, 234, 225, 0.16);
  --bone-dim: rgba(237, 234, 225, 0.68);

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --section-y: clamp(96px, 12vw, 184px);
  --header-h: 76px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

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

/* Fine grain over the whole page — the photographs carry most of the texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bone);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Shared type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.h2 em { font-style: italic; }

.eyebrow,
.section-num,
.photo-caption {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.section-num span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--moss);
}
.section-num span::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-num--light span { color: var(--bone-dim); }

.section-intro {
  max-width: 38ch;
  color: var(--moss);
  font-size: 16px;
}

.photo-caption {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(237, 234, 225, 0.82);
}
.photo-caption--dark { color: var(--moss); }

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

/* Understated text CTA — no pills */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}
.text-link span { transition: transform 0.3s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link--light { color: var(--bone); }
.text-link--light:hover { color: #fff; }

/* ---------- Section rhythm ---------- */
.section { padding-block: var(--section-y); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--bone);
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header-h);
}
.site-header.is-solid {
  background: rgba(237, 234, 225, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-light);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { color: var(--brass); font-style: italic; padding-inline: 0.04em; }

.nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.nav a,
.header-cta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.header-cta {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  opacity: 1;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--gutter) 40px;
  background: var(--bone);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-light);
}
.mobile-menu a {
  padding-block: 10px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu .mobile-menu-phone {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--moss);
}

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--bone);
  background: var(--pine);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(12, 17, 13, 0.62) 0%,
      rgba(12, 17, 13, 0.2) 18%,
      rgba(12, 17, 13, 0.06) 28%,
      rgba(12, 17, 13, 0.34) 44%,
      rgba(12, 17, 13, 0.66) 70%,
      rgba(12, 17, 13, 0.86) 100%);
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 28px;
}
.hero-eyebrow {
  margin-bottom: 24px;
  color: var(--bone);
  text-shadow: 0 1px 12px rgba(12, 17, 13, 0.35);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.75rem, 11vw, 11.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; }
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-sub {
  max-width: 40ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: rgba(237, 234, 225, 0.9);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 16px;
  border-top: 1px solid rgba(237, 234, 225, 0.24);
}

/* Page-load sequence for the hero only */
.js .hero-eyebrow,
.js .hero-title,
.js .hero-foot,
.js .hero-meta {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.js .hero-title { animation-delay: 0.12s; }
.js .hero-foot { animation-delay: 0.32s; }
.js .hero-meta { animation-delay: 0.5s; }
.js .hero-img { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- 2 · Founder quote ---------- */
.founder { padding-bottom: clamp(72px, 8vw, 120px); }
.founder .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr);
  gap: 32px;
}
.pullquote p {
  position: relative;
  max-width: 24em;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.pullquote p::before {
  content: "\201C";
  position: absolute;
  left: -0.48em;
  top: -0.02em;
  color: var(--brass);
}
.pullquote footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 15px;
}
.pullquote-rule { width: 48px; height: 1px; background: var(--brass); }
.pullquote cite { font-style: normal; font-weight: 600; }
.pullquote footer span:last-child { color: var(--moss); }

/* ---------- 3 · About ---------- */
.about { padding-top: 0; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
  padding-top: clamp(72px, 8vw, 120px);
  /* hairline limited to the content column, not the wrap's padding */
  background: linear-gradient(var(--line-light), var(--line-light)) no-repeat 50% 0 / calc(100% - 2 * var(--gutter)) 1px;
}
.about-figure { grid-column: 1 / span 6; }
.about-figure img {
  width: 100%;
  aspect-ratio: 1100 / 1230;
  object-fit: cover;
  object-position: 50% 100%;
}
.about-figure figcaption { margin-top: 14px; }
.about-text { grid-column: 8 / span 5; padding-bottom: 8px; }
.about-text .h2 { margin-bottom: 32px; }
.about-text .lede {
  margin-bottom: 20px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
}
.about-text > p:not(.lede):not(.section-num) { color: var(--moss); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.about-facts dt,
.program-meta dt {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.about-facts dd { font-size: 15px; line-height: 1.4; }

/* ---------- 4 · Stats band ---------- */
.stats {
  padding-block: clamp(80px, 10vw, 144px);
  background: var(--pine);
  color: var(--bone);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px clamp(16px, 2.5vw, 36px) 8px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.stat dd {
  font-family: var(--serif);
  font-size: clamp(4rem, 9.5vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.stats-note {
  max-width: 62ch;
  margin-top: clamp(48px, 6vw, 72px);
  font-size: 13px;
  color: var(--bone-dim);
}

/* ---------- 5 · Programmes ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas: "num num" "title intro";
  gap: 0 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .section-num { grid-area: num; }
.section-head .h2 { grid-area: title; }
.section-head .section-intro { grid-area: intro; justify-self: end; }

.program-list { border-top: 1px solid var(--ink); }
.program {
  display: grid;
  grid-template-columns: 148px minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
  padding-block: 32px;
  border-bottom: 1px solid var(--line-light);
}
.program-thumb {
  width: 148px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.program-main h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1;
}
.program-main p { max-width: 46ch; color: var(--moss); font-size: 16px; }
.program-meta {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}
.program-meta div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}
.program-meta dt { margin: 0; }
.program-meta dd { font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- 6 · Photo break ---------- */
.photo-break {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 92vh, 960px);
  color: var(--bone);
  background: var(--pine);
  overflow: hidden;
}
.photo-break > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-break-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(12, 17, 13, 0.55) 0%,
      rgba(12, 17, 13, 0) 30%,
      rgba(12, 17, 13, 0) 48%,
      rgba(12, 17, 13, 0.6) 78%,
      rgba(12, 17, 13, 0.85) 100%);
}
.photo-break-content {
  position: relative;
  display: flex;
  justify-content: flex-end; /* keeps the text clear of the flagstick in the photo */
  padding-block: clamp(40px, 6vw, 72px);
}
.photo-break-line {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.photo-break-line em { display: block; color: rgba(237, 234, 225, 0.78); }

/* ---------- 7 · Coaches ---------- */
.coaches { background: var(--paper); }
.coaches-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.coaches-head .section-intro { justify-self: end; }

.coach-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
/* Staggered, like a group spread down the range rather than lined up for a photo */
.coach:nth-child(2) { margin-top: clamp(48px, 9vw, 136px); }
.coach:nth-child(3) { margin-top: clamp(24px, 4.5vw, 64px); }

.coach-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--sage);
}
.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.coach:first-child .coach-photo img { object-position: 42% 50%; }
.coach:hover .coach-photo img { transform: scale(1.03); }
.coach h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  line-height: 1.05;
}
.coach-role {
  margin: 6px 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.coach > p:last-child { max-width: 36ch; font-size: 15px; color: var(--moss); }

/* ---------- 8 · What's included ---------- */
.included { background: var(--pine); color: var(--bone); }
.included-head { margin-bottom: clamp(48px, 6vw, 80px); }
.included-head .h2 { max-width: 13em; }

.scorecard-wrap {
  margin-bottom: clamp(64px, 8vw, 112px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.scorecard {
  width: 100%;
  min-width: 640px;
  font-variant-numeric: tabular-nums lining-nums;
}
.scorecard caption {
  margin-bottom: 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.scorecard th,
.scorecard td {
  padding: 14px 8px;
  border: 1px solid var(--line-dark);
  text-align: center;
  font-weight: 400;
}
.scorecard thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}
.scorecard tbody td {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1;
}
.scorecard th[scope="row"] {
  width: 12%;
  padding-left: 0;
  text-align: left;
  border-left: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.scorecard .tot {
  width: 11%;
  border-right: 0;
  color: var(--brass);
}
.scorecard thead .tot { color: var(--brass); }

.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 96px);
}
.spec-group h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(237, 234, 225, 0.4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.spec-group dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.spec-group dt {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.15;
}
.spec-group dd {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-dim);
}

/* ---------- 9 · Testimonial ---------- */
.testimonial {
  padding-block: clamp(96px, 11vw, 168px);
  background: var(--sage);
  color: var(--ink);
}
.testimonial-inner {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}
.testimonial blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.7vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.testimonial blockquote em { font-style: italic; }
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
}
.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414A3C;
}

/* ---------- 10 · Visit ---------- */
.visit {
  background: var(--night);
  color: var(--bone);
  padding-bottom: clamp(80px, 9vw, 128px);
}
.visit-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas: "num num" "title intro";
  gap: 0 48px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.visit-head .section-num { grid-area: num; }
.visit-head .h2 { grid-area: title; }
.visit-head .section-intro { grid-area: intro; justify-self: end; color: var(--bone-dim); }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(237, 234, 225, 0.4);
}
.visit-col h3 {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.visit-col address,
.visit-col p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.3;
}
.visit-col a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s ease; }
.visit-col a:hover { background-size: 100% 1px; }
.visit-col .muted { font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; }
.hours { width: 100%; max-width: 320px; }
.hours th,
.hours td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.hours td { text-align: right; }
.visit-cta { margin-top: clamp(56px, 6vw, 80px); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 40px;
  background: var(--night);
  color: var(--bone);
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 48px;
  padding-top: 32px;
  background: linear-gradient(var(--line-dark), var(--line-dark)) no-repeat 50% 0 / calc(100% - 2 * var(--gutter)) 1px;
}
.wordmark--footer { font-size: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a {
  font-size: 14px;
  color: var(--bone-dim);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 5px; }
.footer-legal {
  margin-left: auto;
  font-size: 13px;
  color: var(--bone-dim);
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Privacy policy page
   ========================================================================== */
.policy-hero {
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 136px));
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--pine);
  color: var(--bone);
}
.policy-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.policy-hero h1 em { font-style: italic; }
.policy-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 16px;
  border-top: 1px solid rgba(237, 234, 225, 0.24);
}
.policy-hero-meta p { max-width: 56ch; font-size: 15px; color: var(--bone-dim); }
.policy-hero-meta .updated {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.policy-body { padding-block: clamp(72px, 9vw, 128px); }
.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.policy-toc p {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.policy-toc ol { border-top: 1px solid var(--line-light); counter-reset: toc; }
.policy-toc li { counter-increment: toc; border-bottom: 1px solid var(--line-light); }
.policy-toc a {
  display: flex;
  gap: 12px;
  padding-block: 9px;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink);
}
.policy-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  width: 22px;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.policy-toc a:hover { color: var(--moss); }

.policy-article { max-width: 70ch; }
.policy-article section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.policy-article section:last-child { border-bottom: 0; margin-bottom: 0; }
.policy-article h2 {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.05;
}
.policy-article h2 span {
  flex: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brass);
}
.policy-article h3 {
  margin: 28px 0 8px;
  font-size: 15px;
  font-weight: 600;
}
.policy-article p,
.policy-article li { color: #333a31; }
.policy-article p + p { margin-top: 14px; }
.policy-article ul { margin-top: 14px; }
.policy-article ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.policy-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 1px;
  background: var(--brass);
}
.policy-article a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.policy-article a:hover { text-decoration-thickness: 2px; }
.policy-article strong { color: var(--ink); font-weight: 600; }
.policy-note {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 2px solid var(--brass);
  font-size: 16px;
}
.policy-article .policy-contact {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--ink);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .header-cta { display: none; }
  .program { grid-template-columns: 120px minmax(0, 1fr); }
  .program-thumb { width: 120px; }
  .program-meta { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .program-meta div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { background: var(--bone); color: var(--ink); }

  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta p:last-child { display: none; }

  .founder .wrap { grid-template-columns: 1fr; gap: 0; }
  .pullquote p { padding-left: 0.42em; }
  .pullquote p::before { left: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-figure,
  .about-text { grid-column: 1; }
  .about-figure img { aspect-ratio: 1 / 1; object-position: 50% 0; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }

  .section-head,
  .visit-head {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "title" "intro";
  }
  .section-head .section-intro,
  .visit-head .section-intro { justify-self: start; margin-top: 20px; }

  .coaches-head { grid-template-columns: 1fr; }
  .coaches-head .section-intro { justify-self: start; }
  .coach-row { grid-template-columns: 1fr 1fr; }
  .coach:nth-child(2) { margin-top: 64px; }
  .coach:nth-child(3) { margin-top: 0; }

  .spec { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-legal { margin-left: 0; width: 100%; }

  .policy-grid { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .program { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }
  .program-thumb { width: 88px; }
  .program-meta { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 8px; }
  .program-meta div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .about-facts { grid-template-columns: 1fr; gap: 12px; }
  .coach-row { grid-template-columns: 1fr; gap: 56px; }
  .coach:nth-child(2) { margin-top: 0; }
  .coach-photo { aspect-ratio: 5 / 4; }
  .spec-group dl div { grid-template-columns: 1fr; gap: 4px; }
}

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