/* ==========================================================================
   Dhyana Dubai — front-end styles (layout & tokens follow the Serena template)
   ========================================================================== */
:root {
  /* Palette: Misty eucalyptus (soft, chosen 2026-10-19) */
  --green: #5a7769;        /* headings, green sections, outline buttons */
  --green-dark: #4f6b5e;   /* footer, stats band, featured card */
  --green-soft: #a7c0b3;   /* mid eucalyptus, rules and accents */
  --cream: #f6f8f5;        /* page background */
  --sand: #e3ece6;         /* cards, pricing, contact */
  --sand-2: #edf2ee;       /* light buttons, condensed header */
  --coral: #e6bfa2;        /* soft peach: primary buttons and small accents */
  --coral-hover: #ddad8b;
  --coral-ink: #6a4532;    /* text on peach */
  --coral-dark: #9a5e3d;   /* peach-family text on light backgrounds */
  --ink: #33413b;
  --text: rgba(45, 60, 54, 0.86);
  --muted: rgba(58, 74, 67, 0.88);
  --line: rgba(79, 107, 94, 0.25);
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --script: "Caveat", cursive;

  --wrap: 1280px;
  --gutter: 80px;
  --radius: 12px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--cream); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12.24px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.eyebrow--light { color: rgba(246, 248, 245, 0.85); }
.display, .h1, .h2, .h3 { font-family: var(--serif); color: var(--green); letter-spacing: -0.02em; }
.display { font-size: clamp(56px, 7.5vw, 108px); line-height: 1.1; font-weight: 300; }
.h1 { font-size: clamp(48px, 5.6vw, 81px); line-height: 1.1; font-weight: 300; letter-spacing: -0.015em; }
.h2 { font-size: clamp(40px, 4.75vw, 68px); line-height: 1.1; font-weight: 500; }
.h3 { font-size: clamp(30px, 3vw, 43px); line-height: 1.2; font-weight: 600; letter-spacing: 0; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text); }
.small { font-size: 15.3px; line-height: 1.5; color: var(--muted); }
.script { font-family: var(--script); font-size: 27px; line-height: 1.2; color: var(--green); }
.on-dark { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 51px; padding: 0 24px; border-radius: var(--radius); border: 0; cursor: pointer;
  font-size: 15.75px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--coral { background: var(--coral); color: var(--coral-ink); }
.btn--coral:hover { background: var(--coral-hover); }
.btn--sand { background: var(--sand-2); color: var(--green); }
.btn--sand:hover { background: #fff; }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-dark); }
.btn--pill { border-radius: 99px; height: 43px; padding: 0 24px; }
.btn--outline { background: transparent; color: var(--green); border: 1px solid var(--line); border-radius: 99px; height: 43px; }
.btn--outline:hover { border-color: var(--green); background: rgba(79, 107, 94, 0.06); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0; transition: padding 0.45s var(--ease);
}
.nav {
  width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 43px; border-radius: 99px;
  transition: width 0.55s var(--ease), background 0.45s var(--ease), padding 0.45s var(--ease),
    height 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--green); }
.brand__logo { display: block; height: 64px; width: auto; transition: height 0.45s var(--ease); }
.site-header.is-scrolled .brand__logo { height: 46px; }
.drawer__top .brand__logo { height: 56px; }
.footer-brand .brand__logo { height: 110px; }
/* The logo's wordmark is white in the original file: use the green-text copy on light backgrounds */
.brand__logo--on-dark { display: none; }
.site-header--light:not(.is-scrolled) .brand__logo--on-light,
.drawer .brand__logo--on-light, .footer-brand .brand__logo--on-light { display: none; }
.site-header--light:not(.is-scrolled) .brand__logo--on-dark,
.drawer .brand__logo--on-dark, .footer-brand .brand__logo--on-dark { display: block; }
.nav__links { display: flex; gap: 40px; font-size: 15.75px; color: var(--ink); }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links { align-items: center; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__chev { width: 10px; height: 7px; transition: transform 0.3s var(--ease); }
.has-sub:hover .nav__chev, .has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.has-sub::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; } /* hover bridge to the menu */
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 220px; padding: 10px; display: grid; gap: 2px;
  background: var(--cream); border-radius: 16px; box-shadow: 0 18px 40px rgba(30, 42, 37, 0.14), 0 0 0 1px rgba(79, 107, 94, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { color: var(--ink); padding: 10px 14px; border-radius: 10px; font-size: 15px; white-space: nowrap; transition: background 0.2s; }
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: var(--sand-2); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 43px; height: 43px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform 0.3s; }

/* light header over hero/dark bands */
.site-header--light:not(.is-scrolled) .brand,
.site-header--light:not(.is-scrolled) .nav__links,
.site-header--light:not(.is-scrolled) .nav__toggle { color: var(--cream); }

/* condensed pill after scroll */
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .nav {
  width: min(100% - 32px, 980px); height: 59px; padding: 0 8px 0 32px;
  background: rgba(237, 242, 238, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 5px rgba(237, 242, 238, 0.45);
}
.site-header.is-scrolled .nav__links { gap: 32px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--green-dark); color: var(--cream);
  display: flex; flex-direction: column; padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top .brand { color: var(--cream); }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 248, 245, 0.3); background: none; color: var(--cream); font-size: 22px; cursor: pointer; }
.drawer { overflow-y: auto; }
.drawer nav { margin: 32px 0; display: grid; gap: 2px; }
.drawer nav a { font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1.35; }
.drawer .btn { margin-top: auto; }

/* ---------- Sections ---------- */
.section { padding: 140px 0; }
.section--tight { padding: 100px 0; }
.section-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.section-head .eyebrow { margin-bottom: 24px; display: block; }
.section-head .lead { margin-top: 24px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.split-head .eyebrow { display: block; margin-bottom: 24px; }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 14% 14%;
  display: flex; align-items: center;
  background: #5f7d6f;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-active { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 42, 37, 0.62) 0%, rgba(30, 42, 37, 0.3) 45%, rgba(30, 42, 37, 0) 75%),
              linear-gradient(180deg, rgba(30, 42, 37, 0.35) 0%, rgba(30, 42, 37, 0) 22%);
}
.hero__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 12vh; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 7.5vw, 108px); line-height: 1.1; letter-spacing: -0.02em; color: var(--cream); }
.hero__title em { display: block; font-style: italic; }
.hero__text { max-width: 360px; margin: 24px 0 36px; font-size: 18px; line-height: 1.7; color: var(--cream); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 17vh; display: flex; align-items: center; gap: 14px;
  font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 248, 245, 0.85);
}
.hero__sound {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 248, 245, 0.5);
  background: rgba(246, 248, 245, 0.08); display: grid; place-items: center; cursor: pointer; color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.3s;
}
.hero__sound:hover { background: rgba(246, 248, 245, 0.2); }
.hero__sound svg { width: 18px; height: 18px; }

/* ---------- Philosophy ---------- */
.philosophy { padding: 150px 0 140px; text-align: center; }
.philosophy .h2 { color: var(--green); max-width: 760px; margin: 24px auto 0; }
.philosophy .lead { max-width: 480px; margin: 32px auto 0; }
.sparkle { width: 22px; height: 22px; color: var(--green); margin: 0 auto; }

/* ---------- Studio panel ---------- */
.studio-panel {
  position: relative; background: var(--green); border-radius: var(--radius-lg);
  padding: 130px 80px 80px; text-align: center; overflow: hidden;
}
.studio-panel .h1 { color: var(--cream); }
.studio-panel .lead { color: rgba(246, 248, 245, 0.8); max-width: 380px; margin: 28px auto 64px; }
.studio-panel__flower { position: absolute; right: -150px; top: -40px; width: 460px; opacity: 0.55; pointer-events: none; }
.studio-panel__leaf { position: absolute; left: -40px; bottom: -10px; width: 240px; opacity: 0.6; pointer-events: none; }

.carousel { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9.2; background: var(--green-dark); }
.carousel__track { display: flex; height: 100%; transition: transform 0.9s var(--ease); }
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(51, 65, 59, 0.55); color: #fff; display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.3s;
}
.carousel__btn:hover { background: rgba(51, 65, 59, 0.8); }
.carousel__btn svg { width: 16px; height: 16px; }
.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }
.carousel__dots {
  position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; gap: 8px;
  padding: 7px 10px; border-radius: 99px; background: rgba(51, 65, 59, 0.35);
}
.carousel__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.5); cursor: pointer; }
.carousel__dots button.is-active { background: #fff; }

/* ---------- Class arches ---------- */
.class-rail-wrap { position: relative; }
.class-rail {
  display: flex; gap: 64px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter);
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent);
          mask: linear-gradient(90deg, #000 85%, transparent);
}
.class-rail::-webkit-scrollbar { display: none; }
.arch-card {
  flex: 0 0 334px; scroll-snap-align: start; position: relative;
  border: 1px solid var(--green); border-radius: 999px 999px 0 0; padding: 10px 10px 10px;
  transition: transform 0.5s var(--ease);
}
.arch-card:hover { transform: translateY(-6px); }
.arch-card__img { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 314 / 380; background: var(--sand); }
.arch-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-card:hover .arch-card__img img { transform: scale(1.05); }
.arch-card__body { background: var(--white); text-align: center; padding: 30px 24px 24px; min-height: 240px; display: flex; flex-direction: column; align-items: center; }
.arch-card__title { font-family: var(--serif); font-weight: 600; font-size: 26.1px; line-height: 1.3; color: var(--green); }
.arch-card__rule { width: 64px; height: 1px; background: var(--green); opacity: 0.5; margin: 16px auto 18px; }
.arch-card__text { font-size: 15.3px; line-height: 1.5; color: var(--muted); max-width: 200px; }
.arch-card .btn { margin-top: auto; }
.rail-btn {
  position: absolute; right: 0; top: 46%; width: 40px; height: 40px; border-radius: 50%; border: 0; z-index: 2;
  background: rgba(51, 65, 59, 0.75); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.rail-btn--prev { right: auto; left: -20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.rail-btn--prev.is-visible { opacity: 1; pointer-events: auto; }
.rail-btn svg { width: 16px; height: 16px; }

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative; padding: 130px 0 150px; overflow: hidden; background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 1px, transparent 1px 4px);
}
.testimonials__head { text-align: center; position: relative; margin-bottom: 72px; }
.testimonials__head .h1 { color: var(--cream); position: relative; z-index: 1; }
.testimonials__head .sparkle { color: var(--cream); width: 36px; height: 44px; margin-bottom: 10px; position: relative; z-index: 1; }
.brush { position: absolute; left: 50%; top: -150px; translate: -50% 0; width: 470px; z-index: 0; opacity: 0.9; pointer-events: none; }
.marquee { display: flex; gap: 64px; width: max-content; animation: marquee 60s linear infinite; padding: 40px 0; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.polaroid {
  width: 360px; background: var(--white); border-radius: 10px; padding: 16px 16px 20px;
  box-shadow: 0 18px 40px rgba(20, 35, 32, 0.25); flex: 0 0 auto;
}
.polaroid:nth-child(odd) { transform: translateY(-32px) rotate(-1.2deg); }
.polaroid:nth-child(even) { transform: translateY(32px) rotate(1deg); }
.polaroid__img { aspect-ratio: 325 / 255; overflow: hidden; border-radius: 3px; background: var(--sand); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid p { font-size: 15.3px; line-height: 1.5; color: var(--muted); margin-top: 20px; min-height: 92px; }
.polaroid .script { text-align: right; color: #111; margin-top: 8px; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 24px; }
.journal-side { display: grid; gap: 40px; align-content: start; }
.post-card__img { border-radius: 20px; overflow: hidden; background: var(--sand); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card--feature .post-card__img { aspect-ratio: 837 / 790; }
.post-card--side .post-card__img { aspect-ratio: 419 / 236; }
.post-card .eyebrow { display: block; margin: 36px 0 20px; }
.post-card--side .eyebrow { margin: 36px 0 18px; }
.post-card__title { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: 26.1px; line-height: 1.3; }
.post-card--feature .post-card__title { font-size: 43.2px; line-height: 1.2; }
.post-card__excerpt { margin-top: 16px; color: var(--text); max-width: 620px; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; text-align: center; padding: 140px 0 220px; }
.cta .display { margin: 24px 0 36px; }
.cta__flower { position: absolute; right: 12%; bottom: -30px; width: 190px; z-index: 2; pointer-events: none; }
.site-footer { position: relative; background: var(--green-dark); color: var(--cream); padding: 60px 0 40px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -180px; height: 181px; background: var(--green-dark);
  -webkit-mask: radial-gradient(54% 180px at 50% 0, transparent 99.5%, #000 100%);
          mask: radial-gradient(54% 180px at 50% 0, transparent 99.5%, #000 100%);
}
.page--sand .site-footer::before { background: var(--green-dark); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-col .eyebrow { color: var(--cream); display: block; margin-bottom: 36px; }
.footer-links { display: grid; gap: 14px; font-size: 16px; }
.footer-links a { opacity: 0.9; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.newsletter { display: flex; gap: 8px; margin-top: 24px; }
.newsletter input {
  flex: 1; min-width: 0; height: 52px; border-radius: var(--radius); border: 1px solid rgba(246, 248, 245, 0.7);
  background: transparent; padding: 0 16px; color: var(--cream); outline: none;
}
.newsletter input::placeholder { color: rgba(246, 248, 245, 0.8); }
.newsletter input:focus { border-color: var(--cream); }
.newsletter .btn { width: 203px; justify-content: center; height: 52px; }
.footer-contact { margin-top: 36px; font-size: 15.3px; line-height: 1.9; opacity: 0.9; }
.footer-brand { display: flex; align-items: center; gap: 36px; margin: 80px 0 28px; }
.footer-brand::before, .footer-brand::after { content: ""; flex: 1; height: 1px; background: rgba(246, 248, 245, 0.35); }
.footer-brand .brand { color: var(--cream); }
.footer-tag { text-align: center; max-width: 360px; margin: 0 auto; font-size: 15.3px; line-height: 1.5; opacity: 0.85; }
.socials { display: flex; justify-content: center; gap: 22px; margin-top: 32px; }
.socials a { width: 26px; height: 26px; opacity: 0.9; transition: opacity 0.2s, transform 0.2s; }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 64px; font-size: 15.3px; opacity: 0.85; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-credit a:hover { opacity: .75; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 200px 0 100px; text-align: center; }
.page-hero .eyebrow { display: block; margin-bottom: 24px; }
.page-hero .lead { max-width: 560px; margin: 24px auto 0; }
.page-hero--green { background: var(--green); color: var(--cream); text-align: left; position: relative; overflow: hidden; padding: 200px 0 130px; }
.page-hero--green .display { color: var(--cream); }
.page-hero--green .lead { margin: 20px 0 0; color: var(--cream); }
.page-hero__line { width: 1px; height: 80px; background: var(--cream); margin: 32px 0 12px 14px; }
.page-hero__leaf { position: absolute; right: -40px; top: 50%; translate: 0 -40%; width: 300px; color: rgba(246, 248, 245, 0.28); }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: center; padding: 180px 0 120px; }
.founder .h1 { font-weight: 300; }
.founder .eyebrow { display: block; margin: 20px 0 48px; }
.founder .lead + .lead { margin-top: 16px; }
.founder .script { font-size: 44px; margin-top: 48px; }
.arch-frame { border: 1px solid var(--green); border-radius: 999px 999px 0 0; padding: 10px; }
.arch-frame__img { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 485 / 700; background: var(--sand); }
.arch-frame__img img { width: 100%; height: 100%; object-fit: cover; }
.stats { background: var(--green-dark); color: var(--cream); padding: 128px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 48px; border-left: 1px solid rgba(246, 248, 245, 0.4); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--sans); font-size: 72px; font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: 24px; font-size: 18px; opacity: 0.9; }
.instructors { background: var(--green); padding: 130px 0 150px; position: relative; overflow: hidden; }
.instructors .section-head .h1 { color: var(--cream); }
.instructors .section-head .lead { color: rgba(246, 248, 245, 0.85); }
.teacher-list { display: grid; gap: 90px; max-width: 1040px; margin: 0 auto; }
.teacher { display: grid; grid-template-columns: 282px 1fr; align-items: start; }
.teacher__photo { position: relative; z-index: 1; margin-top: -48px; }
.teacher__photo::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid rgba(246, 248, 245, 0.8); z-index: -1; }
.teacher__photo img { width: 282px; height: 335px; object-fit: cover; background: var(--sand); }
.teacher__card { background: var(--sand); border-radius: 20px; padding: 64px 64px 56px 64px; margin-left: -16px; }
.teacher__name { font-family: var(--script); font-size: 44px; line-height: 1.1; color: var(--green); }
.teacher__role { font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.teacher__bio { margin-top: 24px; color: var(--text); }
.teacher__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 20px; }
.teacher__ig { font-size: 15px; color: var(--green); }
.teacher--flip { grid-template-columns: 1fr 282px; }
.teacher--flip .teacher__photo { order: 2; }
.teacher--flip .teacher__photo::before { inset: -10px -10px 10px 10px; }
.teacher--flip .teacher__card { margin-left: 0; margin-right: -16px; }
.image-band { position: relative; height: 100vh; min-height: 560px; display: grid; place-items: center; overflow: hidden; color: var(--cream); text-align: center; }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ""; position: absolute; inset: 0; background: rgba(30, 42, 37, 0.25); }
.image-band h2 { position: relative; z-index: 1; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7.5vw, 108px); line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Classes page ---------- */
.class-block {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #eef3ef, #e3ece6); min-height: 640px; scroll-margin-top: 100px;
}
.class-block + .class-block { margin-top: 96px; }
.class-block__body { padding: 80px 48px; display: flex; flex-direction: column; justify-content: center; }
.class-block__body .h1 { font-size: clamp(44px, 4.2vw, 60px); color: var(--ink); font-weight: 300; }
.class-block__tag { font-style: italic; font-size: 20px; margin-top: 8px; }
.class-block__meta { font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 24px 0 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.class-block__meta span + span::before { content: "•"; margin-right: 14px; }
.class-block__body .lead { max-width: 470px; }
.class-block__list { margin: 20px 0 0; display: grid; gap: 6px; font-size: 16px; }
.class-block__list li::before { content: "—"; margin-right: 10px; color: var(--green); }
.class-block__body .btn { margin-top: 36px; align-self: flex-start; }
.class-block__img { position: relative; background: var(--sand); }
.class-block__img img { width: 100%; height: 100%; object-fit: cover; }
.class-block__badge {
  position: absolute; top: 24px; right: 24px; padding: 12px 24px; border-radius: 99px; background: rgba(246, 248, 245, 0.85);
  font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.class-block--flip .class-block__img { order: -1; }
.group-title { display: flex; align-items: center; gap: 24px; margin: 0 0 56px; }
.group-title .h2 { font-weight: 300; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* pricing */
.pricing { background: var(--sand); padding: 130px 0 0; position: relative; overflow: hidden; }
.pricing__leaf { position: absolute; left: -30px; top: 80px; width: 240px; color: rgba(127, 156, 141, 0.3); }
.tabs { display: flex; justify-content: center; gap: 8px; margin: -24px 0 56px; flex-wrap: wrap; }
.tabs button {
  height: 43px; padding: 0 22px; border-radius: 99px; border: 1px solid rgba(51, 65, 59, 0.35); background: transparent;
  color: var(--ink); cursor: pointer; font-size: 15.75px; transition: all 0.25s;
}
.tabs button.is-active { background: var(--green); border-color: var(--green); color: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.price-card { background: var(--cream); border-radius: 20px; padding: 44px 24px 24px; text-align: center; }
.price-card__label { font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.price-card__price { font-family: var(--sans); font-size: 60px; font-weight: 400; letter-spacing: -0.03em; color: var(--ink); margin-top: 28px; line-height: 1; }
.price-card__price small { font-size: 13px; letter-spacing: 0.12em; font-weight: 400; color: var(--muted); margin-left: 6px; }
.price-card__price sup { font-size: 16px; letter-spacing: 0.08em; vertical-align: top; position: relative; top: 8px; margin-right: 6px; color: var(--muted); }
.price-card__note { color: var(--muted); font-size: 18px; margin-top: 16px; }
.price-card__rule { width: 60px; height: 1px; background: var(--green); opacity: 0.5; margin: 28px auto; }
.price-card ul { display: grid; gap: 14px; color: var(--muted); margin-bottom: 44px; }
.price-card--featured { background: var(--green-dark); color: var(--cream); padding: 64px 24px 24px; position: relative; }
.price-card--featured .price-card__label, .price-card--featured .price-card__price { color: var(--cream); }
.price-card--featured .price-card__price small, .price-card--featured .price-card__price sup,
.price-card--featured .price-card__note, .price-card--featured ul { color: rgba(246, 248, 245, 0.85); }
.price-card--featured .price-card__rule { background: var(--cream); }
.price-card__badge { position: absolute; top: 24px; right: 24px; background: var(--green); color: var(--cream); font-size: 12.24px; letter-spacing: 0.16em; padding: 6px 12px; border-radius: 99px; }
.price-foot { text-align: center; color: var(--muted); font-size: 15.3px; margin-top: 36px; }
.price-panel[hidden] { display: none; }
.pricing .cta { padding-bottom: 240px; }

/* ---------- Schedule ---------- */
.days { display: flex; justify-content: center; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.days button {
  background: none; border: 0; cursor: pointer; font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.days button.is-active { color: var(--ink); border-color: var(--coral); }
.timetable { background: var(--white); border-radius: 20px; overflow: hidden; }
.slot { display: grid; grid-template-columns: 1fr 1.2fr 1fr 0.6fr auto; align-items: center; gap: 24px; padding: 20px 48px; border-bottom: 1px solid rgba(51, 65, 59, 0.08); }
.slot:last-child { border-bottom: 0; }
.slot__time, .slot__class { font-family: var(--serif); font-size: 26px; color: var(--green); font-weight: 500; }
.slot__teacher { color: var(--muted); font-size: 16px; }
.slot__level { display: flex; gap: 4px; }
.slot__level i { width: 6px; height: 6px; border-radius: 50%; background: rgba(201, 140, 105, 0.25); }
.slot__level i.on { background: var(--coral); }
.note-box { max-width: 640px; margin: 48px auto 0; display: flex; gap: 20px; align-items: center; background: var(--sand-2); border-radius: 16px; padding: 24px 28px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.note-box svg { flex: 0 0 40px; width: 40px; height: 40px; color: var(--green); }

/* ---------- Blog ---------- */
.filters { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.filters button { height: 43px; padding: 0 22px; border-radius: 99px; border: 1px solid rgba(51, 65, 59, 0.45); background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; }
.filters button.is-active { background: var(--green); color: var(--cream); border-color: var(--green); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 32px; }
.blog-grid .post-card__img { aspect-ratio: 624 / 642; }
.blog-grid .post-card__title { font-size: 43.2px; line-height: 1.2; }
.blog-grid .post-card[hidden] { display: none; }

/* article */
.article-hero { padding: 180px 0 56px; text-align: center; }
.article-hero .eyebrow { display: block; margin-bottom: 24px; }
.article-hero .h1 { max-width: 900px; margin: 0 auto; }
.article-meta { margin-top: 28px; color: var(--muted); font-size: 15.3px; display: flex; justify-content: center; gap: 12px; }
.article-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin: 72px auto 0; font-size: 18.5px; line-height: 1.85; color: var(--text); }
.prose h2 { font-family: var(--serif); color: var(--green); font-weight: 500; font-size: 40px; line-height: 1.2; margin: 56px 0 20px; }
.prose h3 { font-family: var(--serif); color: var(--green); font-weight: 600; font-size: 28px; margin: 40px 0 14px; }
.prose p { margin: 0 0 22px; }
.prose ul { list-style: none; margin: 0 0 22px; padding: 0; }
.prose li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); opacity: 0.8; }
.prose ol { margin: 0 0 22px; padding-left: 26px; }
.prose ol li { padding-left: 6px; }
.prose ol li::before { content: none; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 32px; font-size: 16px; line-height: 1.55; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose thead th { font-family: var(--sans); font-weight: 500; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--sand-2); }
.prose em { color: var(--muted); }
.prose blockquote { margin: 40px 0; padding: 8px 0 8px 32px; border-left: 2px solid var(--coral); font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; color: var(--green); }

/* ---------- Contact ---------- */
.contact-card { background: var(--sand); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 620px; }
.contact-card__art { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 90px; }
.contact-card__art .ring { position: absolute; top: 90px; left: 50%; translate: -50% 0; width: 300px; }
.contact-card__art .arch-photo { width: 330px; height: 470px; border-radius: 999px 999px 0 0; overflow: hidden; position: relative; z-index: 1; }
.contact-card__art .arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__info { padding: 100px 48px 80px 0; }
.contact-card__info .h2 { font-weight: 400; }
.contact-card__info > .lead { margin: 24px 0 32px; }
.contact-list li { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(79, 107, 94, 0.45); color: var(--green); font-size: 18px; line-height: 1.5; }
.contact-list svg { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px; }
.rule-title { display: flex; align-items: center; gap: 36px; margin: 140px 0 64px; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--green-soft); }
.rule-title .h2 { font-weight: 400; white-space: nowrap; }
.form { max-width: 540px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; height: 54px; border-radius: 10px; border: 1px solid rgba(51, 65, 59, 0.55); background: transparent;
  padding: 0 16px; font-size: 18px; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: 160px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23343837' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(51, 65, 59, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(79, 107, 94, 0.12); }
.form .btn { height: 54px; }
.form__status { grid-column: 1 / -1; text-align: center; font-size: 15.3px; min-height: 22px; color: var(--green); }
.form__status.is-error { color: var(--coral-dark); }
.map { margin-top: 120px; border-radius: 24px; overflow: hidden; height: 420px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.15); }

/* ---------- Rental / training ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border-radius: 20px; padding: 40px 36px; }
.feature__num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--coral-dark); line-height: 1; }
.feature h3 { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: 26px; margin: 18px 0 10px; }
.feature p { font-size: 16px; line-height: 1.65; color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.check-list li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23faf6f0' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; }
.img-round { border-radius: 24px; overflow: hidden; background: var(--sand); }
.img-round img { width: 100%; height: 100%; object-fit: cover; }
.enquiry { background: var(--sand); border-radius: var(--radius-lg); padding: 80px 48px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--green); margin-top: 6px; line-height: 1.2; }
.pill-tag { display: inline-block; padding: 8px 16px; border-radius: 99px; background: rgba(201, 140, 105, 0.12); color: var(--coral-dark); font-size: 14px; }

/* ---------- 404 ---------- */
.not-found { min-height: 90vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* The first section is above the fold: it rises in on its own with CSS, so the heading never waits
   for JavaScript before it can paint (this was delaying Largest Contentful Paint on phones). */
main > :first-child .reveal { animation: reveal-in 1s var(--ease) both; }
main > :first-child .reveal[data-delay="1"] { animation-delay: .1s; }
main > :first-child .reveal[data-delay="2"] { animation-delay: .2s; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .nav__links { gap: 26px; }
  .site-header.is-scrolled .nav__links { gap: 24px; }
  .founder { gap: 60px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  body { font-size: 17px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .site-header.is-scrolled .nav { padding: 0 8px 0 24px; }
  .section { padding: 96px 0; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .hero { border-radius: 0 0 50% 50% / 0 0 6% 6%; }
  .hero__content { padding-bottom: 18vh; }
  .hero__meta { right: 24px; bottom: 10vh; }
  .hero__meta span { display: none; }
  .studio-panel { padding: 90px 20px 20px; border-radius: 24px; }
  .journal-grid, .blog-grid, .two-col, .founder, .contact-card { grid-template-columns: 1fr; }
  .founder { padding: 140px 0 80px; gap: 48px; }
  .teacher, .teacher--flip { grid-template-columns: 1fr; }
  .teacher__photo, .teacher--flip .teacher__photo { order: 0; margin: 0 0 -40px 20px; }
  .teacher__photo img { width: 220px; height: 260px; }
  .teacher__card, .teacher--flip .teacher__card { margin: 0; padding: 72px 28px 32px; }
  .class-block, .class-block--flip { grid-template-columns: 1fr; min-height: 0; }
  .class-block__img, .class-block--flip .class-block__img { order: -1; aspect-ratio: 4 / 3; }
  .class-block__body { padding: 44px 28px; }
  .price-grid { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr auto; padding: 20px 24px; gap: 4px 16px; }
  .slot__class { grid-column: 1; font-size: 22px; }
  .slot__teacher { grid-column: 1; }
  .slot__level { display: none; }
  .slot .btn { grid-row: 1 / span 3; grid-column: 2; }
  .contact-card__info { padding: 48px 28px; }
  .contact-card__art { padding-top: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 56px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: center; }
  .feature-grid, .facts { grid-template-columns: 1fr; }
  .cta__flower { width: 130px; right: 4%; }
  .enquiry { padding: 48px 24px; }
  .rule-title { gap: 16px; margin-top: 100px; }
  .rule-title .h2 { white-space: normal; text-align: center; }
  .page-hero__leaf { width: 180px; right: -60px; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter input { flex: none; }
  .newsletter .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 20px; }
  .stat__num { font-size: 52px; }
  .arch-card { flex-basis: 280px; }
  .polaroid { width: 290px; }
  .footer-brand { gap: 16px; }
  }

.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .feature-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid--4 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .brush { width: 300px; top: -70px; } }

/* ---------- Team page ---------- */
.teacher__photo--initials { width: 282px; height: 335px; display: grid; place-items: center; background: var(--green-soft); font-family: var(--serif); font-style: italic; font-size: 80px; color: var(--cream); }
.team-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 20px; max-width: 1100px; margin: 0 auto; }
.team-mini a { text-align: center; color: var(--cream); }
.team-mini__img { aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--green-soft); display: grid; place-items: center; }
.team-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-mini a:hover img { transform: scale(1.05); }
.team-mini__img span { font-family: var(--serif); font-style: italic; font-size: 48px; color: var(--cream); }
.team-mini b { display: block; font-family: var(--script); font-weight: 400; font-size: 28px; margin-top: 12px; line-height: 1.1; }
.team-mini small { display: block; font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* ---------- Testimonials page ---------- */
.quote-grid { columns: 3 320px; column-gap: 24px; }
.quote-card { break-inside: avoid; background: var(--white); border-radius: 20px; padding: 36px 32px 28px; margin: 0 0 24px; box-shadow: 0 10px 30px rgba(30, 42, 37, 0.06); }
.quote-card__mark { font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--green-soft); }
.quote-card p { margin-top: 14px; color: var(--text); font-size: 17px; line-height: 1.7; }
.quote-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.quote-card .script { font-size: 30px; color: var(--green); }
.stars { color: var(--coral-dark); letter-spacing: 3px; font-size: 14px; }
.review-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto 80px; text-align: center; }
.review-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 56px; color: var(--green); line-height: 1; }
.review-stats span { font-size: 15px; color: var(--muted); }

/* ---------- Events page ---------- */
.event-card { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--white); border-radius: 24px; overflow: hidden; }
.event-card + .event-card { margin-top: 40px; }
.event-card__img { position: relative; min-height: 360px; background: var(--sand); }
.event-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-card__date { position: absolute; top: 20px; left: 20px; background: var(--cream); border-radius: 16px; padding: 12px 16px; text-align: center; line-height: 1.1; }
.event-card__date b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--green); }
.event-card__date span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.event-card__body { padding: 44px 44px 40px; }
.event-card__body .h3 { font-weight: 500; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 20px; font-size: 15px; color: var(--muted); }
.event-sessions { display: grid; gap: 14px; margin-top: 22px; }
.event-session { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.event-session b { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); }
.event-session .price { font-weight: 500; color: var(--coral-dark); align-self: center; grid-row: 1 / span 2; grid-column: 2; }
.event-session span { font-size: 15px; color: var(--muted); }
.badge-past { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--sand-2); color: var(--muted); }
.empty-state { text-align: center; background: var(--sand); border-radius: 24px; padding: 64px 32px; }
.empty-state .h3 { font-weight: 500; }
.empty-state p { max-width: 520px; margin: 14px auto 28px; }

/* ---------- Teacher training and rental extras ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip-list span { padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: var(--sand); border-radius: 20px; padding: 36px; }
.info-card .eyebrow { display: block; margin-bottom: 4px; }
.details-list { margin: 8px 0 0; }
.details-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.details-list div:last-child { border-bottom: 0; }
.details-list dt { color: var(--muted); font-size: 12.24px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 3px; }
.details-list dd { margin: 0; color: var(--ink); }
.ideal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 32px; }
.ideal-list span { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 18px 20px; font-family: var(--serif); font-size: 21px; color: var(--green); }
.ideal-list span::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--coral); }

@media (max-width: 1100px) { .team-mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .event-card, .info-cols { grid-template-columns: 1fr; }
  .event-card__img { min-height: 260px; }
  .event-card__body { padding: 32px 24px; }
  .review-stats { grid-template-columns: 1fr; gap: 28px; }
  .teacher__photo--initials { width: 220px; height: 260px; }
  .details-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) { .team-mini { grid-template-columns: repeat(2, 1fr); } }

/* Cormorant defaults to old-style figures; use lining numerals wherever numbers are display-size */
.review-stats b, .event-card__date b, .slot__time, .price-card__price, .facts b, .info-card div[style*="font-family:var(--serif)"] { font-variant-numeric: lining-nums; }

/* ==========================================================================
   Preloader — a slow breath on the first page of a visit
   ========================================================================== */
.preloader { display: none; }
.is-preloading .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), visibility 0s .9s;
}
.is-preloading body { overflow: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; transition: opacity .45s ease, transform .6s ease; }
.preloader__breath { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.preloader__logo { position: relative; width: 150px; height: auto; animation: pl-breath 4s ease-in-out infinite; }
.preloader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 192, 179, .38) 0%, rgba(167, 192, 179, 0) 68%);
  animation: pl-ring 4s ease-in-out infinite;
}
.preloader__ring--2 { inset: 18px; border: 1px solid rgba(90, 119, 105, .22); background: none; animation-delay: -.4s; }
.preloader__word {
  position: relative; height: 1.4em; margin: 0; width: 200px; text-align: center;
  font-family: "Caveat", cursive; font-size: 26px; color: var(--green);
}
.preloader__word span { position: absolute; inset: 0; opacity: 0; animation: pl-word 8s ease-in-out infinite; }
.preloader__word span + span { animation-delay: 4s; }
.preloader__bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(90, 119, 105, .15); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; background: var(--green); border-radius: 2px; animation: pl-bar 1.4s ease-in-out infinite; }

/* Leaving: the content settles, then the panel lifts away like a curtain. */
.is-preloaded .preloader__inner { opacity: 0; transform: translateY(-14px); }
.is-preloaded .preloader { transform: translateY(-100%); visibility: hidden; transition-delay: .25s, 1.15s; }

@keyframes pl-breath { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes pl-ring { 0%, 100% { transform: scale(.72); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes pl-word { 0%, 6% { opacity: 0; transform: translateY(6px); } 14%, 40% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes pl-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__ring, .preloader__bar i { animation: none; }
  .preloader__word span { animation: none; }
  .preloader__word span:first-child { opacity: 1; }
  .is-preloaded .preloader { transform: none; opacity: 0; transition: opacity .4s ease, visibility 0s .4s; }
}

/* ==========================================================================
   Founder profile (/team/regina-mazhar)
   ========================================================================== */
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.profile { padding: 40px 0 140px; }
.profile__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; align-items: start; }
.profile__story { margin: 0; max-width: none; }
.profile__story h2:first-child { margin-top: 0; }
.profile__side { display: grid; gap: 20px; position: sticky; top: 120px; }
.profile__side .info-card { padding: 30px; }
.profile__side .details-list div { grid-template-columns: 1fr; gap: 4px; }
.profile__side .details-list dt { text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 500; color: var(--ink); padding: 0; }
.profile__side .details-list dd { color: var(--muted); font-size: 15px; }
.profile__side .chip-list span { padding: 8px 14px; font-size: 14px; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; border-left: 1px solid var(--green-soft); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--green); }
.timeline li:last-child { padding-bottom: 0; }
.timeline h3 { margin: 6px 0 12px; }
.timeline__when { font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.prose .timeline li { padding-left: 32px; margin: 0; }
.prose .timeline li::before { left: -6px; top: 8px; width: 11px; height: 11px; opacity: 1; background: var(--cream); }
@media (max-width: 1100px) {
  .profile__grid { grid-template-columns: 1fr; gap: 48px; }
  .profile__side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 600px) {
  .profile { padding-bottom: 90px; }
  .profile-actions .btn { width: 100%; justify-content: center; }
}
