/* ==========================================================================
   Dani Shore Pilates — styles
   ========================================================================== */

:root {
  --forest: #0d4a2b;
  --forest-deep: #083520;
  --cream: #f7f3ea;
  --clay: #c9a391;
  --terracotta: #b9684f;
  --terracotta-hover: #a45740;
  --peach: #dfc0ae;
  --ink: #352f2b;
  --off-white: #faf8f3;
  --ink-muted: rgba(53, 47, 43, 0.72);
  --ink-soft: rgba(53, 47, 43, 0.55);
  --cream-soft: rgba(245, 241, 232, 0.88);
  --line: rgba(53, 47, 43, 0.12);
  --line-strong: rgba(13, 74, 43, 0.18);

  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-brand: "Playfair Display", Georgia, serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --radius-sm: 0.4rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.35rem;

  --header-h: 5.75rem;
  --container: 74rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(53, 47, 43, 0.08);

  /* Shared top bar — same on every page */
  --hero-header-h: 92px;
  --hero-pad: 97px;
  --hero-copy-pad: 72px;
  --hero-forest: #1d3328;
  --hero-cream: #f7f3ea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: #f7f3ea;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
}

h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary,
.btn-terracotta {
  background: var(--clay);
  color: var(--forest);
  box-shadow: 0 10px 28px rgba(201, 163, 145, 0.28);
}

.btn-primary:hover,
.btn-terracotta:hover {
  background: #b89280;
  color: var(--forest);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgba(13, 74, 43, 0.28);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.45);
}

.btn-ghost:hover {
  background: rgba(245, 241, 232, 0.12);
  color: var(--cream);
  border-color: var(--cream);
}

.btn-accent {
  background: var(--terracotta);
  color: var(--off-white);
  box-shadow: 0 12px 30px rgba(13, 30, 20, 0.25);
}

.btn-accent:hover {
  background: #c9785c;
  color: var(--off-white);
}

.btn-forest {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 12px 28px rgba(13, 74, 43, 0.18);
}

.btn-forest:hover {
  background: var(--forest-deep);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: rgba(13, 74, 43, 0.4);
}

.btn-outline:hover {
  background: rgba(13, 74, 43, 0.06);
  color: var(--forest);
  border-color: var(--forest);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 74, 43, 0.35);
  padding-bottom: 0.15rem;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link:hover {
  gap: 0.7rem;
  border-color: var(--forest);
}

.section-label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-head {
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

.section-head-light .section-label {
  color: var(--peach);
}

.section-head-light h2 {
  color: var(--cream);
}

.section-lead,
.lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.statement {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--forest);
}

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}

.prose p + p {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Hero — rebuilt to match reference at 1440px
   -------------------------------------------------------------------------- */

.hero {
  --hero-cream: #f7f3ea;
  --hero-forest: #1d3328;
  --hero-forest-deep: #16261e;
  --hero-terra: #8d4d35;
  --hero-terra-mid: #a6654d;
  --hero-clay: #d2b19c;
  --hero-ink: #2c322c;

  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--hero-cream);
  overflow: clip;
  color: var(--hero-ink);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-btn:hover { transform: translateY(-1px); color: inherit; }
.hero-btn--solid {
  background: var(--hero-forest);
  color: var(--hero-cream);
  box-shadow: 0 10px 24px rgba(29, 51, 40, 0.16);
}
.hero-btn--solid:hover { background: var(--hero-forest-deep); color: var(--hero-cream); }
.hero-btn--outline {
  background: transparent;
  color: var(--hero-terra);
  border-color: var(--hero-terra);
  box-shadow: none;
}
.hero-btn--outline:hover {
  background: rgba(141, 77, 53, 0.06);
  color: var(--hero-terra);
  border-color: var(--hero-terra);
}

.hero__header,
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: var(--hero-header-h);
  background: var(--clay);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero__header.is-scrolled,
.site-header.is-scrolled,
.site-header.site-header--solid {
  background: rgba(201, 163, 145, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(53, 47, 43, 0.06);
}
.hero__bar {
  height: 100%;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--hero-pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: var(--hero-forest);
  flex-shrink: 0;
}
.hero-brand:hover { color: var(--hero-forest); }
.hero-brand__mark {
  width: 58px;
  height: auto;
  display: block;
}
.hero-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  line-height: 1;
}
.hero-brand__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-brand__sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.hero-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-nav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hero-forest);
  text-decoration: none;
}
.hero-nav__list a:hover { opacity: 0.72; }
.hero-nav__cta {
  min-height: 48px;
  padding-inline: 1.4rem;
  font-size: 0.88rem;
}

.hero-menu {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(29, 51, 40, 0.18);
  background: transparent;
  color: var(--hero-forest);
  padding: 0;
  cursor: pointer;
}
.hero-menu__svg { width: 34px; height: 34px; display: block; overflow: visible; }
.hero-menu__line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-menu__line--a { d: path("M5 11C14.5 11 25.5 11 35 11"); }
.hero-menu__line--b { d: path("M5 20C14.5 20 25.5 20 35 20"); }
.hero-menu__line--c { d: path("M5 29C14.5 29 25.5 29 35 29"); }
.hero-menu__dot {
  fill: currentColor;
  opacity: 0;
  transform: translateY(4px) scale(0.55);
  transform-origin: 9.5px 11px;
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-menu[aria-expanded="true"] .hero-menu__line--a { d: path("M5 16H20C26.5 16 31.5 12.5 35.2 6.2"); }
.hero-menu[aria-expanded="true"] .hero-menu__line--b { d: path("M7.5 24C16 24 26 24 32.5 24"); }
.hero-menu[aria-expanded="true"] .hero-menu__line--c { d: path("M7.5 32C16 32 26 32 32.5 32"); }
.hero-menu[aria-expanded="true"] .hero-menu__dot { opacity: 1; transform: none; }

.hero__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  box-sizing: border-box;
}

.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 180px;
}

.hero__forms {
  position: absolute;
  right: -2%;
  bottom: -14%;
  width: min(84vw, 980px);
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.hero__forms-clay { opacity: 0.55; }
.hero__forms-terra { opacity: 0.4; }
.hero__forms-line { opacity: 0.7; }

.hero__sd {
  position: absolute;
  z-index: 1;
  right: -48px;
  top: 120px;
  width: 680px;
  height: auto;
  color: #cbb59f;
  opacity: 0.15;
  pointer-events: none;
  overflow: visible;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(56%, 700px);
  padding: calc(var(--hero-header-h) + 72px) 24px 72px var(--hero-copy-pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.hero__eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hero-terra);
}

.hero__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(76px, 6.4vw, 104px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--forest { color: var(--hero-forest); }
.hero__line--terra { color: var(--hero-terra); }
.hero__line--terra em {
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  margin: 20px 0 0;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(44, 50, 44, 0.72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-card {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 64px;
  width: 400px;
  padding: 28px 28px 22px;
  border-radius: 28px;
  background: #fffcf7;
  box-shadow: 0 22px 50px rgba(53, 47, 43, 0.12);
  box-sizing: border-box;
}
.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 10px;
}
.hero-card__label {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-terra);
}
.hero-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eadfce;
  color: var(--hero-forest);
  flex-shrink: 0;
}
.hero-card__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
}
.hero-card__meta {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(44, 50, 44, 0.78);
}
.hero-card__desc {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(44, 50, 44, 0.65);
}
.hero-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(53, 47, 43, 0.1);
}
.hero-card__swatches {
  display: inline-flex;
  gap: 7px;
}
.hero-card__swatches i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sw);
  display: block;
  border: 1px solid rgba(53, 47, 43, 0.08);
}
.hero-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hero-terra);
  text-decoration: none;
  white-space: nowrap;
}
.hero-card__link:hover { color: #6f3a28; }


/* Footer brand lockup helpers */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark { width: 2.75rem; height: auto; }
.brand-wordmark { display: flex; flex-direction: column; gap: 0.2rem; line-height: 1; }
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.brand-pilates {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.78;
}
.brand-footer:hover { color: var(--cream); }
/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.intro {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.intro-copy p {
  margin-top: 1.75rem;
  max-width: 32rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.intro-figure {
  margin: 0;
  position: relative;
}

.intro-figure::before {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 68%;
  height: 68%;
  background: var(--clay);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.intro-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  padding: var(--space-2xl) 0;
  background: #f7f3ea;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-figure {
  margin: 0;
  position: relative;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.9rem;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.about-copy h2 {
  margin-bottom: 1.35rem;
}

.about-copy .prose {
  max-width: 34rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Classes — mixed layouts, not identical cards
   -------------------------------------------------------------------------- */

.classes {
  padding: var(--space-2xl) 0;
  background:
    linear-gradient(180deg, rgba(201, 163, 145, 0.28), rgba(201, 163, 145, 0.45));
}

.class-stack {
  display: grid;
  gap: 1.25rem;
}

.class-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--off-white);
  border-radius: calc(var(--radius-lg) + 0.25rem);
}

.class-feature-media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.class-feature-body h3 {
  margin-bottom: 0.85rem;
}

.class-feature-body > p {
  color: var(--ink-muted);
  max-width: 28rem;
}

.class-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  background: rgba(250, 248, 243, 0.72);
  border: 1px solid rgba(53, 47, 43, 0.06);
  border-radius: var(--radius-md);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.class-row:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.class-row-index {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--clay);
  line-height: 1;
  min-width: 2.5rem;
}

.class-row-body h3 {
  margin-bottom: 0.4rem;
}

.class-row-body p {
  color: var(--ink-muted);
  margin: 0;
  max-width: 38rem;
}

.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

.class-row .class-meta {
  margin: 0.85rem 0 0;
}

.class-meta dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.class-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   Benefits — oversized type + horizontal scroll on mobile
   -------------------------------------------------------------------------- */

.benefits {
  padding: var(--space-2xl) 0 var(--space-xl);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(185, 104, 79, 0.18), transparent 45%),
    var(--forest);
  color: var(--cream);
  overflow: hidden;
}

.benefits-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 20rem);
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--peach) transparent;
}

.benefits-track:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
}

.benefit {
  scroll-snap-align: start;
  padding: 1.75rem 1.5rem 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.22);
  min-height: 14rem;
}

.benefit-num {
  display: block;
  margin-bottom: 2.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--peach);
}

.benefit h3 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--cream);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.benefit p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.98rem;
  max-width: 16rem;
}

@media (min-width: 1100px) {
  .benefits-track {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: visible;
  }
}

/* --------------------------------------------------------------------------
   Timetable
   -------------------------------------------------------------------------- */

.timetable {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #f7f3ea;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.schedule th,
.schedule td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  vertical-align: middle;
}

.schedule thead {
  background: var(--forest);
  color: var(--cream);
}

.schedule th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule tbody tr {
  border-top: 1px solid var(--line);
}

.schedule tbody tr:nth-child(even) {
  background: rgba(201, 163, 145, 0.12);
}

.schedule td {
  font-weight: 500;
  color: var(--ink-muted);
}

.table-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Mobile-friendly stacked timetable */
@media (max-width: 720px) {
  .schedule {
    min-width: 0;
  }

  .schedule thead {
    display: none;
  }

  .schedule,
  .schedule tbody,
  .schedule tr,
  .schedule td {
    display: block;
    width: 100%;
  }

  .schedule tr {
    padding: 1rem 1.15rem;
  }

  .schedule tr + tr {
    border-top: 1px solid var(--line);
  }

  .schedule td {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.75rem;
    padding: 0.35rem 0;
  }

  .schedule td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-top: 0.2rem;
  }
}

/* --------------------------------------------------------------------------
   Beginners
   -------------------------------------------------------------------------- */

.beginners {
  padding: var(--space-2xl) 0;
  background: #f7f3ea;
}

.beginners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.beginners-copy {
  grid-column: 1 / -1;
  max-width: 40rem;
}

.beginners-copy .lead {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.beginners-panels {
  display: grid;
  gap: 1rem;
}

.beginner-panel {
  padding: 1.4rem 1.5rem;
  background: rgba(201, 163, 145, 0.22);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--terracotta);
}

.beginner-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.beginner-panel p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.98rem;
}

.beginners-figure {
  margin: 0;
}

.beginners-figure img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta,
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--clay);
  color: var(--forest);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.cta h2,
.cta-band h2 {
  color: var(--forest);
  margin: 0 0 0.75rem;
  max-width: 22ch;
  text-wrap: balance;
}

.cta p,
.cta-band p {
  color: rgba(13, 74, 43, 0.78);
  margin: 0 0 1.75rem;
  max-width: 36ch;
  line-height: 1.55;
  text-wrap: balance;
}

.cta-note {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem;
  color: rgba(13, 74, 43, 0.55) !important;
}

/* --------------------------------------------------------------------------
   FAQs
   -------------------------------------------------------------------------- */

.faqs {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.faqs-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faqs-intro p:last-child {
  color: var(--ink-muted);
  max-width: 24rem;
}

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

.accordion-item h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  color: var(--forest);
}

.accordion-trigger:hover {
  color: var(--terracotta);
}

.accordion-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.accordion-icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  padding: 0 0 1.25rem;
  color: var(--ink-muted);
  max-width: 38rem;
}

.accordion-panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */

.contact {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: #f7f3ea;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.contact-copy p {
  color: var(--ink-muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem;
  background: rgba(201, 163, 145, 0.2);
  border-radius: var(--radius-lg);
}

.contact-details li {
  display: grid;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-details a {
  text-decoration: none;
  font-weight: 600;
  color: var(--forest);
}

.contact-details a:hover {
  color: var(--terracotta);
}

.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.78);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.brand-footer {
  color: var(--cream);
}

.brand-footer:hover {
  color: var(--cream);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--cream);
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.75);
}

.footer-nav a:hover {
  color: var(--peach);
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 0.35rem;
}

.footer-certs__link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 999px;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-certs__link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.footer-certs__link--spm {
  border-radius: 50%;
}

.footer-certs__badge {
  display: block;
  height: auto;
  object-fit: contain;
}

.footer-certs__badge--body-control {
  width: clamp(11rem, 28vw, 14.5rem);
  border-radius: 999px;
}

.footer-certs__badge--spm {
  width: clamp(4.75rem, 12vw, 5.75rem);
  border-radius: 50%;
  background: #fff;
}

.footer-certs__link--round {
  border-radius: 50%;
}

.footer-certs__badge--academy {
  width: clamp(4.75rem, 12vw, 5.75rem);
  padding: 0.2rem;
  border-radius: 50%;
  background: #fff;
}

.footer-certs__link--tgc {
  border-radius: 0.6rem;
}

.footer-certs__badge--tgc {
  width: clamp(10rem, 24vw, 12.5rem);
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  background: #fff;
  box-sizing: content-box;
}

.bio-copy .footer-certs__badge--tgc {
  border: 1px solid rgba(53, 47, 43, 0.12);
}

.footer-legal {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.5);
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --hero-pad: 64px;
    --hero-copy-pad: 48px;
  }
  .hero__sd {
    width: 560px;
    right: -60px;
    top: 110px;
  }
  .hero__forms { width: min(88vw, 860px); right: -6%; bottom: -16%; }
  .hero-card { width: 360px; right: 36px; }
}

@media (max-width: 960px) {
  .intro-grid,
  .about-grid,
  .faqs-layout,
  .contact-grid,
  .beginners-grid,
  .class-feature {
    grid-template-columns: 1fr;
  }

  .intro-figure::before { inset: auto -4% -6% 40%; }
  .about-grid { gap: 2rem; }
  .about-figure { max-width: 28rem; }
  .class-feature-media img { aspect-ratio: 16 / 10; }
  .beginners-figure { order: -1; }
  .beginners-figure img {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }

  :root {
    --hero-pad: 28px;
    --hero-copy-pad: 28px;
    --hero-header-h: 78px;
  }
  .hero__copy {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: calc(var(--hero-header-h) + 36px) var(--hero-copy-pad) 4rem;
    justify-content: flex-start;
  }
  .hero__title { font-size: clamp(3.25rem, 11vw, 4.75rem); white-space: normal; }
  .hero__line { white-space: normal; }
  .hero__sd {
    right: -22%;
    top: 220px;
    width: min(68vw, 26rem);
    opacity: 0.14;
  }
  .hero__forms {
    width: 115%;
    right: -28%;
    bottom: -22%;
  }
  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 56px);
    max-width: 420px;
    margin: -8rem auto 2.5rem;
  }
}

@media (max-width: 860px) {
  .hero-menu { display: grid; }

  .hero-nav {
    position: fixed;
    inset: var(--hero-header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-left: 0;
    padding: 1.5rem 1.25rem 1.75rem;
    background: rgba(247, 243, 234, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(53, 47, 43, 0.08);
    z-index: 50;
  }

  .hero-nav.is-open { display: flex; }

  .hero-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-nav__list a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }

  .hero-nav__cta { width: 100%; }
  .hero-brand__mark { width: 48px; }
  .hero-brand__name { font-size: 1.45rem; }

  .class-row { grid-template-columns: auto 1fr; }
  .class-row .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  :root {
    --hero-pad: 20px;
    --hero-copy-pad: 20px;
    --hero-header-h: 72px;
  }
  .hero-brand { gap: 0.7rem; }
  .hero-brand__mark { width: 42px; }
  .hero-brand__name { font-size: 1.25rem; }
  .hero-brand__sub { font-size: 0.55rem; letter-spacing: 0.3em; }

  .hero__copy { padding-bottom: 4rem; }
  .hero__eyebrow { font-size: 11px; }
  .hero__lead { max-width: none; font-size: 1.05rem; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .hero-btn {
    width: 100%;
    min-height: 3.35rem;
  }

  .hero__sd {
    right: -32%;
    top: 260px;
    width: 17.5rem;
    opacity: 0.12;
  }

  .hero-card {
    width: calc(100% - 40px);
    margin-top: -6.5rem;
    padding: 22px 20px 18px;
  }

  .hero-card__foot {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-card__meta {
    font-size: 0.74rem;
  }

  .class-row-index { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-menu__line,
  .hero-menu__dot { transition-duration: 0.01ms; }
}


/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}