/* Tao Practice Philippines — shared styles
   Palette mirrors tools/art.py so pages and illustrations match. */

:root {
  /* Serene palette (November 2026, from the team's color board): almond cream, golden chamomile, coastal sage
     and meadow greens. Token names are kept from the first palette so every rule follows: "sun" is golden
     chamomile, "coral" warm honey, "teal" and "deep" coastal sea teal. The original bright palette lives on as the
     Studio's "Colorful" theme (styles-colorful.css, built from this file). */
  --bg: #FAF6EC;
  --white: #FFFFFF;
  --ink: #2F3B36;
  --ink-soft: #47534D;
  --muted: #5A6660;
  --line: #E8E1CF;

  --sun: #E8CB66;
  --sun-light: #F3E3A3;
  --orange: #DDB36A;
  --coral: #8C5A12;
  --coral-dark: #6E470E;
  /* Honey that carries text (buttons, small labels): darker, so white on it and it on cream pass 4.5:1. */
  --coral-text: #7E5110;
  --teal: #2F6863;
  --teal-bright: #6FA8A2;
  --mint: #A9C9C2;
  --deep: #2F6E6E;
  --deepest: #245656;
  --leaf: #9DB07A;
  --sky: #A7C4C0;
  --plum: #A08A8A;
  /* Steps in a sequence (the four stages, numbered circles): one sea-teal family, darkening from 1 to 4. */
  --step-1: #B5DAD3;
  --step-2: #7DBAB2;
  --step-3: #367E78;
  --step-4: #245656;

  --font: "Lato", "Helvetica Neue", Arial, sans-serif;

  --r: 22px;
  --r-lg: 32px;
  --paper: 0 2px 0 rgba(59, 29, 16, .05), 0 16px 32px -14px rgba(59, 29, 16, .28);
  --paper-sm: 0 2px 0 rgba(59, 29, 16, .05), 0 10px 20px -10px rgba(59, 29, 16, .25);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--coral); }

h1, h2, h3, h4 { font-family: var(--font); margin: 0 0 .45em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; letter-spacing: -0.02em; }
h3 { font-size: 1.32rem; font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.lead { font-size: 1.22rem; font-weight: 400; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.hl { color: var(--coral); font-style: italic; font-weight: 900; }
.hl-sun { color: var(--sun); }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 18px;
  background: var(--white); color: var(--ink); box-shadow: var(--paper-sm);
}
.label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.label.sun::before { background: var(--sun); }
.label.teal::before { background: var(--teal-bright); }
.label.leaf::before { background: var(--leaf); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
/* A clear keyboard focus ring: dark on light backgrounds, white on the dark bands and the header. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
:is(.site-header, .site-footer, .band-teal, .band-deep, .band-coral) :focus-visible { outline-color: #fff; }
:is(.band-teal, .band-deep, .band-coral) :is(.beat, .card, .contact-card, .trust-note) :focus-visible { outline-color: var(--ink); }

/* ---------- Header ----------
   A deep-teal strip with a saffron edge: it matches the footer, framing every page,
   and stays distinct over the cream, saffron, coral and teal bands as it scrolls. */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep);
  box-shadow: inset 0 -4px 0 var(--sun), 0 10px 24px -14px rgba(8, 58, 66, .55);
}
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 76px; padding-bottom: 4px; }
.site-header .nav { margin-left: auto; }
.search-btn {
  order: 2; display: inline-flex; align-items: center; gap: 8px; flex: none; height: 42px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem;
}
.search-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.search-btn span { display: none; }
.nav-toggle { order: 3; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.05; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-size: 1.14rem; font-weight: 900; letter-spacing: -0.01em; }
.brand small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-text); }
.site-header .brand, .site-header .brand:hover { color: #fff; }
.site-header .brand small { color: var(--sun-light); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav .nav-menu-only { display: none; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, .86); font-size: .95rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { background: var(--sun); color: var(--ink); }

.nav-toggle {
  display: none; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 0; border-radius: 999px;
  padding: 10px 16px; font: inherit; font-weight: 700; font-size: .92rem; color: #fff; cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .search-btn { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-radius: var(--r); padding: 10px; box-shadow: var(--paper);
  }
  .nav.open { display: flex; box-shadow: 0 0 0 100vmax rgba(8, 54, 62, .38), var(--paper); }
  .nav .nav-menu-only { display: block; }
  .site-header .brand, .site-header .nav-toggle, .site-header .search-btn { position: relative; z-index: 2; }
  .nav { z-index: 1; }
  .nav a.nav-start { background: #EFE7D3; font-weight: 900; margin-bottom: 6px; }
  .nav a.nav-ask { background: var(--coral-text); color: #fff; text-align: center; margin-top: 6px; }
  .nav a.nav-ask:hover { background: var(--coral-text); color: #fff; }
  .nav a { padding: 13px 16px; border-radius: 14px; color: var(--ink); }
  .nav a:hover { background: #EEE6CF; color: var(--ink); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--font); font-weight: 900; font-size: 1rem; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral-text); color: #fff; box-shadow: 0 5px 0 color-mix(in srgb, var(--coral) 62%, #000); }
.btn-coral:hover { color: #fff; box-shadow: 0 7px 0 color-mix(in srgb, var(--coral) 62%, #000); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 #C7A945; }
.btn-sun:hover { color: var(--ink); box-shadow: 0 7px 0 #C7A945; }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .12); }
.btn-white:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 40px 0 0; }
main { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--r-lg); box-shadow: var(--paper); }
.hero-art .badge {
  position: absolute; z-index: 3; left: -26px; bottom: 34px; background: var(--white); border-radius: 20px;
  padding: 14px 18px; box-shadow: var(--paper); display: flex; gap: 12px; align-items: center; max-width: 270px;
}
.hero-art .badge img { width: 48px; height: 48px; border-radius: 50%; box-shadow: none; }
.hero-art .badge b { display: block; font-size: .98rem; line-height: 1.2; }
.hero-art .badge span { font-size: .84rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art .badge { left: 12px; bottom: -22px; }
}

.page-hero { position: relative; padding: 48px 0 30px; }
.page-hero .hero-grid { grid-template-columns: 1.1fr 1fr; }
.page-hero .hero-art img { max-width: min(520px, 100%); margin-left: auto; }
@media (max-width: 900px) { .page-hero .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Sections and colour bands ---------- */

section { position: relative; padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
/* A heading that should sit on one line on a laptop: wider column, slightly smaller type. */
.section-head.wide { max-width: none; }
.section-head.wide h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.section-head.wide .lead { max-width: 780px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.band-sun { background: var(--sun); }
.band-sun .lead { color: var(--ink); }
.band-teal { background: var(--teal); color: #fff; }
.band-deep { background: var(--deep); color: #fff; }
.band-coral { background: var(--coral-text); color: #fff; }
.band-teal .lead, .band-deep .lead, .band-coral .lead { color: rgba(255, 255, 255, .88); }
.band-teal a:not(.btn), .band-deep a:not(.btn), .band-coral a:not(.btn) { color: var(--sun-light); }
/* Yellow on the mid-teal band falls short of 4.5:1, so links there are white with a yellow underline. */
.band-teal a:not(.btn) { color: #fff; text-decoration-color: var(--sun-light); }
/* …but a white card sitting on one of those bands keeps the normal teal link color, so links stay readable. */
:is(.band-teal, .band-deep, .band-coral) :is(.beat, .card, .contact-card, .trust-note) a:not(.btn) { color: var(--teal); }
.band-cream { background: #EFE8D4; }

/* Paper wave edges. Put <div class="wave" style="--wave: <next colour>"></div> at the bottom of a section. */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; pointer-events: none;
  background: var(--wave, var(--bg));
  -webkit-mask: url("art/wave.svg") bottom / 100% 100% no-repeat;
  mask: url("art/wave.svg") bottom / 100% 100% no-repeat;
  filter: drop-shadow(0 -4px 6px rgba(59, 29, 16, .12));
}
.wave.top { top: -1px; bottom: auto; transform: scaleY(-1); }
section.has-wave { padding-bottom: 150px; }

/* Floating decorative paper shapes */
.deco { position: absolute; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(59, 29, 16, .18)); }
.deco.dot { width: 28px; height: 28px; border-radius: 50%; }
.deco.ring { width: 70px; height: 70px; border-radius: 50%; border: 10px solid currentColor; filter: none; opacity: .9; }
/* Below the two-column layout the hero stacks, and floating dots would land on the headline. */
@media (max-width: 900px) { .hero .deco, .page-hero .deco { display: none; } }
@media (max-width: 700px) { .deco { display: none; } }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--r); padding: 30px; box-shadow: var(--paper); color: var(--ink); }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: .88rem; color: var(--muted); }

/* Journey stages */
.stages { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
@media (max-width: 1000px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .stages { grid-template-columns: 1fr; } }
.stage { background: var(--white); border-radius: var(--r); padding: 26px 26px 28px; box-shadow: var(--paper); position: relative; }
.stage img { width: 104px; height: 104px; margin: -4px 0 18px; filter: drop-shadow(0 6px 8px rgba(59, 29, 16, .2)); }
.stage .n { position: absolute; top: 22px; right: 24px; font-weight: 900; font-size: 2.2rem; line-height: 1; color: #EBE3D3; }
.stage h3 { font-size: 1.5rem; margin-bottom: .1em; }
.stage .who { font-size: .92rem; color: var(--coral-text); font-weight: 700; margin-bottom: 14px; }
.stage ul { margin: 0; padding: 0; list-style: none; font-size: .98rem; color: var(--ink-soft); }
.stage li { padding: 7px 0 7px 22px; position: relative; border-top: 1px dashed var(--line); }
.stage li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.stage.goal { background: var(--deep); color: #fff; }
.stage.goal .n { color: rgba(255, 255, 255, .12); }
.stage.goal .who { color: var(--sun-light); }
.stage.goal ul { color: rgba(255, 255, 255, .85); }
.stage.goal li { border-color: rgba(255, 255, 255, .15); }

/* Tracks — "what brings you here" */
.track { display: flex; flex-direction: column; border-top: 8px solid var(--c, var(--coral)); }
.track h3 { font-size: 1.4rem; }
.track .first { margin-top: auto; padding-top: 16px; font-size: .95rem; color: var(--ink-soft); }
.track .first b { color: var(--ink); }
.track .first a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c, var(--coral)); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.track .first a:hover { color: var(--c, var(--coral)); }

/* Tao technologies */
.tech { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--paper); display: flex; flex-direction: column; }
.tech img { width: 100%; aspect-ratio: 320 / 220; object-fit: cover; }
.tech div { padding: 22px 24px 26px; }
.tech h3 { margin-bottom: .3em; }
.tech p { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.tech .when { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--teal); }

/* Daily rhythm */
.rhythm { display: grid; gap: 16px; }
.beat {
  display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center;
  background: var(--white); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--paper-sm); color: var(--ink);
}
.beat img { width: 76px; height: 76px; }
.beat time { display: block; font-weight: 900; font-size: 1.05rem; color: var(--coral-text); }
.beat h3 { font-size: 1.18rem; margin: 2px 0 4px; }
.beat p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

/* Numbered flow */
.flow { counter-reset: f; display: grid; gap: 18px; }
.flow > div { counter-increment: f; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
.flow > div::before {
  content: counter(f); width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 1.4rem;
  background: var(--sun); color: var(--ink); box-shadow: var(--paper-sm);
}
/* One color for every step number: the steps are a sequence, not categories. */
.flow h3 { margin: 8px 0 4px; }
.flow p { margin: 0; color: var(--ink-soft); }
.band-teal .flow p, .band-deep .flow p { color: rgba(255, 255, 255, .85); }

/* Entry points */
.ways { display: flex; flex-wrap: wrap; gap: 12px; }
.way { background: var(--white); color: var(--ink); border-radius: 18px; padding: 16px 20px; box-shadow: var(--paper-sm); flex: 1 1 210px; }
.way b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.way span { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Calendar ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 0; background: var(--white); color: var(--ink-soft); box-shadow: var(--paper-sm);
  border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

.month { margin-bottom: 48px; }
.month h2 { font-size: 2rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.month h2 span { font-size: 1rem; color: var(--coral-text); font-weight: 700; }

.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: start;
  background: var(--white); border-radius: var(--r); padding: 18px 22px 18px 18px; margin-bottom: 14px; box-shadow: var(--paper-sm);
  border-left: 8px solid var(--c, var(--sun));
}
.event[data-stage="discover"] { --c: var(--step-1); }
.event[data-stage="explore"] { --c: var(--step-2); }
.event[data-stage="prepare"] { --c: var(--step-3); }
.event[data-stage="transform"] { --c: var(--step-4); }
.event[data-stage="practitioners"] { --c: var(--plum); }
.event.past { opacity: .5; }
.event .date { text-align: center; background: #F0EAD8; border-radius: 16px; padding: 10px 4px; }
.event .date b { display: block; font-weight: 900; font-size: 1.7rem; line-height: 1; }
.event .date span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event h3 { font-size: 1.18rem; margin: 2px 0 4px; }
.event .where { font-size: .92rem; color: var(--muted); margin-bottom: .35em; }
.event p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.event .tags { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
@media (max-width: 640px) {
  .event { grid-template-columns: 66px 1fr; gap: 14px; }
  .event .tags { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; }
}

.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; background: #EEE8DA; color: var(--ink-soft); }
.tag.free { background: #E3EBDF; color: #3F6148; }
.tag.paid { background: #ECE2C2; color: #7A4F00; }
.tag.stage { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.tag.tbc { background: #EFE4D6; color: #8A4B32; }

/* ---------- Callouts ---------- */

.note {
  display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--r);
  padding: 20px 24px; box-shadow: var(--paper-sm); color: var(--ink-soft); font-size: 1rem;
}
.note::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px #EFE7CC; }
.note strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 880px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- People ---------- */

.people { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.person { background: var(--white); border-radius: var(--r); padding: 28px 24px 26px; box-shadow: var(--paper); text-align: center; color: var(--ink); }
.person img { width: 132px; height: 132px; margin: 0 auto 16px; filter: drop-shadow(0 6px 8px rgba(59, 29, 16, .2)); }
.person h3 { font-size: 1.22rem; margin-bottom: 4px; }
.person .place {
  display: inline-block; font-size: .82rem; font-weight: 700; color: #fff; background: var(--coral-text);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.person p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.guide { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; text-align: left; }
.guide img { width: 150px; height: 150px; margin: 0; }
@media (max-width: 520px) { .guide { grid-template-columns: 1fr; text-align: center; } .guide img { margin: 0 auto; } }

/* ---------- FAQ ---------- */

.faq details { background: var(--white); border-radius: var(--r); padding: 0 26px; margin-bottom: 14px; box-shadow: var(--paper-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 900; font-size: 1.18rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-size: 1.3rem; font-weight: 900; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--coral-text); color: #fff; }
.faq details > div { padding-bottom: 22px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Stories ---------- */

.story { background: var(--white); border-radius: var(--r); padding: 34px; box-shadow: var(--paper); position: relative; color: var(--ink); }
.story::before {
  content: "“"; position: absolute; top: -18px; left: 26px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--coral); color: #fff; font-size: 3rem; font-weight: 900; line-height: 1.15; text-align: center; box-shadow: var(--paper-sm);
}
.story h3 { font-size: 1.5rem; margin-top: 12px; }
.story .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: .95rem; color: var(--muted); }
.story .who img { width: 46px; height: 46px; }
.story .who b { color: var(--ink); display: block; }

/* ---------- Footer ---------- */

.site-footer { position: relative; background: var(--deepest); color: rgba(255, 255, 255, .72); padding: 110px 0 40px; font-size: .96rem; }
.site-footer .wave { top: -1px; bottom: auto; transform: scaleY(-1); --wave: var(--bg); }
.site-footer a { color: var(--sun-light); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1.05rem; font-weight: 900; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .86rem; color: rgba(255, 255, 255, .74); }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 36px; }

.card.dark { background: var(--deep); color: #fff; }
.card.dark .flow p, .card.dark p { color: rgba(255, 255, 255, .85); }

/* Goal progression on the Journey page */
.goal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.goal-head img { width: 56px; height: 56px; filter: drop-shadow(0 4px 5px rgba(59, 29, 16, .2)); }
.goal-head span { font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-text); }
.goals .card { position: relative; }
@media (min-width: 861px) {
  .goals .card:not(:last-child)::after {
    content: ""; position: absolute; right: -19px; top: 42px; z-index: 2;
    width: 14px; height: 14px; border-top: 4px solid var(--sun); border-right: 4px solid var(--sun);
    transform: rotate(45deg); border-radius: 2px;
  }
}

/* Honor exchange */
.pull { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.4; color: var(--ink); margin: 0; }
.pull::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; background: var(--coral); margin: 0 auto 22px; }
.reason img { width: 84px; height: 84px; margin-bottom: 16px; filter: drop-shadow(0 5px 6px rgba(59, 29, 16, .2)); }
.answers p { padding: 12px 0; border-top: 1px dashed var(--line); margin: 0; color: var(--ink-soft); }
.answers p:first-child { border-top: 0; padding-top: 4px; }
.answers b { color: var(--ink); }

.honor-band { display: grid; grid-template-columns: 200px 1fr auto; gap: 36px; align-items: center; }
.honor-band img { width: 220px; border-radius: var(--r); box-shadow: var(--paper); }
@media (max-width: 860px) { .honor-band { grid-template-columns: 1fr; gap: 22px; } .honor-band img { width: 100%; max-width: 360px; } }

/* Let grid columns shrink below their content's natural width (wide art on phones). */
.hero-grid > *, .split > *, .grid > *, .stages > *, .honor-band > * { min-width: 0; }

/* Flyers */
.flyer-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 5px 14px 5px 5px;
  border: 0; border-radius: 999px; background: #F0EAD8; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.flyer-link:hover { background: var(--sun-light); }
.flyer-link img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }

.flyers { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.flyer-tile { margin: 0; background: var(--white); border-radius: var(--r); padding: 12px; box-shadow: var(--paper); }
/* The space around a flyer takes the flyer's own colors, blurred, under a soft dot pattern; the flyer sits on top. */
.flyer-tile button {
  position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%; padding: 0; border: 0;
  border-radius: 14px; background: #EEE8DA; cursor: zoom-in;
}
.flyer-tile button::before {
  content: ""; position: absolute; inset: -30px; z-index: -2;
  background: var(--flyer) center / cover no-repeat; filter: blur(26px) saturate(1.25); opacity: .7;
}
.flyer-tile button::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1.3px, transparent 1.6px); background-size: 16px 16px;
}
.flyer-tile img { width: 100%; height: 200px; object-fit: contain; display: block; filter: drop-shadow(0 10px 18px rgba(20, 20, 20, .28)); transition: transform .2s; }
.flyer-tile button:hover img { transform: scale(1.02); }
.flyer-tile figcaption { padding: 12px 6px 4px; display: grid; gap: 2px; }
.flyer-tile figcaption span { font-size: .9rem; color: var(--muted); }
.flyer-tile figcaption a { font-weight: 900; font-size: .92rem; margin-top: 6px; }
/* Bigger flyers where there is room: two in a row on a tablet, three on a laptop or wider. Phones keep the compact tiles. */
@media (min-width: 700px) {
  .flyers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .flyer-tile { padding: 14px; }
  .flyer-tile img { height: auto; aspect-ratio: 4 / 5; padding: 14px; box-sizing: border-box; }
  .flyer-tile figcaption b { font-size: 1.08rem; }
}
@media (min-width: 1000px) { .flyers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

.flyer-viewer { border: 0; padding: 16px; border-radius: var(--r); background: var(--white); max-width: min(560px, 94vw); max-height: 94vh; box-shadow: var(--paper); }
.flyer-viewer::backdrop { background: rgba(8, 58, 66, .75); }
.flyer-viewer img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 12px; }
.flyer-viewer .actions { display: flex; justify-content: center; padding-top: 14px; }
.flyer-viewer .close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--deep); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2;
}

/* Trust */
.trust-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .trust-stages { grid-template-columns: 1fr; } }
.trust-stages a {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  background: var(--white); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--paper-sm); text-decoration: none; color: var(--ink);
}
.trust-stages a:hover { transform: translateY(-2px); }
.trust-stages img { width: 64px; height: 64px; grid-row: span 2; }
.trust-stages b { font-size: 1.12rem; align-self: end; }
.trust-stages span { font-size: .9rem; color: var(--muted); align-self: start; }

.promise { background: var(--white); color: var(--ink-soft); border-radius: 18px; padding: 16px 20px; box-shadow: var(--paper-sm); border-left: 6px solid var(--teal-bright); }
.promise b { color: var(--ink); }
.band-cream .promise { border-left-color: var(--sun); }
.band-teal .promise { border-left-color: var(--sun); }
.band-teal .promise a { color: var(--teal); }

.trust-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.trust-points span { background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .92rem; box-shadow: var(--paper-sm); }
.trust-points span::before { content: "✓"; color: var(--leaf); font-weight: 900; margin-right: 8px; }

.trust-note { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: var(--r); padding: 18px 24px; box-shadow: var(--paper-sm); border: 2px dashed #E6DABC; }
.trust-note img { width: 54px; height: 54px; flex: none; }
.trust-note p { margin: 0; color: var(--ink-soft); }
.trust-note b { color: var(--ink); }
.trust-note p a { display: block; width: fit-content; margin-top: 6px; font-weight: 700; }
section.trust-foot { padding: 0 0 80px; }

/* Keep in-page jumps clear of the sticky header */
[id] { scroll-margin-top: 96px; }
.site-footer .brand small { color: var(--sun-light); }

/* Directory, contact, join */
.person .spec { font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.contact-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--white); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--paper); }
.contact-card img { width: 56px; height: 56px; }
.contact-card div { flex: 1 1 220px; display: grid; }
.contact-card span { color: var(--muted); font-size: .95rem; }
.join { display: inline-block; margin-top: 8px; font-weight: 900; font-size: .9rem; color: #fff; background: var(--teal); padding: 6px 14px; border-radius: 999px; text-decoration: none; }
.join:hover { background: var(--deep); color: #fff; }
.join[hidden] { display: none; }

.stories { display: grid; gap: 44px; max-width: 860px; }
.story-art { float: right; width: 88px; height: 88px; margin: 0 0 12px 18px; filter: drop-shadow(0 5px 6px rgba(59, 29, 16, .2)); }
.story p { color: var(--ink-soft); }
.story .who { clear: both; }
.story .who b { display: block; }

/* Faith & practice */
.faith-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .faith-qs { grid-template-columns: 1fr; } }
.faith-q { position: relative; padding-top: 36px; }
.faith-q h3 { font-size: 1.4rem; padding-right: 40px; }
.faith-q p { color: var(--ink-soft); }
.faith-q q { font-style: italic; color: var(--ink); }
.q-num { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--sun); color: var(--ink); }

.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .line-grid { grid-template-columns: 1fr; } }
.line-col { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--paper); border-top: 10px solid var(--leaf); }
.line-col.no { border-top-color: var(--coral); }
.line-col h3 { font-size: 1.4rem; }
.line-col ul { list-style: none; margin: 0; padding: 0; }
.line-col li { position: relative; padding: 10px 0 10px 36px; border-top: 1px dashed var(--line); color: var(--ink-soft); }
.line-col li::before { position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; color: #fff; }
.line-col.ok li::before { content: "✓"; background: var(--leaf); }
.line-col.no li::before { content: "✕"; background: var(--coral); }

.essay { max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); color: var(--ink); }
.essay header { border-bottom: 2px solid var(--line); margin-bottom: 26px; padding-bottom: 18px; }
.essay h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.essay h3 { font-size: 1.25rem; margin-top: 1.6em; color: var(--teal); }
.essay p, .essay li { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.essay li { margin-bottom: .5em; }
.eyebrow-sm { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 10px; }
.byline { font-weight: 700; color: var(--ink); margin: 0; }
.disclosure { margin-top: 34px; padding: 20px 22px; border-radius: 16px; background: #F0EAD8; }
.disclosure h4 { margin-bottom: 6px; }
.disclosure p { margin: 0; font-size: .95rem; }

.podcast audio { width: 100%; margin: 14px 0 10px; }
.podcast details summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.transcript { max-height: 320px; overflow-y: auto; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #F5F1E8; font-size: .93rem; color: var(--ink-soft); }
.refs .card { text-decoration: none; display: grid; gap: 6px; }
.refs .card b { color: var(--ink); }
.refs .card span { color: var(--ink-soft); font-size: .95rem; }
.refs .card:hover { transform: translateY(-2px); }

/* References */
a.ref { text-decoration: none; border-bottom: 1px dotted currentColor; }
a.ref sup { font-size: .7em; font-weight: 900; color: var(--coral-text); margin-left: 1px; }
.reflist { margin: 0; padding-left: 1.4em; display: grid; gap: 12px; }
.reflist li { background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: var(--paper-sm); color: var(--ink-soft); }
.reflist li:target { outline: 3px solid var(--sun); }
.reflist b { color: var(--ink); }

/* Footer: wide and short — one row of link columns */
.site-footer { padding: 96px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 28px 32px; align-items: start; }
.foot-grid h4 { font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-light); margin-bottom: 10px; }
.foot-grid h4.foot-sub { margin-top: 22px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; font-size: .94rem; }
.foot-grid a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot-grid a:hover { color: var(--sun-light); text-decoration: underline; }
.foot-brand p { font-size: .92rem; margin: 10px 0 0; max-width: 32ch; }
.site-footer .fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 28px; padding-top: 16px; font-size: .8rem; }
.site-footer .fine p { margin: 0; max-width: 78ch; }
.site-footer a.quiet { color: inherit; text-decoration: none; padding: 0 4px; }
.site-footer a.quiet:hover { color: var(--sun-light); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { gap: 22px 18px; } .foot-grid li { font-size: .9rem; } }

/* Feedback form */
.fb-form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); }
.fb-kinds { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-kinds legend { font-weight: 900; font-size: 1.1rem; margin-bottom: 10px; }
.fb-kinds label { cursor: pointer; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: #F0EAD8; font-weight: 700; font-size: .93rem; border: 2px solid transparent; }
.fb-kinds input:checked + span { background: var(--sun); border-color: var(--ink); }
.fb-kinds input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.fb-field { display: grid; gap: 6px; font-weight: 700; }
.fb-field input, .fb-field textarea {
  font: inherit; font-weight: 400; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: 14px;
  border: 2px solid #E1D9C6; background: #FBFAF6; color: var(--ink);
}
.fb-field input:focus, .fb-field textarea:focus { outline: none; border-color: var(--teal-bright); }
.fb-field .bad { border-color: var(--coral); }
.fb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fb-two { grid-template-columns: 1fr; } }
.req { font-size: .72rem; font-weight: 700; color: var(--coral-text); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
.opt { font-size: .78rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.fb-hint, .fb-fine { margin: -6px 0 0; font-size: .9rem; color: var(--muted); }
.fb-count { justify-self: end; font-size: .8rem; font-weight: 400; color: var(--muted); }
.fb-trap { position: absolute; left: -9999px; }
.error { color: #8A4B32; font-weight: 700; margin: 0; }
.fb-done { text-align: center; padding: 40px 28px; }
.fb-done img { margin: 0 auto 12px; }
.fb-done .btn-row { justify-content: center; }

/* Share this site (QR) */
.share-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); box-shadow: var(--paper); }
.share-card .qr { width: 168px; height: 168px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 3px var(--sun); }
.share-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.share-card .url { font-weight: 900; color: var(--teal); word-break: break-all; }
@media (max-width: 600px) { .share-card { grid-template-columns: 1fr; text-align: center; } .share-card .qr { margin: 0 auto; } .share-card .btn-row { justify-content: center; } }

.fine-dl { margin: 0 0 8px; font-size: .9rem; font-weight: 700; }
.fb-field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.fb-field input, .fb-field textarea { flex-basis: 100%; margin-top: 4px; }
.fb-count { margin-left: auto; }

.foot-legal { display: grid; gap: 4px; justify-items: end; text-align: right; }
.site-footer a.studio-link { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a.studio-link:hover { color: var(--sun-light); }
@media (max-width: 760px) { .foot-legal { justify-items: start; text-align: left; } }

.commit img { width: 72px; height: 72px; margin-bottom: 14px; filter: drop-shadow(0 5px 6px rgba(8, 58, 66, .25)); }

.step-ic { display: block; width: 64px; height: 64px; margin-bottom: 12px; filter: drop-shadow(0 5px 6px rgba(59, 29, 16, .2)); }
.track > .label { align-self: flex-start; }

/* Event cards: every card ends in the same picture slot, the event's flyer (tap to open it) or, without one, its icon. */
.event { grid-template-columns: 84px 1fr auto 132px; }
.ev-flyer { grid-column: 4; grid-row: 1 / span 3; position: relative; display: block; width: 132px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #F0EAD8; box-shadow: var(--paper-sm); }
button.ev-flyer { cursor: zoom-in; }
.ev-flyer { isolation: isolate; }
button.ev-flyer::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--flyer) center / cover no-repeat; filter: blur(16px) saturate(1.2); opacity: .75; }
.ev-flyer img { width: 100%; height: calc(100% - 26px); object-fit: contain; padding: 8px 8px 2px; box-sizing: border-box; filter: drop-shadow(0 6px 10px rgba(20, 20, 20, .25)); transition: transform .2s; }
.ev-flyer-none img { height: 64px; padding: 0; filter: drop-shadow(0 4px 5px rgba(59, 29, 16, .2)); }
button.ev-flyer:hover img { transform: scale(1.04); }
.ev-flyer span { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 4px; background: rgba(36, 86, 86, .88); color: #fff; font-weight: 800; font-size: .8rem; text-align: center; }
.ev-flyer-none { display: grid; place-items: center; }
.ev-flyer-none img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(59, 29, 16, .2)); }
@media (max-width: 640px) {
  .event { grid-template-columns: 66px 1fr; }
  .event > div:not(.date):not(.tags) { grid-column: 2; grid-row: 1; }
  .event .tags { grid-column: 2; grid-row: 2; }
  .ev-flyer { grid-column: 2; grid-row: 3; width: 120px; }
  .ev-flyer-none { display: none; }
}

/* Home: quick facts, what-is, track scenes, story teasers */
.quick-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-facts li { background: var(--white); border-radius: 999px; padding: 7px 14px 7px 12px; font-size: .9rem; font-weight: 700; box-shadow: var(--paper-sm); }
.quick-facts li::before { content: "✓"; color: var(--leaf); font-weight: 900; margin-right: 7px; }
.what-grid .card p { color: var(--ink-soft); font-size: .98rem; }
.track { overflow: hidden; }
.track .track-art { display: block; width: calc(100% + 60px); max-width: none; margin: -30px -30px 18px; aspect-ratio: 320 / 220; object-fit: cover; }
.story-teaser { display: block; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.story-teaser:hover { transform: translateY(-3px); color: var(--ink); }
.story-teaser .more { display: inline-block; margin-top: 6px; font-weight: 900; color: var(--teal); }
.band-teal .stage, .band-teal .stage h3 { color: var(--ink); }
.band-teal .stage.goal, .band-teal .stage.goal h3 { color: #fff; }

/* Home: quick facts, what-is, track scenes, story teasers */
.quick-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-facts li { background: var(--white); border-radius: 999px; padding: 7px 14px 7px 12px; font-size: .9rem; font-weight: 700; box-shadow: var(--paper-sm); }
.quick-facts li::before { content: "✓"; color: var(--leaf); font-weight: 900; margin-right: 7px; }
.what-grid .card p { color: var(--ink-soft); font-size: .98rem; }
.track { overflow: hidden; }
.track .track-art { display: block; width: calc(100% + 60px); max-width: none; margin: -30px -30px 18px; aspect-ratio: 320 / 220; object-fit: cover; }
.story-teaser { display: block; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.story-teaser:hover { transform: translateY(-3px); color: var(--ink); }
.story-teaser .more { display: inline-block; margin-top: 6px; font-weight: 900; color: var(--teal); }
.band-teal .stage h3 { color: var(--ink); }
.band-teal .stage.goal h3 { color: #fff; }

/* Person card (pcard): an illustration and, when available, a real photo layered like cut paper.
   Without the has-photo class the illustration shows alone, larger. */
.pcard { position: relative; isolation: isolate; display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: center;
  max-width: 980px; margin-top: 26px; padding: 48px 40px 40px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--paper); }
.pcard-tab { position: absolute; top: -20px; left: 32px; margin: 0; z-index: 2; }
.pcard-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
/* The background photo: the real colors, cut out from its backdrop and simply faded, fading out toward the text. */
.pcard-bg img { position: absolute; right: -10px; bottom: 0; height: 104%; width: auto; max-width: none; opacity: .2;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 85%), linear-gradient(to top, transparent 0, #000 22%);
  mask-image: linear-gradient(to left, #000 30%, transparent 85%); }
.pcard-faces { position: relative; width: 250px; height: 230px; }
.pcard-illus { position: absolute; left: 6px; top: 6px; width: 118px; height: 118px; transform: rotate(-12deg); opacity: .6; filter: drop-shadow(0 6px 8px rgba(59, 29, 16, .18)); }
.pcard-photo { position: absolute; right: 0; bottom: 0; width: 172px; height: 172px; border-radius: 50%; border: 7px solid var(--white);
  box-shadow: 0 2px 0 rgba(59, 29, 16, .06), 0 14px 28px -10px rgba(59, 29, 16, .45); object-fit: cover; }
.pcard-spark { position: absolute; right: 8px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); box-shadow: var(--paper-sm); }
.pcard-spark::after { content: ""; position: absolute; left: -46px; top: 40px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.pcard:not(.has-photo) .pcard-photo, .pcard:not(.has-photo) .pcard-bg { display: none; }
.pcard:not(.has-photo) .pcard-illus { width: 190px; height: 190px; left: 30px; top: 20px; transform: none; }
.pcard-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 8px; }
.pcard-body p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; max-width: 56ch; }
@media (max-width: 720px) {
  .pcard { grid-template-columns: 1fr; gap: 18px; padding: 44px 22px 26px; text-align: center; }
  .pcard-faces { margin: 0 auto; width: 230px; height: 210px; }
  .pcard-body p { margin: 0 auto; }
  .pcard-bg img { opacity: .1; height: 72%; }
}
.pcard .place { display: inline-block; font-size: .82rem; font-weight: 700; color: #fff; background: var(--coral-text); border-radius: 999px; padding: 4px 13px; }
/* References: compact, small print */
.reflist { gap: 6px; font-size: .86rem; line-height: 1.5; }
.reflist li { padding: 9px 14px; border-radius: 12px; box-shadow: none; border: 1px solid var(--line); }
.reflist li a { white-space: nowrap; }
#references + * , .reflist + p.muted { font-size: .84rem; }
.faith-ic { width: 60px; height: 60px; }
.pcard-spark::after { display: none; }

.line-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.line-head img { width: 62px; height: 62px; filter: drop-shadow(0 5px 6px rgba(59, 29, 16, .2)); }
.line-head h3 { margin: 0; }

.essay-banner { display: block; width: calc(100% + 2 * clamp(28px, 5vw, 56px)); max-width: none; margin: calc(-1 * clamp(28px, 5vw, 56px)) calc(-1 * clamp(28px, 5vw, 56px)) 28px; height: clamp(170px, 26vw, 280px); object-fit: cover; object-position: center 62%; border-radius: var(--r) var(--r) 0 0; }
.essay { overflow: hidden; }
.listen-head { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: center; }
.listen-head img { width: 100%; border-radius: var(--r); box-shadow: var(--paper); }
@media (max-width: 860px) { .listen-head { grid-template-columns: 1fr; } .listen-head img { max-width: 420px; } }
.section-head:has(.listen-head) { max-width: none; }
.essay-banner { object-position: center 38%; height: clamp(190px, 30vw, 320px); }

/* Stage lists: every item links somewhere */
.stage li a { color: var(--ink); text-decoration: none; border-bottom: 1.5px dotted var(--coral); font-weight: 700; }
.stage li a:hover { color: var(--coral); }
.stage.goal li a { color: #fff; border-bottom-color: var(--sun-light); }
.stage.goal li a:hover { color: var(--sun-light); }
/* Calendar: events reached from a link */
.event.found { box-shadow: 0 0 0 3px var(--sun), var(--paper); animation: found 1.6s ease 2; }
@keyframes found { 50% { box-shadow: 0 0 0 7px rgba(255, 178, 30, .35), var(--paper); } }
.band-teal .stage li a, .stage li a { color: var(--ink); }
.band-teal .stage li a:hover { color: var(--coral); }
.band-teal .stage.goal li a { color: #fff; }
.band-teal .stage.goal li a:hover { color: var(--sun-light); }

/* Home: the "save the date" callout above the headline, a star seal to draw the eye. */
.callout-star {
  display: flex; align-items: center; gap: 16px; max-width: 460px; margin: 0 auto 22px; padding: 12px 14px 12px 12px;
  background: var(--white); border: 2px solid var(--sun); border-radius: 22px; box-shadow: var(--paper);
  color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.callout-star:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(255, 178, 30, .25), var(--paper); }
.callout-seal { position: relative; flex: none; width: 72px; height: 72px; display: grid; place-items: center; }
.callout-seal::before {
  content: ""; position: absolute; inset: 0; background: var(--sun);
  clip-path: polygon(50% 0%, 60.6% 10.4%, 75% 6.7%, 79% 21%, 93.3% 25%, 89.6% 39.4%, 100% 50%, 89.6% 60.6%, 93.3% 75%, 79% 79%, 75% 93.3%, 60.6% 89.6%, 50% 100%, 39.4% 89.6%, 25% 93.3%, 21% 79%, 6.7% 75%, 10.4% 60.6%, 0% 50%, 10.4% 39.4%, 6.7% 25%, 21% 21%, 25% 6.7%, 39.4% 10.4%); animation: seal-turn 30s linear infinite;
}
.callout-seal img { position: relative; width: 52px; height: 52px; border-radius: 50%; box-shadow: none; }
.callout-text { display: block; min-width: 0; line-height: 1.3; }
.callout-text em { display: block; font-style: normal; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-text); }
.callout-text b { display: block; font-size: 1.08rem; margin: 2px 0; }
.callout-text span { display: block; font-size: .88rem; color: var(--muted); }
.callout-go { flex: none; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-text); color: #fff; font-weight: 900; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .callout-seal::before { animation: none; } }
@media (max-width: 480px) { .callout-star { gap: 12px; } .callout-seal { width: 62px; height: 62px; } .callout-seal img { width: 44px; height: 44px; } }

/* ---------- Site search ----------
   The window opens from the header (or "/" and Ctrl/⌘ K). The best match leads, then groups ordered by their best hit. */
.search-dialog {
  width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 860px); margin: 6vh auto auto; padding: 0;
  border: 0; border-radius: var(--r-lg, 28px); background: var(--bg, #F7F4EE); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(8, 40, 46, .55);
  display: none; flex-direction: column; overflow: hidden;
}
.search-dialog[open] { display: flex; }
.search-dialog::backdrop { background: rgba(8, 54, 62, .55); backdrop-filter: blur(3px); }
.sr-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; background: var(--white); border-bottom: 2px solid var(--sun); color: var(--deep); }
.sr-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.15rem; font-weight: 700; color: var(--ink); padding: 8px 0; }
.sr-bar input::placeholder { color: #9AA3AD; font-weight: 400; }
.sr-bar input::-webkit-search-cancel-button { cursor: pointer; }
.sr-close { flex: none; border: 0; border-radius: 999px; background: #EDE7DA; color: var(--ink); font: inherit; font-weight: 700; font-size: .85rem; padding: 8px 14px; cursor: pointer; }
.sr-body { overflow-y: auto; padding: 18px 20px 8px; }
.search-dialog .sr-body { min-height: 120px; }
.sr-keys { margin: 0; padding: 10px 20px; font-size: .8rem; color: var(--muted); border-top: 1px solid #E8E1D0; background: var(--white); }
.sr-keys span { font-weight: 900; color: var(--ink-soft); }
.sr-keys a { margin-left: 4px; }
@media (max-width: 700px) {
  .search-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .sr-keys { display: none; }
}
.sr-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.sr-fix button, .sr-pop button { font: inherit; cursor: pointer; }
.sr-fix button { border: 0; background: none; padding: 0; color: var(--coral-text); font-weight: 900; text-decoration: underline; }
.sr-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.sr-chips button {
  flex: none; border: 2px solid #E1D9C6; background: var(--white); border-radius: 999px; padding: 6px 13px;
  font: inherit; font-size: .86rem; font-weight: 700; color: var(--ink-soft); cursor: pointer;
}
.sr-chips button span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.sr-chips button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.sr-chips button[aria-pressed="true"] span { color: var(--sun-light, #FFD45C); }
.sr-top, .sr-item { display: block; text-decoration: none; color: inherit; border-radius: 16px; }
.sr-top {
  background: var(--white); border: 2px solid var(--sun); padding: 16px 18px; margin-bottom: 18px; box-shadow: var(--paper);
}
.sr-kind { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 4px; }
.sr-top b { display: block; font-size: 1.22rem; line-height: 1.25; }
.sr-item { padding: 10px 12px; margin: 0 -12px; }
.sr-item b { display: block; font-size: 1.02rem; line-height: 1.3; }
.sr-crumb { display: block; font-size: .8rem; color: var(--teal, #0E7C7B); font-weight: 700; margin-top: 2px; }
.sr-snip { display: block; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; margin-top: 4px; }
.sr-top:hover, .sr-top.active { box-shadow: 0 0 0 5px rgba(255, 178, 30, .3), var(--paper); }
.sr-item:hover, .sr-item.active { background: #EFE7D3; }
.sr-body mark { background: #E6D9A8; color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-group { margin-bottom: 14px; padding: 0; }
.sr-group h3 { font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; padding-top: 10px; border-top: 1px solid #E8E1D0; }
.sr-more { border: 0; background: none; padding: 6px 0; font: inherit; font-size: .9rem; font-weight: 900; color: var(--coral-text); cursor: pointer; }
.sr-hint { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 4px 0 10px; }
.sr-pop { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sr-pop button { border: 2px solid #E1D9C6; background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.sr-pop button:hover { border-color: var(--sun); }
.sr-none { font-size: 1.1rem; font-weight: 700; margin: 4px 0 8px; }
.sr-ask { margin-top: 12px; }
/* The /search page */
.search-hero h1 { margin-bottom: 18px; }
.sr-page-bar { border: 2px solid var(--sun); border-radius: 999px; box-shadow: var(--paper); }
.sr-page { padding: 0; overflow: visible; }
/* Landing from a result: the words lit up, the spot outlined for a moment */
mark.hit { background: #E6D9A8; color: inherit; border-radius: 3px; padding: 0 2px; }
.landed { animation: landed 2.4s ease-out 1; border-radius: 12px; }
@keyframes landed { 0%, 40% { box-shadow: 0 0 0 6px rgba(255, 178, 30, .55); } 100% { box-shadow: 0 0 0 6px rgba(255, 178, 30, 0); } }
@media (prefers-reduced-motion: reduce) { .landed { animation: none; } }

/* ---------- Consultation card (Community) and free books (Practice) ---------- */
.consult {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; margin-top: 40px; padding: 28px;
  background: var(--white); border: 2px solid var(--sun); border-radius: var(--r-lg, 28px); box-shadow: var(--paper);
}
.consult-art { width: 180px; height: 180px; filter: drop-shadow(0 10px 16px rgba(8, 54, 62, .28)); }
.consult h3 { font-size: 1.5rem; margin-top: 10px; }
.consult-facts { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.consult-facts li { padding-left: 16px; border-left: 3px solid var(--sun); color: var(--ink-soft); }
.consult-facts b { color: var(--ink); }
.consult-help { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 700px) {
  .consult { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; text-align: left; }
  .consult-art { width: 132px; height: 132px; }
}
.book-card { display: flex; flex-direction: column; align-items: flex-start; }
.book-card img { width: 96px; height: 96px; margin-bottom: 14px; }
.book-card h3 { font-size: 1.5rem; margin: 8px 0 4px; }
.book-sub { font-style: italic; color: var(--ink-soft); margin: 0 0 8px; }
.book-card .meta { margin-bottom: 20px; }
.book-card .btn { margin-top: auto; }
.book-alt { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.beat .beat-link { margin-top: 6px; font-weight: 700; }

/* Home hero: "Coming up", the next three events, small but readable, above the save-the-date callout. */
.soon { max-width: 460px; margin: 0 auto 16px; background: var(--white); border: 2px solid #E1D9C6; border-radius: 20px; padding: 12px 14px 8px; box-shadow: var(--paper-sm, var(--paper)); }
.soon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 6px; }
.soon-head b { font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.soon-head a { font-size: .84rem; font-weight: 700; }
.soon ol { list-style: none; margin: 0; padding: 0; }
.soon li + li { border-top: 1px solid #E8E1D0; }
.soon li a { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; padding: 8px 4px; color: inherit; text-decoration: none; border-radius: 10px; }
.soon li a:hover { background: #F2EDE0; }
.soon-date { font-size: .78rem; font-weight: 900; color: #fff; background: var(--coral-text); border-radius: 8px; padding: 5px 6px; text-align: center; line-height: 1.2; }
.soon-what b { display: block; font-size: .93rem; line-height: 1.3; }
.soon-what small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: 1px; }

/* FAQ: questions in four groups, with jump links at the top. */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq-jump a { background: var(--white); border: 2px solid #E1D9C6; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.faq-jump a:hover { border-color: var(--sun); }
.faq-group { font-size: 1.5rem; margin: 40px 0 16px; }
.page-jump { margin-bottom: 20px; }
/* Faith essay: part I shows, the rest opens on request. */
.essay-more { margin-top: 8px; }
.essay-more > summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; margin: 8px 0 4px;
  padding: 12px 22px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 900;
}
.essay-more > summary::-webkit-details-marker { display: none; }
.essay-more > summary::after { content: "↓"; }
.essay-more[open] > summary { display: none; }
.privacy-note { margin-top: 18px; background: var(--white); border: 1px solid #E1D9C6; border-radius: 16px; padding: 4px 18px; font-size: .95rem; color: var(--ink-soft); }
.privacy-note summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; }
.privacy-note ul { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 6px; }
.privacy-note p { margin: 0 0 8px; }

/* Home "Choose what brings you here": two compact cards in a row on tablets, shorter pictures on phones. */
@media (min-width: 560px) and (max-width: 860px) { #paths .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { #paths .track .track-art { aspect-ratio: 320 / 170; object-position: center 75%; } }
@media (max-width: 559px) {
  #paths .track { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; padding: 18px; }
  #paths .track .track-art { grid-row: 1 / span 2; width: 96px; height: 96px; margin: 0; aspect-ratio: auto; border-radius: 14px; object-position: center 72%; }
  #paths .track h3 { margin: 2px 0 4px; font-size: 1.2rem; }
  #paths .track p:not(.first) { margin: 0; font-size: .98rem; line-height: 1.45; }
  #paths .track .first { grid-column: 1 / -1; padding-top: 12px; }
}
/* Event cards on phones: the small icon would wrap under the date and leave a gap, so it steps aside. */
.tag { font-size: .8rem; }
/* Phones: roomier footer links, and story cards that leave more width for the words. */
@media (max-width: 700px) {
  .foot-grid li a { display: inline-block; padding: 6px 0; }
  .site-footer li { margin-bottom: 4px; }
  .story { padding: 24px 20px; }
}


/* Glossary: terms in groups, each a white card; the trademark list is a simple table that becomes stacked rows on phones. */
.glossary { margin: 0; }
.glossary dt { background: var(--white); border-radius: var(--r) var(--r) 0 0; padding: 20px 24px 0; margin-top: 14px; font-weight: 900; font-size: 1.12rem; color: var(--ink); box-shadow: var(--paper-sm); clip-path: inset(-20px -20px 0 -20px); }
.glossary dt .alt { font-weight: 400; font-size: .95rem; color: var(--muted); margin-left: 6px; }
.glossary dd { background: var(--white); border-radius: 0 0 var(--r) var(--r); padding: 8px 24px 20px; margin: 0; color: var(--ink-soft); box-shadow: var(--paper-sm); clip-path: inset(0 -20px -20px -20px); }
.glossary dd p { margin: 0 0 8px; }
.glossary dd p:last-child { margin-bottom: 0; }
.glossary .src { font-size: .88rem; color: var(--muted); }
.glossary .src a { color: var(--muted); }
.gl-intro { margin: 0 0 8px; color: var(--ink-soft); }
.tm-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--paper-sm); font-size: .95rem; }
.tm-table th, .tm-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #E7E1D2; vertical-align: top; }
.tm-table th { background: #EFE8D2; font-weight: 900; color: var(--ink); }
.tm-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .glossary dt { padding: 18px 18px 0; }
  .glossary dd { padding: 8px 18px 18px; }
  .tm-table thead { display: none; }
  .tm-table, .tm-table tbody, .tm-table tr, .tm-table td { display: block; }
  .tm-table tr { border-bottom: 1px solid #E7E1D2; padding: 10px 0; }
  .tm-table td { border: 0; padding: 4px 16px; }
  .tm-table td:first-child { font-weight: 900; color: var(--ink); }
}

/* Practice page: notes on the two free books, each a card with questions, folded takeaways and a download button. */
.book-inside { margin: 0 0 16px; font-weight: 700; }
.book-notes { display: flex; flex-direction: column; align-items: flex-start; }
.book-notes img { width: 64px; height: 64px; margin-bottom: 10px; }
.book-notes h3 { font-size: 1.4rem; margin: 0 0 10px; }
.book-notes h4 { font-size: 1rem; margin: 6px 0 8px; color: var(--ink); }
.book-qs { margin: 0 0 18px; padding-left: 20px; color: var(--ink-soft); }
.book-qs li { margin-bottom: 4px; }
.takeaways { width: 100%; background: #F5F1E8; border-radius: 16px; padding: 0 18px; margin-bottom: 18px; }
.takeaways summary { cursor: pointer; padding: 14px 0; font-weight: 900; color: var(--coral-text); }
.takeaways[open] summary { border-bottom: 1px solid #E6DFCC; margin-bottom: 12px; }
.takeaways ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
.takeaways li { margin-bottom: 12px; }
.takeaways li b { color: var(--ink); }
.takeaways .ch { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.book-notes .try { background: #E7EDE4; border-radius: 14px; padding: 12px 16px; font-size: .95rem; }
.book-notes .btn { margin-top: auto; }
.book-note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: .88rem; color: var(--muted); }
.book-notes-grid { align-items: start; }
.tenda-list { columns: 2; column-gap: 24px; margin: 4px 0 10px; padding-left: 24px; }
.tenda-list li { break-inside: avoid; margin-bottom: 4px; }
.tenda-list span { color: var(--muted); margin: 0 4px; }
@media (max-width: 480px) { .tenda-list { columns: 1; } }
.person .contact { margin-top: 10px; font-weight: 700; }

/* Daily schedule: meeting details under each session. */
.beat .zoom-id { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.faq .script { padding-left: 22px; margin: 0 0 14px; }
.faq .script li { margin-bottom: 10px; }
.faq .src { font-size: .88rem; color: var(--muted); }

/* Love Peace Harmony lyrics: language chips over one lyric card (every lyric shows if scripts are off). */
.lyric-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lyric-tabs button { font: inherit; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; border: 2px solid #DDD7C7; background: var(--white); color: var(--ink); cursor: pointer; }
.lyric-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.lyric { background: var(--white); border-radius: var(--r); padding: 24px 28px; box-shadow: var(--paper-sm); margin-bottom: 12px; }
.lyric h3 { font-size: 1rem; color: var(--muted); margin: 0 0 8px; }
.lyric p { font-size: 1.2rem; line-height: 1.8; margin: 0; color: var(--ink); }
.lyrics.js .lyric[hidden] { display: none; }
.foot-note { font-size: .82rem; opacity: .85; margin: 8px 0 14px; max-width: 30ch; }
.guide-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; font-weight: 700; font-size: .9rem !important; }
.btn-row.center { justify-content: center; }

/* Cards with a full-width picture on top: the picture fills the card's rounded corners, with no colored strip above. */
.track:has(.track-art) { border-top: 0; }
.rounded-art { border-radius: 24px; }
.more-videos { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); } .more-videos a { font-weight: 700; margin: 0 6px; white-space: nowrap; }

/* Faith essay: a picture to open each part, the soul/qi pair, icon cards for the lists, numbered steps. */
.essay-strip { display: block; width: 100%; height: auto; aspect-ratio: 640 / 240; object-fit: cover; border-radius: 20px; margin: 6px 0 22px; }
.term-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.term { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border-radius: 18px; padding: 16px; }
.term img { width: 64px; height: 64px; flex: none; }
.term b { font-size: 1.15rem; color: var(--ink); }
.term p { margin: 4px 0 0; font-size: .98rem !important; line-height: 1.55 !important; }
.essay-quote { margin: 0 0 18px; padding: 16px 20px; border-radius: 18px; background: var(--sun-light); font-size: 1.15rem; font-weight: 700; color: var(--ink); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.essay-quote s { color: var(--muted); font-weight: 400; text-decoration-thickness: 2px; }
.icon-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 20px; }
.icon-card { background: var(--bg); border-radius: 18px; padding: 18px; }
.icon-card img { width: 56px; height: 56px; margin-bottom: 8px; }
.icon-card b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.icon-card p { margin: 0; font-size: .98rem !important; line-height: 1.55 !important; }
.essay .steps-list { list-style: none; padding: 0; counter-reset: step; }
.essay .steps-list li { counter-increment: step; position: relative; padding: 4px 0 4px 54px; margin-bottom: 14px; }
.essay .steps-list li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 900; display: grid; place-items: center; }
@media (max-width: 600px) { .term-pair, .icon-cards { grid-template-columns: 1fr; } }

/* Promise page: a scene under each stage, and an icon on every promise. */
.promise-scene { display: block; width: 100%; height: auto; border-radius: 22px; margin-top: 22px; box-shadow: var(--paper-sm); }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise img { width: 52px; height: 52px; flex: none; }

/* Glossary: topic headings with a picture, a small picture beside many terms, and the By topic / A–Z switch. */
.gl-group { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.gl-group img { width: 56px; height: 56px; flex: none; }
.glossary dt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.glossary dt .gl-ic { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.gl-sort { display: inline-flex; background: var(--white); border-radius: 999px; padding: 4px; box-shadow: var(--paper-sm); margin-bottom: 14px; }
.gl-sort button { font: inherit; font-weight: 700; font-size: .92rem; border: 0; background: none; color: var(--ink); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.gl-sort button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.gl-letter { font-size: 2rem; color: var(--teal); margin: 36px 0 6px; }
.az-jump a { min-width: 40px; text-align: center; padding: 6px 10px; }

/* Honor Exchange and FAQ pictures: a scene beside the text, icons in the circle steps, answers and free-start cards. */
.side-scene { display: block; width: 100%; height: auto; border-radius: 22px; margin: 18px 0 20px; box-shadow: var(--paper-sm); }
.flow h3 { display: flex; align-items: center; gap: 10px; }
.flow-ic { width: 34px; height: 34px; flex: none; }
.answers p.ans { display: flex; gap: 14px; align-items: flex-start; }
.answers p.ans img { width: 44px; height: 44px; flex: none; margin-top: 2px; }
.try-ic { width: 64px; height: 64px; margin-bottom: 10px; }
.faq-scene { display: block; width: 100%; height: auto; border-radius: 22px; margin: 0 0 18px; box-shadow: var(--paper-sm); }
.faq .gl-group { margin-top: 48px; }

/* Workshop flyers: a large, faded picture sits between the blurred backdrop and the flyer itself. */
.flyer-tile button .flyer-accent { position: absolute; z-index: 0; right: -8%; bottom: 0; height: 104%; width: auto; max-width: none; aspect-ratio: auto; padding: 0; object-fit: contain; opacity: .16; filter: none; transform: none; pointer-events: none; }
.flyer-tile button .flyer-accent.ink { right: -4%; height: 100%; opacity: .2; }
.flyer-tile button img:not(.flyer-accent) { position: relative; z-index: 1; }
.flyer-tile button:hover .flyer-accent { transform: none; }
@media (min-width: 700px) { .flyer-tile img:not(.flyer-accent) { padding: 26px 30px; } }

/* Free books: the real covers, large on the download cards and small beside each summary. */
.book-card img.book-cover { width: min(190px, 60%); height: auto; margin: 0 0 18px; border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 18px 30px -14px rgba(36, 50, 46, .45); transform: rotate(-2deg); }
.book-card:nth-child(2) img.book-cover { transform: rotate(2deg); }
.book-notes img.book-cover-sm { width: 84px; height: auto; margin-bottom: 14px; border-radius: 4px; box-shadow: 0 10px 18px -10px rgba(36, 50, 46, .5); }

/* The month sits above the day in every event's date box. */
.event .date span.mo { display: block; margin-bottom: 4px; color: var(--coral-text); font-weight: 900; }

/* Sequences read as one family, light to dark: numbered circles and the four stage cards. */
.flow > div::before { background: var(--step-1); color: var(--ink); }
.flow > div:nth-child(2)::before { background: var(--step-2); color: var(--ink); }
.flow > div:nth-child(3)::before { background: var(--step-3); color: #fff; }
.flow > div:nth-child(n+4)::before { background: var(--step-4); color: #fff; }
.stages > .stage:nth-child(1) { --s: var(--step-1); --s-on: var(--ink); }
.stages > .stage:nth-child(2) { --s: var(--step-2); --s-on: var(--ink); }
.stages > .stage:nth-child(3) { --s: var(--step-3); --s-on: #fff; }
.stages > .stage:nth-child(n+4) { --s: var(--step-4); --s-on: #fff; }
.stages .stage, .band-teal .stages .stage.goal { background: var(--white); color: var(--ink); border-top: 10px solid var(--s); }
.stages .stage .n, .stages .stage.goal .n { top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--s); color: var(--s-on); font-size: 1.25rem; box-shadow: var(--paper-sm); }
.stages .stage li::before { background: var(--s); }
.stages .stage.goal h3, .band-teal .stages .stage.goal h3 { color: var(--ink); }
.stages .stage.goal .who { color: var(--coral-text); }
.stages .stage.goal ul { color: var(--ink-soft); }
.stages .stage.goal li { border-color: var(--line); }
.stages .stage.goal li a { color: var(--ink); border-bottom-color: var(--coral); }
.stages .stage.goal li a:hover { color: var(--coral); }
/* On dark bands and dark cards the darker circles get a white ring, so every number stands out. */
:is(.band-teal, .band-deep, .card.dark) .flow > div::before { box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(0, 0, 0, .4); }

/* Add to calendar: a small menu on each event, and a box to subscribe to every event. */
.add-cal { display: inline-block; position: relative; margin-top: 10px; vertical-align: top; }
.add-cal summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--ink); background: #F0EAD8; }
.add-cal summary::-webkit-details-marker { display: none; }
.add-cal summary::before { content: "+"; font-weight: 900; }
.add-cal[open] summary { background: var(--sun-light); }
.add-cal > div { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); min-width: 230px; max-width: calc(100vw - 150px); background: var(--white); border-radius: 14px; box-shadow: var(--paper); padding: 6px; display: grid; }
.add-cal a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.add-cal a:hover, .add-cal a:focus-visible { background: #F0EAD8; }
.subscribe { background: var(--white); border-radius: var(--r); box-shadow: var(--paper-sm); padding: 4px 18px; margin-bottom: 24px; }
.subscribe summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.subscribe summary::-webkit-details-marker { display: none; }
.subscribe summary img { width: 56px; height: auto; border-radius: 10px; flex: none; }
.subscribe summary b { display: block; color: var(--ink); }
.subscribe summary small { display: block; color: var(--muted); font-size: .9rem; }
.subscribe summary::after { content: "+"; margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-weight: 900; flex: none; }
.subscribe[open] summary::after { content: "–"; }
.subscribe-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 8px; }
.subscribe .fine { font-size: .86rem; color: var(--muted); margin: 6px 0 14px; }

/* Practitioners with a real photo: a circle crop with a white rim, the same size as the illustrated portraits. */
.person img.photo { border-radius: 50%; object-fit: cover; border: 5px solid var(--white); box-shadow: 0 0 0 2px #E8E1CF, 0 10px 18px -10px rgba(36, 50, 46, .45); filter: none; }
.person .aka { margin: -2px 0 6px; font-style: italic; color: var(--muted); }
.person abbr { text-decoration: underline dotted; cursor: help; }

/* Practitioners with a photo: the photo in front, their illustrated portrait smaller, tilted and lighter behind it
   (the same pairing as Teacher Henderson's card). */
.person .pp { position: relative; display: block; width: 168px; height: 150px; margin: 0 auto 14px; }
.person .pp img.pp-art { position: absolute; left: 0; top: 0; width: 84px; height: 84px; margin: 0; transform: rotate(-12deg); opacity: .6; filter: drop-shadow(0 4px 6px rgba(59, 29, 16, .16)); }
.person .pp img.photo { position: absolute; right: 0; bottom: 0; width: 128px; height: 128px; margin: 0; }
/* A guide card with a photo uses the same photo-and-illustration pairing, beside the text. */
.guide:has(.pp) { grid-template-columns: 170px 1fr; }
.guide .pp { margin: 0; }
.guide .pp img.pp-art { width: 84px; height: 84px; }
.guide .pp img.photo { width: 128px; height: 128px; }
@media (max-width: 520px) { .guide:has(.pp) { grid-template-columns: 1fr; } .guide .pp { margin: 0 auto 6px; } }

/* Home hero: the welcome, headline and text start at the top, level with the "Coming up" box. */
.hero .hero-grid > div:first-child { align-self: start; padding-top: 8px; }
.hero-welcome { margin-bottom: 18px; }
.person .card-note { margin-top: 12px; font-size: .78rem; line-height: 1.45; color: var(--muted); }
