/* ======================================
   YOURSPACE WELLBEING — style.css
   by HerSpace London
   ====================================== */

:root {
  --navy:       #1C3461;
  --teal:       #2A9DB5;
  --teal-light: #E6F5F9;
  --grey:       #AAAAAA;
  --grey-mid:   #666666;
  --off-white:  #F7F7F5;
  --white:      #FFFFFF;
  --dark:       #111D2E;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', Arial, sans-serif;
  --radius:     8px;
  --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ======================================
   SPLASH
   ====================================== */
#splash {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.9s ease;
}
#splash.fade-out { opacity: 0; }
#splash-logo {
  width: 480px;
  max-width: 82vw;
  animation: splashIn 1s ease forwards;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================
   SITE WRAPPER
   ====================================== */
#site {
  opacity: 0;
  transition: opacity 0.7s ease;
}
#site.visible { opacity: 1; }

/* ======================================
   HEADER
   ====================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  padding: 0 48px;
}
header.scrolled {
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.header-logo img {
  height: 120px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
header nav a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  transition: opacity 0.2s;
}
header nav a:hover { opacity: 1; }
header nav a.nav-btn {
  opacity: 1;
  background: var(--navy);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
header nav a.nav-btn:hover { background: var(--teal); }

/* ======================================
   BUTTONS
   ====================================== */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-ghost-light {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-sm { padding: 10px 22px; font-size: 10px; }
.btn-disabled { opacity: 0.45; pointer-events: none; }

/* ======================================
   HERO
   ====================================== */
#hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/studio-hero.png') center center / cover no-repeat;
  position: relative;
  padding: 100px 48px;
  text-align: center;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 52, 97, 0.62);
}
.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 28px;
}
.hero-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 20px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================================
   SECTION SHARED
   ====================================== */
section { padding: 112px 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-mid);
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 60px;
}

/* ======================================
   PROGRAMMES
   ====================================== */
#programmes { background: var(--white); }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.prog-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s;
}
.prog-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.prog-card.featured {
  border-color: var(--navy);
  background: var(--off-white);
}
.prog-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  width: fit-content;
}
.prog-badge.badge-teal { background: var(--teal); }
.prog-badge.badge-grey { background: var(--grey-mid); }

.prog-card h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
}
.prog-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey-mid);
  font-weight: 300;
  flex-grow: 1;
}
.prog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prog-tags span {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 12px;
  border-radius: 20px;
}
.prog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: auto;
}
.prog-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prog-price {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.prog-per {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.6;
}
.prog-annual {
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.3px;
}
.prog-annual em {
  font-style: normal;
  opacity: 0.7;
}

/* ======================================
   ABOUT
   ====================================== */
#about {
  background: var(--navy);
}
#about .section-label { color: rgba(255,255,255,0.45); }
#about h2 { color: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 480px;
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual img {
  width: 100%;
  max-width: 420px;
  opacity: 0.85;
}

/* ======================================
   FOOTER
   ====================================== */
footer {
  background: var(--dark);
  padding: 60px 48px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-mark {
  height: 44px;
  width: auto;
  opacity: 0.75;
}
.footer-name {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  margin-bottom: 3px;
}
.footer-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.3px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ======================================
   PHILOSOPHY
   ====================================== */
#philosophy { background: var(--off-white); }
.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.philosophy-p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey-mid);
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 500px;
}
.philosophy-standout {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 18px;
  max-width: 500px;
}
.philosophy-image img {
  width: 100%;
  border-radius: 12px;
  filter: grayscale(100%);
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

/* ======================================
   TEAM
   ====================================== */
#team { background: var(--white); }

.founder-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  display: block;
}
.founder-role {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.founder-name {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 6px;
}
.founder-credentials {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  font-style: italic;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey-mid);
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 520px;
}

.instructors-intro-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-mid);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 48px;
}
.instructors-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.instructor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.instructor-photo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.instructor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  display: block;
}
.instructor-photo-wrap img:hover { filter: grayscale(0%); }
.instructor-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
}

/* ======================================
   TESTIMONIALS
   ====================================== */
#testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial-attribution {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { display: none; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-image { display: none; }
  .founder-block { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { width: 180px; margin: 0 auto; }
  .founder-name { font-size: 36px; }
}
@media (max-width: 768px) {
  header { padding: 0 24px; }
  header nav a:not(.nav-btn) { display: none; }
  header nav { gap: 0; }
  #hero { padding: 72px 24px; min-height: auto; }
  section { padding: 80px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .instructors-row { gap: 28px; flex-wrap: wrap; justify-content: center; }
  .instructor-photo-wrap { width: 120px; height: 120px; }
}
