/* ============================================================
   PIYUSH DENGRA — DESIGN SYSTEM
   James Clear aesthetic:
   · Off-white #F9F8F4 background (exact James Clear)
   · #111111 text
   · Playfair Display serif for headlines (warmth + elegance)
   · Inter for body
   · Golden-yellow CTAs (#F0B429) — like James Clear's yellow buttons
   · Warm hairline borders
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  /* ── Palette ── */
  --bg:           #F9F8F4;   /* James Clear's exact off-white */
  --bg-white:     #ffffff;
  --bg-subtle:    #F2EFE9;   /* slightly darker cream for cards/boxes */
  --border:       #E4DDD4;   /* warm hairline */

  --text:         #111111;
  --text-mid:     #3d3a36;
  --text-light:   #888070;   /* warm grey */

  /* ── James Clear Yellow (CTA) ── */
  --yellow:       #F0B429;
  --yellow-hover: #D9A020;
  --yellow-text:  #111111;   /* dark text on yellow — JC style */

  /* ── Supplementary ── */
  --wa-green:     #25D366;
  --serif:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max-w:        680px;
  --max-w-wide:   960px;
  --radius-pill:  9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
a:hover { text-decoration-color: var(--text); }

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
/* Hero H1 — clean non-italic serif */
.hero h1 {
  font-style: normal;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}
p {
  margin-bottom: 1.1rem;
  color: var(--text-mid);
}
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--text); }

/* ── LAYOUT ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.35rem; }
.container--wide { width: 100%; max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.35rem; }
section { padding: 3rem 0; }

/* ── DIVIDERS ── */
.divider { width: 100%; height: 1px; background: var(--border); }

/* ================================================================
   HEADER — name left-aligned, yellow Book CTA right, hamburger
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

/* Left label */
.header-city {
  display: none !important;
}

/* Logo Left */
.header-logo {
  text-align: left;
  text-decoration: none;
}
.header-logo:hover { text-decoration: none; }
.header-logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1;
  letter-spacing: 0.01em;
}
.header-logo-sub {
  font-size: 0.55rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .header-logo-sub { font-size: 0.5rem; }
}

/* Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── YELLOW PILL BUTTON (James Clear style) ── */
.btn-book-nav {
  background: var(--yellow);
  color: var(--yellow-text) !important;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.48rem 1.05rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}
.btn-book-nav:hover { background: var(--yellow-hover); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed;
  top: 58px; right: 0; bottom: 0;
  width: min(280px, 88vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.15s;
}
.nav-drawer a:hover { color: var(--text-light); }
.nav-drawer a.nav-book {
  margin-top: 1.5rem;
  background: var(--yellow);
  color: var(--yellow-text) !important;
  text-align: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border-bottom: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(17,17,17,0.12);
  z-index: 98; display: none;
}
.nav-overlay.open { display: block; }

/* ================================================================
   HERO
   ================================================================ */
.hero { padding: 2.75rem 0 2.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.25rem;
  align-items: start;
}
@media (max-width: 500px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-col { display: flex; justify-content: center; order: -1; }
  /* §9: Reduce hero headline + tagline on mobile to prevent awkward line breaks */
  .hero h1 { font-size: 1.875rem; line-height: 1.2; } /* ≈ text-3xl (30px) */
  .hero-tagline { font-size: 1.125rem; }              /* ≈ text-lg (18px) */
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.65rem;
}
.hero h1 { margin-bottom: 0.4rem; }
.hero-tagline {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  margin-top: 0.2rem;
}
.hero-bio {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.hero-photo-col { flex-shrink: 0; text-align: center; }
.hero-photo {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: block;
  overflow: hidden;
}
@media (min-width: 501px) { .hero-photo { width: 148px; height: 148px; } }
.hero-photo-caption {
  display: none;
}

/* ── Pull quote ── */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--text);
  border-left: 3px solid var(--yellow);
  padding: 0.5rem 0 0.5rem 1.25rem;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services { padding: 3rem 0 4.5rem; } /* §3: added bottom breathing room below services section */
.services-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}
.service-row {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1.5rem;
}
.service-row:last-of-type { border-bottom: 1px solid var(--border); }
.service-info { flex: 1; min-width: 200px; }
.service-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.service-detail {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}
.service-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.service-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* ── Yellow Book Now pill ── */
.btn-book {
  background: var(--yellow);
  color: var(--yellow-text) !important;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}
.btn-book:hover { background: var(--yellow-hover); transform: translateY(-1px); }

/* Policy box */
.policy-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.policy-box strong { color: var(--text); }
.upi-note {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
  display: block;
}

/* §2: City page referral links (Internship + Workshop) replacing Couples Therapy */
.service-referral-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.service-referral-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.15s;
  display: inline-block;
}
.service-referral-link:hover {
  border-color: var(--text);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

/* ================================================================
   LIBRARY PREVIEW
   ================================================================ */
.library-preview { padding: 3rem 0; }
.library-desc { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 1.25rem; }
.category-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.chip {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.15s;
  background: var(--bg-white);
}
.chip:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-text);
  text-decoration: none;
}
.link-read-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
  transition: border-color 0.15s, color 0.15s;
}
.link-read-all:hover { color: var(--text-light); border-color: var(--text-light); text-decoration: none; }
.link-read-all::after { content: '\2192'; font-family: var(--sans); }

/* ================================================================
   RESOURCES — horizontal scroll on mobile
   ================================================================ */
.resources { padding: 3rem 0; }
.resources-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 1.25rem -1.35rem 0;
  padding: 0 1.35rem 0.5rem;
}
.resources-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .resources-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    overflow-x: visible;
    margin: 1.25rem 0 0;
    padding: 0;
  }
}
.resource-card {
  flex: 0 0 175px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 1rem 1rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.resource-card:hover { border-color: var(--yellow); box-shadow: 0 2px 12px rgba(240,180,41,0.12); text-decoration: none; }
.resource-card__icon { font-size: 1.2rem; margin-bottom: 0.5rem; }
.resource-card__title {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.resource-card__type {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (min-width: 640px) { .resource-card { flex: unset; } }

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews { padding: 3rem 0; }
.reviews-google-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-top: 1rem;
  background: var(--bg-white);
  transition: all 0.15s;
}
.reviews-google-link:hover { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-text); text-decoration: none; }
.review-list {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  padding: 0.25rem 1.35rem 0.75rem;
  scroll-snap-type: x mandatory;
}
.review-list::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 280px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 1.15rem 1.35rem;
  border-radius: 4px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s, border-color 0.2s;
}
.review-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}
@media (min-width: 640px) {
  .review-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .review-card {
    flex: unset;
  }
}
.review-stars { font-size: 0.78rem; color: var(--yellow); letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.review-text { font-family: var(--serif); font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; font-style: italic; margin-bottom: 0.4rem; }
.review-author { font-size: 0.72rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.35rem 3rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 0.82rem; color: var(--text-light); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; }
.footer-socials a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-socials a:hover { color: var(--text); }
.footer-google {
  font-size: 0.72rem;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  transition: all 0.15s;
}
.footer-google:hover { border-color: var(--yellow); color: var(--text); }
.footer-copy { font-size: 0.68rem; color: var(--text-light); }

/* ================================================================
   FLOATING WHATSAPP
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 200;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 5px 20px rgba(37,211,102,0.45); text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ================================================================
   LIBRARY PAGE
   ================================================================ */
.library-page { padding: 3rem 0; }
.lib-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.lib-cat-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}
.lib-cat-btn.active,
.lib-cat-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-text); }
.lib-category { display: none; }
.lib-category.active { display: block; }
.lib-category h2 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.lib-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.25rem; }
.lib-quotes { border-top: 1px solid var(--border); }
.lib-quote {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--yellow);
  background: var(--bg-white);
  border-radius: 0 4px 4px 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-style: italic;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.lib-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.lib-quotes { border-top: none; padding-top: 1.25rem; }
.lib-quote-empty { padding: 2rem 0; font-size: 0.88rem; color: var(--text-light); font-style: italic; }

/* ================================================================
   RESOURCES PAGE
   ================================================================ */
.resources-page { padding: 3rem 0; }
.video-section { margin-bottom: 3rem; }
.video-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  display: block;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.video-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.video-card:hover { border-color: var(--yellow); box-shadow: 0 2px 12px rgba(240,180,41,0.1); text-decoration: none; }
.video-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-subtle);
  position: relative; overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17,17,17,0.1);
}
.video-play-btn span {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(240,180,41,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--yellow-text); line-height: 1;
}
.video-info { padding: 0.85rem 0.9rem; }
.video-info h4 {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.15rem;
  line-height: 1.4;
}
.video-info p { font-size: 0.7rem; color: var(--text-light); margin: 0; }

/* ================================================================
   INTERNSHIP PAGE
   ================================================================ */
.internship-page { padding: 3rem 0; }
.playlist-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: color 0.15s;
}
.playlist-link:hover { color: var(--text-mid); text-decoration: none; }
.playlist-link:first-of-type { border-top: 1px solid var(--border); }
.playlist-icon { font-size: 1.1rem; flex-shrink: 0; }
.playlist-name { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; }
.playlist-arrow { margin-left: auto; color: var(--text-light); font-size: 0.85rem; }

/* ================================================================
   ADMIN
   ================================================================ */
.admin-login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.35rem;
  background: var(--bg-subtle);
}
.admin-login-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  width: 100%; max-width: 360px;
  text-align: center;
}
.admin-login-card h1 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.admin-login-card > p { font-size: 0.82rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label {
  display: block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.92rem; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  width: 100%; outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--text); }

.btn-primary {
  width: 100%;
  background: var(--yellow);
  color: var(--yellow-text);
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; padding: 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.btn-primary:hover { background: var(--yellow-hover); }

.form-error { font-size: 0.78rem; color: #b83232; margin-top: 0.75rem; display: none; }
.form-error.show { display: block; }

/* Dashboard */
.admin-wrap { min-height: 100vh; background: var(--bg); }
.admin-topbar {
  background: var(--text);
  color: var(--bg);
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar h1 { font-family: var(--serif); color: var(--bg); font-size: 1rem; }
.admin-topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.admin-user { font-size: 0.72rem; color: rgba(249,248,244,0.6); }
.btn-logout {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: none; color: rgba(249,248,244,0.8);
  border: 1px solid rgba(249,248,244,0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer; transition: all 0.15s;
}
.btn-logout:hover { background: rgba(249,248,244,0.1); color: var(--bg); }

.admin-tabs-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  display: flex;
}
.admin-tab-btn {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-light);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 1.25rem;
  cursor: pointer; transition: all 0.15s;
}
.admin-tab-btn.active { color: var(--text); border-bottom-color: var(--yellow); }

.admin-body { max-width: 740px; padding: 2rem 1.5rem; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-panel h2 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.admin-panel > p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.75rem; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.price-table th {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
  padding: 0.5rem 0.75rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table td { padding: 0.8rem 0.75rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; vertical-align: middle; }
.price-table input[type="number"] {
  font-family: var(--sans); font-size: 0.88rem;
  border: 1px solid var(--border);
  padding: 0.35rem 0.5rem; width: 90px;
  outline: none; transition: border-color 0.15s;
  background: var(--bg);
}
.price-table input:focus { border-color: var(--text); }

.btn-save {
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer; margin-top: 1.25rem;
  transition: background 0.15s;
}
.btn-save:hover { background: var(--yellow-hover); }
.save-msg { font-size: 0.78rem; color: #2d7a3f; margin-top: 0.6rem; display: none; }
.save-msg.show { display: block; }

/* Calendar */
.cal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-header .cal-month { font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.cal-nav {
  background: none; border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  cursor: pointer; font-size: 0.88rem;
  font-family: var(--sans); border-radius: var(--radius-pill);
  color: var(--text); transition: all 0.15s;
}
.cal-nav:hover { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-text); }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; max-width: 330px;
}
.cal-day-label {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-light); text-align: center; padding: 0.4rem 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; cursor: pointer;
  border: 1px solid transparent;
  background: var(--bg-white); color: var(--text);
  font-family: var(--sans); transition: all 0.15s;
}
.cal-day:hover { border-color: var(--yellow); }
.cal-day.blocked { background: var(--text); color: var(--bg); }
.cal-day.past { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.cal-day.empty { background: none; border: none; cursor: default; }
.cal-legend { display: flex; gap: 1.5rem; margin-top: 0.85rem; font-size: 0.72rem; color: var(--text-light); }
.cal-legend-dot { display: inline-block; width: 10px; height: 10px; border: 1px solid var(--text); vertical-align: middle; margin-right: 0.3rem; }
.cal-legend-dot.blocked-dot { background: var(--text); }

/* ================================================================
   UTILITIES
   ================================================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Sub-page header */
.page-header {
  padding: 2.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-header h1 { margin-bottom: 0.4rem; }
.page-header p { font-size: 0.92rem; color: var(--text-mid); }

/* ── Inline section divider with label ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-header h2 { margin-bottom: 0; }
.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ================================================================
   SOCIAL ICON LINKS
   ================================================================ */
.footer-social-icons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.25rem; }
.footer-social-icons a {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  transition: all 0.15s;
}
.footer-social-icons a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-text); text-decoration: none; }

/* ================================================================
   VIDEOS PAGE — vertical list layout
   ================================================================ */
.videos-page { }
.video-list { margin-top: 1.5rem; }
.video-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.15s;
}
.video-list-item:first-child { border-top: 1px solid var(--border); }
.video-list-item:hover { opacity: 0.75; text-decoration: none; }
.video-list-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 68px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.video-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-list-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17,17,17,0.12);
}
.video-list-play span {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(240,180,41,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--yellow-text);
}
.video-list-info { flex: 1; min-width: 0; }
.video-list-info h3 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.35;
  text-transform: none;
}
.video-list-info p { font-size: 0.72rem; color: var(--text-light); margin: 0; }

/* Playlist cards */
.playlist-grid { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.playlist-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.playlist-card:hover { border-color: var(--yellow); text-decoration: none; }
.playlist-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.playlist-card-info h3 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.1rem;
  text-transform: none;
  letter-spacing: 0;
}
.playlist-card-info p { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.playlist-card-arrow { margin-left: auto; color: var(--text-light); font-size: 0.9rem; }

/* Terms / Privacy pages */
.legal-page { padding: 3rem 0; }
.legal-page h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.75rem; }
.legal-page .legal-updated { font-size: 0.75rem; color: var(--text-light); margin-bottom: 2.5rem; }
.legal-body h2 { font-size: 1rem; margin-top: 2rem; margin-bottom: 0.4rem; }
.legal-body p, .legal-body li { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; }
.legal-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Workshop page */
.workshop-page { }

/* Footer legal links */
.footer-legal { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.68rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--text); }

/* ================================================================
   HEADER SOCIALS
   ================================================================ */
.header-socials-top {
  display: flex;
  gap: 0.65rem;
  margin-right: 1.25rem;
  align-items: center;
}
.header-socials-top a {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
.header-socials-top a:hover {
  color: var(--text);
  text-decoration: none;
}
@media (max-width: 768px) {
  .header-socials-top {
    display: none; /* Hide on mobile/tablet to keep header clean and prevent logo wrapping */
  }
}

