/* The Umana Technique site styles
   Fonts: Young Serif (headings), Bitter (body) */

:root {
  --night: #1d1330;
  --purple: #4e2c80;
  --purple-deep: #3a1f63;
  --mist: #f1ecf8;
  --line: #d9cdea;
  --white: #ffffff;
  --gold: #c59a3e;
  --gold-soft: #e6cf96;
  --ink: #241c30;
  --ink-soft: #564b66;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Bitter", Georgia, serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.3rem, 5vw, 3.4rem);

  --measure: 66ch;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--night);
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1.1em; }
p, li { max-width: var(--measure); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--night); color: var(--white); padding: 0.6rem 1rem; z-index: 50;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  font-family: var(--serif); font-size: 1.25rem; color: var(--night);
  text-decoration: none; display: flex; align-items: center; gap: 0.55rem; white-space: nowrap;
}
.brand svg { width: 22px; height: 30px; flex: none; }
.brand:hover { color: var(--purple); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: var(--step--1); padding: 0.4rem 0.8rem; color: var(--night); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem 1rem; flex-wrap: nowrap; align-items: center; }
.site-nav li { white-space: nowrap; }
.site-nav li { max-width: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.97rem; padding: 0.3rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; }
.site-nav .nav-cta a {
  background: var(--purple); color: var(--white); padding: 0.45rem 1rem; border-radius: 999px;
}
.site-nav .nav-cta a:hover { background: var(--purple-deep); color: var(--white); text-decoration: none; }

@media (max-width: 66em) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1.2rem; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--mist); }
  .site-nav .nav-cta a { margin-top: 0.8rem; text-align: center; border-bottom: 0; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: #e9e2f4; }
.section--night h2, .section--night h3 { color: var(--white); }
.section--night a { color: var(--gold-soft); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.section--night .lede { color: #cfc4e2; }

/* Hero */
.hero { background: var(--night); color: #e9e2f4; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero h1 { color: var(--white); }
.hero p { color: #d8cfe8; font-size: var(--step-1); line-height: 1.55; max-width: 34em; }
.hero .chakra-figure { justify-self: center; width: min(100%, 300px); }
.hero--page .wrap { grid-template-columns: 1fr; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero--page p { max-width: 40em; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .chakra-figure { width: 190px; order: -1; justify-self: start; }
}

/* Chakra figure: the signature */
.chakra-figure .pt { fill: var(--gold); }
.chakra-figure .halo { fill: var(--gold); opacity: 0.18; }
.chakra-figure .label { fill: #cfc4e2; font-family: var(--body); font-size: 13px; }
.chakra-figure .body-line { stroke: #8f7fb0; stroke-width: 2; fill: none; }
.chakra-figure .meridian { stroke: var(--gold); stroke-width: 1.2; opacity: 0.55; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .chakra-figure .pt-group { opacity: 0; animation: rise 0.7s ease-out forwards; }
  .chakra-figure .pt-group:nth-of-type(1) { animation-delay: 0.15s; }
  .chakra-figure .pt-group:nth-of-type(2) { animation-delay: 0.35s; }
  .chakra-figure .pt-group:nth-of-type(3) { animation-delay: 0.55s; }
  .chakra-figure .pt-group:nth-of-type(4) { animation-delay: 0.75s; }
  .chakra-figure .pt-group:nth-of-type(5) { animation-delay: 0.95s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1.2;
}
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-soft); color: var(--night); text-decoration: none; }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--purple:hover { background: var(--purple-deep); color: var(--white); text-decoration: none; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.hero .btn--ghost { color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.section:not(.section--night) .btn--ghost { color: var(--purple); }

/* Layout helpers */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.thirds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
@media (max-width: 860px) { .split, .thirds { grid-template-columns: 1fr; } }

.way h3 { margin-bottom: 0.4em; }
.way { border-top: 3px solid var(--gold); padding-top: 1.2rem; }

/* Chakra list (higher chakras) */
.chakra-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; }
.chakra-list li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); max-width: 46rem;
}
.chakra-list .num { font-family: var(--serif); font-size: var(--step-2); color: var(--gold); }
.section--mist .chakra-list li { border-top-color: var(--line); }
.section--mist .chakra-list .num { color: var(--purple); }

/* Facts table and general tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.8rem; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--serif); font-weight: 400; color: var(--night); border-bottom: 2px solid var(--night); }
.facts th { width: 34%; color: var(--ink-soft); font-weight: 600; font-family: var(--body); }
.facts { min-width: 0; }
.price { font-family: var(--serif); font-size: var(--step-1); color: var(--purple); white-space: nowrap; }

/* Teacher cards */
.teacher {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.teacher .photo { aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--purple), var(--night)); }
.teacher .photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.teacher .where { color: var(--ink-soft); margin-bottom: 0.8rem; }
.teacher .actions { margin-top: auto; padding-top: 0.6rem; }

.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.profile .photo { border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--purple), var(--night)); aspect-ratio: 4 / 5; }
.profile .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile .photo { max-width: 360px; } }
.meta-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.meta-list li { padding: 0.35rem 0; }
.meta-list strong { color: var(--night); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 960px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .quotes { grid-template-columns: 1fr; }
  .quotes--limit figure:nth-child(n+4) { display: none; }
}
.quote { margin: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote .q-head { font-family: var(--serif); font-size: var(--step-1); color: var(--night); line-height: 1.3; margin-bottom: 0.6rem; }
.quote p { font-size: 0.98rem; }
.quote figcaption { color: var(--ink-soft); font-size: var(--step--1); }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2rem; margin-bottom: 1.3rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 2px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); color: var(--purple);
}

/* FAQ */
.faq-group { margin-bottom: 2.5rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: var(--step-1); color: var(--night);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.3rem; top: 0.9rem; font-size: 1.6rem; color: var(--purple);
}
.faq[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: 1rem; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; max-width: 820px; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { background: center / cover no-repeat var(--night); cursor: pointer; color: var(--white); font: inherit; }
.video button span { background: rgba(29,19,48,0.85); padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid var(--gold); }
.video--pending { display: grid; place-items: center; color: #cfc4e2; text-align: center; padding: 1.5rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { border-top: 3px solid var(--gold); padding-top: 1.1rem; }

/* Callout */
.note { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.2rem; color: var(--ink-soft); max-width: var(--measure); }

/* Breadcrumb */
.crumbs { font-size: var(--step--1); color: #cfc4e2; margin-bottom: 1.2rem; }
.crumbs a { color: #cfc4e2; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }

/* Form */
.form-grid { display: grid; gap: 1.3rem; max-width: 640px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--night); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid #b9a9d2;
  border-radius: 8px; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--purple); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.split > *, .thirds > *, .form-grid > * { min-width: 0; }
.choice { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 0.5rem; background: var(--white); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }
.choice input { margin-top: 0.4rem; accent-color: var(--purple); }
.choice small { display: block; color: var(--ink-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: 8px; max-width: 640px; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e7f3ea; color: #1d4a2a; border: 1px solid #a9d1b3; }
.form-status--error { background: #fbeaea; color: #6b1d1d; border: 1px solid #e3aaaa; }

/* Footer */
.site-footer { background: var(--night); color: #cfc4e2; padding: 3.5rem 0 2rem; font-size: 0.97rem; }
.site-footer a { color: #e9e2f4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: var(--step-1); color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.2rem 0; }
.footer-small { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: var(--step--1); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Home hero with the lotus artwork */
.hero--lotus .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-art { position: relative; justify-self: end; width: min(100%, 540px); aspect-ratio: 1 / 1; max-width: 100%; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
@media (max-width: 760px) {
  .hero--lotus .wrap { grid-template-columns: 1fr; padding-top: 0.5rem; }
  .hero-art { order: -1; justify-self: center; width: min(100%, 360px); aspect-ratio: 1 / 1; margin-bottom: -0.5rem; }
}

/* Umana logo in header and footer */
.brand img { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.footer-logo { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 1rem; }

/* Lotus artwork carried through the inner page heroes, faded into the background */
.hero--page { position: relative; isolation: isolate; }
.hero--page::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: max(-4rem, calc((100vw - 1120px) / 2 - 6rem));
  width: min(44vw, 520px); aspect-ratio: 1 / 1; transform: translateY(-50%);
  background: url("/images/umana-technique-hero-640.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  opacity: 0.55;
}
.hero--page .wrap > div { max-width: 44rem; }
@media (max-width: 960px) { .hero--page::after { opacity: 0.25; right: -18vw; width: 70vw; } }
@media (max-width: 600px) { .hero--page::after { display: none; } }

/* Lotus beside the higher chakra list */
.split--lotus { align-items: center; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.lotus-side { width: min(100%, 460px); aspect-ratio: 1 / 1; max-width: 100%; justify-self: center; }
.lotus-side img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}
@media (max-width: 860px) {
  .split--lotus { grid-template-columns: 1fr; }
  .lotus-side { width: min(100%, 300px); }
}

/* Chakras 8 to 12 explorer */
.explore-head { max-width: 46rem; margin-bottom: 1.5rem; }
.chakra-explorer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.chakra-art { width: min(100%, 440px); aspect-ratio: 4 / 5; max-width: 100%; justify-self: center; position: relative; }
.chakra-art canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.chakra-num { font-family: var(--serif); font-size: var(--step-3); color: var(--gold); margin: 0 0 0.2em; line-height: 1.1; }
.chakra-panel h3 { font-size: var(--step-2); margin-bottom: 0.5em; }
.chakra-panel p { color: #ddd4ec; }
.chakra-meta { font-size: var(--step--1); color: var(--gold-soft) !important; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 0.8rem; }
.chakra-panel + .chakra-panel { margin-top: 2rem; }
.chakra-controls { display: none; }

.chakra-explorer.is-live .chakra-panel + .chakra-panel { margin-top: 0; }
.chakra-explorer.is-live .chakra-info { display: flex; flex-direction: column; min-height: 23rem; }
.chakra-explorer.is-live .chakra-controls { display: block; margin-top: auto; padding-top: 1.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .chakra-explorer.is-live .chakra-panel:not([hidden]) { animation: chakra-in 0.45s ease-out; }
  @keyframes chakra-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.chakra-slider { display: flex; align-items: center; gap: 0.8rem; }
.chakra-slider .step {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.chakra-slider .step:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-soft); }
.chakra-slider .step:disabled { opacity: 0.3; cursor: default; }
.chakra-slider input[type="range"] { flex: 1; min-width: 0; accent-color: var(--gold); height: 2rem; cursor: pointer; }
.chakra-ticks { display: flex; justify-content: space-between; padding: 0.3rem 3.4rem 0; }
.chakra-ticks button {
  background: none; border: 0; color: #b3a6cc; font: inherit; font-size: var(--step--1); cursor: pointer;
  width: 2rem; height: 2rem; border-radius: 50%;
}
.chakra-ticks button[aria-current="true"] { color: var(--night); background: var(--gold); }
@media (max-width: 860px) {
  .chakra-explorer { grid-template-columns: 1fr; }
  .chakra-art { width: min(100%, 320px); }
  .chakra-explorer.is-live .chakra-info { min-height: 0; }
  .chakra-explorer.is-live .chakra-controls { order: -1; padding: 0 0 1.2rem; margin: 0; }
}

/* Pellowah box */
.pellowah-box {
  margin-top: clamp(2rem, 5vw, 3.5rem); max-width: 52rem;
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; background: rgba(197,154,62,0.08);
}
.pellowah-box h3 { margin-bottom: 0.4em; }
.pellowah-box p:last-child { margin-bottom: 0; }
.section--night .pellowah-box p { color: #ddd4ec; }
.section:not(.section--night) .pellowah-box { background: var(--mist); }
.pellowah-links { font-weight: 600; }
.explore-more { margin: 1.5rem 0 0; }

/* Home: the people behind Umana */
.people-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.people-photo { margin: 0; }
.people-photo img { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px -22px rgba(29,19,48,0.55); }
.people-photo figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6rem; }
.people-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; align-items: start; border-top: 3px solid var(--gold); padding-top: 1.3rem; }
.person-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: var(--mist); }
.person-photo--logo { object-fit: contain; }
.person h3 { margin-bottom: 0.1em; }
.person .where { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 0.6rem; }
.person p { font-size: 0.98rem; }
@media (max-width: 960px) { .people-cards { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .people-intro { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .person { grid-template-columns: 72px minmax(0, 1fr); } .person-photo { width: 72px; height: 72px; } }

/* Lotus button that switches between Dawn and Night */
.site-nav { order: 2; }
.mode-toggle { order: 3; }
.nav-toggle { order: 4; }
.site-header .wrap { gap: 0.8rem; }
.site-nav ul { gap: 0.2rem 0.9rem; }
.mode-toggle {
  flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--gold);
}
.mode-toggle svg { width: 26px; height: 19px; overflow: visible; }
.mode-toggle path { stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; fill: rgba(197, 154, 62, 0.15); }
.mode-toggle:hover { border-color: var(--gold); background: rgba(197, 154, 62, 0.08); }
:root[data-mode="day"] .mode-toggle { color: #2a6bb0; }
:root[data-mode="dawn"] .mode-toggle { color: #9b5f7d; }
:root[data-mode="day"] .mode-toggle .petal-outer { fill: #a9d3f5; }
:root[data-mode="dawn"] .mode-toggle .petal-outer { fill: #f7c2a8; }
:root[data-mode="day"] .mode-toggle .petal-side { fill: #d6eafb; }
:root[data-mode="dawn"] .mode-toggle .petal-side { fill: #f3a9c0; }
:root[data-mode="day"] .mode-toggle .petal-centre { fill: #e6b84f; }
:root[data-mode="dawn"] .mode-toggle .petal-centre { fill: #e9b65e; }
@media (prefers-reduced-motion: no-preference) {
  .mode-toggle.is-blooming svg { animation: bloom 0.6s ease-out; }
  @keyframes bloom { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-6deg); } 100% { transform: scale(1); } }
  body, .site-header, .section, .site-footer { transition: background-color 0.4s ease, color 0.4s ease; }
}
@media (max-width: 66em) { .mode-toggle { margin-left: auto; } }
@media (max-width: 480px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { font-size: 1.05rem; gap: 0.45rem; }
  .brand img { width: 34px; height: 34px; }
  .mode-toggle { width: 38px; height: 38px; }
  .nav-toggle { padding: 0.4rem 0.65rem; }
}
@media (max-width: 360px) { .brand span { font-size: 0.95rem; } }
@media (max-width: 340px) { .brand span { display: none; } }

/* ---------- Streamlined navigation (same items and order, cleaner look) ---------- */
:root { --tray: rgba(78, 44, 128, 0.06); --tray-hover: rgba(78, 44, 128, 0.1); --tray-current: rgba(78, 44, 128, 0.14); }
:root[data-mode="day"] { --tray: rgba(42, 107, 176, 0.07); --tray-hover: rgba(42, 107, 176, 0.11); --tray-current: rgba(230, 184, 79, 0.3); }
:root[data-mode="dawn"] { --tray: rgba(106, 61, 143, 0.07); --tray-hover: rgba(106, 61, 143, 0.11); --tray-current: rgba(231, 180, 92, 0.32); }

.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(40, 20, 60, 0.35); }
.site-header .wrap { min-height: 64px; }
.brand { font-size: 1.15rem; }

@media (min-width: 66.01em) {
  .site-nav ul {
    gap: 2px; padding: 4px; border-radius: 999px; background: var(--tray);
  }
  .site-nav a {
    display: block; padding: 0.42rem 0.78rem; border-radius: 999px;
    font-size: 0.94rem; color: var(--ink); text-decoration: none; line-height: 1.3;
  }
  .site-nav a:hover { background: var(--tray-hover); color: var(--ink); text-decoration: none; }
  .site-nav a[aria-current="page"] { background: var(--tray-current); color: var(--purple-deep); text-decoration: none; }
  .site-nav .nav-cta { margin-left: 4px; }
  .site-nav .nav-cta a { padding: 0.42rem 1rem; background: var(--purple); color: var(--white); }
  .site-nav .nav-cta a:hover, .site-nav .nav-cta a[aria-current="page"] { background: var(--purple-deep); color: var(--white); }
}
@media (min-width: 66.01em) and (max-width: 75em) {
  .brand span { font-size: 1.05rem; }
  .site-nav a { padding: 0.42rem 0.62rem; font-size: 0.92rem; }
}

/* Phones and tablets */
.nav-toggle { display: none; align-items: center; gap: 0.45rem; border-radius: 999px; border-color: var(--line); font-weight: 600; }
.nav-toggle::before {
  content: ""; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.nav-toggle[aria-expanded="true"]::before { box-shadow: none; height: 2px; transform: rotate(45deg); }
@media (max-width: 66em) {
  .nav-toggle { display: inline-flex; padding: 0.5rem 0.9rem; min-height: 42px; }
  .site-nav {
    left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); top: calc(100% + 8px);
    background: var(--white); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 24px 50px -24px rgba(40, 20, 60, 0.45); overflow: hidden;
  }
  .site-nav ul { padding: 0.6rem; gap: 2px; }
  .site-nav a {
    border-bottom: 0; border-radius: 12px; padding: 0.8rem 1rem; font-size: 1.05rem; color: var(--ink); text-decoration: none;
  }
  .site-nav a:hover { background: var(--tray); text-decoration: none; }
  .site-nav a[aria-current="page"] { background: var(--tray-current); color: var(--purple-deep); text-decoration: none; }
  .site-nav .nav-cta a { margin-top: 0.4rem; text-align: center; border-radius: 999px; background: var(--purple); color: var(--white); }
}
@media (max-width: 480px) { .nav-toggle { padding: 0.45rem 0.75rem; } }

/* Menu button icon: three lines, becoming a cross when the menu is open */
.nav-toggle::before {
  box-shadow: none; transform: none; width: 16px; height: 16px; border-radius: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 3.5h14M1 8h14M1 12.5h14' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 3.5h14M1 8h14M1 12.5h14' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav-toggle[aria-expanded="true"]::before {
  box-shadow: none; transform: none; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (max-width: 430px) {
  .site-header .wrap { gap: 0.4rem; }
  .brand { font-size: 1rem; gap: 0.4rem; }
  .brand img { width: 32px; height: 32px; }
  .mode-toggle { width: 36px; height: 36px; }
  .mode-toggle svg { width: 23px; height: 17px; }
  .nav-toggle { padding: 0.4rem 0.6rem; gap: 0.35rem; font-size: 0.9rem; min-height: 36px; }
}

/* Chakra number in gold (beats the general panel text colour) */
.chakra-panel .chakra-num { color: var(--gold); }
:root[data-mode="day"] .chakra-panel .chakra-num { color: #a87a1c; }
:root[data-mode="dawn"] .chakra-panel .chakra-num { color: #b07a26; }

/* Booking note under each teacher's card */
.book-note { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0.4rem; }
.teacher .actions .btn--ghost { color: var(--purple); }
/* Side-by-side teacher cards always match in height */
.split:has(> .teacher), .people-cards { align-items: stretch; }
.teacher .body .actions { margin-top: auto; }
/* Photos fill their frames and are cropped, rather than stretching the frame */
.teacher .photo, .profile .photo { position: relative; overflow: hidden; }
.teacher .photo img, .profile .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Soft sound switch under the chakra slider */
.sound-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.9rem;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: #cfc4e2;
  border-radius: 999px; padding: 0.35rem 0.85rem; font: inherit; font-size: var(--step--1); cursor: pointer;
}
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle[aria-pressed="false"] .waves { opacity: 0.3; }
.sound-toggle[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-soft); }
:root[data-mode="day"] .sound-toggle, :root[data-mode="dawn"] .sound-toggle { border-color: var(--line); color: var(--ink-soft); }
:root[data-mode="day"] .sound-toggle[aria-pressed="true"], :root[data-mode="dawn"] .sound-toggle[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); }

/* ---------- Light chakra slider (second version, white sky). Use with chakras-light.js ---------- */
:root .chakra-explorer.chakra-explorer--light .chakra-art {
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f6fafe 55%, #e9f3fc 100%);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px #dbe7f3, 0 30px 60px -30px rgba(40, 80, 140, 0.35);
}
:root .chakra-explorer--light .chakra-panel p { color: #51627a; }
:root .chakra-explorer--light .chakra-panel h3 { color: #1b2a40; }
:root .chakra-explorer--light .chakra-panel .chakra-num { color: #a87a1c; }
:root .chakra-explorer--light .chakra-meta { color: #8a6414 !important; border-top-color: #dae6f2; }
:root .chakra-explorer--light .chakra-slider .step { border-color: rgba(31, 45, 68, 0.22); color: #1f2d44; }
:root .chakra-explorer--light .chakra-slider .step:hover:not(:disabled) { border-color: #c9952f; color: #8a6414; }
:root .chakra-explorer--light .chakra-ticks button { color: #51627a; }
:root .chakra-explorer--light .chakra-ticks button[aria-current="true"] { background: #e6b84f; color: #1b2a40; }
:root .chakra-explorer--light .sound-toggle { border-color: #dae6f2; color: #51627a; }
:root .chakra-explorer--light .sound-toggle[aria-pressed="true"] { border-color: #c9952f; color: #1f2d44; }

/* Header: the name never gets squeezed or overlapped by the menu */
.brand { flex: none; }
.site-header .wrap { flex-wrap: nowrap; }
@media (min-width: 66.01em) { .site-nav { margin-left: auto; } }

/* Home: two teacher cards side by side */
.people-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 760px) { .people-cards--two { grid-template-columns: 1fr; } }
