/* ============================================================
   HUSTLEd Pilates — shared styles
   Light cream / peachy-tan editorial theme
   ============================================================ */

:root {
  --bg:        #f7f2ea;   /* warm cream */
  --bg-2:      #efe7d9;   /* deeper cream — alt sections */
  --surface:   #fdfaf4;   /* near-white card */
  --surface-2: #f4ecdd;
  --border:    #e6dccc;   /* soft tan */
  --text:      #4a4138;   /* warm espresso body */
  --heading:   #2e2820;   /* deep brown headings */
  --muted:     #9b8d7b;   /* taupe */
  --muted-2:   #6e6456;
  --accent:      #c0926a; /* peachy tan — from logo */
  --accent-deep: #9c6b3e; /* deeper peach for text/logo on cream */
  --accent-soft: #eccdb4; /* the logo's light peach — for dark backgrounds */

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Jost", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.h-xl { font-size: clamp(2.9rem, 9vw, 6rem); font-weight: 400; }
.h-lg { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 400; }
.h-md { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted-2);
  max-width: 56ch;
}

.accent-italic { font-style: italic; font-weight: 400; color: var(--accent-deep); }
.gold, .peach { color: var(--accent-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .95rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold { background: var(--accent); color: #fff; }
.btn--gold:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--border); color: var(--heading); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 48px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  padding: 0;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links a.nav-link {
  position: relative;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-block: .4rem;
  transition: color .2s var(--ease);
}
.nav-links a.nav-link:hover { color: var(--heading); }
.nav-links a.nav-link.active { color: var(--heading); }
.nav-links a.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent);
}
.nav-cta { margin-left: .5rem; }

/* dropdown */
.has-dropdown { position: relative; gap: .25rem; }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer;
  color: var(--muted-2); font-size: .6rem; line-height: 1;
  padding: .4rem .2rem; transition: transform .25s var(--ease), color .2s var(--ease);
}
.has-dropdown:hover .dropdown-toggle { color: var(--heading); }
.dropdown {
  position: absolute;
  top: 100%; left: 0; right: auto;
  transform: translateY(10px);
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem;
  list-style: none;
  display: grid;
  gap: .1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 24px 50px -28px rgba(46, 40, 32, 0.45);
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(6px);
}
/* invisible bridge so the menu doesn't vanish when the cursor crosses the gap */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px; height: 16px;
}
.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem .85rem;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted-2);
  border-radius: 3px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.dropdown a small { font-size: .66rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.dropdown a:hover { background: var(--bg-2); color: var(--accent-deep); }
.dropdown a:hover small { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--heading);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — generic (subpages: cream, dark text)
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(4.5rem, 12vw, 9rem);
  overflow: hidden;
}
.hero:not(.hero--home):not(.hero--photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 75% at 82% 8%, rgba(192,152,111,0.18), transparent 60%),
    radial-gradient(45% 55% at -5% 100%, rgba(192,152,111,0.12), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero h1 { margin-top: 1.4rem; }
.hero__sub { margin-top: 1.6rem; }
.hero__actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- HOME hero: image slideshow ---------- */
.hero--home {
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #c0986f, #6f5743); }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(36,26,17,0.42) 0%, rgba(36,26,17,0.32) 45%, rgba(36,26,17,0.7) 100%);
}
.hero--home .hero__inner { position: relative; z-index: 2; }

/* ---------- photo hero (full-bleed background image) ---------- */
.hero--photo {
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.hero--photo .hero__inner { position: relative; z-index: 2; }
.hero--photo h1 { color: #fff; }
.hero--photo .lead { color: rgba(255,255,255,0.92); }
.hero--photo .eyebrow { color: var(--accent-soft); }
.hero--photo .eyebrow::before { background: var(--accent-soft); }
.hero--photo .accent-italic { color: var(--accent-soft); }
.hero--home h1 { color: #fff; }
.hero--home .lead { color: rgba(255,255,255,0.9); }
.hero--home .eyebrow { color: var(--accent-soft); }
.hero--home .eyebrow::before { background: var(--accent-soft); }
.hero--home .accent-italic { color: var(--accent-soft); }
.hero--home .btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero--home .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }

/* home hero two-column: copy on the left, promo box on the right */
.hero__inner--split { display: grid; grid-template-columns: 1.25fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; width: 100%; }
.hero__promo {
  background: rgba(20,16,12,0.34);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: grid;
  gap: .75rem;
}
.hero__promo-title { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: .25rem; }
.hero__promo-item {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem; row-gap: .25rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero__promo-item:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.42); transform: translateY(-2px); }
.hero__promo-name { grid-column: 1; grid-row: 1; color: #fff; font-weight: 500; letter-spacing: .04em; font-size: 1.04rem; }
.hero__promo-desc { grid-column: 1; grid-row: 2; color: rgba(255,255,255,0.8); font-size: .85rem; line-height: 1.45; }
.hero__promo-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent-soft); font-size: 1.4rem; transition: transform .2s var(--ease); }
.hero__promo-item:hover .hero__promo-go { transform: translateX(4px); }
@media (max-width: 860px) {
  .hero__inner--split { grid-template-columns: 1fr; gap: 2rem; }
}

.hero__dots { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .6rem; }
.hero__dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent; cursor: pointer; padding: 0;
  transition: background .25s var(--ease);
}
.hero__dots button.is-active { background: #fff; }

/* ============================================================
   GENERIC CONTENT BLOCKS
   ============================================================ */
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }

/* manifesto — big scroll text */
.manifesto__lines { margin-top: 2.6rem; display: grid; gap: 1.6rem; }
.manifesto__lines p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: 24ch;
}
.manifesto__lines em { font-style: italic; color: var(--accent-deep); }
.manifesto__lines p:nth-child(even) { margin-left: auto; text-align: right; }

/* image band (full-bleed image + text) */
.image-band {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.image-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,26,17,0.15), rgba(36,26,17,0.72));
}
.image-band .wrap { position: relative; z-index: 1; color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.image-band h2 { color: #fff; }
.image-band p { color: rgba(255,255,255,0.9); margin-top: 1rem; }
.image-band .eyebrow { color: var(--accent-soft); }
.image-band .eyebrow::before { background: var(--accent-soft); }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(168,124,82,0.5); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-deep);
  background: var(--bg-2);
  margin-bottom: 1.3rem;
  font-size: 1.1rem;
}
.card h3 { font-size: 1.35rem; }
.card p { margin-top: .7rem; color: var(--muted-2); font-size: .96rem; }

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.panel--gold {
  background: linear-gradient(160deg, rgba(192,152,111,0.2), rgba(192,152,111,0.05));
  border-color: rgba(192,152,111,0.4);
}
.media-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* team / founders */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.team-member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-member:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(168,124,82,0.5); }
.team-member__photo { aspect-ratio: 4/5; background: var(--bg-2); }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-member__body { padding: clamp(1.6rem, 3vw, 2.2rem); }
.team-member__body h3 { font-size: 1.7rem; }
.team-member__role { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-top: .45rem; }
.team-member__body p { margin-top: 1.1rem; color: var(--muted-2); }

/* ---------- video (instructor / reviews) ---------- */
.video-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #000; line-height: 0; }
.video-frame video { width: 100%; height: auto; display: block; background: #000; }
/* keep card videos compact (cap height; letterbox rather than crop) */
.instructor-card .video-frame video, .review-card .video-frame video { max-height: 340px; object-fit: contain; }
.video-caption { margin-top: .9rem; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; align-items: start; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.review-card .video-frame { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.review-card__body { padding: 1.4rem 1.5rem; }
.review-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); }
.review-card__role { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-top: .25rem; }
.review-card__stars { color: var(--accent); letter-spacing: .15em; margin-top: .6rem; font-size: .9rem; }
.review-card p { margin-top: .7rem; color: var(--muted-2); font-size: .95rem; }
.review-card--placeholder { align-items: center; justify-content: center; text-align: center; min-height: 240px; border-style: dashed; color: var(--muted); padding: 2rem; }

/* ---------- instructors grid (smaller videos, room for more) ---------- */
.instructors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; align-items: start; }
.instructor-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.instructor-card .video-frame { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.instructor-card__body { padding: 1.3rem 1.4rem; }
.instructor-card__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.instructor-card__role { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-top: .25rem; }
.instructor-card p { margin-top: .6rem; color: var(--muted-2); font-size: .92rem; }
.instructor-card--placeholder { align-items: center; justify-content: center; text-align: center; min-height: 240px; border-style: dashed; color: var(--muted); padding: 2rem; }

/* ---------- intro-offer promo band (homepage) ---------- */
.intro-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(192,152,111,0.22), rgba(192,152,111,0.06));
  border: 1px solid rgba(192,152,111,0.4);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.intro-band__text { min-width: min(100%, 340px); }
.intro-band .btn { flex-shrink: 0; }

/* ============================================================
   CLASSES LIST
   ============================================================ */
.class-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.class-row {
  background: var(--surface);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.9rem 1.9rem;
  transition: background .25s var(--ease);
}
a.class-row { color: inherit; }
.class-row:hover { background: var(--surface-2); }
.class-row:hover .class-row__go { color: var(--accent-deep); transform: translateX(4px); }
.class-row__no {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--accent-deep);
  width: 2.5rem;
}
.class-row__body h3 { font-size: 1.45rem; }
.class-row__body p { color: var(--muted-2); margin-top: .35rem; font-size: .96rem; max-width: 62ch; }
.class-row__meta {
  display: flex; align-items: center; gap: 1.2rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.class-row__go { color: var(--muted); font-size: 1.3rem; transition: transform .25s var(--ease), color .25s var(--ease); }
.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid rgba(192,152,111,0.5);
  border-radius: 100px;
  padding: .25rem .75rem;
  margin-top: .7rem;
}

/* class detail page */
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.detail-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.5rem; }
.detail-list li { display: flex; gap: .7rem; color: var(--muted-2); }
.detail-list li::before { content: "✦"; color: var(--accent); }
.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: sticky; top: 100px; }
.detail-card dl { display: grid; gap: 1rem; margin: 0 0 1.6rem; }
.detail-card dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.detail-card dd { margin: .2rem 0 0; font-size: 1.05rem; color: var(--heading); }
.detail-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.3rem 2rem; display: flex; flex-direction: column; }
.price--featured { border-color: var(--accent); box-shadow: 0 20px 50px -30px rgba(168,124,82,0.6); position: relative; }
.price--featured::before {
  content: "Most popular";
  position: absolute; top: -11px; left: 2rem;
  background: var(--accent); color: #fff;
  font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 100px;
}
.price h3 { font-size: 1.35rem; }
.price__amount { font-family: var(--font-display); font-weight: 400; font-size: 3rem; margin-top: 1rem; line-height: 1; color: var(--heading); }
.price__amount span { font-size: .9rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.price ul { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.price li { font-size: .93rem; color: var(--muted-2); display: flex; gap: .6rem; }
.price li::before { content: "✦"; color: var(--accent); }
.price .btn { margin-top: auto; width: 100%; justify-content: center; }

/* auto-fit plan grid — handles 4+ cards (memberships / class packages) */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; align-items: stretch; }
.price__note { font-size: .82rem; color: var(--muted); margin-top: .4rem; letter-spacing: .04em; }

/* ---------- detail-card pass picker (choose 1 / 5 / 10 then pay) ---------- */
.book-pick { margin-bottom: 1rem; }
.book-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.book-select-wrap { position: relative; }
.book-select-wrap::after {
  content: "▾"; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--accent-deep); font-size: .7rem;
}
.book-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .85rem 2.4rem .85rem 1rem;
  font-family: var(--font-body); font-size: .95rem; color: var(--heading); cursor: pointer;
  transition: border-color .2s var(--ease);
}
.book-select:hover, .book-select:focus { border-color: var(--accent); outline: none; }

/* ============================================================
   WEEKLY TIMETABLE (bookings page)
   ============================================================ */
.timetable-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.timetable { width: 100%; border-collapse: collapse; min-width: 680px; }
.timetable th, .timetable td { border: 1px solid var(--border); padding: .5rem; text-align: center; vertical-align: middle; }
.timetable thead th {
  background: var(--bg-2);
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--heading); padding-block: .85rem;
}
.timetable .tt-corner { background: var(--bg-2); }
.tt-time {
  background: var(--surface-2);
  font-family: var(--font-display); font-size: .95rem; color: var(--accent-deep);
  white-space: nowrap; width: 86px;
}
.tt-class {
  display: block;
  font-size: .78rem; font-weight: 500; line-height: 1.25; letter-spacing: .02em;
  color: var(--heading);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: .55rem .4rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tt-class:hover { background: var(--accent); color: #fff; }
.timetable td:empty::after { content: "·"; color: var(--border); }
.tt-flow { border-left-color: #c0926a; }
.tt-strength { border-left-color: #9c6b3e; }
.tt-found { border-left-color: #cdb08e; }
.tt-mums { border-left-color: #b98a6a; }
.tt-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-size: .8rem; color: var(--muted-2); }
.tt-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.tt-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

/* ============================================================
   BOOKINGS / SCHEDULE
   ============================================================ */
.schedule { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.sched-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--border); transition: background .2s var(--ease); }
.sched-row:last-child { border-bottom: 0; }
.sched-row:hover { background: var(--surface-2); }
.sched-time { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-deep); }
.sched-name { font-weight: 500; color: var(--heading); }
.sched-name small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8rem; letter-spacing: .04em; margin-top: .15rem; }
.sched-book { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--border); border-radius: 100px; padding: .45rem 1rem; transition: border-color .2s, background .2s, color .2s; }
.sched-book:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.day-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.day-tab { font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--border); background: var(--surface); border-radius: 100px; padding: .5rem 1.1rem; cursor: pointer; transition: all .2s var(--ease); }
.day-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.info-row { display: flex; gap: 1rem; padding-block: 1.4rem; border-bottom: 1px solid var(--border); }
.info-row:first-child { padding-top: 0; }
.info-row__icon { color: var(--accent-deep); flex-shrink: 0; margin-top: 2px; font-size: 1.05rem; }
.info-row__label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-row__value { font-size: 1.05rem; margin-top: .25rem; color: var(--text); }
.info-row a:hover { color: var(--accent-deep); }

form .field { margin-bottom: 1.2rem; }
form label { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
form input, form textarea, form select {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: .85rem 1rem;
  transition: border-color .2s var(--ease);
}
form input::placeholder, form textarea::placeholder { color: var(--muted); }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--accent); }
form textarea { resize: vertical; min-height: 130px; }

.map-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 320px; filter: grayscale(.2) sepia(.06); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(150deg, rgba(192,152,111,0.22), rgba(192,152,111,0.06));
  border: 1px solid rgba(192,152,111,0.4);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-banner p { margin: 1rem auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand__logo { height: 54px; width: auto; }
.footer-brand p { color: var(--muted-2); margin-top: 1.1rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 500; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: var(--muted-2); font-size: .95rem; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-block: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--accent-deep); }

/* ---------- powered-by bar (Undersites) — themed to match site ---------- */
.powered-bar { background: #1a1a1a; border-top: 1px solid var(--border); padding-block: 1rem; display: flex; justify-content: center; }
.powered { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; color: #fff; text-transform: uppercase; text-decoration: none; }
.powered img { height: 18px; width: auto; display: block; }
.powered b { color: #fff; font-weight: 600; }
.powered:hover b { color: var(--accent-deep); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards, .price-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid, .detail-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
  .detail-card { position: static; }
  .image-band { background-attachment: scroll; }
  .manifesto__lines p, .manifesto__lines p:nth-child(even) { margin: 0; text-align: left; max-width: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li { width: 100%; flex-wrap: wrap; }
  .nav-links a.nav-link { display: block; width: auto; flex: 1; padding-block: .9rem; }
  .nav-links a.nav-link.active::after { display: none; }
  .has-dropdown { justify-content: space-between; border-bottom: 1px solid var(--border); }
  .dropdown-toggle { font-size: .8rem; padding: .9rem .5rem; }
  /* mobile dropdown = static accordion */
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; width: 100%; min-width: 0;
    background: var(--bg-2); border-radius: 0; padding: 0;
    display: none;
  }
  .has-dropdown.open .dropdown { display: grid; }
  .has-dropdown.open .dropdown-toggle { transform: rotate(180deg); }
  .dropdown a { padding: .85rem 1rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .hero--home { min-height: 86vh; }
}

@media (max-width: 560px) {
  .cards, .price-grid { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: auto 1fr; }
  .class-row__meta { grid-column: 2; }
  .sched-row { grid-template-columns: 80px 1fr; }
  .sched-book { grid-column: 2; justify-self: start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
