:root {
  --purple: #6a3081;
  --purple-deep: #3b1a4a;
  --purple-ink: #2a1236;
  --gold: #d5c760;
  --gold-soft: #f3eccb;
  --paper: #fefdfe;
  --mist: #f6f1f8;
  --ink: #2a2a2a;
  --muted: #6b6470;
  --line: #e6dcea;
  --radius: 14px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 "Spinnaker", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { line-height: 1.2; font-weight: normal; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--purple-deep); }
h3 { font-size: 1.25rem; color: var(--purple-deep); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--purple); margin-bottom: .6rem; }
section { padding: clamp(56px, 9vw, 104px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Draft badge — remove before launch */

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px;
       text-decoration: none; font-size: .95rem; letter-spacing: .04em; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--purple-ink); }
.btn-gold:hover { background: #e2d679; }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-deep); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(42,18,54,.92);
               backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #f1e9f4; text-decoration: none; font-size: .92rem; letter-spacing: .05em; }
.nav a:hover { color: var(--gold); }
.nav .btn { padding: .55em 1.1em; color: var(--purple-ink); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--purple-ink); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; padding: 0; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
               background: linear-gradient(180deg, rgba(42,18,54,.15) 0%, rgba(42,18,54,.35) 45%, rgba(42,18,54,.88) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vw, 80px); padding-top: 120px; width: 100%; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 14ch; margin-bottom: .3em; }
.hero .sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gold-soft); max-width: 40ch; margin-bottom: 1.6em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.next-class { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.4em; font-size: .9rem;
              background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .45em 1em; border-radius: 999px; }
.next-class .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(213,199,96,.25); }

/* Facts strip */
.facts { background: var(--purple); color: #fff; padding: 22px 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.facts li { font-size: .95rem; letter-spacing: .03em; }
.facts strong { display: block; color: var(--gold); font-weight: normal; font-size: 1.15rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* Timetable */
.timetable-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.timetable-head p { color: var(--muted); max-width: 46ch; margin: 0; }
.tt { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; margin: 0 -6px; width: calc(100% + 12px); }
.tt th, .tt td { text-align: center; border-radius: 10px; padding: 14px 6px; }
.tt thead th { background: var(--purple); color: #fff; font-weight: normal; letter-spacing: .05em; font-size: .95rem; }
.tt tbody th { background: var(--purple-deep); color: var(--gold); font-weight: normal; width: 64px; font-size: .9rem; }
.tt td { background: var(--mist); font-size: .98rem; }
.tt td.restore { background: var(--gold-soft); }
.tt td.restore span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.tt td.closed { color: #a59aa9; font-style: italic; }
.tt .today { outline: 2px solid var(--gold); outline-offset: -2px; }
.tt thead th.today { background: var(--purple-ink); }
.tt-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.tt-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
/* On phones: one card per day instead of a 7-column grid */
@media (max-width: 720px) {
  .tt, .tt thead, .tt tbody, .tt tr, .tt th, .tt td { display: block; }
  .tt { margin: 0; width: 100%; border-spacing: 0; }
  .tt thead, .tt tbody { display: none; }
  .tt-mobile { display: grid !important; }
}
.tt-mobile { display: none; gap: 10px; }
.tt-day { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 6px; align-items: stretch; }
.tt-day > * { border-radius: 10px; padding: 11px 6px; text-align: center; background: var(--mist); font-size: .9rem; white-space: nowrap; }
.tt-day .d { background: var(--purple); color: #fff; text-align: left; padding-left: 14px; }
.tt-day .restore { background: var(--gold-soft); }
.tt-day .restore small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.tt-day .closed { color: #a59aa9; font-style: italic; }
.tt-day.today .d { background: var(--purple-ink); box-shadow: inset 0 0 0 2px var(--gold); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; background: #fff; }
.price .amt { font-size: 2rem; color: var(--purple-deep); }
.price .amt small { font-size: .9rem; color: var(--muted); }
.price .lbl { color: var(--muted); font-size: .92rem; }
.price.best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); position: relative; }
.price.best::before { content: "best value"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
                      background: var(--gold); color: var(--purple-ink); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
                      padding: 2px 10px; border-radius: 999px; }
.price-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } }

/* Classes */
.classes { background: var(--purple-ink) url("/assets/images/pattern.webp") center/cover; color: #efe6f3; }
.classes h2, .classes h3 { color: #fff; }
.classes .eyebrow { color: var(--gold); }
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.class-card { background: rgba(42,18,54,.72); border: 1px solid rgba(213,199,96,.3); border-radius: var(--radius); overflow: hidden; }
.class-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.class-card .body { padding: 24px 26px 28px; }
.class-card .when { color: var(--gold); font-size: .88rem; letter-spacing: .05em; margin-bottom: .6em; }
@media (max-width: 760px) { .class-grid { grid-template-columns: 1fr; } }

/* About */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split .peace-wall { justify-self: center; width: 100%; max-width: 440px; }
.split .peace-wall img { aspect-ratio: 1/1; }
.since { display: inline-block; font-size: 3.2rem; color: var(--gold); line-height: 1; margin-bottom: .2em; text-shadow: 0 1px 0 #b9ab45; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Photo band */
.photo-band img { display: block; width: 100%; height: clamp(200px, 36vw, 420px); object-fit: cover; object-position: center 40%; }

/* The Shambhala Difference */
.difference .lead { font-size: 1.15rem; color: var(--purple-deep); }
.limbs-block { max-width: 860px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: center; }
.limbs-block > p { font-size: 1.05rem; }
.limbs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.limbs li { background: var(--mist); border-radius: 10px; padding: 12px 4px; font-size: .88rem; color: var(--purple-deep); }
.limbs li span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.limbs li.asana { background: var(--purple); color: #fff; }
.limbs li.asana span { color: var(--gold); }
@media (max-width: 760px) { .limbs { grid-template-columns: repeat(4, 1fr); } }
.journey { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 860px; padding: clamp(28px, 5vw, 48px);
           border-radius: var(--radius); color: #efe6f3; text-align: center;
           background: var(--purple-ink) url("/assets/images/pattern.webp") center/cover; }
.journey h3 { color: var(--gold); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.journey p { font-size: 1.08rem; margin: 0; }
.teacher { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 960px; display: grid; grid-template-columns: 300px 1fr;
           gap: clamp(24px, 4vw, 48px); align-items: center; text-align: left; }
.teacher img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.teacher h3 { margin-bottom: .5em; }
@media (max-width: 760px) { .teacher { grid-template-columns: 1fr; } .teacher img { max-width: 320px; margin: 0 auto; } }
.study { margin-top: clamp(48px, 7vw, 80px); text-align: center; }
.study-intro { max-width: 62ch; margin: 0 auto 24px; }
.study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.study-card { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; background: #fff; }
.study-card h3 { margin-bottom: .3em; }
.study-card p { margin: 0; color: var(--muted); }
.study-cta { margin-top: 24px; }
@media (max-width: 760px) { .study-grid { grid-template-columns: 1fr; } }

/* Library */
.library { background: var(--mist); }
.library-intro { max-width: 60ch; color: var(--muted); margin-bottom: 32px; }
.doc { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line);
       border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.doc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(59,26,74,.1); border-color: var(--gold); }
.doc h3 { margin-bottom: .2em; }
.doc-by { font-size: .85rem; letter-spacing: .04em; color: var(--purple); margin-bottom: .8em; }
.doc p { margin: 0; color: var(--muted); font-size: .95rem; }
.doc-meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted);
            border-top: 1px solid var(--line); padding-top: 14px; }
.doc .dl { color: var(--purple); letter-spacing: .04em; }
.doc-tag { display: inline-block; background: var(--gold); color: var(--purple-ink); font-size: .7rem; letter-spacing: .1em;
           text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.doc.featured { background: var(--purple-ink) url("/assets/images/pattern.webp") center/cover; border-color: transparent; color: #efe6f3; margin-bottom: 16px; padding: 32px; }
.doc.featured h3 { color: #fff; font-size: 1.6rem; }
.doc.featured .doc-by { color: var(--gold); }
.doc.featured p { color: #e2d6e8; max-width: 60ch; }
.doc.featured .doc-meta { color: #cdbfd4; border-color: rgba(255,255,255,.15); }
.doc.featured .dl { color: var(--gold); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* Location */
.location { background: var(--mist); }
.studio-photo img { display: block; width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.loc-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: stretch; }
.loc-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.loc-card address { font-style: normal; margin-bottom: 1.2em; }
.loc-card dl { margin: 0 0 1.4em; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.loc-card dt { color: var(--muted); }
.loc-card dd { margin: 0; }
.loc-card .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; position: relative;
       background: var(--purple-deep) url("/assets/images/sala.webp") center/cover; display: grid; place-items: center; }
.map button { position: relative; z-index: 1; }
.map::before { content: ""; position: absolute; inset: 0; background: rgba(42,18,54,.55); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 820px) { .loc-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.08rem; color: var(--purple-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8em 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--purple-ink); color: #cdbfd4; padding: 48px 0 32px; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { height: 54px; width: auto; }
.site-footer a { color: #f1e9f4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: 18px; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.copy { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-top: 8px; color: #9a8aa3; }
.btn-outline { border: 1px solid var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--mist); }
.study-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Sub-pages */
.page-hero { background: var(--purple-ink) url("/assets/images/pattern.webp") center/cover; color: #efe6f3; padding: clamp(56px, 9vw, 96px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { max-width: 62ch; font-size: 1.1rem; color: #e2d6e8; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.4em; color: #cdbfd4; }
.breadcrumb a { color: #f1e9f4; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.subject { border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 64px); margin-top: clamp(40px, 6vw, 64px); }
.subject:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.subject .tagline { color: var(--purple); font-size: 1.1rem; margin-top: -.3em; }
.sutra { margin: 1.4em 0; padding: 22px 26px; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.sutra p { margin: 0 0 .3em; }
.sutra .sk { color: var(--purple-deep); font-style: italic; }
.sutra cite { display: block; margin-top: .6em; font-size: .88rem; color: var(--muted); font-style: normal; }
.two-col { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-col li { background: var(--mist); border-radius: 10px; padding: 12px 16px; }
.two-col strong { color: var(--purple-deep); font-weight: normal; display: block; }
.two-col span { font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.cta-band { background: var(--purple); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #efe6f3; max-width: 56ch; margin: 0 auto 1.4em; }
.cta-band .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Google rating chip in the hero */
.rating { display: inline-flex; align-items: center; gap: .55em; margin: -.4em 0 1.6em; color: #fff; text-decoration: none; font-size: .95rem; }
.rating .stars { color: var(--gold); letter-spacing: .08em; font-size: 1.05rem; }
.rating strong { font-weight: normal; font-size: 1.1rem; }
.rating span:last-child { color: var(--gold-soft); border-bottom: 1px solid rgba(243,236,203,.4); }
.rating:hover span:last-child { border-color: var(--gold); }
