/* =========================================================
   Kennedy Morgan Medium — Design System
   Midnight navy + rose/orchid, elegant & cinematic
   ========================================================= */

:root {
  /* Core palette (from KMTreeLife logo) */
  --midnight:   #0a1030;   /* deep base */
  --midnight-2: #0d1638;   /* raised surfaces */
  --night:      #060a1f;   /* darkest */
  --rose:       #d081a9;   /* mystic rose */
  --rose-bright:#e79bc2;
  --orchid:     #c77dff;   /* lilac accent (logo ring) */
  --orchid-soft:#b57edc;
  --gold:       #e8c57a;   /* warm luxe accent */
  --ink:        #f4f1fa;   /* primary text */
  --ink-muted:  #b9b2d0;   /* secondary text */
  --ink-faint:  #8880a6;
  --line:       rgba(199,125,255,0.16);

  --grad-accent: linear-gradient(120deg, var(--orchid) 0%, var(--rose) 100%);
  --grad-hero:   radial-gradient(120% 90% at 70% 15%, rgba(199,125,255,0.20), transparent 55%),
                 radial-gradient(90% 70% at 15% 90%, rgba(208,129,169,0.18), transparent 55%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* Anchor targets must clear the fixed navbar. */
[id] { scroll-margin-top: 110px; }

body {
  font-family: var(--sans);
  background: var(--midnight);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Starfield backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(231,155,194,0.6), transparent),
    radial-gradient(1px 1px at 85% 20%, rgba(199,125,255,0.5), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,0.4), transparent);
  background-size: 100% 100%;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: 0.01em; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orchid);
}

.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--grad-accent);
  color: #1a0f2b;
  box-shadow: 0 12px 30px -10px rgba(199,125,255,0.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(199,125,255,0.75); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--orchid); transform: translateY(-3px); background: rgba(199,125,255,0.08); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  padding: 1.3rem 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,12,32,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.brand img { width: 42px; height: 42px; }
.brand span b { color: var(--rose-bright); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
/* Never let a multi-word item ("Hello From Heaven", "Gift Certificates") wrap —
   with 7 items the row must collapse to the menu button instead of stacking. */
.nav-links a { font-size: 0.86rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.02em; transition: color 0.25s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--rose-bright); }

/* Dropdown. The parent carries vertical padding (cancelled by a negative
   margin) so the pointer never crosses a dead gap on its way to the panel. */
.nav-item.has-sub { position: relative; display: flex; align-items: center; padding: 0.9rem 0; margin: -0.9rem 0; }
.nav-item.has-sub > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-caret { transition: transform 0.25s var(--ease); flex-shrink: 0; }
.nav-item.has-sub:hover .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: -0.9rem; min-width: 200px;
  background: rgba(8,12,32,0.97); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem 0;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 0.55rem 1.1rem; white-space: nowrap; }
/* margin-left:auto on .nav-links consumes all the free space, so without this
   gap the links butt straight against the Follow button and overlap it. */
.nav-cta { display: flex; align-items: center; gap: 1rem; margin-left: 1.8rem; flex-shrink: 0; }
.nav-follow { padding: 0.6rem 1.3rem; font-size: 0.78rem; letter-spacing: 0.1em; }

/* ---------- Follow modal ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(4,7,20,0.72); backdrop-filter: blur(6px); padding: 1.5rem;
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.modal-bg.in { opacity: 1; }
.modal-card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem 2rem 2rem;
  transform: translateY(14px); transition: transform 0.25s var(--ease);
}
.modal-bg.in .modal-card { transform: none; }
.modal-card h3 { font-family: var(--serif); font-size: 1.9rem; margin: 0.5rem 0 0.6rem; }
.modal-lead { color: var(--ink-muted); font-size: 0.94rem; margin-bottom: 1.5rem; }
.modal-card form { display: grid; gap: 1rem; }
.modal-card label { display: flex; flex-direction: column; gap: 0.4rem; }
.modal-card input {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1.1rem; color: var(--ink); font-family: var(--sans); font-size: 1rem;
}
.modal-card input:focus { outline: none; border-color: var(--orchid); background: rgba(199,125,255,0.07); }
.modal-close {
  position: absolute; top: 0.8rem; right: 1rem; background: none; border: 0;
  color: var(--ink-faint); font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0.2rem;
}
.modal-close:hover { color: var(--ink); }
.follow-done { text-align: center; padding: 1rem 0; }
.follow-done .bk-done-mark { margin-bottom: 1.2rem; }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%;
  opacity: 0.55;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--midnight) 12%, rgba(10,16,48,0.55) 55%, rgba(10,16,48,0.2) 100%),
    linear-gradient(0deg, var(--midnight) 2%, transparent 40%),
    var(--grad-hero);
}
.hero .container { z-index: 2; }
.hero-inner { max-width: 660px; }
.hero-wordmark {
  width: min(560px, 92%);
  height: auto;
  display: block;
  margin: 0 0 0.4rem -0.35rem;
  /* Tint cyan artwork -> rose/orchid brand */
  filter: hue-rotate(140deg) saturate(1.15) drop-shadow(0 6px 30px rgba(199,125,255,0.3));
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 1rem;
}
.hero h1 .sub-name { display: block; font-size: 0.42em; letter-spacing: 0.42em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; color: var(--ink-muted); margin-bottom: 0.4rem; }
.hero .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--ink-muted);
  max-width: 30ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { margin-top: 2.6rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust div { }
.hero-trust b { font-family: var(--serif); font-size: 1.7rem; color: var(--rose-bright); display: block; }
.hero-trust small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint); }

/* ---------- Section base ---------- */
section { position: relative; z-index: 1; }
.pad { padding: 7rem 0; }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 1rem 0 1.1rem; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.about-portrait { position: relative; }
.about-portrait .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(199,125,255,0.25), transparent 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
/* Site standard: subtle rose/orchid wash on body photos so they blend with
   the palette. Applies to framed portraits + any element with .photo-tint. */
.about-portrait .frame::after,
.bio-split .portrait::after,
.photo-tint::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(199,125,255,0.72), rgba(208,129,169,0.6));
  mix-blend-mode: soft-light;
  pointer-events: none;
  border-radius: inherit;
}
.photo-tint { position: relative; overflow: hidden; }
.about-portrait img { width: 100%; }
.about-portrait .glow {
  position: absolute; inset: -30px; z-index: -1;
  background: radial-gradient(circle, rgba(208,129,169,0.35), transparent 70%);
  filter: blur(40px);
}
.about blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; line-height: 1.4; color: var(--ink);
  border-left: 2px solid var(--orchid);
  padding-left: 1.4rem; margin: 2rem 0;
}
.about p { color: var(--ink-muted); margin-bottom: 1.1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  background: linear-gradient(180deg, var(--midnight-2), rgba(13,22,56,0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(199,125,255,0.4); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.4rem;
  background: rgba(199,125,255,0.12); font-size: 1.6rem;
}
.service-card h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.3rem; }
.service-card .more { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orchid); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, transparent, rgba(6,10,31,0.6), transparent); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--midnight-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.testi-card .stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 0.9rem; }
.testi-card p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink); margin-bottom: 1.3rem; }
.testi-card cite { font-style: normal; font-size: 0.85rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.testi-card cite b { color: var(--rose-bright); }

/* ---------- Split feature (Develop / courses) ---------- */
.feature-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.feature-split .art {
  aspect-ratio: 1; border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(199,125,255,0.3), transparent 60%),
    var(--midnight-2);
  border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.feature-split .art img { width: 72%; filter: drop-shadow(0 0 40px rgba(199,125,255,0.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
.feature-list { list-style: none; margin-top: 1.8rem; }
.feature-list li { padding: 0.7rem 0; padding-left: 2rem; position: relative; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--orchid); }
.feature-list a { color: var(--rose-bright); font-weight: 500; }
.feature-list a:hover { text-decoration: underline; }

/* ---------- Hello From Heaven (media) ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.media-card {
  border-radius: var(--radius); padding: 2.6rem; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--midnight-2), rgba(13,22,56,0.3));
  display: flex; flex-direction: column; gap: 1rem; min-height: 260px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.media-card:hover { transform: translateY(-6px); border-color: rgba(199,125,255,0.4); }
.media-card .tag { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orchid); }
.media-card h3 { font-size: 1.8rem; }
.media-card p { color: var(--ink-muted); flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 6rem 0; }
.cta-band .glass {
  background: linear-gradient(135deg, rgba(199,125,255,0.12), rgba(208,129,169,0.08));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-band p { color: var(--ink-muted); max-width: 48ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 4.5rem 0 2.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); margin-bottom: 1.2rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a { color: var(--ink-muted); font-size: 0.92rem; transition: color 0.25s; }
.footer ul li a:hover { color: var(--rose-bright); }
.footer-brand p { color: var(--ink-muted); font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.82rem; flex-wrap: wrap; gap: 1rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: 12rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--grad-hero), radial-gradient(80% 60% at 50% 0%, rgba(199,125,255,0.12), transparent 60%);
}
.page-hero .container { z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 1rem 0 1rem; }
.page-hero p { color: var(--ink-muted); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.page-hero .lead-serif { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--rose-bright); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-muted); margin-bottom: 1.3rem; font-size: 1.06rem; }
.prose h2 { font-size: 2rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; color: var(--rose-bright); }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink); border-left: 2px solid var(--orchid); padding-left: 1.5rem; margin: 2rem 0; }
.prose strong { color: var(--ink); }

/* Two-col bio */
/* Cut-out portrait (transparent PNG): give it a lit backdrop to sit on, rather
   than letting the subject float on flat navy. The photo tint is skipped here —
   with alpha it would wash the backdrop instead of the subject. */
.bio-split .portrait.cutout {
  background:
    radial-gradient(75% 55% at 50% 18%, rgba(199,125,255,0.30), transparent 70%),
    linear-gradient(180deg, rgba(13,22,56,0.9), var(--midnight));
}
.bio-split .portrait.cutout::after { display: none; }

/* WhatsApp number in the booking block — glyph sits inline with the number. */
.wa-link { display: inline-flex; align-items: center; gap: 0.55rem; }
.wa-link svg { color: var(--rose-bright); flex-shrink: 0; }
/* All three rows carry an icon, so the text shares one left edge. */
.contact-lines a { display: inline-flex; align-items: center; gap: 0.55rem; }
.contact-lines a svg { color: var(--rose-bright); flex-shrink: 0; }

/* Left column of the bio: portrait, with room beneath it for the follow links. */
.bio-social { margin-top: 1.7rem; }
.bio-social .tag-cloud { margin: 0.8rem 0 0; }
.follower-count {
  margin-top: 0.9rem; font-size: 0.85rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.follower-count b { color: var(--rose-bright); font-size: 1.05rem; letter-spacing: 0.02em; }

.bio-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.bio-split .portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 100px; }

/* ---------- Social pill links ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.4rem; }
.social-links a {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  color: var(--rose-bright); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.4rem 0.95rem; transition: border-color 0.25s, background 0.25s;
}
.social-links a:hover { border-color: var(--orchid); background: rgba(199,125,255,0.1); }

/* ---------- Testimonials full grid ---------- */
.testi-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-full .testi-card { break-inside: avoid; }
@media (max-width: 940px) { .testi-full { grid-template-columns: 1fr 1fr; } }
/* `relative` (not `static`) cancels the desktop sticky while KEEPING the portrait
   as the containing block — with `static` the photo-tint ::after escapes and
   washes the whole bio section in rose. */
@media (max-width: 640px) { .testi-full { grid-template-columns: 1fr; } .bio-split { grid-template-columns: 1fr; gap: 2.5rem; } .bio-split .portrait { position: relative; top: auto; max-width: 380px; margin: 0 auto; }
  .bio-social { text-align: center; } .bio-social .tag-cloud { justify-content: center; } }

/* ---------- Blog grid ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.blog-card {
  background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(199,125,255,0.4); }
.blog-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(199,125,255,0.25), rgba(208,129,169,0.12)); display: grid; place-items: center; font-size: 2.4rem; }
.blog-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .date { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint); margin-bottom: 0.6rem; }
.blog-card h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.8rem; }
.blog-card .more { margin-top: auto; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orchid); font-weight: 600; }
@media (max-width: 940px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Reading detail cards ---------- */
.reading-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; align-items: center; }
.reading-block:nth-child(even) .reading-copy { order: 2; }
.reading-panel { background: linear-gradient(135deg, var(--midnight-2), rgba(13,22,56,0.3)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; min-height: 260px; display: flex; flex-direction: column; justify-content: center; }
.reading-panel .price { font-family: var(--serif); font-size: 1.6rem; color: var(--rose-bright); }
.reading-copy h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.reading-copy p { color: var(--ink-muted); }
@media (max-width: 720px) { .reading-block { grid-template-columns: 1fr; } .reading-block:nth-child(even) .reading-copy { order: 0; } }

/* ---------- Video feature (side-by-side) ---------- */
.video-feature {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: radial-gradient(circle at 50% 40%, rgba(199,125,255,0.2), var(--midnight-2));
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Vertical video (Facebook reels, YouTube Shorts). In the 16:9 box these show
   as a narrow strip walled by black; give them their own ratio and stop them
   growing to full width on a desktop. */
.video-embed.portrait { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.video-caption { position: relative; padding-left: 2.2rem; }
.video-caption::before {
  content: "\201C"; position: absolute; left: -0.3rem; top: -1.8rem;
  font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--orchid); opacity: 0.5;
}
.video-caption p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; color: var(--ink); margin: 0;
}
.video-caption cite {
  display: block; margin-top: 1.3rem; font-style: normal; font-family: var(--sans);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose-bright);
}
@media (max-width: 820px) {
  .video-feature { grid-template-columns: 1fr; gap: 2rem; }
  .video-caption { padding-left: 0; text-align: center; }
  .video-caption::before { position: static; display: block; font-size: 3.5rem; margin-bottom: -1.5rem; }
}

/* ---------- Booking (native Skudie component) ---------- */
.bk-steps {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2.2rem;
  list-style: none; margin: 0 0 3rem;
}
.bk-steps li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.bk-steps li.on { color: var(--ink); }
.bk-steps li.done { color: var(--rose); }
.bk-step-n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 0.8rem; letter-spacing: 0;
}
.bk-steps li.on .bk-step-n { background: var(--grad-accent); color: #1a0f2b; border-color: transparent; }
.bk-steps li.done .bk-step-n { border-color: var(--rose); color: var(--rose); }

/* Delivery-mode tabs */
.bk-modes { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.bk-mode {
  flex: 0 1 260px; text-align: left; cursor: pointer;
  padding: 1rem 1.3rem; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--sans); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.bk-mode:hover { border-color: var(--orchid); transform: translateY(-2px); }
.bk-mode.on { border-color: var(--orchid); background: rgba(199,125,255,0.12); }
.bk-mode b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.bk-mode span { font-size: 0.82rem; color: var(--ink-faint); }

/* Service cards — top-packed, matching the testimonial grid standard */
.bk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.bk-card {
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.6rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.bk-card:hover { border-color: var(--orchid); transform: translateY(-4px); }
.bk-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.bk-meta { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.bk-desc { font-size: 0.93rem; color: var(--ink-muted); }
.bk-price { font-family: var(--serif); font-size: 1.9rem; color: var(--rose-bright); }
.bk-card .btn { margin-top: 0.4rem; }

/* Chosen-service bar + summary */
.bk-chosen, .bk-summary {
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.8rem; margin-bottom: 2.4rem;
}
.bk-chosen { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bk-chosen b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.bk-eyebrow {
  display: block; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orchid); margin-bottom: 0.2rem;
}
.bk-summary { text-align: center; }
.bk-summary h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.bk-summary .bk-price { margin: 0.5rem 0 1rem; }
.bk-back {
  background: none; border: 1px solid var(--line); color: var(--ink-muted);
  border-radius: 100px; padding: 0.5rem 1.2rem; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  flex-shrink: 0; transition: border-color 0.3s, color 0.3s;
}
.bk-back:hover { border-color: var(--orchid); color: var(--ink); }

/* Date strip + times for the chosen day */
.bk-note { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 1.5rem; }
.bk-dates {
  display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.8rem; margin-bottom: 2rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.bk-dates::-webkit-scrollbar { height: 6px; }
.bk-dates::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
.bk-date {
  flex: 0 0 auto; width: 76px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.8rem 0.4rem; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--sans); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.bk-date:hover { border-color: var(--orchid); transform: translateY(-2px); }
.bk-date.on { border-color: var(--orchid); background: rgba(199,125,255,0.14); }
.bk-date-dow { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.bk-date.on .bk-date-dow { color: var(--orchid); }
.bk-date-d { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.bk-date-mo { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.bk-slot-panel {
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
}
.bk-slot-panel h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.3rem; }
.bk-times { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.bk-time {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--ink);
  border-radius: 100px; padding: 0.7rem 1.4rem; cursor: pointer;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.bk-time:hover { border-color: var(--orchid); background: rgba(199,125,255,0.12); transform: translateY(-2px); }

/* Price breakdown (gift certificate / referral) */
.bk-lines { list-style: none; max-width: 340px; margin: 1.2rem auto 0; font-size: 0.92rem; }
.bk-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; color: var(--ink-muted); }
.bk-lines .bk-off { color: var(--rose-bright); }

/* Slot taken while the visitor was deciding */
.bk-notice {
  text-align: center; font-size: 0.92rem; color: var(--gold);
  background: rgba(232,197,122,0.08); border: 1px solid rgba(232,197,122,0.28);
  border-radius: 12px; padding: 0.85rem 1.1rem; margin-bottom: 1.8rem;
}

/* Gift certificate entry */
.bk-gift { max-width: 620px; margin: 0 auto 1.6rem; }
.bk-gift summary {
  cursor: pointer; font-size: 0.85rem; color: var(--orchid);
  letter-spacing: 0.06em; padding: 0.4rem 0; list-style: none;
}
.bk-gift summary::-webkit-details-marker { display: none; }
.bk-gift summary::before { content: "+\00a0"; }
.bk-gift details[open] summary::before { content: "\2212\00a0"; }
.bk-gift-row { display: flex; gap: 0.7rem; margin-top: 0.7rem; }
.bk-gift-row input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1.1rem; color: var(--ink); font-family: var(--sans); font-size: 1rem;
  text-transform: uppercase;
}
.bk-gift-row input:focus { outline: none; border-color: var(--orchid); }
.bk-gift-row .btn { flex: 0 0 auto; padding: 0.85rem 1.4rem; }
.bk-gift-err { color: #ff9db4; font-size: 0.85rem; margin-top: 0.6rem; }
.bk-gift-on {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: rgba(199,125,255,0.1); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.9rem 1.2rem; font-size: 0.92rem;
}

/* Details form */
.bk-form { display: grid; grid-template-columns: 1fr; gap: 1.3rem; max-width: 620px; margin: 0 auto; }
.bk-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.bk-lab {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.bk-form input {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.1rem; color: var(--ink); font-family: var(--sans); font-size: 1rem;
  letter-spacing: 0; text-transform: none;
}
.bk-form input:focus { outline: none; border-color: var(--orchid); background: rgba(199,125,255,0.07); }
.bk-form small { font-size: 0.75rem; letter-spacing: 0; text-transform: none; color: var(--ink-faint); }
.bk-opt { color: var(--ink-faint); }
.bk-submit { justify-content: center; }
.bk-fine { text-align: center; font-size: 0.8rem; color: var(--ink-faint); }
.bk-error {
  color: #ff9db4; font-size: 0.9rem; text-align: center;
  background: rgba(255,80,120,0.08); border: 1px solid rgba(255,120,150,0.3);
  border-radius: 12px; padding: 0.8rem 1rem;
}

/* Events */
.event-list { display: grid; gap: 1.8rem; }
.event-card {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0;
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.event-card:hover { border-color: var(--orchid); transform: translateY(-3px); }
/* Event art is usually a designed flyer with text on it, so show the whole
   poster (contain, not cover) and skip the rose wash that would sit over the
   lettering — same reasoning as the press logos. */
.event-img { position: relative; min-height: 260px; background: var(--night); }
.event-img img { width: 100%; height: 100%; object-fit: contain; }
.event-body {
  padding: 2rem; display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.55rem;
}
.event-body h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
.event-per { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.event-seats { font-size: 0.85rem; color: var(--rose-bright); letter-spacing: 0.06em; }
.event-body .btn { margin-top: 0.5rem; }
.event-body .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.bk-form textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.1rem; color: var(--ink); font-family: var(--sans); font-size: 1rem;
  resize: vertical; line-height: 1.6;
}
.bk-form textarea:focus { outline: none; border-color: var(--orchid); background: rgba(199,125,255,0.07); }
.bk-form select {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.1rem; color: var(--ink); font-family: var(--sans); font-size: 1rem;
}
.bk-form select:focus { outline: none; border-color: var(--orchid); }
@media (max-width: 720px) {
  .event-card { grid-template-columns: 1fr; }
  .event-img { min-height: 220px; }
}

/* Gift certificate purchase */
.bk-giftbuy { max-width: 620px; }
.bk-amount-field { position: relative; display: flex; align-items: center; }
.bk-amount-cur {
  position: absolute; left: 1.1rem; font-family: var(--serif); font-size: 1.5rem;
  color: var(--ink-faint); pointer-events: none;
}
.bk-amount-field input {
  width: 100%; padding-left: 2.4rem;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
}
.bk-amount-field input::-webkit-outer-spin-button,
.bk-amount-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-amount-field input[type=number] { -moz-appearance: textfield; }
.bk-rule { border: 0; border-top: 1px solid var(--line); margin: 0.6rem 0; }

/* States */
.bk-state { text-align: center; padding: 3rem 1rem; color: var(--ink-muted); }
.bk-state .bk-sub, .bk-done .bk-sub { font-size: 0.9rem; color: var(--ink-faint); margin-top: 0.6rem; }
.bk-err { color: #ff9db4; }
.bk-spin {
  width: 34px; height: 34px; margin: 0 auto 1.2rem; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--orchid);
  animation: bkspin 0.8s linear infinite;
}
@keyframes bkspin { to { transform: rotate(360deg); } }
.bk-done { text-align: center; padding: 3rem 1rem; }
.bk-done-mark {
  width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: #1a0f2b;
  background: var(--grad-accent);
}
.bk-done h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin-bottom: 0.6rem; }

@media (max-width: 940px) { .bk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-steps { gap: 1rem; }
  .bk-steps li { font-size: 0.68rem; }
  .bk-mode { flex: 1 1 100%; }
  .bk-chosen { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info .row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-info .row .ic { font-size: 1.3rem; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(199,125,255,0.12); border-radius: 12px; flex-shrink: 0; }
.contact-info .row .ic-svg { color: var(--rose-bright); }
.contact-info .row b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.contact-info .row span { color: var(--ink-muted); font-size: 0.95rem; }
.form { background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; }
.form label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin: 1rem 0 0.4rem; }
.form input, .form textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; color: var(--ink); font-family: var(--sans); font-size: 0.98rem; transition: border-color 0.25s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orchid); }
.form textarea { min-height: 130px; resize: vertical; }
.form button { margin-top: 1.5rem; width: 100%; justify-content: center; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Press kit ---------- */
/* Press coverage cards (logo + headline + excerpt) — top-packed, default container */
.press-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.press-card {
  background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.press-card:hover { border-color: var(--orchid); transform: translateY(-4px); }
.press-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--night); }
/* No rose wash here: most of these are publication/venue brand marks, and the
   site's photo tint standard deliberately exempts logos. */
.press-thumb img { width: 100%; height: 100%; object-fit: cover; }
.press-card h3 { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; padding: 1.3rem 1.4rem 0; }
.press-card p { color: var(--ink-muted); font-size: 0.92rem; padding: 0.6rem 1.4rem 1.5rem; }

/* Venue / appearance logos */
.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.venue {
  background: var(--midnight-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem; display: grid; place-items: center; aspect-ratio: 1 / 1;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.venue:hover { border-color: var(--orchid); transform: translateY(-3px); }
.venue img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

@media (max-width: 940px) {
  .press-cards { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .press-cards { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
}

.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.press-item { background: var(--midnight-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; text-align: center; }
.press-item b { font-family: var(--serif); font-size: 1.15rem; color: var(--rose-bright); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }
.tag-cloud span, .tag-cloud a { background: rgba(199,125,255,0.1); border: 1px solid var(--line); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.85rem; color: var(--ink-muted); }
.tag-cloud a { transition: border-color 0.3s, color 0.3s, background 0.3s; }
.tag-cloud a:hover { border-color: var(--orchid); color: var(--ink); background: rgba(199,125,255,0.18); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note {
  font-size: 0.85rem; color: var(--gold); text-align: center; margin-bottom: 0.9rem;
  background: rgba(232,197,122,0.08); border: 1px solid rgba(232,197,122,0.28);
  border-radius: 12px; padding: 0.7rem 1rem;
}
.fact-list { list-style: none; }
.fact-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.fact-list li b { font-family: var(--sans); color: var(--orchid); min-width: 130px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .about, .feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses at 1320px, not 720px: the "Kennedy Morgan Medium" wordmark,
   eight items and the Follow button need the room. Measured: clean at 1340,
   tight at 1300. Re-measure whenever a nav item is added or removed. */
@media (max-width: 1320px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,12,32,0.97); backdrop-filter: blur(14px); padding: 1.5rem 6%; gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  /* No hover on touch: the dropdown sits open and indented inside the menu. */
  .nav-links.open .nav-item.has-sub {
    flex-direction: column; align-items: center; gap: 1.2rem; padding: 0; margin: 0;
  }
  .nav-links.open .nav-caret { display: none; }
  .nav-links.open .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; backdrop-filter: none; border: 0; box-shadow: none;
    padding: 0; min-width: 0;
  }
  .nav-links.open .nav-sub a { padding: 0; font-size: 0.82rem; color: var(--ink-faint); }
}
@media (max-width: 720px) {
  .media-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pad { padding: 4.5rem 0; }
  .hero-trust { gap: 1.5rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  /* stack every card grid so nothing overflows the viewport */
  .services-grid,
  .testi-grid,
  .testi-full,
  .blog-grid,
  .media-grid,
  .contact-grid,
  .feature-split,
  .about,
  .bio-split { grid-template-columns: 1fr !important; }
  .service-card, .testi-card, .media-card, .blog-card, .reading-panel { min-width: 0; }

  .container { width: 90%; }

  /* center the whole hero on phones so wordmark + text align;
     start-align so content sits higher and the middle breathes */
  /* size the hero to its content (no forced vh) so there's no empty dead zone */
  .hero { padding: 7rem 0 4rem; text-align: center; align-items: center; min-height: auto; }
  /* flex column with an even gap so every element gets equal breathing room */
  .hero-inner { margin: 0 auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
  .hero-wordmark { width: 94%; margin: 0 auto; }
  .hero h1 { margin: 0; }
  .hero .eyebrow { display: block; }
  .hero .lead { max-width: none; margin: 0; }
  .hero-actions { justify-content: center; gap: 0.7rem; margin: 0; }
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0; width: 100%; }
  .hero-trust div { text-align: center; }
  .hero-trust b { font-size: 1.25rem; }
  .hero-trust small { font-size: 0.58rem; letter-spacing: 0.06em; }

  .btn { padding: 0.85rem 1.35rem; font-size: 0.8rem; }

  .section-head h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .page-hero { padding: 8.5rem 0 3rem; }
  .page-hero h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .page-hero p { font-size: 1rem; }

  .about blockquote, .prose blockquote { font-size: 1.25rem; }
  .video-caption p { font-size: 1.3rem; }
  .reading-panel { padding: 1.8rem; }
  .booking-embed iframe { height: 78vh; }
}

/* belt-and-suspenders: never allow a horizontal scrollbar */
html { overflow-x: hidden; }

/* Footer star doubles as the way in to /kmm-admin/ — styled as decoration. */
.admin-dot { color: inherit; cursor: pointer; transition: color 0.25s; }
.admin-dot:hover { color: var(--orchid); }

/* Two-card variant of the services grid (booking page intro). */
.services-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.services-grid.two-up .eyebrow { display: block; margin-bottom: 0.4rem; }
@media (max-width: 720px) { .services-grid.two-up { grid-template-columns: 1fr; } }

/* Guest booking management */
.bk-manage-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
@media (max-width: 480px) { .bk-manage-actions { flex-direction: column; } .bk-manage-actions .btn { justify-content: center; } }

/* "Add my app" block */
.app-install {
  display: grid; grid-template-columns: 96px 1fr; gap: 1.8rem; align-items: start;
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
}
.app-icon { width: 96px; height: 96px; border-radius: 22px; border: 1px solid var(--line); background: var(--night); }
.app-copy h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0.35rem 0 0.6rem; }
.app-copy p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.app-steps { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.app-steps ol { margin: 0.6rem 0 0 1.1rem; color: var(--ink-muted); font-size: 0.92rem; }
.app-steps li { margin-bottom: 0.35rem; }
.app-steps b { color: var(--ink); }
@media (max-width: 600px) {
  .app-install { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.2rem; padding: 1.6rem; }
  .app-steps ol { text-align: left; }
}

/* ================= Learning (LMS) ================= */
.lms-account { font-size: 0.85rem; color: var(--ink-faint); margin-top: 1.2rem; }
.lms-account a { color: var(--orchid); }
.lms-who { color: var(--ink-muted); }
.hide { display: none !important; }

/* Catalogue */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.course-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.course-card:hover { border-color: var(--orchid); transform: translateY(-4px); }
.course-thumb { aspect-ratio: 16 / 9; background: var(--night); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.course-body h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }

/* Course page */
.course-head {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem;
}
.course-title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; margin: 0.4rem 0 0.6rem; }
.course-sub { color: var(--ink-muted); font-size: 1.05rem; margin-bottom: 0.8rem; }
.course-buy {
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; text-align: center;
}
.course-buy .btn { width: 100%; justify-content: center; margin-top: 0.8rem; }
.course-enrolled { color: var(--ok, #5fd0a0); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.course-progress { height: 6px; background: rgba(255,255,255,0.07); border-radius: 100px; overflow: hidden; margin: 0.9rem 0 0.5rem; }
.course-progress div { height: 100%; background: var(--grad-accent); border-radius: 100px; transition: width 0.6s var(--ease); }
/* Full container width, like the rest of the course page — a 760px reading
   measure left it noticeably narrower than everything around it. */
.course-desc { max-width: none; margin: 0 0 3rem; }
.curriculum-h { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.4rem; }

/* Curriculum list */
.cur-section { margin-bottom: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cur-section h4 {
  display: flex; align-items: center; gap: 0.9rem; font-family: var(--serif); font-size: 1.25rem;
  background: var(--midnight-2); padding: 1rem 1.4rem; margin: 0;
}
.cur-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(199,125,255,0.14); color: var(--orchid); font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
}
.cur-section ul { list-style: none; }
.cur-section li { border-top: 1px solid var(--line); }
.cur-section li > a, .cur-section li > span {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.4rem; font-size: 0.95rem;
  color: var(--ink-muted); transition: background 0.25s, color 0.25s;
}
.cur-section li > a:hover { background: rgba(199,125,255,0.07); color: var(--ink); }
.cur-section li.locked > span { color: var(--ink-faint); cursor: default; }
.cur-section li.done .cur-ic { color: var(--ok, #5fd0a0); }
.cur-ic { width: 1.2rem; text-align: center; color: var(--orchid); flex-shrink: 0; }
.cur-name { flex: 1; }
.cur-tag {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.15rem 0.55rem;
  border-radius: 100px; border: 1px solid var(--line); color: var(--ink-faint); flex-shrink: 0;
}
.cur-dur { font-size: 0.8rem; color: var(--ink-faint); flex-shrink: 0; }

/* Lesson player */
.lesson-layout { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.lesson-nav {
  position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto;
  background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem;
}
.lesson-back { display: block; font-size: 0.85rem; color: var(--orchid); margin-bottom: 1.2rem; font-weight: 600; }
.ln-sec h5 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin: 1.1rem 0 0.5rem; }
.ln-sec ul { list-style: none; }
.ln-sec li > a, .ln-sec li > span {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.5rem; border-radius: 8px;
  font-size: 0.88rem; color: var(--ink-muted); line-height: 1.35;
}
.ln-sec li > a:hover { background: rgba(199,125,255,0.09); color: var(--ink); }
.ln-sec li.on > a { background: rgba(199,125,255,0.16); color: var(--ink); }
.ln-sec li.locked > span { color: var(--ink-faint); }
.ln-sec li.done .cur-ic { color: var(--ok, #5fd0a0); }
.lesson-title { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; margin: 0.4rem 0 1.4rem; }
.lesson-video { margin-bottom: 2rem; }
/* Full width of the lesson column: flush left with the lesson/section title and
   flush right with the Follow button in the nav, which share the container edges.
   A 720px reading measure centred the text inside an 840px column, so the body
   looked narrower than and indented from its own heading. */
.lesson-body { max-width: none; }
.lesson-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.lesson-move { display: flex; gap: 0.7rem; margin-left: auto; }
.live-card {
  background: rgba(199,125,255,0.09); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; margin-bottom: 2rem; text-align: center;
}
.live-when { font-family: var(--serif); font-size: 1.3rem; margin: 0.4rem 0 1rem; }

@media (max-width: 940px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .course-head { grid-template-columns: 1fr; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-nav { position: static; max-height: none; order: 2; }
}
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }

/* ================= Lesson content blocks ================= */
.lb { margin: 0 0 1.6rem; }
.lb-text > :last-child { margin-bottom: 0; }

.lb-image { margin: 2rem 0; }
.lb-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.lb-image.w-wide { max-width: none; }
.lb-image.w-half { max-width: 380px; }
.lb-image figcaption, .lb-video figcaption {
  font-size: 0.85rem; color: var(--ink-faint); text-align: center; margin-top: 0.7rem;
}
.lb-video { margin: 2rem 0; }
.lb-divider { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

.lb-callout {
  border: 1px solid var(--line); border-left: 3px solid var(--orchid);
  background: rgba(199,125,255,0.07); border-radius: 12px; padding: 1.2rem 1.4rem;
}
.lb-callout > :last-child { margin-bottom: 0; }
.lb-callout.tone-tip  { border-left-color: var(--ok, #5fd0a0); background: rgba(95,208,160,0.07); }
.lb-callout.tone-warn { border-left-color: var(--gold);        background: rgba(232,197,122,0.08); }

.lb-quote {
  border-left: 3px solid var(--rose); padding: 0.4rem 0 0.4rem 1.4rem; margin: 2rem 0;
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink);
}
.lb-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.8rem; }

/* Accordion — native <details>, so it works without JS */
.lb-accordion details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 0.7rem;
  background: var(--midnight-2); overflow: hidden;
}
.lb-accordion summary {
  cursor: pointer; padding: 1rem 1.3rem; font-family: var(--serif); font-size: 1.15rem;
  list-style: none; display: flex; align-items: center; gap: 0.7rem; transition: color 0.25s;
}
.lb-accordion summary::-webkit-details-marker { display: none; }
.lb-accordion summary::before {
  content: ""; width: 8px; height: 8px; flex-shrink: 0;
  border-right: 2px solid var(--orchid); border-bottom: 2px solid var(--orchid);
  transform: rotate(-45deg); transition: transform 0.25s var(--ease);
}
.lb-accordion details[open] summary::before { transform: rotate(45deg); }
.lb-accordion summary:hover { color: var(--rose-bright); }
.acc-body { padding: 0 1.3rem 1.2rem; color: var(--ink-muted); }
.acc-body > :last-child { margin-bottom: 0; }

/* Tabs */
.lb-tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--midnight-2); }
.tab-strip { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.tab-strip button {
  flex: 1 1 auto; background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--ink-muted); font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  padding: 0.9rem 1.2rem; cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.tab-strip button:hover { color: var(--ink); background: rgba(199,125,255,0.06); }
.tab-strip button.on { color: var(--ink); border-bottom-color: var(--orchid); background: rgba(199,125,255,0.1); }
.tab-panel { display: none; padding: 1.4rem; color: var(--ink-muted); }
.tab-panel.on { display: block; }
.tab-panel > :last-child { margin-bottom: 0; }

.lb-embed iframe { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.lesson-widget { border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; background: var(--midnight-2); margin: 1.6rem 0; }

/* ---------- Content lists — square markers, flush left ----------
   Browser default indents a list so its bullets hang left of the surrounding
   prose. Here the marker sits ON the text margin and wrapped lines indent past
   it, so a list lines up with the paragraphs above and below it. */
.prose ul, .lb-text ul, .acc-body ul, .tab-panel ul, .lb-callout ul, .lb-quote ul,
.prose ol, .lb-text ol, .acc-body ol, .tab-panel ol, .lb-callout ol {
  /* !important because pasted/migrated content often carries its own inline
     list-style, which would otherwise win and draw a second marker. */
  list-style: none !important;
  margin: 0.9rem 0;
  padding-left: 0 !important;
}
.prose ul > li, .lb-text ul > li, .acc-body ul > li, .tab-panel ul > li,
.lb-callout ul > li, .lb-quote ul > li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 0.45rem;
}
.prose ul > li::before, .lb-text ul > li::before, .acc-body ul > li::before,
.tab-panel ul > li::before, .lb-callout ul > li::before, .lb-quote ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;                /* optically centred on the first line */
  width: 0.38em;
  height: 0.38em;
  background: var(--orchid);
  border-radius: 0;           /* square, not a disc */
}
/* Numbered lists keep their numerals but share the flush left edge. */
.prose ol, .lb-text ol, .acc-body ol, .tab-panel ol, .lb-callout ol { counter-reset: kmm-ol; }
.prose ol > li, .lb-text ol > li, .acc-body ol > li, .tab-panel ol > li, .lb-callout ol > li {
  position: relative; padding-left: 1.6em; margin-bottom: 0.45rem; counter-increment: kmm-ol;
}
.prose ol > li::before, .lb-text ol > li::before, .acc-body ol > li::before,
.tab-panel ol > li::before, .lb-callout ol > li::before {
  content: counter(kmm-ol) ".";
  position: absolute; left: 0; top: 0;
  color: var(--orchid); font-weight: 600; font-size: 0.92em;
}
/* Nested lists step in by one marker width, keeping the same square. */
.prose ul ul, .lb-text ul ul, .acc-body ul ul, .tab-panel ul ul { margin: 0.45rem 0; padding-left: 1.35em; }

/* ---------- Inline images inside text blocks ----------
   Size and wrap are chosen in the editor and carried as classes, so the lesson
   renders exactly what the author saw. */
.lb-text .ii, .acc-body .ii, .tab-panel .ii, .prose .ii {
  border-radius: 10px; border: 1px solid var(--line); max-width: 100%; height: auto;
}
.ii-sm { width: 200px; } .ii-md { width: 340px; } .ii-lg { width: 100%; }
.ii-left  { float: left;  margin: 0.3rem 1.4rem 0.9rem 0; }
.ii-right { float: right; margin: 0.3rem 0 0.9rem 1.4rem; }
.ii-none  { display: block; float: none; margin: 1.4rem 0; }
/* Floats must not escape their block, or the next lesson section wraps around them. */
.lb-text::after, .acc-body::after, .tab-panel::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) {
  /* On a phone a floated image leaves unreadable ribbons of text beside it. */
  .ii-left, .ii-right { float: none; display: block; margin: 1.2rem auto; }
  .ii-sm, .ii-md { width: 100%; max-width: 340px; }
}

/* ---------- Audio playlist ---------- */
.lb-playlist {
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 2rem 0;
}
.pl-head {
  padding: 0.9rem 1.3rem; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.pl-now { display: flex; align-items: center; gap: 1rem; padding: 1.3rem; }
.pl-play {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-accent); color: #1a0f2b;
  display: grid; place-items: center; transition: transform 0.25s var(--ease);
}
.pl-play:hover { transform: scale(1.06); }
.pl-meta { flex: 1; min-width: 0; }
.pl-title { font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist { font-size: 0.82rem; color: var(--ink-faint); }
.pl-artist:empty { display: none; }
.pl-skip {
  background: none; border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
  color: var(--ink-muted); font-size: 0.62rem; padding: 0.45rem 0.7rem; flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s;
}
.pl-skip:hover { border-color: var(--orchid); color: var(--ink); }

.pl-seek { display: flex; align-items: center; gap: 0.8rem; padding: 0 1.3rem 1.1rem; }
.pl-seek span { font-size: 0.74rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.pl-seek input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,0.12); cursor: pointer;
}
.pl-seek input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%;
  background: var(--orchid); border: 0; cursor: pointer;
}
.pl-seek input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: var(--orchid); border: 0;
}

.pl-list { list-style: none !important; margin: 0 !important; padding: 0 !important;
  border-top: 1px solid var(--line); max-height: 300px; overflow-y: auto; }
.pl-list li { border-bottom: 1px solid var(--line); padding: 0 !important; margin: 0 !important; }
.pl-list li::before { display: none !important; }
.pl-list li:last-child { border-bottom: 0; }
.pl-list button {
  width: 100%; display: flex; align-items: center; gap: 0.9rem; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 0.75rem 1.3rem;
  color: var(--ink-muted); font-family: var(--sans); font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}
.pl-list button:hover { background: rgba(199,125,255,0.07); color: var(--ink); }
.pl-list button.on { background: rgba(199,125,255,0.13); color: var(--ink); }
.pl-n { width: 1.5rem; font-size: 0.78rem; color: var(--ink-faint); flex-shrink: 0; }
.pl-list button.on .pl-n { color: var(--orchid); }
.pl-tt { flex: 1; min-width: 0; }
.pl-tt em { display: block; font-style: normal; font-size: 0.78rem; color: var(--ink-faint); }
@media (max-width: 600px) {
  .pl-now { flex-wrap: wrap; }
  .pl-meta { order: -1; width: 100%; }
}

/* ---------- Clair assessment ---------- */
.lb-clair { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.ct-head { padding: 1.6rem 1.6rem 0; }
.ct-head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.5rem; }
.ct-head p { color: var(--ink-muted); font-size: 0.95rem; }
.ct-form { padding: 1.2rem 1.6rem 1.6rem; }
/* One question on screen at a time, so it can be given real room. */
.ct-q { border: 0; padding: 0.4rem 0 0.2rem; margin: 0; }
.ct-q[hidden] { display: none; }
.ct-q legend { display: block; color: var(--gold); font-family: var(--serif);
  font-size: 1.5rem; font-weight: 500; line-height: 1.4; padding: 0 0 1.2rem;
  margin: 0; max-width: none; }
.ct-scale { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.ct-prog { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.ct-prog-track { flex: 1; height: 4px; border-radius: 100px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ct-prog-track i { display: block; height: 100%; border-radius: 100px;
  background: var(--grad-accent); transition: width 0.35s var(--ease); }
.ct-warn { color: var(--gold); font-size: 0.9rem; margin: 1rem 0 0; }
/* `.btn` sets display:inline-flex, which beats the UA rule for [hidden] — so
   the Back button stayed on screen at question one until this was added. */
.ct-warn[hidden], .ct-form[hidden], .ct-foot .btn[hidden] { display: none; }
.ct-scale label { flex: 1 1 auto; min-width: 96px; cursor: pointer; }
.ct-scale input { position: absolute; opacity: 0; pointer-events: none; }
.ct-scale span {
  display: block; text-align: center; font-size: 0.78rem; padding: 0.5rem 0.4rem;
  border: 1px solid var(--line); border-radius: 100px; color: var(--ink-faint);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.ct-scale label:hover span { border-color: var(--orchid); color: var(--ink); }
.ct-scale input:checked + span { background: rgba(199,125,255,0.18); border-color: var(--orchid); color: var(--ink); }
.ct-scale input:focus-visible + span { outline: 2px solid var(--orchid); outline-offset: 2px; }
.ct-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ct-count { font-size: 0.82rem; color: var(--ink-faint); white-space: nowrap; }
.ct-missing { color: var(--gold); font-size: 0.9rem; padding: 1rem 1.6rem; }

.ct-result { border-top: 1px solid var(--line); padding: 1.8rem 1.6rem; }
.ct-top h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 0.4rem 0 0.2rem; color: var(--rose-bright); }
.ct-sense { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.ct-blurb { color: var(--ink-muted); max-width: 62ch; margin-bottom: 0.8rem; }
.ct-bars { margin: 1.8rem 0 1.2rem; display: grid; gap: 0.6rem; }
.ct-bar { display: grid; grid-template-columns: 9.5rem 1fr 3rem; align-items: center; gap: 0.9rem; font-size: 0.88rem; }
.ct-lab { color: var(--ink-muted); }
.ct-bar.on .ct-lab, .ct-bar.on .ct-pct { color: var(--ink); font-weight: 600; }
.ct-track { height: 8px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.ct-track i { display: block; height: 100%; background: rgba(199,125,255,0.45); border-radius: 100px; transition: width 0.7s var(--ease); }
.ct-bar.on .ct-track i { background: var(--grad-accent); }
.ct-pct { text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.ct-saved { font-size: 0.82rem; color: var(--ok, #5fd0a0); margin-bottom: 0.6rem; }
.ct-saved:empty { display: none; }
.ct-note { font-size: 0.88rem; color: var(--ink-faint); max-width: 62ch; margin-bottom: 1.2rem;
  border-top: 1px solid var(--line); padding-top: 1.1rem; }
.ct-note p { margin-bottom: 0.7rem; }
.ct-note p:last-child { margin-bottom: 0; }
.ct-note strong { color: var(--ink-muted); }
@media (max-width: 600px) {
  .ct-scale { padding-left: 0; }
  .ct-scale label { min-width: calc(50% - 0.2rem); }
  .ct-bar { grid-template-columns: 7.5rem 1fr 2.6rem; gap: 0.6rem; font-size: 0.8rem; }
}

/* ---------- Chakra assessment ---------- */
.lb-chakra { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.ck-group { border-top: 1px solid var(--line); padding-top: 0.4rem; margin-top: 1.2rem; }
.ck-group:first-of-type { border-top: 0; margin-top: 0; }
.ck-gh { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; padding: 1rem 0 0.4rem; }
.ck-gh h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.ck-gh h4 em { font-style: normal; font-size: 0.72em; color: var(--ink-faint); font-family: var(--sans); }
.ck-theme { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.ck-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--hue, var(--orchid));
  flex-shrink: 0; box-shadow: 0 0 12px -1px var(--hue, var(--orchid)); align-self: center; }

.ck-rows { display: grid; gap: 0.55rem; margin: 1rem 0 1.6rem; }
.ck-row { display: grid; grid-template-columns: 11px 8.5rem 1fr 3.6rem 10rem; align-items: center;
  gap: 0.8rem; font-size: 0.88rem; }
.ck-name { color: var(--ink); }
.ck-row .ct-track i { background: var(--hue, var(--orchid)); }
.ck-score { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.ck-score em { font-style: normal; color: var(--ink-faint); font-size: 0.8em; }
.ck-band { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 100px; border: 1px solid var(--line); text-align: center; }
.band-closed   .ck-band { color: var(--gold);        border-color: rgba(232,197,122,.4); background: rgba(232,197,122,.09); }
.band-unbal    .ck-band { color: var(--orchid);      border-color: rgba(199,125,255,.4); background: rgba(199,125,255,.09); }
.band-balanced .ck-band { color: var(--ok, #5fd0a0); border-color: rgba(95,208,160,.4);  background: rgba(95,208,160,.09); }
.ck-focus { border-left: 3px solid var(--orchid); background: rgba(199,125,255,.07);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1.4rem; }
.ck-focus p { color: var(--ink-muted); margin-bottom: 0.6rem; font-size: 0.93rem; }
.ck-focus p:last-child { margin-bottom: 0; }
.ck-focus strong { color: var(--ink); }
@media (max-width: 700px) {
  .ck-row { grid-template-columns: 11px 1fr 3.4rem; row-gap: 0.3rem; }
  .ck-row .ct-track { grid-column: 2 / -1; }
  .ck-band { grid-column: 2 / -1; justify-self: start; }
}

/* ---- ESP practice (Zener cards) -------------------------------------------
   Shares .ct-head / .ct-note / .ct-foot with the other assessments so the three
   read as one family. Card sizing is clamp()ed rather than fixed: this is used
   inside tab panels and on phones, where a fixed card would overflow. */
.lb-esp { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 2rem 0; padding: 1.6rem; }
.es-start { text-align: center; padding: 1rem 0 0.4rem; }
.es-lead { color: var(--ink-muted); max-width: 46ch; margin: 0 auto 1.4rem; }

.es-meter { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem;
  font-size: 0.82rem; color: var(--ink-faint); }
.es-prog { white-space: nowrap; }
.es-hits { white-space: nowrap; margin-left: auto; color: var(--orchid); }
.es-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.es-bar i { display: block; height: 100%; background: var(--orchid); transition: width .3s ease; }

/* The card itself. .flip swaps back for face; the tint says hit or miss. */
.es-card { position: relative; width: clamp(140px, 42vw, 190px); aspect-ratio: 3 / 4;
  margin: 0 auto 1.2rem; border-radius: 14px; }
.es-back, .es-face { position: absolute; inset: 0; border-radius: 14px;
  display: grid; place-items: center; transition: opacity .25s ease; }
.es-back { opacity: 1;
  background: radial-gradient(circle at 50% 45%, #2a1060, #160a3a 60%, #0a0520);
  border: 1px solid rgba(192,132,252,.35);
  box-shadow: inset 0 0 26px rgba(192,132,252,.12); }
/* Rings on the card back, drawn in CSS so there is no second SVG to ship.
   Sized from width + aspect-ratio, NOT inset: the card is 3:4, so percentage
   insets would draw ellipses rather than circles. */
.es-back::before, .es-back::after { content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(192,132,252,.22); }
.es-back::before { width: 72%; }
.es-back::after { width: 44%; border-color: rgba(232,121,249,.2); }
.es-face { opacity: 0; background: var(--midnight); border: 1px solid var(--line); color: var(--ink); }
.es-face svg { width: 58%; height: 58%; }
.es-card.flip .es-back { opacity: 0; }
.es-card.flip .es-face { opacity: 1; }
.es-card.right .es-face { color: #5fd0a0; border-color: rgba(95,208,160,.55);
  box-shadow: 0 0 0 1px rgba(95,208,160,.25), 0 0 24px rgba(95,208,160,.16); }
.es-card.wrong .es-face { color: #d0525f; border-color: rgba(208,82,95,.5); }

.es-ask { text-align: center; color: var(--ink-muted); min-height: 1.5em; margin-bottom: 1rem; }

.es-picks { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.es-pick { display: grid; justify-items: center; gap: 0.35rem; cursor: pointer;
  width: 4.6rem; padding: 0.7rem 0.3rem; border-radius: 12px; color: var(--ink-muted);
  background: var(--midnight); border: 1px solid var(--line);
  transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.es-pick svg { width: 30px; height: 30px; }
.es-pick span { font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; }
.es-pick:hover { color: var(--ink); border-color: var(--orchid); transform: translateY(-2px); }
.es-pick.got { color: #5fd0a0; border-color: #5fd0a0; }
.es-pick.miss { color: #d0525f; border-color: #d0525f; }

/* Result */
.es-score { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.es-big { display: flex; align-items: baseline; gap: 0.4rem; }
.es-big b { font-family: var(--font-display, inherit); font-size: 3.4rem; line-height: 1; color: var(--ink); }
.es-big span { color: var(--ink-faint); font-size: 0.9rem; }
.es-verdict { display: grid; gap: 0.4rem; justify-items: start; }
.es-pct { font-size: 0.86rem; color: var(--ink-faint); }
.es-band { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
  border: 1px solid currentColor; }
.es-b-below, .es-b-chance { color: #8b93a7; }
.es-b-slightlyAbove { color: #5aa9e0; }
.es-b-aboveAverage { color: #5fd0a0; }
.es-b-strong { color: #b57edc; }
.es-b-remarkable { color: #e0c04a; }

.es-per { margin-bottom: 1.4rem; }
.es-per .ct-lab { display: block; font-size: 0.72rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 0.7rem; }
.es-prow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.es-gly { width: 22px; height: 22px; color: var(--ink-muted); flex: none; }
.es-gly svg { width: 100%; height: 100%; display: block; }
.es-pname { width: 5.2rem; flex: none; font-size: 0.86rem; color: var(--ink-muted);
  text-transform: capitalize; }
.es-pbar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.es-pbar i { display: block; height: 100%; border-radius: 3px; background: var(--orchid); }
.es-pnum { width: 2.6rem; flex: none; text-align: right; font-size: 0.8rem; color: var(--ink-faint); }

@media (max-width: 700px) {
  .lb-esp { padding: 1.1rem; }
  .es-picks { gap: 0.45rem; }
  .es-pick { width: 3.9rem; padding: 0.55rem 0.2rem; }
  .es-pick svg { width: 24px; height: 24px; }
  .es-pick span { font-size: 0.6rem; }
  .es-big b { font-size: 2.6rem; }
  .es-pname { width: 4.4rem; }
}

/* ---- Tarotra: add to home screen ------------------------------------------
   Icon beside copy, stacking under 600px. The icon is the app's real maskable
   PNG, so it gets the same rounded-square treatment iOS/Android give it. */
.lb-tapp { display: flex; gap: 1.6rem; align-items: flex-start;
  background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; margin: 2rem 0; }
.tapp-icon { width: 96px; height: 96px; flex: none; border-radius: 22px;
  border: 1px solid var(--line); background: #060313;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tapp-copy { flex: 1; min-width: 0; }
.tapp-copy h3 { margin: 0.4rem 0 0.6rem; }
.tapp-copy p { color: var(--ink-muted); margin-bottom: 1.1rem; max-width: 58ch; }
.tapp-steps { margin-top: 1.4rem; }
.tapp-steps .bk-lab { font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 0.6rem; }
.tapp-steps ol { margin: 0; padding-left: 1.2rem; color: var(--ink-muted); font-size: 0.92rem; }
.tapp-steps ol li { margin-bottom: 0.35rem; }
.tapp-steps ol li b { color: var(--ink); }

@media (max-width: 600px) {
  .lb-tapp { flex-direction: column; gap: 1.1rem; padding: 1.2rem; }
  .tapp-icon { width: 72px; height: 72px; border-radius: 17px; }
}

/* ---- One Zoom room per course (course page, enrolled students only) -------- */
.zoom-card { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 0 0 2rem; }
.zoom-card h3 { margin: 0.35rem 0 0.5rem; }
.zoom-card p { color: var(--ink-muted); max-width: 62ch; margin-bottom: 1.1rem; }
.live-note { color: var(--ink-faint); font-size: 0.88rem; margin-top: 0.5rem; }
.live-note a { color: var(--orchid); }


/* ---- Links inside course copy ---------------------------------------------
   The site-wide default is `a { color: inherit }`, so a link in a lesson was
   the exact same colour as the text around it with no underline — invisible as
   a link. Orchid is the accent used for links elsewhere (the admin's "View
   site", service-card "more" links). `:not(.btn)` keeps real buttons — Open
   Tarotra, Track this in ESP Tracker — looking like buttons. */
.prose a:not(.btn),
.lb a:not(.btn) {
  color: var(--orchid);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(199, 125, 255, 0.45);
  transition: color .15s ease, text-decoration-color .15s ease;
}
.prose a:not(.btn):hover,
.lb a:not(.btn):hover {
  color: var(--rose, #ff9ecd);
  text-decoration-color: currentColor;
}

/* ---- Charm casting ---------------------------------------------------------
   The board is square and the reading sits under it (the app puts it beside,
   but a lesson is a single column). Charms may land OFF the cloth — the engine
   allows a radius of 0.62 from centre, i.e. -12%..112% — so the stage carries
   12% padding and never clips its tokens. */
.lb-charm { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0; }
.cc-ask { max-width: 30rem; margin: 0 0 1.2rem; }
.cc-ask input { width: 100%; }

.cc-stage { width: 100%; max-width: 520px; margin: 0 auto 1.4rem; padding: 12%;
  overflow: visible; }
.cc-inner { position: relative; aspect-ratio: 1; border-radius: 50%;
  background-size: cover; background-position: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.45); }

.cc-token { position: absolute; width: 13%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(.8rem, 3.4vw, 1.25rem);
  background: #17102b; border: 2px solid var(--orchid);
  box-shadow: 0 3px 10px rgba(0,0,0,.5); }
.cc-token b { line-height: 1; }
/* A glyph alone cannot show which way a charm is lying, so the notch marks its
   own "up". Notch pointing down = the charm fell reversed. */
.cc-notch { position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 6px solid var(--orchid); }
.cc-token.rev { border-color: #d0525f; }
.cc-token.rev .cc-notch { border-bottom-color: #d0525f; }
.cc-token.off { opacity: .72; border-style: dashed; }

.cc-q { color: var(--ink-muted); margin-bottom: 1rem; }
.cc-rows { margin: .8rem 0 1.2rem; }
.cc-row { display: flex; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.cc-row:first-child { border-top: 0; }
.cc-row.off { opacity: .78; }
.cc-gly { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--midnight); border: 1px solid var(--line); }
.cc-body { min-width: 0; }
.cc-name { font-weight: 600; margin-bottom: .3rem; display: flex; gap: .5rem;
  align-items: baseline; flex-wrap: wrap; }
.cc-or { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .1rem .45rem; border-radius: 999px; border: 1px solid currentColor; }
.cc-or.upright { color: #5fd0a0; }
.cc-or.reversed { color: #d0525f; }
.cc-zone { font-size: .78rem; color: var(--orchid); }
.cc-mean { color: var(--ink-muted); margin-bottom: .3rem; }
.cc-zmean { color: var(--ink-faint); font-size: .88rem; }
.cc-note { color: var(--ink-muted); font-size: .9rem; margin-bottom: .7rem; }

@media (max-width: 600px) {
  .lb-charm { padding: 1.1rem; }
  .cc-stage { padding: 13%; }
  .cc-token { width: 15%; }
}

/* ---- Full-screen casting screen (charm-cast.html) --------------------------
   The board IS the screen and it does NOT move when the reading opens. Equal
   fixed gutters either side put it on the viewport's centre line; the reading
   lives in the right-hand gutter rather than pushing the board across. */
.cs-body { height: 100vh; overflow: hidden; margin: 0; }
.cs-wrap { display: flex; flex-direction: column; height: 100vh; }
.cs-top { display: flex; align-items: center; gap: 1rem; flex: none;
  padding: 0.9rem 1.4rem; border-bottom: 1px solid var(--line); }
.cs-brand { color: var(--orchid); font-size: 0.9rem; }
.cs-board-name { margin-left: auto; color: var(--ink-faint);
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }

.cs-main { --gut: 400px;
  flex: 1; min-height: 0; display: grid; grid-template-columns: var(--gut) 1fr var(--gut);
  align-items: center; gap: 1.2rem; padding: 1.2rem; }
.cs-stagewrap { grid-column: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-height: 0; height: 100%; gap: 1rem; }

/* The board letterboxes into whatever height is left, never the other way
   round, so it can't push the controls off the bottom. */
.cs-stage { flex: 1; min-height: 0; aspect-ratio: 1; padding: 7%;
  display: flex; align-items: center; justify-content: center; }
.cs-inner { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background-size: cover; background-position: center;
  box-shadow: 0 22px 60px rgba(0,0,0,.5); }

.cs-controls { flex: none; display: flex; align-items: flex-end; gap: 1rem;
  flex-wrap: wrap; justify-content: center; }
.cs-ask { min-width: 20rem; }
.cs-ask input { width: 100%; }

/* Right-hand panel: charm choice first, then the reading. Both live here so
   the board never has to move aside for either. */
.cs-side { grid-column: 3; height: 100%; min-height: 0; display: flex; flex-direction: column; }
.cs-tabs { flex: none; display: flex; gap: .3rem; border-bottom: 1px solid var(--line);
  margin-bottom: .9rem; }
.cs-tab { background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  color: var(--ink-faint); font: inherit; font-size: .82rem; padding: .5rem .7rem; }
.cs-tab.on { color: var(--ink); border-bottom-color: var(--orchid); }
.cs-tab:disabled { opacity: .4; cursor: default; }
.cs-tab span { color: var(--orchid); margin-left: .3rem; }
.cs-pane { display: none; min-height: 0; overflow-y: auto; padding-right: .4rem; }
.cs-pane.on { display: block; }
.cs-hint { color: var(--ink-muted); font-size: .88rem; margin-bottom: .7rem; }
.btn-sm { padding: .35rem .8rem; font-size: .78rem; }

/* 60 charms, so the picker is a dense grid rather than a list. */
.cs-charms { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: .4rem; margin-top: .9rem; }
.cs-charm { display: grid; justify-items: center; gap: .25rem; cursor: pointer;
  padding: .5rem .3rem; border-radius: 10px; font: inherit;
  background: var(--midnight); border: 1px solid var(--line); color: var(--ink-muted);
  transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.cs-charm:hover { color: var(--ink); border-color: var(--orchid); transform: translateY(-2px); }
.cs-charm.on { border-color: var(--orchid); color: var(--ink);
  background: rgba(199,125,255,.14); }
.cs-cg { font-size: 1.25rem; line-height: 1; }
.cs-cn { font-size: .66rem; text-align: center; line-height: 1.2; }

/* Access gate — shown until the server confirms an enrolled student. */
.cs-gate { flex: 1; display: grid; place-content: center; justify-items: center;
  gap: .7rem; text-align: center; padding: 2rem; }
.cs-gate[hidden] { display: none; }
.cs-gate-msg { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.cs-gate-sub { color: var(--ink-muted); max-width: 40ch; }

@media (max-width: 1100px) {
  /* Not the app's hard "no phones" gate — a student sent here from a lesson
     must get something. Board on top, reading under it, page scrolls. */
  .cs-body, .cs-wrap { height: auto; overflow: auto; }
  .cs-main { grid-template-columns: 1fr; }
  .cs-stagewrap, .cs-side { grid-column: 1; }
  .cs-side { height: auto; }
  .cs-pane { overflow: visible; }
  .cs-stage { flex: none; width: 100%; max-width: 520px; margin: 0 auto; padding: 12%; }
  .cs-reading { height: auto; overflow: visible; }
  .cs-ask { min-width: 0; width: 100%; max-width: 26rem; }
}

/* Launcher card in the lesson (the board itself opens full screen). */
.lb-charm { display: flex; gap: 1.6rem; align-items: flex-start; }
.cc-thumb { width: 120px; height: 120px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cc-copy { flex: 1; min-width: 0; }
.cc-copy h3 { margin: .4rem 0 .6rem; }
.cc-copy p { color: var(--ink-muted); max-width: 58ch; margin-bottom: 1.1rem; }
.cc-meta { font-size: .8rem; color: var(--ink-faint); margin: .9rem 0 0; }
@media (max-width: 600px) {
  .lb-charm { flex-direction: column; gap: 1.1rem; }
  .cc-thumb { width: 84px; height: 84px; }
}

/* Course card footer: enrol + sign in, per course. */
.course-foot { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1.1rem; }
.course-foot .btn { padding: .5rem 1.1rem; font-size: .8rem; }
.course-foot .bk-fine { margin: 0; }
.course-card h3 a { color: inherit; }
.course-card h3 a:hover { color: var(--orchid); }

/* Which run a student is on / choosing one at enrolment. */
.cohort-line { color: var(--orchid); }
.cohort-pick { display: block; margin: .8rem 0; text-align: left; }
.cohort-pick select { width: 100%; }

/* Account line: who you are, and the way out. */
.lms-account { display: flex; align-items: center; gap: .6rem; justify-content: center;
  font-size: .85rem; color: var(--ink-faint); margin-bottom: .8rem; min-height: 1.4em; }
.lms-account:empty { display: none; }
.lms-who { color: var(--ink-muted); }
.lms-signout { color: var(--orchid); border: 1px solid var(--line); border-radius: 999px;
  padding: .2rem .7rem; }
.lms-signout:hover { border-color: var(--orchid); }

/* One card per run: the run's name is part of the card, above the title. */
/* The run name is the thing that tells two cards of the same course apart, so
   it reads as a heading above the title — not a pill, which looked clickable. */
.course-run { display: block; font-size: 1rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; color: var(--orchid);
  margin-bottom: .5rem; }
.course-start { color: var(--ink-muted); font-size: .86rem; margin: -.2rem 0 .5rem; }
.course-joining { color: var(--ink-muted); font-size: .86rem; margin: .8rem 0 0; }
.course-joining a { color: var(--orchid); }

/* The run's weekly schedule on the course page. */
.course-dates { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 0 0 2rem; }
.course-dates h3 { margin: .35rem 0 .3rem; }
.dates-list { list-style: none; margin: 1.1rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .5rem 1.6rem; }
.dates-list li { display: flex; gap: .8rem; align-items: baseline;
  padding: .45rem 0; border-top: 1px solid var(--line); }
.dl-n { flex: 0 0 4.4rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orchid); }
.dl-d { color: var(--ink-muted); font-size: .92rem; }
/* Card is one link now, so the whole thing lifts on hover. */
.course-more { display: inline-block; margin-top: 1rem; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--orchid); }

/* ---- Enrolment page --------------------------------------------------------
   Form on the left, what-you-get on the right. No account is needed to reach
   this — the account is made when the payment lands. */
.enrol-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.4rem; align-items: start; }
.enrol-form h2 { margin: .4rem 0 .3rem; }
.enrol-lead { color: var(--ink-muted); max-width: 52ch; margin: 1rem 0 1.6rem; }
/* Reuse the booking form's fields verbatim (.bk-form) so these inputs look like
   every other input on the site; only the centring is undone, because here the
   form sits in the left column rather than alone on the page. */
.enrol-fields { max-width: none; margin: 0; gap: 1.15rem; }
.enrol-fields .btn { justify-self: start; margin-top: .3rem; }
.enrol-fields small { margin-top: .1rem; }
.enrol-err { text-align: left; }
.enrol-alt { color: var(--ink-faint); font-size: .85rem; margin-top: 1.1rem; }
.enrol-alt a { color: var(--orchid); }
.enrol-summary { background: var(--midnight-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; }
/* Course facts, label above value, one per row. */
.enrol-facts { margin: 1rem 0 0; }
.enrol-facts dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: .9rem; }
.enrol-facts dt:first-child { margin-top: 0; }
.enrol-facts dd { margin: .15rem 0 0; color: var(--ink); font-size: .95rem; }
.enrol-done { max-width: 46rem; }
.enrol-done h2 { margin: .4rem 0 1rem; }
.enrol-done p { color: var(--ink-muted); margin-bottom: 1.2rem; max-width: 56ch; }
@media (max-width: 860px) { .enrol-grid { grid-template-columns: 1fr; } }
.course-meets { color: var(--ink-faint); font-size: .84rem; }

/* Sign out belongs with the course controls, under Start the course. */
.course-signout { margin-top: .6rem; width: 100%; }

/* Contact: how to actually request a reading, said before the phone number. */
.contact-note { color: var(--ink-muted); font-size: .95rem; line-height: 1.6;
  border-left: 2px solid var(--orchid); padding: .1rem 0 .1rem 1rem; margin-bottom: 1.6rem; }
.contact-note a { color: var(--orchid); }
