/* CTRL — shared site styles */
:root {
  --studio-black: #0A0A0A;
  --clean-white: #FFFFFF;
  --off-white: #F4F3F1;
  --cobalt: #1A56DB;
  --navy: #1E3A8A;
  --sky: #93C5FD;
  --infrared: #D0262A;
  --flush: #E84545;
  --blush: #FF8A80;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--studio-black);
  color: var(--clean-white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, .serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--studio-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-logo img { height: 26px; display: block; }
nav { display: flex; align-items: center; gap: 26px; }
nav a {
  color: var(--clean-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
nav a:hover { color: var(--sky); }
nav a.active { border-bottom: 1px solid var(--sky); padding-bottom: 2px; }
.pill {
  display: inline-block;
  background: var(--cobalt);
  color: var(--clean-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 32px;
  border-radius: 9999px;
  border: none;
  white-space: nowrap;
}
.pill:hover { background: var(--navy); color: var(--clean-white); }

/* ---------- Hero (homepage) ---------- */
.hero {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  background: var(--studio-black);
}
.hero-logo img { width: min(315px, 80vw); display: block; margin: 0 auto; }
.tagline {
  margin-top: 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(30px, 5.5vw, 54px);
  line-height: 1.1;
  min-height: 1.2em;
  transition: opacity 0.6s ease;
}
.opening-line {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sky);
}
.hero .pill { margin-top: 36px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 72px 24px 0; text-align: left; }

/* ---------- Sections ---------- */
section { padding: 88px 24px; }
.light { background: var(--off-white); color: var(--studio-black); }
.dark { background: var(--studio-black); color: var(--clean-white); }
.inner { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 1.05;
}
.light p, .light li { color: #262626; }
section p + p { margin-top: 16px; }

/* ---------- Classes ---------- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.class-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 4px solid var(--clean-white);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.class-card.red { border-top-color: var(--infrared); }
.class-card.white { border-top-color: var(--clean-white); }
.class-card.sky { border-top-color: var(--sky); }
.class-card.cobalt { border-top-color: var(--cobalt); }
.class-card.navy { border-top-color: var(--navy); }
.class-kind {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
}
.class-card h3 { font-size: 30px; font-weight: 600; margin-bottom: 12px; }
.class-card p { font-size: 15px; color: rgba(255,255,255,0.82); }
.class-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.6); }
.class-note strong { color: rgba(255,255,255,0.85); }

/* ---------- Bio ---------- */
.certs { margin-top: 28px; }
.certs h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.certs ul { list-style: none; }
.certs li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,10,10,0.14);
  font-size: 15px;
}

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.visit-grid h3 {
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: var(--sky);
}
.visit-grid p, .visit-grid a { color: rgba(255,255,255,0.85); font-size: 16px; }
.visit-grid a { text-decoration: none; }
.visit-grid a:hover { color: var(--clean-white); text-decoration: underline; }

/* ---------- Schedule (Walla widget slot) ---------- */
.schedule-slot {
  margin-top: 40px;
  border: 1px dashed rgba(255,255,255,0.28);
  padding: 56px 24px;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
}

/* ---------- Join form ---------- */
.join-form { margin-top: 32px; max-width: 460px; }
.hidden-field { display: none; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  color: var(--studio-black);
}
.form-row input {
  width: 100%;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--studio-black);
  background: var(--off-white); /* brand rule: don't mix Clean White into an Off-White section */
  border: 1px solid rgba(10,10,10,0.35);
  border-radius: 0;
}
.form-row input:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 0;
  border-color: var(--cobalt);
}
.join-form .pill { margin-top: 6px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.form-privacy { margin-top: 16px; font-size: 13px; color: #555; }
.form-privacy a { color: var(--cobalt); }

/* ---------- Footer (site-wide: Visit info + legal) ---------- */
footer {
  background: var(--studio-black);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 64px 48px 32px;
}
.footer-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-grid h3 {
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: var(--sky);
}
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.85); font-size: 15px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--clean-white); text-decoration: underline; }
.footer-bottom {
  max-width: 1040px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}
footer .legal { font-size: 12.5px; color: rgba(255,255,255,0.55); }
footer nav { gap: 22px; }
footer nav a { font-size: 12px; }

@media (max-width: 700px) {
  header {
    padding: 14px 16px;
    gap: 12px;
  }
  .nav-logo img { height: 18px; }
  nav {
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-end;
  }
  nav a { font-size: 10.5px; letter-spacing: 0.05em; white-space: nowrap; }
  nav .pill { display: none; } /* hero button + footer links cover Join on mobile */
}
@media (max-width: 380px) {
  .nav-logo img { height: 15px; }
  nav { gap: 9px; }
  nav a { font-size: 9.5px; letter-spacing: 0.03em; }
  .hero .pill {
    white-space: normal;
    max-width: 92%;
    line-height: 1.5;
    padding: 12px 24px;
    border-radius: 26px;
    text-align: center;
  }
  footer { padding: 48px 20px 28px; }
  section { padding: 64px 20px; }
}
