/* ============================================================
   Open Tennis Academy
   Direction: day court — cool stone, forest ink, ball lime CTAs
   ============================================================ */

:root {
  --stone:     #eef1ec;
  --stone-2:   #e2e8e0;
  --paper:     #f7f8f5;
  --ink:       #14241c;
  --ink-soft:  #2a3f34;
  --forest:    #1a3d2c;
  --forest-2:  #24533c;
  --mist:      #5c7266;
  --line:      rgba(20, 36, 28, 0.12);
  --lime:      #c8e800;
  --lime-deep: #a8c400;
  --white:     #ffffff;

  --maxw: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; touch-action: none; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--lime-deep);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.hero :focus-visible {
  outline-color: var(--lime);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus {
  transform: none;
  outline: 2px solid var(--ink);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
}
.btn-accent {
  background: var(--lime);
  color: var(--ink);
}
.btn-accent:hover { background: var(--lime-deep); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
}
.btn-dark {
  background: var(--forest);
  color: #fff;
}
.btn-dark:hover { background: var(--forest-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s, color .35s;
}
.site-header.scrolled {
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  transition: color .3s;
}
.brand-founder {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.78);
  transition: color .3s;
}
.site-header.scrolled .brand-text { color: var(--ink); }
.site-header.scrolled .brand-founder { color: var(--forest-2); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color .3s, background .25s, border-color .25s, box-shadow .25s;
}
.nav > a:not(.btn):hover { color: var(--lime); }
.site-header.scrolled .nav > a:not(.btn) { color: var(--ink-soft); }
.site-header.scrolled .nav > a:not(.btn):hover { color: var(--forest); }
.nav-cta { padding: 10px 18px; font-size: 0.88rem; }
/* .nav > a is more specific than .btn-accent — keep CTA ink-on-lime readable */
.nav > a.btn-accent {
  background: var(--lime);
  color: var(--ink);
}
.nav > a.btn-accent:hover {
  background: var(--lime-deep);
  color: var(--ink);
}
/* Over the dark hero, solid lime vibrates — use calm white until scroll */
.site-header:not(.scrolled) .nav > a.btn-accent {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.site-header:not(.scrolled) .nav > a.btn-accent:hover {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin: -6px -6px -6px 0;
  min-width: 44px;
  min-height: 44px;
  z-index: 120;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s, background .3s;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 36, 28, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.nav-backdrop[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20,36,28,.78) 0%, rgba(20,36,28,.42) 45%, rgba(20,36,28,.18) 72%),
    linear-gradient(to top, rgba(20,36,28,.7) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 8px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-founder {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--lime);
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  text-wrap: balance;
  text-shadow: 0 4px 32px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 480px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 12px;
}
.hero-scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--lime);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; top: 7px; }
  35% { opacity: 1; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 110px) 0; }
.section-soft { background: var(--stone); }
.section-dark {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(200,232,0,.08), transparent 50%),
    linear-gradient(160deg, var(--forest) 0%, #12261c 100%);
  color: #fff;
}
.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 12px;
}
.section-dark .kicker { color: var(--lime); }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-lead {
  margin-top: 14px;
  font-size: 1.08rem;
  color: #4a6356;
}
.section-lead a {
  color: var(--forest-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-dark .section-lead { color: rgba(255,255,255,.72); }

/* ---------- Venues ---------- */
.venues { background: var(--paper); }

.venue-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
  padding: 5px;
  background: var(--stone);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
.venue-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.venue-tab:hover { color: var(--ink); }
.venue-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 36, 28, 0.08);
}
.venue-tab-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.venue-panel {
  display: none;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}
.venue-panel.is-active { display: grid; }
.venue-visual {
  position: relative;
  min-height: 100%;
  background: var(--stone-2);
}
.venue-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.venue-panel.is-active .venue-visual img {
  animation: venueIn 0.7s var(--ease) both;
}
@keyframes venueIn {
  from { transform: scale(1.04); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}
.venue-copy {
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px) clamp(32px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.venue-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 10px;
}
.venue-copy h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  margin-bottom: 12px;
}
.venue-copy > p {
  color: var(--mist);
  margin-bottom: 22px;
  max-width: 42ch;
}
.venue-copy > p a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.venue-copy > p a:hover { color: var(--forest-2); }
.venue-meta {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.venue-meta dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}
.venue-meta dd { color: var(--ink); font-size: 0.98rem; }
.venue-meta a {
  font-weight: 700;
  color: var(--forest);
}
.venue-meta a:hover { color: var(--forest-2); text-decoration: underline; }
.meta-note { color: var(--mist); font-size: 0.85rem; }
.venue-copy .btn,
.venue-actions { align-self: flex-start; margin-top: auto; }
.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Programs ---------- */
.programs {
  background:
    linear-gradient(180deg, var(--stone) 0%, var(--paper) 100%);
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 24px;
  align-items: start;
}
.program-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 100px;
}
.program-tab {
  appearance: none;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--mist);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background .25s, color .25s;
}
.program-tab:hover { color: var(--ink); background: rgba(20,36,28,.04); }
.program-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 14px rgba(20, 36, 28, 0.07);
}
.program-age {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 700;
}
.program-tab.is-active .program-age { color: var(--forest-2); }

.program-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 360px;
}
.program-panel.is-active { display: grid; }
.program-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  order: 2;
}
.program-body {
  order: 1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-body h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.program-body p {
  color: var(--mist);
  margin-bottom: 18px;
}
.program-body ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.program-body li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-weight: 500;
}
.program-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--forest);
}
.program-cta {
  margin-top: 18px;
  align-self: flex-start;
}

/* ---------- Method ---------- */
.method-intro {
  max-width: 560px;
  margin-bottom: 40px;
}
.method-intro h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 14px;
}
.method-intro > p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
}
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.pyramid {
  list-style: none;
  counter-reset: py;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 8px 0;
}
.pyramid li {
  counter-increment: py;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: rgba(255,255,255,.92);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pyramid li:first-child { padding-top: 0; }
.pyramid li:last-child { border-bottom: 0; padding-bottom: 0; }
.pyramid li::before {
  content: counter(py);
  flex: 0 0 36px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.9rem;
  margin-top: 2px;
}
.pyramid-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 5px;
}
.pyramid-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.pyramid-text > span {
  color: rgba(255,255,255,.72);
  font-size: 0.98rem;
  line-height: 1.45;
}
.pyramid-more {
  margin-top: 6px;
}
.pyramid-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 4px 0;
  user-select: none;
}
.pyramid-more summary::-webkit-details-marker { display: none; }
.pyramid-more summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}
.pyramid-more[open] summary::after { content: "−"; }
.pyramid-more summary:hover { color: #fff; }
.pyramid-more p {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 48ch;
}
.method-aside {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  position: sticky;
  top: 100px;
}
.method-aside blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.method-aside-note {
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
}

/* ---------- Stories ---------- */
.story-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
.story-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .25s, color .25s, box-shadow .25s;
}
.story-tab:hover { color: var(--ink); }
.story-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 36, 28, 0.08);
}

.story-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 44px);
}
.story-panel.is-active { display: block; }

.story-panel-head { max-width: 640px; margin-bottom: 32px; }
.story-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 10px;
}
.story-panel-head h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 10px;
  text-wrap: balance;
}
.story-dek { color: var(--mist); font-size: 1.05rem; }
.story-dek a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.story-dek a:hover { color: var(--forest-2); }

.story-tease {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.story-timeline-tease {
  margin-bottom: 8px;
}
.story-timeline-tease li { padding-bottom: 8px; }
.story-more {
  margin: 8px 0 28px;
}
.story-more > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest-2);
  padding: 10px 0;
  user-select: none;
  border-bottom: 1px solid rgba(27, 58, 42, 0.12);
  width: 100%;
}
.story-more > summary::-webkit-details-marker { display: none; }
.story-more > summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--forest);
  opacity: 0.9;
}
.story-more[open] > summary::after { content: "−"; }
.story-more[open] > summary {
  color: var(--ink);
  margin-bottom: 20px;
}
.story-more > summary:hover { color: var(--ink); }
.story-more-open { display: none; }
.story-more[open] .story-more-closed { display: none; }
.story-more[open] .story-more-open { display: inline; }
.story-more .story-timeline { margin: 0; }
.story-more .voice-grid { margin-top: 0; }

.story-more-cta > summary {
  padding: 16px 18px;
  border: 1px solid rgba(26, 61, 44, 0.14);
  border-radius: var(--radius-sm);
  background: var(--stone);
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(26, 61, 44, 0.14);
}
.story-more-cta > summary::after {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  opacity: 1;
}
.story-more-cta > summary:hover {
  border-color: rgba(26, 61, 44, 0.28);
  background: #eef2ea;
}
.story-more-cta[open] > summary {
  margin-bottom: 24px;
  background: transparent;
  border-color: transparent;
  border-bottom: 1px solid rgba(27, 58, 42, 0.12);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
.story-more-cta[open] > summary::after {
  background: transparent;
  color: var(--forest);
}
.story-more-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.story-more-hint {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0;
  color: var(--mist);
  text-transform: none;
  line-height: 1.35;
}

.story-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 32px;
  border-left: 2px solid rgba(26, 61, 44, 0.15);
  padding-left: 0;
}
.story-timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 0 0 28px 24px;
  position: relative;
}
.story-timeline li:last-child { padding-bottom: 0; }
.story-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px var(--white);
}
.story-time {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-2);
  padding-top: 4px;
}
.story-timeline h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.story-timeline p {
  color: #4a6356;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.story-timeline em { color: var(--ink-soft); font-style: italic; }

.story-pull {
  margin: 0;
  padding: 24px 26px;
  border-left: 3px solid var(--lime-deep);
  background: linear-gradient(135deg, rgba(200, 232, 0, 0.14), transparent 70%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.story-pull cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--mist);
  letter-spacing: 0;
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  align-items: stretch;
}
.voice {
  margin: 0;
  padding: 26px 24px;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color .25s, transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .voice:hover {
    border-color: rgba(26, 61, 44, 0.28);
    transform: translateY(-2px);
  }
}
.voice.voice-featured {
  grid-column: 1 / -1;
  padding: clamp(28px, 4vw, 36px);
  background: var(--stone);
  position: relative;
}
.voice.voice-featured::before {
  content: "„";
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.75rem;
  line-height: 1;
  color: var(--lime-deep);
  opacity: 0.4;
  pointer-events: none;
}
.voice.voice-featured .voice-tag { margin-bottom: 10px; }
.voice.voice-featured blockquote {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}
.voice.voice-featured figcaption {
  font-size: 1rem;
  color: var(--forest);
}
.voice-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 14px;
}
.voice blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  flex: 1;
  color: var(--ink);
}
.voice figcaption {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.story-note {
  color: var(--mist);
  font-size: 0.98rem;
  max-width: 62ch;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.story-prose {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  margin-bottom: 28px;
}
.story-prose p { color: var(--mist); font-size: 1.05rem; }

.story-principles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}
.story-principles li {
  padding: 22px 20px;
  background: var(--stone);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-principles strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.story-principles span { color: var(--mist); font-size: 0.96rem; }

/* ---------- Team ---------- */
.team { background: var(--paper); }
.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-list li {
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease);
}
.team-list li:hover {
  border-color: rgba(26, 61, 44, 0.28);
  transform: translateY(-2px);
}
.team-list h3 { font-size: 1.25rem; margin-bottom: 6px; }
.team-role {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 12px;
}
.team-list p:last-child {
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.55;
}
.team-list p:last-child strong { color: var(--ink-soft); font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}
.g-item {
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  background: var(--stone-2);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact { background: var(--stone); }
.contact-intro { max-width: 520px; margin-bottom: 36px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-block {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-block-primary {
  background: var(--forest);
  color: #fff;
  border-color: transparent;
}
.contact-block h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.contact-block > p {
  color: var(--mist);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.contact-block-primary > p { color: rgba(255,255,255,.65); }
.contact-phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color .2s;
}
.contact-block-primary .contact-phone { color: #fff; }
.contact-phone:hover { color: var(--forest); }
.contact-block-primary .contact-phone:hover { color: var(--lime); }
.contact-phone-soft { font-size: 1.05rem; color: var(--mist); }
.contact-block-primary .contact-phone-soft { color: rgba(255,255,255,.75); }
.contact-role {
  display: block;
  font-size: 0.8rem;
  color: var(--mist);
  margin: 0 0 12px;
}
.contact-block-primary .contact-role { color: rgba(255,255,255,.5); }
.contact-mail {
  display: block;
  color: var(--mist);
  margin-top: 8px;
  font-size: 0.92rem;
  word-break: break-word;
}
.contact-block-primary .contact-mail { color: rgba(255,255,255,.7); }
.contact-mail:hover { color: var(--forest); }
.contact-block-primary .contact-mail:hover { color: var(--lime); }
.contact-hint {
  margin-top: 16px !important;
  color: var(--mist) !important;
  font-size: 0.85rem !important;
}
.contact-block-primary .contact-hint { color: rgba(255,255,255,.5) !important; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 0.88rem;
}
.footer-legal a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--forest-2); }
.site-footer .footer-bottom .footer-legal {
  width: 100%;
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 52px 0 26px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { max-width: 340px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.footer-logo-text > span:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
}
.footer-founder {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--lime);
  letter-spacing: 0.02em;
}
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,.65); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.footer-nav a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.8rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 36, 28, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
  backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: var(--radius-sm);
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .25s, color .25s;
}
.lb-close { top: 24px; right: 24px; width: 48px; height: 48px; font-size: 1.8rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close:hover, .lb-nav:hover { background: var(--lime); color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Scrollable tab rails ---------- */
.tab-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  max-width: 100%;
}
.tab-rail::-webkit-scrollbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  html { scroll-padding-top: 80px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 115;
    width: min(320px, 86vw);
    max-width: 100%;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding:
      calc(88px + env(safe-area-inset-top, 0px))
      22px
      calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    box-shadow: -16px 0 48px rgba(20, 36, 28, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.open { transform: none; }
  .nav > a:not(.btn) {
    font-size: 1.15rem;
    color: var(--ink) !important;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav > a:not(.btn):hover,
  .nav > a:not(.btn):active {
    background: var(--stone);
    color: var(--forest) !important;
  }
  .site-header.scrolled .nav > a:not(.btn) { color: var(--ink) !important; }
  .nav-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .venue-panel.is-active,
  .program-layout,
  .program-panel.is-active,
  .method-grid,
  .contact-grid,
  .voice-grid,
  .story-principles {
    grid-template-columns: 1fr;
  }
  .method-aside { position: static; }

  .venue-switch,
  .story-switch {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    border-radius: 12px;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  }
  .venue-switch::-webkit-scrollbar,
  .story-switch::-webkit-scrollbar { display: none; }
  .venue-tab,
  .story-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 44px;
    white-space: nowrap;
  }

  .story-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 20px;
  }
  .story-time { font-size: 0.85rem; }

  .program-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
  }
  .program-nav::-webkit-scrollbar { display: none; }
  .program-tab {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 64px;
    background: var(--white);
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }
  .program-tab.is-active { border-color: transparent; }
  .program-body { padding: 24px 20px; }
  .program-panel img,
  .venue-visual img { min-height: 220px; max-height: 280px; width: 100%; }

  .team-list { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, 22vw);
  }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }

  .hero-actions .btn { min-height: 48px; }
  .contact-phone { min-height: 44px; padding: 4px 0; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }

  .site-header { padding: 12px 0; }
  .site-header.scrolled { padding: 10px 0; }
  .brand-logo { height: 36px; width: 36px; }
  .brand-text { font-size: 1.02rem; }
  .brand-founder { font-size: 0.68rem; }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding:
      calc(96px + env(safe-area-inset-top, 0px))
      0
      calc(72px + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }
  .hero-title { font-size: clamp(2.05rem, 10vw, 2.7rem); }
  .hero-founder { font-size: clamp(1.35rem, 6vw, 1.7rem); margin-bottom: 12px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

  .section { padding: clamp(56px, 12vw, 80px) 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .section-lead { font-size: 1.02rem; }

  .venue-copy {
    padding: 22px 18px 26px;
  }
  .venue-copy .btn,
  .venue-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .venue-actions { width: 100%; }
  .venue-visual img { min-height: 200px; max-height: 240px; }

  .program-panel { min-height: 0; }
  .program-panel img { min-height: 200px; max-height: 220px; order: 1; }
  .program-body { order: 2; padding: 22px 18px 26px; }
  .program-body .btn,
  .program-cta {
    width: 100%;
    min-height: 48px;
  }

  .pyramid li { gap: 12px; padding: 14px 0; }
  .pyramid li::before {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
  .pyramid-text strong { font-size: 1rem; }
  .pyramid-text span { font-size: 0.92rem; }

  .method-aside { padding: 24px 20px; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 14px 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .lb-close {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    width: 48px;
    height: 48px;
  }
  .lb-nav {
    width: 48px;
    height: 48px;
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: none;
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-img {
    max-width: 94vw;
    max-height: calc(72vh - env(safe-area-inset-bottom, 0px));
  }

  .gallery-grid {
    gap: 8px;
    grid-auto-rows: minmax(120px, 28vw);
  }
}

@media (max-width: 420px) {
  .venue-tab { padding: 11px 14px; font-size: 0.86rem; }
  .story-tab { padding: 10px 14px; font-size: 0.88rem; }
  .hero-brand { font-size: 0.92rem; }
}

@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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { animation: none; }
}
