/* ============================================================
   CIMA Pilates & Yoga — Design System
   Warm clay sanctuary palette, drawn from the brand logo.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #F7F2EA;          /* warm cream page */
  --bg-2: #F1E9DC;        /* slightly deeper cream band */
  --surface: #FFFFFF;     /* cards */
  --ink: #241F1B;         /* warm near-black */
  --ink-soft: #3A322C;
  --muted: #7A6F66;       /* secondary text */
  --muted-2: #9B9089;
  --primary: #A85740;     /* clay/terracotta — CTAs, links */
  --primary-deep: #8F4633;
  --secondary: #C6785C;   /* clay-rose — tags, accents */
  --accent: #E0BBA4;      /* soft sand — hovers, dividers */
  --border: #E7DDD0;      /* hairline on cream */
  --border-strong: #D9CCBB;
  --focus: #A85740;

  --night: #211E1B;       /* dark mood sections */
  --night-2: #18130F;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(45,33,24,.06), 0 1px 2px rgba(45,33,24,.04);
  --shadow-md: 0 14px 40px -18px rgba(58,40,28,.30);
  --shadow-lg: 0 40px 80px -30px rgba(58,40,28,.42);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; color: var(--ink); }
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.015em;
}
.h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--secondary);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--secondary);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--primary); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.container-wide { max-width: 1380px; }
.section { padding-block: clamp(64px, 10vw, 130px); }
.section-sm { padding-block: clamp(48px, 7vw, 84px); }
.band-cream { background: var(--bg-2); }
.band-surface { background: var(--surface); }
.band-night { background: var(--night); color: #EFE7DC; }
.band-night h1, .band-night h2, .band-night h3 { color: #FBF6EE; }

.center { text-align: center; }
.measure { max-width: 64ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .92em 1.7em;
  border-radius: var(--r-pill);
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s, border-color .25s;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px -12px rgba(168,87,64,.7); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 16px 34px -12px rgba(168,87,64,.75); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-solid-light { background: #fff; color: var(--ink); }
.btn-solid-light:hover { background: var(--accent); transform: translateY(-2px); }
.btn-lg { font-size: 1.02rem; padding: 1.05em 2em; min-height: 54px; }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

.textlink { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: .5em; transition: gap .3s var(--ease), color .2s; }
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--primary-deep); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.nav.scrolled { background: rgba(247,242,234,.86); backdrop-filter: blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -20px rgba(58,40,28,.5); }
.nav-logo { display: flex; align-items: center; gap: .65rem; }
.nav-logo img { height: 56px; width: auto; transition: height .4s var(--ease); }
.nav.scrolled .nav-logo img { height: 46px; }
.nav-logo .logo-light { display: none; }
/* on dark hero: show cream logo, links light */
.nav.on-dark:not(.scrolled) .nav-logo .logo-dark { display: none; }
.nav.on-dark:not(.scrolled) .nav-logo .logo-light { display: block; }
/* on dark hero the logo + links are light */
.nav.on-dark:not(.scrolled) { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-link { color: rgba(255,255,255,.92); }
.nav.on-dark:not(.scrolled) .nav-link:hover { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-soft); position: relative; padding: .4em 0; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--primary); transition: width .35s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
  padding: 1.4rem var(--gut) 2rem;
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.drawer-top img { height: 50px; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; }
.drawer-close svg { width: 26px; height: 26px; }
.drawer-links { margin-top: 1.5rem; display: flex; flex-direction: column; }
.drawer-links a { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; padding: .5rem 0; color: var(--ink); border-bottom: 1px solid var(--border); transition: color .2s, padding-left .3s var(--ease); }
.drawer-links a:hover, .drawer-links a.active { color: var(--primary); padding-left: .6rem; }
.drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: .8rem; padding-top: 1.6rem; }
.drawer-contact { margin-top: 1.2rem; color: var(--muted); font-size: .9rem; display: flex; flex-direction: column; gap: .35rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,15,11,.34) 0%, rgba(20,15,11,0) 26%, rgba(20,15,11,0) 48%, rgba(20,15,11,.78) 100%); }
.hero-scrim.left { background:
  linear-gradient(105deg, rgba(20,15,11,.72) 0%, rgba(20,15,11,.34) 42%, rgba(20,15,11,0) 72%),
  linear-gradient(0deg, rgba(20,15,11,.55) 0%, rgba(20,15,11,0) 40%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(36px, 8vw, 92px); width: 100%; }
.hero-eyebrow { color: var(--accent); }
.hero-eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-sub { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 46ch; margin-top: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero-meta div { display: flex; flex-direction: column; gap: .15rem; }
.hero-meta dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hero-meta dd { font-family: var(--serif); font-size: 1.5rem; }

/* ---------- Section heads ---------- */
.sec-head { max-width: 64ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: .8rem; }
.sec-head p { margin-top: 1rem; color: var(--muted); }

/* ---------- Studio cards ---------- */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.studio-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate;
  box-shadow: var(--shadow-md);
}
.studio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.studio-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,11,.12) 0%, rgba(20,15,11,0) 30%, rgba(20,15,11,.46) 60%, rgba(20,15,11,.86) 100%); }
.studio-card:hover img { transform: scale(1.06); }
.studio-card-body { padding: clamp(22px, 3vw, 34px); }
.studio-name { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: .02em; }
.studio-kind { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; display: block; }
.studio-card p { color: rgba(255,255,255,.86); margin-top: .6rem; font-size: .98rem; max-width: 34ch; }
.studio-card .textlink { color: #fff; margin-top: 1.2rem; }
.studio-card .textlink:hover { color: var(--accent); }

/* tag chips */
.tag { display: inline-flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: rgba(168,87,64,.09); border: 1px solid rgba(168,87,64,.22); padding: .4em .85em; border-radius: var(--r-pill); }
.tag.on-dark { color: var(--accent); background: rgba(224,187,164,.12); border-color: rgba(224,187,164,.3); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 3/4; }

/* ---------- Free trial band ---------- */
.trial-band { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: clamp(40px, 6vw, 76px); box-shadow: var(--shadow-lg); }
.trial-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.trial-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24,19,15,.86) 0%, rgba(24,19,15,.55) 60%, rgba(24,19,15,.28) 100%); }
.trial-band h2 { color: #fff; }
.trial-band p { color: rgba(255,255,255,.88); margin-top: 1rem; max-width: 48ch; }
.trial-note { font-size: .82rem; color: rgba(255,255,255,.62); margin-top: 1.4rem; }

/* ---------- Class list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-size: .9rem; font-weight: 600; padding: .55em 1.15em; border-radius: var(--r-pill); border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface); transition: all .25s var(--ease); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.class-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.class-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.class-studio { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.class-studio.sur { color: var(--primary); }
.class-studio.bal { color: var(--secondary); }
.class-studio.amm { color: #8a7d40; }
.class-name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.08; }
.class-desc { color: var(--muted); font-size: .94rem; }
.class-meta { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); }
.level { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45em; }
.level-dots { display: inline-flex; gap: 3px; }
.level-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.level-dots i.on { background: var(--secondary); }

.class-card .book { font-size: .86rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .4em; }
.class-card .book svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.class-card:hover .book svg { transform: translate(2px,-2px); }
.empty-state { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- Class list (studio page rows) ---------- */
.classlist { border-top: 1px solid var(--border); }
.classrow { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.4rem; padding: 1.35rem 0; border-bottom: 1px solid var(--border); transition: background .25s; }
.classrow:hover { background: rgba(168,87,64,.03); }
.classrow .idx { font-family: var(--serif); font-size: 1.1rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.classrow .name { font-family: var(--serif); font-size: clamp(1.3rem,2vw,1.7rem); }
.classrow .lvl { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.classrow .go { color: var(--primary); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: all .3s var(--ease); }
.classrow:hover .go { background: var(--primary); border-color: var(--primary); color: #fff; }
.classrow .go svg { width: 16px; height: 16px; }

/* ---------- Stat / facility chips ---------- */
.facilities { display: flex; flex-wrap: wrap; gap: .7rem; }
.facility { display: inline-flex; align-items: center; gap: .55em; font-size: .9rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); padding: .6em 1em; border-radius: var(--r-pill); }
.facility svg { width: 17px; height: 17px; color: var(--primary); }

/* ---------- Instagram strip ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-item { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-item:hover img { transform: scale(1.08); }
.ig-item::after { content: ""; position: absolute; inset: 0; background: rgba(24,19,15,0); transition: background .3s; }
.ig-item:hover::after { background: rgba(24,19,15,.2); }

/* ---------- Steps / value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.prop { }
.prop-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(168,87,64,.1); color: var(--primary); margin-bottom: 1.1rem; }
.prop-ic svg { width: 24px; height: 24px; }
.prop h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.prop p { color: var(--muted); font-size: .96rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); padding: .85em 1em; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(168,87,64,.14); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { background: rgba(120,150,90,.12); border: 1px solid rgba(120,150,90,.4); color: #4d6135; border-radius: var(--r-md); padding: 1.4rem 1.5rem; }

/* ---------- Contact rows ---------- */
.contact-list { display: grid; gap: 1.3rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--primary); }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item .k { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-size: 1.08rem; color: var(--ink); }
.contact-item a.v:hover { color: var(--primary); }
.note-pill { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; color: var(--secondary); background: rgba(198,120,92,.1); border: 1px dashed rgba(198,120,92,.45); padding: .3em .8em; border-radius: var(--r-pill); margin-top: .3rem; }

/* ---------- Map placeholder ---------- */
.map-ph { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background:
  repeating-linear-gradient(45deg, #EFE6D8 0 14px, #F2EADD 14px 28px); min-height: 340px; display: grid; place-items: center; text-align: center; }
.map-ph .badge { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.2rem 1.6rem; box-shadow: var(--shadow-sm); max-width: 86%; }
.map-ph .badge .pin { width: 42px; height: 42px; border-radius: 50%; background: rgba(168,87,64,.1); color: var(--primary); display: grid; place-items: center; margin: 0 auto .7rem; }
.map-ph .badge .pin svg { width: 22px; height: 22px; }
.map-ph code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--night-2); color: rgba(239,231,220,.7); padding-block: clamp(56px, 7vw, 90px) 0; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; border-bottom: 1px solid rgba(239,231,220,.13); }
.footer-brand img { height: 92px; margin-bottom: 1.4rem; }
.footer-brand p { font-size: .95rem; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a, .footer-col li { font-size: .96rem; color: rgba(239,231,220,.72); transition: color .2s; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(239,231,220,.2); display: grid; place-items: center; transition: all .3s var(--ease); }
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 28px; font-size: .82rem; color: rgba(239,231,220,.5); }
.footer-bottom a { color: rgba(239,231,220,.6); }

/* ---------- WhatsApp FAB ---------- */
.fab { position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(86px, 12vw, 30px); z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab svg { width: 30px; height: 30px; }

/* ---------- Mobile bottom action bar ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; grid-template-columns: 1fr 1fr 1fr; background: rgba(247,242,234,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--border); box-shadow: 0 -8px 30px -16px rgba(58,40,28,.4); }
.mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: .55rem 0 calc(.55rem + env(safe-area-inset-bottom)); font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); min-height: 56px; }
.mobilebar a svg { width: 21px; height: 21px; }
.mobilebar a.primary { color: #fff; background: var(--primary); }
.mobilebar a + a { border-left: 1px solid var(--border); }
.mobilebar a.primary + a, .mobilebar a + a.primary { border-left: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ---------- Breadcrumb / page hero ---------- */
.pagehero { padding-top: 132px; padding-bottom: clamp(20px, 4vw, 40px); }
.crumb { font-size: .82rem; color: var(--muted); display: flex; gap: .5em; align-items: center; }
.crumb a:hover { color: var(--primary); }
.crumb svg { width: 13px; height: 13px; opacity: .6; }

/* ---------- Quote ---------- */
.quote { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.28; font-weight: 500; letter-spacing: -.01em; max-width: 22ch; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-card { min-height: 380px; }
  .props { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/11; }
  .split-media.tall { aspect-ratio: 16/12; }
  .mobilebar { display: grid; }
  .fab { bottom: 76px; }
  body { padding-bottom: 0; }
  .classrow { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .classrow .lvl { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 92svh; }
  .hero-meta { gap: 1rem 1.6rem; }
  .hero-meta dd { font-size: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .trial-band::after { background: linear-gradient(180deg, rgba(24,19,15,.55) 0%, rgba(24,19,15,.82) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* page padding so mobile bar doesn't cover footer */
@media (max-width: 880px) {
  .footer { padding-bottom: 64px; }
}
