/* =========================================================
   Lumen Studio — serene yoga, pilates & breathwork studio
   Aesthetic: calm wellness, premium & mindful.
   Warm sand / off-white base, sage green + soft terracotta.
   Display: Fraunces (light serif). Body: Mulish (airy sans).
   Organic blobs, gentle gradients, soft SVG line motifs.
   ========================================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }

/* ---- Tokens ---- */
:root {
  --sand:      #f3ede2;   /* warm off-white base */
  --sand-2:    #ece3d3;   /* deeper sand */
  --paper:     #faf6ee;   /* paper highlight */
  --cream:     #fffdf8;
  --ink:       #2f3528;   /* deep olive-charcoal text */
  --ink-soft:  #4a5240;
  --muted:     #7c8170;   /* muted sage-grey */
  --line:      #ded3bf;   /* hairline */

  --sage:      #7a8b6f;   /* primary sage green */
  --sage-d:    #54624a;   /* deep forest sage */
  --sage-l:    #9aab8c;   /* light sage */
  --sage-mist: #e3e8da;   /* pale sage wash */

  --terra:     #c98763;   /* soft terracotta accent */
  --terra-d:   #b06b48;
  --terra-l:   #e0a988;
  --terra-mist:#f1ddd1;   /* pale terracotta wash */

  --emerald:   #5b7d5a;   /* on-brand success colour */
  --gold:      #c4a36b;   /* warm muted gold hairline */

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Mulish", "Helvetica Neue", Arial, sans-serif;

  --mw: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px -28px rgba(60, 66, 48, .35);
  --shadow-soft: 0 14px 40px -22px rgba(60, 66, 48, .28);
  --ease: cubic-bezier(.4, .14, .2, 1);
}

/* ---- Base ---- */
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--sand);
  background-image:
    radial-gradient(1200px 700px at 12% -8%, rgba(154,171,140,.28), transparent 60%),
    radial-gradient(1000px 620px at 96% 6%, rgba(224,169,136,.20), transparent 58%);
  overflow-x: hidden;
}
.wrap { width: 100%; max-width: var(--mw); margin-inline: auto; padding-inline: var(--gutter); }

::selection { background: var(--sage-l); color: var(--cream); }

/* utilities */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 700; color: var(--sage-d);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.serif { font-family: var(--display); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.6em; border-radius: 100px;
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid { background: var(--sage-d); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-solid:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border: 1.5px solid var(--sage); color: var(--sage-d); }
.btn-ghost:hover { background: var(--sage-mist); transform: translateY(-2px); }
.btn-terra { background: var(--terra); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-terra:hover { background: var(--terra-d); transform: translateY(-2px); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243,237,226,.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand-mark {
  font-family: var(--display); font-size: 1.5rem; font-weight: 500;
  letter-spacing: .01em; color: var(--ink);
  display: inline-flex; align-items: center; gap: .42em;
}
.brand-mark .dot { width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--terra-l), var(--terra)); display: inline-block; }
.brand-sub { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; padding-left: 1.6em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  padding-block: 6px; transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--sage-d); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: .82rem; font-weight: 700; color: var(--sage-d); letter-spacing: .02em; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .28s; }
.reveal[data-d="4"] { transition-delay: .38s; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding-block: clamp(56px, 9vw, 116px) clamp(60px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  font-weight: 300; letter-spacing: -.02em; color: var(--ink); margin-block: 18px 22px;
  font-optical-sizing: auto;
}
.hero h1 em { font-style: italic; color: var(--sage-d); }
.hero-tag { max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .n { font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--sage-d); }
.hero-stats .l { font-size: .76rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.hero-media { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(var(--shadow)); }
.hero-float {
  position: absolute; background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 12px;
}
.hero-float .ico { width: 38px; height: 38px; flex: none; }
.hero-float .ft { font-size: .72rem; color: var(--muted); }
.hero-float .fb { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.hero-float.f1 { bottom: 8%; left: -4%; animation: float 7s ease-in-out infinite; }
.hero-float.f2 { top: 6%; right: -2%; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none; } }

/* =========================================================
   Section scaffolding
   ========================================================= */
section { position: relative; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.018em; color: var(--ink);
  margin-block: 14px 16px;
}
.section-head h2 em { font-style: italic; color: var(--terra-d); }
.section-head p { color: var(--ink-soft); }

.tint-sage { background: linear-gradient(180deg, var(--sand) 0%, var(--sage-mist) 100%); }
.tint-paper { background: var(--paper); border-block: 1px solid var(--line); }

/* organic blob backgrounds */
.blob { position: absolute; z-index: 0; pointer-events: none; opacity: .55; filter: blur(2px); }

/* =========================================================
   Intro / philosophy
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.intro-copy h2 {
  font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -.018em; line-height: 1.16; color: var(--ink); margin-bottom: 22px;
}
.intro-copy h2 em { font-style: italic; color: var(--sage-d); }
.intro-copy p + p { margin-top: 16px; }
.intro-marks { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.intro-mark { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.intro-mark svg { width: 22px; height: 22px; flex: none; color: var(--terra); }
.intro-art { position: relative; display: grid; place-items: center; }
.intro-art svg { width: 100%; max-width: 460px; height: auto; }

/* =========================================================
   Class types grid
   ========================================================= */
.class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 22px; }
.class-card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 32px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.class-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 220px at 100% 0%, var(--accent, var(--sage-mist)), transparent 70%); opacity: .5;
}
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.class-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sage-mist); color: var(--sage-d); margin-bottom: 20px; position: relative; z-index: 1;
}
.class-ico svg { width: 30px; height: 30px; }
.class-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--ink); margin-bottom: 9px; position: relative; z-index: 1; }
.class-card p { font-size: .92rem; color: var(--ink-soft); position: relative; z-index: 1; }
.class-meta { display: flex; gap: 14px; margin-top: 18px; font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; position: relative; z-index: 1; }
.class-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   Timetable
   ========================================================= */
.timetable { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.tt-row { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--line); }
.tt-row:first-child { border-top: none; }
.tt-day { padding: 22px 24px; font-family: var(--display); font-size: 1.25rem; color: var(--sage-d); background: var(--sage-mist); display: flex; align-items: center; }
.tt-classes { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px; align-content: center; }
.tt-class { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--paper); min-width: 150px; }
.tt-class .t { font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--terra-d); }
.tt-class .n { font-size: .92rem; font-weight: 700; color: var(--ink); margin-top: 3px; }
.tt-class .w { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.tt-note { margin-top: 20px; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* =========================================================
   Memberships / pricing
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 36px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(165deg, var(--sage-d), var(--ink)); color: var(--cream); border-color: transparent; }
.plan.featured .plan-name, .plan.featured .price, .plan.featured .plan-feat li { color: var(--cream); }
.plan.featured .plan-feat li::before { color: var(--terra-l); }
.plan-tag { position: absolute; top: 18px; right: 18px; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--terra); color: var(--cream); padding: 5px 11px; border-radius: 100px; }
.plan-name { font-family: var(--display); font-size: 1.5rem; color: var(--ink); margin-bottom: 6px; }
.plan-sub { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.plan.featured .plan-sub { color: rgba(255,253,248,.72); }
.price { font-family: var(--display); font-size: 2.9rem; font-weight: 300; color: var(--ink); line-height: 1; }
.price small { font-size: .9rem; font-family: var(--body); font-weight: 700; color: var(--muted); }
.plan.featured .price small { color: rgba(255,253,248,.7); }
.plan-feat { margin: 24px 0 28px; display: grid; gap: 12px; }
.plan-feat li { position: relative; padding-left: 28px; font-size: .9rem; color: var(--ink-soft); }
.plan-feat li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--sage); font-size: .9rem; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured .btn-ghost { border-color: var(--terra-l); color: var(--cream); }
.plan.featured .btn-ghost:hover { background: rgba(255,253,248,.1); }

/* class pass row */
.passes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 26px; }
.pass { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.pass .p { font-family: var(--display); font-size: 1.7rem; color: var(--sage-d); }
.pass .d { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }

/* =========================================================
   Teacher feature
   ========================================================= */
.teacher { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.teacher-art { position: relative; display: grid; place-items: center; }
.teacher-art .portrait {
  width: 100%; max-width: 380px; aspect-ratio: 4/5; border-radius: 200px 200px 24px 24px;
  background: linear-gradient(165deg, var(--terra-mist), var(--sage-mist));
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow);
}
.teacher-art .portrait svg { width: 80%; height: 80%; }
.teacher blockquote { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.32; color: var(--ink); letter-spacing: -.01em; }
.teacher .sig { margin-top: 26px; }
.teacher .sig .nm { font-family: var(--display); font-size: 1.25rem; color: var(--sage-d); }
.teacher .sig .rl { font-size: .82rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.teacher .creds { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.teacher .creds span { font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.teacher .creds svg { width: 18px; height: 18px; color: var(--terra); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.review .stars { color: var(--terra); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.review p { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.review .by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.05rem; color: var(--cream); flex: none; }
.review .nm { font-weight: 800; font-size: .9rem; color: var(--ink); }
.review .mt { font-size: .76rem; color: var(--muted); }

/* =========================================================
   Journal teaser
   ========================================================= */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.post-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-thumb svg { width: 100%; height: 100%; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-d); }
.post-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--ink); margin: 10px 0 10px; line-height: 1.22; }
.post-card p { font-size: .9rem; color: var(--ink-soft); }
.post-meta { margin-top: auto; padding-top: 18px; font-size: .78rem; color: var(--muted); display: flex; gap: 14px; }
.read-more { color: var(--sage-d); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta { position: relative; overflow: hidden; }
.cta-inner {
  position: relative; z-index: 1; background: linear-gradient(165deg, var(--sage-d), var(--ink));
  border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center; color: var(--cream); box-shadow: var(--shadow); overflow: hidden;
}
.cta-inner .blob { opacity: .3; }
.cta-inner h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; position: relative; z-index: 1; }
.cta-inner h2 em { font-style: italic; color: var(--terra-l); }
.cta-inner p { color: rgba(255,253,248,.78); max-width: 50ch; margin: 16px auto 30px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner .btn-ghost { border-color: rgba(255,253,248,.5); color: var(--cream); }
.cta-inner .btn-ghost:hover { background: rgba(255,253,248,.1); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--sand); padding-block: clamp(50px, 7vw, 78px) 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-mark { color: var(--cream); }
.footer-brand p { color: rgba(243,237,226,.6); font-size: .9rem; margin-top: 18px; max-width: 30ch; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243,237,226,.22); display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s; }
.footer-social a:hover { background: var(--sage); border-color: var(--sage); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-l); margin-bottom: 18px; font-weight: 800; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: rgba(243,237,226,.66); font-size: .9rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-col .addr { font-style: normal; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(243,237,226,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { font-size: .82rem; color: rgba(243,237,226,.5); }
.footer-disclaimer { font-size: .78rem; color: rgba(243,237,226,.42); max-width: 70ch; line-height: 1.6; margin-top: 14px; }

/* =========================================================
   Services page — filter
   ========================================================= */
.page-hero { padding-block: clamp(48px, 7vw, 92px) clamp(36px, 5vw, 60px); position: relative; }
.page-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.02em; color: var(--ink); margin-block: 16px 16px; }
.page-hero h1 em { font-style: italic; color: var(--sage-d); }
.page-hero p { max-width: 52ch; color: var(--ink-soft); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.filter-btn {
  padding: .58em 1.15em; border-radius: 100px; border: 1.5px solid var(--line);
  font-size: .84rem; font-weight: 700; color: var(--ink-soft); background: var(--cream);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-d); }
.filter-btn.active { background: var(--sage-d); border-color: var(--sage-d); color: var(--cream); }
.filter-count { margin-left: auto; font-size: .84rem; color: var(--muted); }
.filter-count b { color: var(--sage-d); font-weight: 800; }

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
[data-listing].hide { display: none; }
.listing {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.listing:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing-top { padding: 26px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.listing-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--sage-mist); color: var(--sage-d); display: grid; place-items: center; flex: none; }
.listing-ico svg { width: 28px; height: 28px; }
.listing-level { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; }
.lvl-all { background: var(--sage-mist); color: var(--sage-d); }
.lvl-beginner { background: var(--terra-mist); color: var(--terra-d); }
.lvl-advanced { background: #e7e0ef; color: #6b5a86; }
.listing-body { padding: 18px 26px 0; }
.listing-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.42rem; color: var(--ink); margin-bottom: 8px; }
.listing-body p { font-size: .9rem; color: var(--ink-soft); }
.listing-foot { margin-top: auto; padding: 22px 26px 26px; display: flex; justify-content: space-between; align-items: center; }
.listing-foot .dur { font-size: .8rem; color: var(--muted); font-weight: 700; }
.listing-foot .pr { font-family: var(--display); font-size: 1.2rem; color: var(--sage-d); }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-mist); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin-top: 14px; font-size: .9rem; font-weight: 700; min-height: 1.2em; }

.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 20px; }
.info-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--ink); margin-bottom: 16px; }
.info-row { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.info-row svg { width: 22px; height: 22px; color: var(--terra); flex: none; margin-top: 2px; }
.info-row .lbl { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-row .val { color: var(--ink); font-size: .96rem; }
.info-row .val a:hover { color: var(--sage-d); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); font-weight: 600; }
.hours-table .today td { color: var(--sage-d); font-weight: 800; }

.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-card svg { width: 100%; height: auto; display: block; }

/* =========================================================
   Blog page
   ========================================================= */
.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 54px); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 50px; }
.featured-art { position: relative; min-height: 320px; }
.featured-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-text { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured-text .post-cat { margin-bottom: 14px; }
.featured-text h2 { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.16; color: var(--ink); margin-bottom: 16px; letter-spacing: -.01em; }
.featured-text p { color: var(--ink-soft); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--terra-l), var(--sage)); display: grid; place-items: center; color: var(--cream); font-family: var(--display); }
.byline .nm { font-weight: 800; font-size: .88rem; color: var(--ink); }
.byline .mt { font-size: .78rem; color: var(--muted); }

.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .hero-grid, .intro-grid, .teacher, .contact-grid, .featured-post { grid-template-columns: 1fr; }
  .teacher-art { order: -1; }
  .hero-media { max-width: 480px; margin-inline: auto; }
  .featured-art { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 24px;
    transform: translateY(-130%); transition: transform .45s var(--ease); box-shadow: var(--shadow-soft);
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tt-row { grid-template-columns: 1fr; }
  .tt-day { padding: 14px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .hero-float.f1 { left: 0; }
  .hero-float.f2 { right: 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
