/* =====================================================================
   PELLOWAH DESIGN THEME: SUNSET ROSE
   Colours are taken from the sunrise hero image: rose pink leads
   (buttons, links), deep twilight purple grounds it (headings, dark
   sections, footer), gold lights it up (gold buttons, highlights),
   with lavender and blush for soft section backgrounds. Section 14 at the end holds the
   sunrise finishing touches (gradients, the pink and gold line).
   Token names (--blue and so on) are kept from the first version so
   nothing else needed renaming: --blue is now the rose button colour.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colours */
  --ink:        #3B2347;  /* Deep twilight purple: headings, footer, dark sections */
  --blue-bright:#C95D86;  /* Bright rose: icons, accents */
  --blue:       #A8436A;  /* Sunset rose: buttons, links */
  --blue-deep:  #8A3357;  /* Deeper rose: hover, logo text */
  --sky-blue:   #B79AD8;  /* Lavender sky */
  --text:       #5A4763;  /* Body text, soft purple-grey */
  --sky:        #F1EAF8;  /* Lavender sections */
  --sky-line:   #E6DAF0;  /* Borders */
  --cream:      #FCEDEF;  /* Blush */
  --gold:       #E2B064;  /* Sunlight */
  --sun:        #F4C66A;  /* The sun: gold buttons, highlights */
  --sun-pale:   #FFF4E2;  /* Morning light: warm sections */
  --meadow:     #D9A441;  /* Meadow gold: thin accents */
  --gold-text:  #8C5F18;  /* Gold text on light backgrounds */
  --sage:       #7E8B45;  /* Meadow green, decoration only (never text) */
  --white:      #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito Sans', -apple-system, 'Segoe UI', sans-serif;
  --h1: clamp(2.6rem, 6vw, 4.5rem);
  --h2: clamp(2.1rem, 4vw, 3rem);
  --h3: 1.3rem;

  /* Space and shape */
  --page-max: 1240px;
  --gutter: 24px;
  --section-pad: clamp(64px, 9vw, 96px);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(59, 35, 71, 0.12);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.1; }
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- 3. Layout ---------- */
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--sky  { background: var(--sky); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ---------- 4. Components ---------- */

/* Small uppercase label above headings */
.eyebrow { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.section--dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.btn--outline { background: var(--white); color: var(--blue-deep); border-color: var(--blue); }
.btn--outline:hover { background: var(--sky); color: var(--blue-deep); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #E6CB86; color: var(--ink); }
.btn--ghost-light { color: var(--white); border-color: rgba(206, 224, 245, 0.6); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Text link with arrow */
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow::after { content: "\2192"; margin-left: 6px; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 14px; }
a.card { text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h2 { font-size: 2.25rem; }
.card .link-arrow { margin-top: auto; color: var(--blue); }

/* Level cards on dark */
.level { border: 1px solid rgba(206, 224, 245, 0.3); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.level--highlight { border-color: var(--gold); background: rgba(217, 185, 106, 0.08); }
.level__num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.level__name { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.level__desc { color: var(--sky-line); }

/* Event cards */
.event { border: 1px solid var(--sky-line); border-radius: 20px; padding: 32px; display: flex; gap: 24px; align-items: flex-start; }
.event__date { flex: 0 0 auto; width: 76px; height: 76px; border-radius: var(--radius-md); background: var(--sky); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); }
.event__date--warm { background: var(--cream); }
.event__month { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.event__year { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1; }

/* Image placeholders: swap each for an <img> */
.placeholder { min-height: 380px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--sky-line), var(--cream)); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; padding: 24px; }
/* Founder quote: stands in for a portrait, in the banner's sunrise colours */
.founder-quote { position: relative; overflow: hidden; margin: 0; min-height: 440px; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, #DCEEF8 0%, var(--sky) 45%, var(--cream) 100%); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 150px clamp(28px, 5vw, 56px) 48px; box-shadow: var(--shadow); }
.founder-quote__rays { position: absolute; left: 50%; top: 40px; width: 560px; height: 560px; margin-left: -280px; pointer-events: none; }
.founder-quote__mark { position: relative; font-family: var(--font-display); font-size: 96px; line-height: 0.5; height: 40px; color: var(--blue-bright); }
.founder-quote blockquote { position: relative; margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.3; color: var(--ink); }
.founder-quote figcaption { position: relative; font-size: 15px; font-weight: 700; color: var(--gold-text); letter-spacing: 0.04em; }
.img-rounded { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; }
.img-arch { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); width: 100%; object-fit: cover; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-md); padding: 20px 24px; }
.faq-list details ul { margin: 10px 0 0; padding-left: 20px; }
.faq-list summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin-top: 12px; }

/* ---------- 5. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sky-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { flex: 0 0 auto; width: auto; height: 62px; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.logo__text { display: flex; flex-direction: column; }
.logo__word { font-family: var(--font-display); font-size: 31px; font-weight: 600; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-deep); margin-right: -0.2em; }
.logo__sub { margin-top: 7px; font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.27em; text-transform: uppercase; color: var(--gold-text); }
.logo:hover .logo__word { color: var(--blue); }
@media (max-width: 420px) {
  .logo { gap: 10px; }
  .logo__mark { height: 48px; }
  .logo__word { font-size: 24px; letter-spacing: 0.16em; }
  .logo__sub { font-size: 10px; letter-spacing: 0.22em; margin-top: 5px; }
}

.nav { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav > a:not(.btn):hover, .nav summary:hover { color: var(--blue); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--white); }

.nav-drop { position: relative; }
.nav [aria-current="page"], .nav-drop summary.is-current { color: var(--blue); }
.nav-drop summary { list-style: none; cursor: pointer; color: var(--ink); display: flex; align-items: center; gap: 4px; min-height: 44px; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary svg { transition: transform 0.15s; }
.nav-drop[open] summary svg { transform: rotate(180deg); }
.nav-drop__menu { position: absolute; top: 100%; left: -16px; min-width: 230px; background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; }
.nav-drop__menu a { padding: 10px 12px; border-radius: 10px; }
.nav-drop__menu a:hover { background: var(--sky); }
.nav-drop__menu span { display: block; font-weight: 400; font-size: 13px; color: var(--text); }

.menu-toggle { display: none; background: none; border: 1px solid var(--sky-line); border-radius: 12px; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

@media (max-width: 1079px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--sky-line); padding: 8px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn), .nav-drop summary { padding: 12px 0; border-bottom: 1px solid var(--sky); min-height: 48px; }
  .nav-drop__menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav .btn { margin-top: 14px; min-height: 52px; }
}

/* ---------- 6. Hero ---------- */
/* The banner image carries the logo, so the headline sits in a card below it */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding-bottom: clamp(56px, 7vw, 80px); text-align: center; }
.hero__banner { height: clamp(320px, 58vw, 720px); overflow: hidden; background: var(--sky-blue); }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__inner { position: relative; max-width: 880px; margin: clamp(-120px, -8vw, -48px) auto 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero__lead { max-width: 620px; font-size: 19px; }
.hero .btn-row { justify-content: center; margin-top: 6px; }
.hero__note { font-size: 14px; }

/* World map behind the two paths */
.section--world { background: linear-gradient(rgba(234, 243, 253, 0.5), rgba(234, 243, 253, 0.5)), url("images/pellowah-world.webp") center / cover no-repeat; }
.section--world .card { box-shadow: var(--shadow); border-color: transparent; }
.badge-img { width: 100%; height: auto; max-width: 440px; margin: 0 auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--ink); color: var(--sky-line); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h2 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--gold); }
.footer-grid a { color: var(--sky-line); }
.footer-grid a:hover { color: var(--white); }
.footer-word { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: 0.14em; color: var(--white); }
.footer-legal { margin-top: 48px; font-size: 13px; }

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

/* ---------- 8. Inner page components ---------- */

/* Page hero: world map with a white title card */
.page-hero { background: linear-gradient(rgba(234, 243, 253, 0.45), rgba(234, 243, 253, 0.45)), url("images/pellowah-world.webp") center 40% / cover no-repeat; padding: clamp(56px, 8vw, 96px) 0; }
.page-hero__card { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.page-hero__card h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero__card .lead { font-size: 19px; color: var(--ink); }

/* Readable column for long copy */
.prose { max-width: 760px; }
.prose p + p { margin-top: 14px; }

/* Small switch link between the two Find pages */
.switch-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--sky); border-radius: var(--radius-pill); padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; }
.switch-link strong { color: var(--blue); }
.switch-link:hover { background: var(--sky-line); color: var(--ink); }

/* Search terms with copy buttons */
.term-group { display: flex; flex-direction: column; gap: 12px; }
.term-group h3 { font-size: 1.05rem; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.term { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-md); padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.term:hover { border-color: var(--blue); }
.term__action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.term.is-copied { background: var(--sky); border-color: var(--blue); }
.term em { font-style: normal; color: var(--gold-text); }
.hint { font-size: 15px; }

/* Practitioner vs teacher comparison */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.compare__card { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.compare__card--teacher { border-color: var(--gold); }
.compare__card h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.compare__card dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare__card dt { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.compare__card dd { margin: 4px 0 0; }
.note { background: var(--cream); border-radius: var(--radius-md); padding: 18px 22px; color: var(--ink); font-weight: 600; }

/* What to expect */
.expect { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.expect li { background: var(--white); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-weight: 600; }
.expect svg { flex: 0 0 auto; }

/* Light level cards (inner pages) */
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.levels li { border: 1px solid var(--sky-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.levels li.is-kachina { border-color: var(--gold); background: #FBF8F0; }
.levels .level__num { color: var(--gold-text); }
.levels h3 { font-size: 1.3rem; }

/* ---------- 9. About page components ---------- */

/* Quick facts box: easy for readers, search engines and AI to scan */
.facts { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.facts h2 { font-size: 1.6rem; margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 32px; }
.facts dt { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; }

/* Contents list */
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--sky); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.toc a:hover { background: var(--sky-line); color: var(--ink); }

/* Question-led article sections */
.qa { scroll-margin-top: 100px; }
.qa + .qa { border-top: 1px solid var(--sky-line); padding-top: clamp(40px, 6vw, 56px); margin-top: clamp(40px, 6vw, 56px); }
.qa h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.qa .answer { font-size: 19px; color: var(--ink); font-weight: 600; }
.qa .prose { margin-top: 14px; }
.qa h3 { margin-top: 24px; margin-bottom: 8px; }

/* Four principles */
.principles { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.principles li { background: var(--cream); border-radius: var(--radius-md); padding: 20px; text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }

.disclaimer { font-size: 15px; background: var(--sky); border-radius: var(--radius-md); padding: 18px 22px; }

/* ---------- 10. Teacher directory ---------- */
.td-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.td-search { position: relative; flex: 999 1 320px; min-width: 0; }
.td-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text); pointer-events: none; }
.td-search input, .td-select select { width: 100%; min-height: 54px; border: 1px solid var(--sky-line); border-radius: var(--radius-pill); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.td-search input { padding: 0 20px 0 48px; }
.td-search input::placeholder { color: #6B7A94; }
.td-search input:focus, .td-select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 103, 206, 0.18); }
.td-select { position: relative; flex: 1 1 220px; }
.td-select select { appearance: none; -webkit-appearance: none; padding: 0 44px 0 20px; cursor: pointer; }
.td-select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.td-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.td-count { margin: 20px 0 22px; font-size: 15px; }
.td-count strong { color: var(--ink); }

.td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.td-card { background: var(--white); border: 1px solid var(--sky-line); border-radius: 20px; padding: 26px 26px 20px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.2s, border-color 0.2s; }
.td-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.td-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.td-location { display: flex; align-items: flex-start; gap: 6px; font-size: 15px; color: var(--text); }
.td-location svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--blue-bright); }
.td-bio { font-size: 15px; line-height: 1.6; color: var(--ink); flex-grow: 1; }
.td-blurb { font-size: 14px; font-style: italic; color: var(--text); }
.td-travel { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 13px; font-weight: 700; color: var(--gold-text); background: var(--cream); border-radius: var(--radius-pill); padding: 4px 12px; }
.td-travel::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.td-links { display: flex; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--sky); }
.td-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: background 0.15s, color 0.15s; }
.td-icon svg { width: 20px; height: 20px; }
.td-icon:hover { background: var(--blue); color: var(--white); }
.td-empty { grid-column: 1 / -1; text-align: center; padding: 24px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.td-loading { grid-column: 1 / -1; text-align: center; padding: 48px 0; }

.teacher-cta { background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.teacher-cta .stack { flex: 1 1 420px; gap: 10px; }
.teacher-cta h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

/* ---------- 11. Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.form .fieldset-note { margin-top: -8px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: 15px; }
.field .req { color: #9B2C1F; margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--text); font-size: 14px; }
.field .hint { font-size: 14px; color: var(--text); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 52px; border: 1px solid #B7CDEB; border-radius: 14px; background: var(--white);
  padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 103, 206, 0.18); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #B3412F; }
.counter { align-self: flex-end; font-size: 13px; font-weight: 700; color: var(--text); }
.counter.is-over { color: #9B2C1F; }
.example { background: var(--sky); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--ink); }
.example strong { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 2px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 180px; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 1px solid #B7CDEB; border-radius: 14px; font-weight: 600; color: var(--ink); background: var(--white); }
.choice span::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8FAEDD; background: var(--white); }
.choice input:checked + span { border-color: var(--blue); background: var(--sky); }
.choice input:checked + span::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 4px, var(--white) 5px); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-deep); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }

.home-base { border: 1px solid var(--gold); background: #FBF8F0; border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.home-base__title { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .hint { font-size: 14px; }
.form-status { border-radius: var(--radius-md); padding: 18px 22px; font-weight: 600; }
.form-status--ok { background: #E7F4EC; color: #1E5B36; border: 1px solid #A9D5B7; }
.form-status--err { background: #FBEAE7; color: #8A2A1C; border: 1px solid #E9B9B0; }
.form-status[hidden] { display: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Contact page options */
.contact-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.contact-option { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-option h2 { font-size: 1.9rem; }
.contact-option .btn { align-self: flex-start; margin-top: auto; }
.contact-option--kachina { border-color: var(--gold); }
[hidden] { display: none !important; }

/* ---------- 12. Training and Kachina pages ---------- */
/* The training path: three steps in order */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; counter-reset: step; }
.path > li { position: relative; background: var(--white); border: 1px solid var(--sky-line); border-radius: 20px; padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.path > li.is-kachina { border-color: var(--gold); background: #FBF8F0; }
.path__step { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue-deep); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.is-kachina .path__step { background: var(--cream); color: #6B5218; }
.path h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; }
.path .who { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.path ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.path .link-arrow { margin-top: auto; }

/* Workshop dates */
.dates { display: flex; flex-direction: column; gap: 14px; }
.date-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--sky-line); border-radius: 20px; padding: 20px 24px; }
.date-row .event__date { width: 96px; height: 84px; }
.date-row h3 { font-size: 1.15rem; margin-bottom: 4px; }
.date-row .meta { font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; border-radius: var(--radius-pill); padding: 4px 12px; background: var(--sky); color: var(--blue-deep); width: fit-content; margin-top: 6px; }
.status--soon { background: var(--cream); color: var(--gold-text); }
@media (max-width: 640px) {
  .date-row { grid-template-columns: 76px minmax(0, 1fr); }
  .date-row .event__date { width: 76px; height: 72px; }
  .date-row .btn { grid-column: 1 / -1; }
}

/* Kachina page */
.kachina-intro { display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; }
.kachina-intro > * { flex: 1 1 420px; min-width: 0; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pillars li { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.pillars h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

/* Workshop dates: day-and-month tile, status chips, compact list */
.event__date .event__day { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; }
.status--full { background: #ECEEF2; color: #4A5468; }
.status--limited { background: var(--cream); color: var(--gold-text); }
.dates-group { display: flex; flex-direction: column; gap: 14px; }
.dates-group h3.group-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.mini-dates { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--sky-line); border-radius: 20px; overflow: hidden; }
.mini-dates li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--sky); }
.mini-dates li:first-child { border-top: 0; }
.mini-dates time { font-weight: 700; color: var(--ink); font-size: 15px; }
.mini-dates .status { margin-top: 0; }
@media (max-width: 640px) {
  .mini-dates li { grid-template-columns: 1fr; gap: 4px; }
}
.booking-note { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-md); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.booking-note p { flex: 1 1 360px; }

.booking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.booking-grid .booking-note { flex-direction: column; align-items: flex-start; }
.booking-grid .booking-note p { flex: 0 1 auto; }

/* Kachina's book */
.book { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.book > .stack { flex: 1 1 360px; min-width: 0; }
.book__cover { flex: 0 0 auto; width: 200px; aspect-ratio: 2 / 3; border-radius: 6px 14px 14px 6px; background: var(--ink); color: var(--white); padding: 28px 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow), inset 6px 0 0 rgba(255, 255, 255, 0.12); margin: 0 auto; }
.book__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.book__author { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.book__price { font-weight: 700; color: var(--ink); }

.footer-legal a { color: var(--sky-line); }
.footer-legal a:hover { color: var(--white); }

.book__img { flex: 0 0 auto; width: 220px; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: var(--shadow); margin: 0 auto; }


/* ---------- 13. Sunlight accents (gold from the hero image) ---------- */
.site-header { border-bottom: 3px solid var(--sun); }
.site-footer { border-top: 6px solid var(--sun); }
.section--warm { background: var(--sun-pale); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; flex: 0 0 auto; width: 28px; height: 2px; border-radius: 2px; background: var(--meadow); }
.section--dark .eyebrow::before { background: var(--sun); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #F0BC63; color: var(--ink); }
.nav .btn--sun { color: var(--ink); }
a.card:hover, .td-card:hover, .contact-option:hover { border-color: var(--sun); }
.card, .td-card, .contact-option { transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.hero { background: linear-gradient(180deg, var(--sun-pale) 0%, var(--white) 100%); }
.hero__inner { border-top: 4px solid var(--sun); }
.page-hero__card { border-top: 4px solid var(--sun); }
.td-travel { background: var(--sun-pale); border: 1px solid var(--sun); }
.faq-list details[open] { border-color: var(--sun); }
.path__step { background: var(--sun-pale); color: var(--ink); box-shadow: inset 0 0 0 2px var(--sun); }

/* Find a practitioner: example searches */
.searches, .path .searches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.searches li { display: flex; align-items: center; gap: 10px; background: var(--sky); border-radius: var(--radius-pill); padding: 8px 16px; color: var(--ink); font-weight: 600; font-size: 15px; }
.searches li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A8436A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.aside-link { font-size: 15px; color: var(--text); }
.aside-link a { font-weight: 700; }

/* Umana Technique banner, low on the main pages */
.umana-band { padding: clamp(40px, 6vw, 72px) 0; background: var(--white); }
.umana-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: linear-gradient(120deg, var(--sky) 0%, var(--sun-pale) 100%); border: 1px solid var(--sky-line); border-radius: 24px; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px); }
.umana-card__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.umana-card h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
.umana-card__text p:last-child { max-width: 600px; }
.umana-card__btn { flex: 0 0 auto; background: var(--white); }
@media (max-width: 600px) { .umana-card__btn { width: 100%; justify-content: center; } }

/* ---------- 14. Sunset rose finishing touches ---------- */

/* Logo: recolour the mark towards rose until a rose version of the logo file is supplied */
.logo__mark { filter: hue-rotate(118deg) saturate(0.8) brightness(1.05); }
.logo__word { color: var(--blue-deep); }

/* Header: soft dawn line under it */
.site-header { border-bottom: 0 !important; box-shadow: 0 1px 0 var(--sky-line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, #B79AD8, #EE9AB4, #F4C66A, #EE9AB4, #B79AD8); }

/* Home hero: the wide sunrise panorama */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.hero__banner { height: clamp(300px, 36vw, 640px); background: #E9C4D6; }
.hero__banner img { object-position: center 45%; }
.hero__inner { border-top: 0; box-shadow: 0 20px 50px rgba(168, 67, 106, 0.16); }
.hero__inner::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #B79AD8, #EE9AB4, #F4C66A); }

/* Inner page heroes: the sunrise, softened, with the card over the logo */
.page-hero { background: linear-gradient(rgba(250, 244, 252, 0.28), rgba(250, 244, 252, 0.28)), url("images/pellowah-dawn.webp") center 45% / cover no-repeat; }
.page-hero__card { border-top: 0; position: relative; }
.page-hero__card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #B79AD8, #EE9AB4, #F4C66A); }

/* Sections */
.section--sky  { background: var(--sky); }
.section--warm { background: linear-gradient(180deg, #FFF4E2 0%, #FCEDEF 100%); }
.section--dark { background: linear-gradient(160deg, #523166 0%, #3B2347 55%, #2F1B39 100%); }
.section--dark p[style] { color: #E6DAF0 !important; }
.site-footer { background: #2F1B39; border-top-color: var(--sun) !important; }

/* Eyebrows and accents */
.eyebrow { color: var(--blue); }
.eyebrow::before { background: linear-gradient(90deg, #EE9AB4, var(--sun)) !important; }
.section--dark .eyebrow { color: var(--sun); }

/* Buttons: rose primary, sunlit secondary */
.btn--primary:hover { background: var(--blue-deep); }
.btn--outline:hover { background: var(--cream); }
.btn--gold, .btn--sun { background: var(--sun); color: var(--ink); }
.btn--gold:hover, .btn--sun:hover { background: #EDB74F; }
.btn--ghost-light { border-color: rgba(230, 218, 240, 0.6); }

/* Cards and icons pick up the rose */
.expect svg, .path svg { stroke: var(--blue-bright); }
.path > li.is-kachina { background: #FFF8EE; border-color: var(--gold); }
.path__step { background: var(--cream); box-shadow: inset 0 0 0 2px #EE9AB4; }
.compare__card--teacher { border-color: #EE9AB4; }
.umana-card { background: linear-gradient(120deg, #EDE3F7 0%, #FCEDEF 50%, #FFF2DA 100%); border-color: #E6DAF0; }
.searches li { background: var(--cream); }

/* Home: path cards section over a soft, blurred sunrise */
.section--world { background: linear-gradient(rgba(250, 244, 252, 0.3), rgba(250, 244, 252, 0.3)), url("images/pellowah-dawn-soft.webp") center / cover no-repeat; }
section svg[stroke="#2B67CE"] { stroke: var(--blue-bright); }
.founder-quote { background: linear-gradient(180deg, #E3D3F1 0%, #F8DCE6 50%, #FFF2DA 100%); }

/* Forms */
.field input, .field select, .field textarea, .choice span { border-color: #E2D2EE; }
.choice span::before { border-color: #EE9AB4; }
.td-search input:focus, .td-select select:focus, .field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(168, 67, 106, 0.2); }
.searches li::before { filter: none; }

/* Keep the dawn line under the menu and the Find dropdown */
.site-header::after { z-index: 1; pointer-events: none; }
.nav-drop__menu { z-index: 5; }
@media (max-width: 1079px) { .nav { z-index: 5; } }

/* Warmer, pinker and more golden throughout */
.section--sky { background: linear-gradient(180deg, #F1EAF8 0%, #FCEDEF 100%); }
.hero { background: linear-gradient(180deg, #F6E6F2 0%, #FFF8F6 100%); }
.btn--outline { border-color: var(--blue); }
.btn--outline:hover { background: #FCEDEF; }
.nav-drop__menu a:hover { background: #F1EAF8; }
.eyebrow::before { background: linear-gradient(90deg, #EE9AB4, var(--sun)) !important; }

/* Listing form: main location box */
.home-base { border-color: #F4C66A; background: linear-gradient(180deg, #FFF8EC 0%, #FCEDEF 100%); }
.home-base__note { font-size: 15px; margin-top: -8px; }
.field--small { max-width: 50%; }
@media (max-width: 700px) { .field--small { max-width: none; } }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea { border-color: #E2D2EE; }
.td-search input, .td-select select { border-color: #E2D2EE; }

/* ---------- 15. Accessibility and search helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Plain teacher list written into the page for search engines; directory.js replaces it on load */
.td-country-heading { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-top: 12px; }
.td-links-text { font-size: 15px; }

/* ---------- 16. Directory: workshop filter (Level 3 shows Kachina Ma'an only) ---------- */
.td-levels { border: 0; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.td-levels legend { float: left; margin-right: 6px; padding: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.td-level { position: relative; }
.td-level input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.td-level span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--sky-line); background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.td-level input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.td-level input:focus-visible + span { outline: 3px solid var(--blue-deep); outline-offset: 2px; }
.td-level span:hover { border-color: var(--blue); }
.is-level3 .td-search, .is-level3 .td-select { opacity: 0.45; }
@media (max-width: 640px) { .td-levels legend { float: none; width: 100%; margin-bottom: 4px; } .td-level { flex: 1 1 100%; } .td-level span { width: 100%; } }
