/* ==========================================================================
   Conscious Shift · shared styles for index.html and community.html
   Brand pages use the base styles. The garden page adds body.garden touches
   at the bottom of this file.
   ========================================================================== */

:root {
  /* Brand colours (from the original site, refined for AA contrast) */
  --green: #435D4E;
  --green-dark: #263E34;
  --ivory: #F4F0E8;
  --sage: #C5D0C2;
  --sage-pale: #E5EAE1;
  --taupe: #A38A70;        /* decorative only: lines, numbers on dark */
  --taupe-text: #7A634D;   /* taupe that passes AA on light backgrounds */
  --ink: #2C3530;
  --muted: #5B645D;
  --paper: #FFFFFF;
  --line: #E2DFD5;
  --focus: #7A634D;

  /* Type */
  --font-head: "Exo 2", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  /* Rhythm */
  --gutter: 20px;
  --max: 1280px;
  --section: clamp(72px, 10vw, 128px);
  --radius: 14px;
  --header-h: 68px;
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-dark); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.4vw, 84px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 400; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 400; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.4; font-weight: 600; }
:lang(zh-CN) h1 { letter-spacing: 0.01em; line-height: 1.2; }
:lang(zh-CN) h2 { letter-spacing: 0.01em; line-height: 1.3; }

/* Chinese mode: headings in Georgia, with a matching Chinese serif for the
   characters Georgia does not have. English mode keeps Exo 2. */
:root { --font-head-zh: Georgia, "Noto Serif SC", "Songti SC", serif; }
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3, :lang(zh-CN) h4 { font-family: var(--font-head-zh); letter-spacing: 0; }
p { text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green-dark); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--green-dark); color: #E9EDE6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.4 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
}
.section--dark .eyebrow { color: var(--sage); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 40em; }
.section--dark .lead { color: #C9D2C6; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head--split { max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
}

/* ---------- Buttons: primary is always filled, secondary always outline ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1.5px solid var(--green); border-radius: 999px;
  font: 600 15px/1.3 var(--font-body); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-secondary { background: transparent; color: var(--green-dark); }
.btn-secondary:hover { background: var(--green); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.section--dark .btn-primary, .on-dark .btn-primary { background: var(--ivory); border-color: var(--ivory); color: var(--green-dark); }
.section--dark .btn-primary:hover { background: #fff; border-color: #fff; }
.section--dark .btn-secondary { border-color: var(--sage); color: #fff; }
.section--dark .btn-secondary:hover { background: var(--sage); color: var(--green-dark); }
.section--dark :focus-visible { outline-color: var(--sage); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row > .btn { width: 100%; } }

.text-link {
  color: var(--green-dark); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--taupe);
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex: none; }
.brand img { width: 148px; height: auto; }
@media (min-width: 768px) { .brand img { width: 190px; } }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-list a {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding-block: 6px; border-bottom: 1px solid transparent;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--taupe); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .header-actions { margin-left: 28px; }

.lang-toggle { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-toggle button, .lang-toggle a {
  background: none; border: 0; padding: 8px 6px; min-width: 32px; min-height: 40px; cursor: pointer; color: var(--muted);
}
.lang-toggle button[aria-pressed="true"], .lang-toggle a[aria-current="true"] { color: var(--green-dark); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--taupe); }
.lang-toggle span { color: var(--line); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--green-dark); position: relative; transition: transform .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px rgba(38, 62, 52, .08);
  }
  .site-nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .site-nav + .header-actions { margin-left: auto; }
}
@media (max-width: 379px) { .header-actions .btn { padding-inline: 14px; } .brand img { width: 128px; } }
@media (min-width: 1080px) { .menu-toggle { display: none; } }

/* ---------- Hero (brand) ---------- */
.hero { padding-block: clamp(64px, 11vw, 140px) clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 13em; }
.hero h1 .accent { color: var(--taupe-text); display: block; }
.hero .lead { margin-top: 28px; }
.hero .btn-row { margin-top: 40px; }
.hero-meta {
  margin-top: clamp(56px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 15px;
}
.hero-meta img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Growth path ---------- */
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: stage; position: relative; }
.path-stage { position: relative; padding: 0 0 48px 64px; }
.path-stage:last-child { padding-bottom: 0; }
.path-stage::before { /* connecting line */
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--sage);
}
.path-stage:last-child::before { display: none; }
.path-node {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--green);
  font: 500 15px/1 var(--font-head); color: var(--green-dark);
}
.path-stage:last-child .path-node { background: var(--green); color: #fff; }
.path-tag { font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-text); }
.path-stage h3 { margin: 6px 0 12px; }
.path-stage p { color: var(--muted); }
.path-start {
  margin-top: 18px; padding: 14px 16px; background: var(--ivory); border-radius: 10px; font-size: 15px; color: var(--ink);
}
.section--ivory .path-start { background: var(--paper); }
.path-start b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
@media (min-width: 1024px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .path-stage { padding: 72px 0 0; }
  .path-stage::before { left: 52px; right: -40px; top: 21px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Ways to grow: two cards ---------- */
.ways { display: grid; gap: 20px; }
@media (min-width: 900px) { .ways { grid-template-columns: 1.15fr 1fr; gap: 28px; } }
.way {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper);
}
.way--feature { background: var(--green-dark); border-color: var(--green-dark); color: #E3E9E0; }
.way--feature h3 { color: #fff; }
.way--feature .way-label { color: var(--sage); }
.way--feature .way-list li::before { background: var(--sage); }
.way--feature :focus-visible { outline-color: var(--sage); }
.way-label { font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-text); }
.way h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 400; }
.way-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.way-list li { position: relative; padding-left: 20px; }
.way-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--taupe); }
.way .btn-row { margin-top: auto; padding-top: 12px; }

/* ---------- 1:1 section ---------- */
.oneonone-grid { display: grid; gap: clamp(48px, 7vw, 88px); }
@media (min-width: 1024px) { .oneonone-grid { grid-template-columns: 1fr 380px; align-items: start; } }
.sub-block + .sub-block { margin-top: clamp(48px, 6vw, 72px); }
.sub-block > h3 { margin-bottom: 24px; }
.areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { background: var(--paper); padding: 24px; }
.area h4 { margin-bottom: 6px; color: var(--green-dark); }
.area p { font-size: 15px; color: var(--muted); }
.steps { list-style: none; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); font: 500 14px/1 var(--font-head); color: var(--taupe-text); display: block; margin-bottom: 10px; }
.steps h4 { margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--muted); }
.note-box { padding: 24px; border-left: 2px solid var(--sage); background: var(--ivory); border-radius: 0 10px 10px 0; }
.note-box h4 { margin-bottom: 8px; }
.note-box p + p { margin-top: 10px; }
.disclaimer { font-size: 14px; color: var(--muted); }

.price-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 32px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line);
}
.price-card .who { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.price-card .who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.price-card .who strong { display: block; color: var(--green-dark); }
.price-card .who span { font-size: 14px; color: var(--muted); }
.price-card .sr-heading { font: 600 13px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.price { font: 600 44px/1 var(--font-head); color: var(--green-dark); letter-spacing: -0.02em; }
.price small { font: 400 16px/1.4 var(--font-body); color: var(--muted); letter-spacing: 0; }
.price-card .btn { width: 100%; margin-top: 24px; }
.program { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.program strong { color: var(--green-dark); }
.program .btn { margin-top: 16px; }
@media (max-width: 1023px) { .price-card { position: static; } }

/* ---------- Garden teaser on homepage ---------- */
.teaser { display: grid; gap: 40px; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.teaser .lead { margin-top: 20px; }
.teaser .btn-row { margin-top: 32px; }

/* ---------- Events (cards built by site.js from the Google Sheet) ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.events { display: grid; gap: 20px; }
@media (min-width: 768px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Events page: up to 3 per row, starting from the left. */
@media (min-width: 1100px) { .events--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Conscious Garden: up to 3 cards of a set width, centred, including a
   last card that wraps onto its own row. */
.events.events--center { display: flex; flex-wrap: wrap; justify-content: center; }
.events--center > * { flex: 0 1 380px; min-width: 0; }
@media (max-width: 767px) { .events--center > * { flex-basis: 100%; } }
.events-more--center { text-align: center; }
.events[data-limit="1"], .events--list { grid-template-columns: minmax(0, 1fr); }
.events--list { gap: 32px; }
.event {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px 24px 24px 6px;
  transition: border-color .25s, box-shadow .25s;
}
.event:hover { border-color: #D6D1C3; box-shadow: 0 18px 40px -30px rgba(38, 62, 52, .45); }
.event-media { display: block; background: var(--ivory); overflow: hidden; }
.event-media img { width: 100%; aspect-ratio: 2064 / 512; object-fit: cover; transition: transform .6s ease; }
.event:hover .event-media img { transform: scale(1.02); }
.event-body { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3.4vw, 36px); flex: 1; }
.event-main { display: grid; gap: 10px; align-content: start; }
.event-main .way-label { margin: 0; }
.event-title { font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; }
.event-title a { text-decoration: none; background: linear-gradient(var(--taupe), var(--taupe)) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.event-title a:hover { background-size: 100% 1px; }
.event-desc { color: var(--muted); }
.event-side { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.event-facts { list-style: none; padding: 0; display: grid; gap: 12px; }
.event-facts li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.fact-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-pale); color: var(--green); }
.fact-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fact-k { display: block; font-size: 12px; line-height: 1.4; letter-spacing: .08em; color: var(--muted); }
.fact-v { display: block; font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.event-actions { margin-top: auto; }
.event-actions .btn { padding-inline: 22px; }

.event-badge {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--ivory);
  color: var(--taupe-text); font-size: 13px; font-weight: 600;
}
@media (min-width: 900px) {
  .event--wide .event-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding: 44px 48px; }
  .event--wide .event-side { padding-left: 48px; border-left: 1px solid var(--line); }
  .event--wide .event-title { font-size: clamp(28px, 3vw, 36px); }
  .event--wide .event-desc { font-size: 17px; margin-top: 6px; }
}
.event--loading { min-height: 340px; background: linear-gradient(100deg, var(--ivory) 30%, var(--paper) 50%, var(--ivory) 70%) 0 0 / 300% 100%; animation: cs-shimmer 1.6s ease-in-out infinite; }
.event--wide.event--loading { min-height: 460px; }
@keyframes cs-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .event--loading { animation: none; } .event-media img { transition: none; } }
.section--dark .event { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark .event:hover { border-color: rgba(255,255,255,.28); box-shadow: none; }
.section--dark .event-title { color: #fff; }
.section--dark .event-main .way-label { color: var(--sage); }
.section--dark .fact-icon { background: rgba(197, 208, 194, .16); color: var(--sage); }
.section--dark .fact-k, .section--dark .event-desc { color: #C9D2C6; }
.section--dark .fact-v { color: #fff; }
.section--dark .event--loading { background: rgba(255,255,255,.06); animation: none; }
.events-empty {
  padding: 32px; border-radius: var(--radius); border: 1px dashed var(--sage); display: grid; gap: 20px; justify-items: start;
}
.section--dark .events-empty { border-color: rgba(197, 208, 194, .5); }
.events-more { margin-top: 28px; }

/* ---------- About ---------- */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.about-photo { margin: 0; max-width: 440px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--ivory); }
.about h2 { margin-bottom: 8px; }
.about .role { color: var(--taupe-text); font-weight: 600; margin-bottom: 28px; }
.about .bio p + p { margin-top: 16px; }
.about blockquote {
  margin: 32px 0 0; padding-left: 20px; border-left: 2px solid var(--taupe);
  font: 400 clamp(19px, 2vw, 22px)/1.5 var(--font-head); color: var(--green-dark);
}
.creds { margin-top: 40px; }
.creds h3 { font-size: 13px; font-family: var(--font-body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.creds ul { list-style: none; padding: 0; }
.creds li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.creds li strong { font-weight: 600; color: var(--ink); }
.creds li span { font-size: 14px; color: var(--muted); }
.creds .disclaimer { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 2fr; gap: 80px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 500 18px/1.45 var(--font-head); color: var(--green-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 44em; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Closing CTA ---------- */
.closing { text-align: left; }
.closing h2 { max-width: 15em; }
.closing .lead { margin-top: 20px; }
.closing .btn-row { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #C9D2C6; padding-block: 64px 32px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--sage); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 200px; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.footer-brand p { margin-top: 18px; max-width: 24em; }
.footer-title { font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.contact-row { display: flex; gap: 10px; align-items: baseline; }
.contact-row .label { color: #A9B5A7; min-width: 5.5em; font-size: 14px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #A9B5A7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ==========================================================================
   Garden page: light garden touches only
   ========================================================================== */
body.garden { --paper: #FFFFFF; --ivory: #F2F0E4; --line: #E0DDCF; }
body.garden .site-header { background: rgba(253, 251, 245, 0.94); }

.garden-hero { padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px); background: #FBF3E7; overflow: hidden; }
.garden-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .garden-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.garden-hero h1 .accent { display: block; color: var(--taupe-text); font-size: .62em; line-height: 1.3; margin-top: 10px; }
.garden-hero .lead { margin-top: 24px; }
.garden-hero .btn-row { margin-top: 36px; }
.growth-art { width: 100%; max-width: 520px; justify-self: center; color: var(--green); }
.growth-art text { font: 600 12px var(--font-body); letter-spacing: .12em; fill: var(--muted); }

.leaf-mark { width: 28px; height: 28px; color: var(--green); }
.offer-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } .offer-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.offer {
  padding: 32px 28px; border-radius: 22px 22px 22px 6px; background: var(--paper); border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
}
.section--ivory .offer { background: var(--paper); }
.offer .icon { width: 44px; height: 44px; color: var(--green); }
.offer .sub { font-size: 14px; color: var(--taupe-text); font-weight: 600; }
.offer p { color: var(--muted); font-size: 15px; }

.join-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .join-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.join-card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 44px);
  border-radius: 24px 24px 24px 6px; border: 1px solid var(--line); background: var(--paper);
}
.join-card--feature { background: var(--green-dark); border-color: var(--green-dark); color: #E3E9E0; }
.join-card--feature h3 { color: #fff; }
.join-card--feature .way-label { color: var(--sage); }
.join-card--feature :focus-visible { outline-color: var(--sage); }
.join-card ol { padding-left: 1.2em; display: grid; gap: 4px; }
.join-card .btn { margin-top: auto; align-self: flex-start; }

/* Moments: a swipeable strip on phones, a mosaic from tablet up.
   Tile shapes come from GALLERY size: tall, wide, large (see config.js). */
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.gallery figure { position: relative; margin: 0; flex: 0 0 78%; scroll-snap-align: start; overflow: hidden; border-radius: 20px; background: var(--ivory); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  font-size: 14px; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(20, 32, 26, .6));
}
@media (min-width: 768px) {
  .gallery {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense;
    overflow: visible; margin-inline: 0; padding: 0;
  }
  .gallery figure { flex: none; }
  .gallery img { aspect-ratio: auto; }
  .gallery figure:hover img { transform: scale(1.03); }
  .gallery .g-tall { grid-row: span 2; }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-large { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

body.garden .faq summary::after { border-color: var(--green); }
.sprig { display: block; width: 56px; height: 24px; color: var(--sage); margin-bottom: 16px; }
.section--dark .sprig { color: var(--sage); }

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* ---------- Organic background shapes (echo the logo's watercolour forms) ---------- */
.has-shapes { position: relative; overflow: hidden; isolation: isolate; }
.has-shapes::before, .has-shapes::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: center / contain no-repeat; opacity: .55;
}
.has-shapes::before { width: clamp(260px, 42vw, 620px); aspect-ratio: 600 / 520; top: -14%; right: -12%; background-image: url(../img/shapes/blob-sage.svg); }
.has-shapes::after  { width: clamp(180px, 26vw, 380px); aspect-ratio: 520 / 480; bottom: -12%; left: -8%; background-image: url(../img/shapes/blob-blush.svg); opacity: .5; }
.has-shapes.shapes-b::before { background-image: url(../img/shapes/blob-butter.svg); aspect-ratio: 420 / 380; right: -6%; top: -10%; width: clamp(200px, 30vw, 420px); }
.has-shapes.shapes-b::after { background-image: url(../img/shapes/blob-sage.svg); aspect-ratio: 600 / 520; left: auto; right: -10%; bottom: -20%; }
.section--dark.has-shapes::before, .section--dark.has-shapes::after { opacity: .08; }

/* ---------- Image frames ---------- */
.img-frame { margin: 0; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; background: var(--ivory); }
.img-arch img { border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; }
.img-soft img { border-radius: var(--radius); aspect-ratio: 4 / 3; }
.img-blob img { border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%; aspect-ratio: 1; }
body.garden .img-soft img { border-radius: 22px 22px 22px 6px; }
.img-frame figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Page heroes ---------- */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.hero-grid .img-frame { max-width: 440px; justify-self: center; width: 100%; }
.page-hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); background: var(--ivory); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 14em; }
.page-hero .lead { margin-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }

/* ---------- In-page jump links ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.jump a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--green-dark);
}
.jump a:hover { border-color: var(--green); }

/* ---------- Values ---------- */
.values { display: grid; gap: 20px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.value { padding-top: 20px; border-top: 1px solid var(--taupe); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; padding: 0; }
.tags li { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--sage-pale); color: var(--green-dark); }
.path-en { margin-top: 10px; font-size: 14px; font-style: italic; color: var(--muted); }

/* ---------- Service cards ---------- */
.services { display: grid; gap: 20px; }
@media (min-width: 900px) { .services { grid-template-columns: 1fr 1fr; gap: 28px; } }
.service {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 44px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.service .way-label { margin: 0; }
.service h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; }
.service .en-sub { font-size: 14px; color: var(--muted); margin-top: -8px; }
/* Price and button sit together at the bottom of every card, so they line up across cards */
.service .price { font-size: 36px; margin-top: auto; padding-top: 10px; }
.service .btn { margin-top: 4px; align-self: flex-start; }
.service--feature { background: var(--green-dark); border-color: var(--green-dark); color: #E3E9E0; }
.service--feature h3, .service--feature .price { color: #fff; }
.service--feature .price small, .service--feature .en-sub, .service--feature .disclaimer { color: #C9D2C6; }
.service--feature .way-label { color: var(--sage); }
.service--feature .way-list li::before { background: var(--sage); }
.service--feature :focus-visible { outline-color: var(--sage); }
.service--feature .btn-primary { background: var(--ivory); border-color: var(--ivory); color: var(--green-dark); }

/* Four stages (1:1 page), tinted with the logo's watercolour colours */
.stages { display: grid; gap: 18px; }
@media (min-width: 768px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.stage {
  --stage-bg: var(--paper); --stage-edge: var(--line);
  display: grid; gap: 6px; align-content: start;
  padding: clamp(26px, 3.4vw, 40px); border-radius: 24px;
  background: var(--stage-bg); border: 1px solid var(--stage-edge);
}
/* Logo colours: butter #EFE2B4, sage #C5D0C2, blush #EBCFC8, green #435D4E */
.stage--butter { --stage-bg: color-mix(in srgb, #EFE2B4 55%, #FFFDF9); --stage-edge: color-mix(in srgb, #EFE2B4 80%, #FFFDF9); }
.stage--sage   { --stage-bg: color-mix(in srgb, #C5D0C2 55%, #FFFDF9); --stage-edge: color-mix(in srgb, #C5D0C2 85%, #FFFDF9); }
.stage--blush  { --stage-bg: color-mix(in srgb, #EBCFC8 50%, #FFFDF9); --stage-edge: color-mix(in srgb, #EBCFC8 80%, #FFFDF9); }
.stage--green  { --stage-bg: color-mix(in srgb, #435D4E 14%, #FFFDF9); --stage-edge: color-mix(in srgb, #435D4E 24%, #FFFDF9); }
.stage-num { font: 300 clamp(36px, 4vw, 46px)/1 var(--font-head); color: var(--taupe); margin-bottom: 18px; }
.stage-label { font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.stage h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; margin-top: 4px; }
.stage-sub { font-weight: 600; color: var(--green-dark); margin-top: 2px; }
.stage-desc { color: var(--ink); opacity: .82; margin-top: 10px; max-width: 40ch; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.points { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 28px; counter-reset: pt; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; }
.points li::before { content: "0" counter(pt); grid-row: span 2; font: 500 15px/1.6 var(--font-head); color: var(--taupe-text); }
.points b { color: var(--green-dark); font-weight: 600; }
.points span { color: var(--muted); font-size: 15px; }

.space-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .space-grid { grid-template-columns: repeat(3, 1fr); } }
.space-grid h3 { font-size: 18px; margin-top: 14px; }
.space-grid p { font-size: 15px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CFCBBE; border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 16px/1.5 var(--font-body);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field-error { color: #9B2C2C; font-size: 14px; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--green-dark); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.contact-card h3 { font-size: 19px; }
.contact-card p { font-size: 15px; color: var(--muted); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  margin: 0; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.quote-card::before { content: "“"; font: 400 64px/0.6 var(--font-head); color: var(--taupe); height: 28px; }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.quote-card figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote-invite {
  display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
}
@media (min-width: 900px) { .quote-invite { grid-template-columns: 1fr auto; } }
.quote-invite p.big { font: 400 clamp(20px, 2.4vw, 26px)/1.5 var(--font-head); color: var(--green-dark); }

/* ---------- Challenge ---------- */
.badge { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #F3E7C4; color: #5E4A12; font-size: 13px; font-weight: 600; }
.phases { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .phases { grid-template-columns: 1fr 1fr; } }
.phases li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.phases b { display: block; color: var(--green-dark); }
.phases span { font-size: 14px; color: var(--muted); }

/* ---------- Instagram themes ---------- */
.themes { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 768px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.theme { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.theme .way-label { display: block; margin-bottom: 6px; }

/* ---------- Offer images (garden) ---------- */
.offer .img-frame { margin: -32px -28px 8px; }
.offer .img-frame img { border-radius: 22px 22px 0 0; aspect-ratio: 16 / 10; }

.split > .img-blob, .hero-grid > .img-blob { max-width: 440px; width: 100%; justify-self: center; }

/* ---------- Background photos (Unsplash stock, see assets/img/stock/CREDITS.txt) ---------- */
.bg-leaves {
  background: linear-gradient(rgba(38, 62, 52, .88), rgba(38, 62, 52, .9)), url(../img/stock/bg-leaves-dark.webp) center / cover no-repeat;
}
.bg-leaf-shadow {
  background: url(../img/stock/bg-leaf-shadow.webp) right center / cover no-repeat, var(--ivory);
  background-blend-mode: multiply;
}

/* ==========================================================================
   Event registration (register.html)
   ========================================================================== */
.reg-hero { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.reg-hero h1 { font-size: clamp(34px, 5.4vw, 60px); max-width: 16em; }
.reg-hero .lead { margin-top: 20px; }
.reg-hero .btn-row { margin-top: 36px; }
.reg-back { margin-bottom: clamp(28px, 4vw, 48px); font-size: 15px; }
.reg-back a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.reg-back a:hover { text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 4px; }
.reg-facts { margin-top: 36px; gap: 20px 32px; max-width: 920px; }
@media (min-width: 640px) { .reg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reg-facts { grid-template-columns: repeat(4, auto); justify-content: start; } }
.reg-facts .fact-icon { background: var(--paper); }

/* Loading skeleton */
.sk { display: block; border-radius: 999px; background: linear-gradient(100deg, #E9E4D9 30%, #F6F2EA 50%, #E9E4D9 70%) 0 0 / 300% 100%; animation: cs-shimmer 1.6s ease-in-out infinite; }
.sk--eyebrow { width: 120px; height: 12px; margin-bottom: 28px; }
.sk--title { width: min(560px, 90%); height: clamp(34px, 5vw, 52px); border-radius: 12px; margin-bottom: 14px; }
.sk--short { width: min(340px, 60%); }
.sk-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.sk--fact { width: 150px; height: 34px; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* Details + form */
.reg-section { padding-top: clamp(40px, 6vw, 72px); }
.reg-banner { margin: 0 0 clamp(40px, 6vw, 72px); }
.reg-banner img { width: 100%; border-radius: 22px 22px 22px 6px; background: var(--ivory); }
.reg-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .reg-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 72px; align-items: start; }
  .reg-aside.is-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
}
.reg-desc { line-height: 1.5; max-width: 62ch; color: var(--muted); }
.reg-desc strong { color: var(--green-dark); font-weight: 600; }
.reg-desc hr { border: 0; height: 1px; width: 56px; background: var(--taupe); margin: 28px 0; }
.reg-info { display: grid; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 62ch; }
@media (min-width: 640px) { .reg-info { grid-template-columns: 1.4fr 1fr; gap: 32px; } }
.reg-info .way-label { margin-bottom: 6px; }
.reg-info p:not(.way-label) { font-size: 15px; color: var(--ink); }
.reg-info a { color: var(--green-dark); font-weight: 600; text-decoration-color: var(--taupe); text-underline-offset: 3px; }
#register { scroll-margin-top: calc(var(--header-h) + 16px); }
#formTop { scroll-margin-top: calc(var(--header-h) + 16px); }
.reg-form { border-radius: 24px 24px 24px 6px; box-shadow: 0 24px 48px -36px rgba(38, 62, 52, .45); }
.reg-form-title { font-size: clamp(26px, 2.6vw, 32px); font-weight: 400; margin-bottom: 18px; }
.reg-sub { font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.reg-lede { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.reg-legend { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.reg-form .field { margin-bottom: 18px; }
.reg-form .req { color: #9B2C2C; margin-left: 2px; }
.reg-form input[readonly] { background: var(--ivory); color: var(--muted); }
.reg-form input:disabled, .reg-form select:disabled, .reg-form textarea:disabled { background: var(--ivory); color: var(--muted); cursor: not-allowed; }
.reg-form [aria-invalid="true"] { border-color: #9B2C2C; }
.reg-page .i { width: 18px; height: 18px; flex: 0 0 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.reg-facts .fact-icon svg { width: 17px; height: 17px; }

.reg-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; }
.reg-step { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.reg-step__n { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.reg-step.is-active { color: var(--ink); }
.reg-step.is-active .reg-step__n { background: var(--green); border-color: var(--green); color: #fff; }
.reg-step.is-done .reg-step__n { background: var(--sage-pale); border-color: var(--sage-pale); color: var(--green); }
.reg-steps__bar { flex: 1; height: 1px; background: var(--line); min-width: 16px; }

.reg-phonerow { display: flex; gap: 8px; }
.reg-phonerow select { flex: 0 0 112px; }
.reg-phonerow input { flex: 1; min-width: 0; }
.reg-submit { width: 100%; }
.reg-actions { display: grid; gap: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.reg-notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.reg-notice .i { margin-top: 3px; }
.reg-notice--info { background: var(--sage-pale); color: var(--green-dark); }
.reg-notice--caution { background: #FAF1E2; color: #7C5726; }
.reg-notice--error { background: #FAEDE9; color: #8E3826; }
.reg-rule { border: 0; height: 1px; background: var(--line); margin: 28px 0; }

.reg-pay { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 20px; background: var(--ivory); border-radius: 14px; }
.reg-pay--noqr #payQrSlot { display: none; }
.reg-pay__qr { width: 150px; height: auto; aspect-ratio: 215 / 236; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; }
.reg-pay__amt { font: 400 30px/1.1 var(--font-head); color: var(--green-dark); margin-bottom: 12px; }
.reg-bank { font-size: 15px; }
.reg-bank dt { font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-top: 10px; }
.reg-bank dt:first-child { margin-top: 0; }
.reg-bank dd { color: var(--ink); font-weight: 500; }
.reg-bank dd.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.reg-drop { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed #CFCBBE; border-radius: 12px; background: #fff; }
.reg-drop:hover { border-color: var(--green); }
.reg-drop .i { color: var(--green); }
.reg-form .reg-drop input[type=file] { min-height: 0; padding: 0; border: 0; background: none; font-size: 14px; flex: 1; min-width: 0; color: var(--muted); }
.reg-drop input[type=file]::file-selector-button { font: 500 14px var(--font-body); margin-right: 12px; padding: 7px 14px; cursor: pointer; border: 1.5px solid var(--green); border-radius: 999px; background: transparent; color: var(--green-dark); }
.reg-filename { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--green); }

.spin { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid rgba(255,255,255,.38); border-top-color: #fff; border-radius: 50%; animation: cs-spin .7s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }

.reg-done { text-align: center; padding: 12px 0 4px; display: grid; justify-items: center; gap: 4px; }
.reg-done__mark { width: 56px; height: 56px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-pale); color: var(--green); }
.reg-done__mark .i { width: 26px; height: 26px; flex-basis: 26px; }
.reg-done .btn { margin-top: 12px; }

/* In-app browser bar (Instagram, Facebook and the like) */
.iab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--green-dark); color: #fff;
  font-size: 13px; line-height: 1.3; box-shadow: 0 -2px 12px rgba(38, 62, 52, .2);
}
.iab[hidden] { display: none; }
body.has-iab .site-footer { padding-bottom: 96px; }
.iab__txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.iab__btn {
  flex: 0 0 auto; font: 600 13px var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; text-decoration: none; white-space: nowrap;
}
.iab__x { flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: rgba(255,255,255,.6); font-size: 18px; line-height: 1; padding: 4px; }


/* Returning member: masked details + "update my details" */
.reg-returning { padding: 16px 18px; border-radius: 14px; background: var(--sage-pale); color: var(--green-dark); margin-bottom: 20px; display: grid; gap: 6px; }
.reg-returning__hi { font-size: 16px; }
.reg-returning__note { font-size: 14px; color: var(--ink); }
.reg-returning strong { font-weight: 600; }
.reg-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 14px; cursor: pointer; }
.reg-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.reg-preview { display: grid; gap: 6px; margin: 4px 0 2px; font-size: 14px; }
.reg-preview > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
.reg-preview dt { color: var(--muted); }
.reg-preview dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.reg-missing-note { font-size: 14px; color: var(--green-dark); margin-bottom: 14px; }
.reg-hint { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.reg-hint a { color: var(--green-dark); font-weight: 600; text-decoration-color: var(--taupe); text-underline-offset: 3px; }
.reg-returning .reg-hint { margin-top: 4px; }

/* ==========================================================================
   Register page: banner-first layout (register.html).
   register-backup.html keeps the previous hero layout and its styles above.
   ========================================================================== */
.reg-top { padding-block: clamp(24px, 4vw, 44px) clamp(56px, 8vw, 104px); }
.reg-top .reg-back { margin-bottom: clamp(16px, 2.4vw, 28px); }
.reg-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .reg-top .reg-aside.is-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (min-width: 1024px) {
  .reg-grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: start; }
}
.reg-main { display: grid; gap: 28px; min-width: 0; align-content: start; }
/* Sticky needs every ancestor to leave overflow alone: "clip" still hides
   the background shapes but, unlike "hidden", keeps position: sticky working. */
.reg-top.has-shapes { overflow: clip; }
.reg-top .reg-banner { margin: 0 0 clamp(24px, 3.4vw, 40px); }
.reg-top .reg-banner img { width: 100%; border-radius: 22px; background: var(--ivory); }
.reg-top .reg-titlebox:not(.visually-hidden) { margin-bottom: clamp(24px, 3.4vw, 40px); }
.reg-titlebox h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.2; }
.reg-titlebox .eyebrow { margin-bottom: 12px; }

/* ul.… beats the base ul[role="list"] { padding: 0 } reset. */
ul.reg-factgrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper);
}
/* Sized by the column it sits in, not the screen: beside the 460px form the
   column can be narrow even on a wide screen. */
.reg-main { container-type: inline-size; }
@container (min-width: 600px) { ul.reg-factgrid { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(28px, 4vw, 48px); } }
.reg-factgrid__wide { grid-column: 1 / -1; }
.reg-factgrid .fact-v a { color: var(--green-dark); font-weight: 600; text-decoration-color: var(--taupe); text-underline-offset: 3px; }

.reg-jump .btn { width: 100%; }
@media (min-width: 1024px) { .reg-jump { display: none; } }
.reg-about .eyebrow { margin-bottom: 16px; }
.reg-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.reg-contact a { color: var(--green-dark); font-weight: 600; text-decoration-color: var(--taupe); text-underline-offset: 3px; }
@container (max-width: 599px) { ul.reg-factgrid { padding: 18px 16px; gap: 16px; } .reg-factgrid > li:first-child { grid-column: 1 / -1; } }
/* Date, time and fee stay on one line; only the venue wraps. */
@container (min-width: 600px) { .reg-factgrid > li:not(.reg-factgrid__wide) .fact-v { white-space: nowrap; } }

/* Event card without a usable banner */
.event-media--placeholder {
  display: grid; place-items: center; aspect-ratio: 2064 / 512; text-decoration: none;
  background: radial-gradient(120% 140% at 15% 20%, var(--sage-pale) 0%, var(--ivory) 70%);
  border-bottom: 1px solid var(--line);
}
.event-media--placeholder span { font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-text); }
.section--dark .event-media--placeholder { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.section--dark .event-media--placeholder span { color: var(--sage); }

/* One-page form: "remember my details on this device" */
.reg-remember { margin: 0 0 20px; align-items: flex-start; }
.reg-remember > span { display: grid; gap: 2px; color: var(--ink); }
.reg-remember__note { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Home: three overlapping photos in the Conscious Garden section */
.photo-cluster { position: relative; display: flex; justify-content: center; margin-top: 44px; padding: 8px 0 12px; }
.photo-cluster figure {
  margin: 0 -18px; width: clamp(110px, 30%, 176px); aspect-ratio: 3 / 4; padding: 6px; background: #FFFDF9;
  border-radius: 16px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.photo-cluster figure:nth-child(1) { transform: rotate(-6deg) translateY(10px); z-index: 1; }
.photo-cluster figure:nth-child(2) { transform: rotate(2deg); z-index: 2; }
.photo-cluster figure:nth-child(3) { transform: rotate(7deg) translateY(14px); z-index: 1; }
.photo-cluster figure:hover { transform: rotate(0) translateY(-4px) scale(1.04); z-index: 3; }
.photo-cluster img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
@media (min-width: 900px) { .photo-cluster { justify-content: flex-start; padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .photo-cluster figure { transition: none; } }

/* Reflections: cards used in a group, under the card draw */

/* 1:1 page: one session as a step-by-step line (the four stages above are
   coloured cards, so this reads as a sequence, not another set of cards) */
.session-flow { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: flow; }
.session-flow li { position: relative; counter-increment: flow; padding: 0 0 32px 68px; min-height: 48px; }
.session-flow li:last-child { padding-bottom: 0; }
.session-flow li::before {
  content: counter(flow); position: absolute; left: 0; top: 0; z-index: 1;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--green); color: var(--green-dark);
  font: 500 17px/1 var(--font-head);
}
.session-flow li::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; width: 1.5px; background: var(--sage); }
.session-flow li:last-child::after { display: none; }
.session-flow h4 { font-size: 18px; margin: 10px 0 6px; }
.session-flow p { font-size: 15px; color: var(--muted); max-width: 34ch; }
@media (min-width: 900px) {
  .session-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .session-flow li { padding: 70px 8px 0 0; }
  .session-flow li::after { left: 58px; right: -12px; top: 22px; bottom: auto; width: auto; height: 1.5px; }
  .session-flow h4 { margin-top: 0; }
}

/* ==========================================================================
   Numbered list with an anchoring image (1:1 brain, About framework,
   Reflections articles). Native <details>, so keyboards and screen readers
   work; name="" on the items keeps one open at a time where supported.
   ========================================================================== */
.ledger { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .ledger { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .ledger-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.ledger-aside { margin: 0; max-width: 380px; }
.ledger-aside img, .ledger-aside .ledger-art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; background: var(--ivory); }
.ledger-aside figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.section--ivory .ledger-aside img, .section--ivory .ledger-aside .ledger-art { background: var(--paper); }

.ledger-list { border-top: 1px solid var(--line); }
.ledger-item { border-bottom: 1px solid var(--line); }
.ledger-item summary {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.ledger-item summary::-webkit-details-marker { display: none; }
.ledger-item summary:focus-visible { outline-offset: 6px; }
.ledger-num { font: 300 clamp(36px, 5vw, 60px)/1 var(--font-head); color: var(--green-dark); letter-spacing: -0.02em; }
.ledger-title { font: 500 clamp(17px, 1.6vw, 20px)/1.45 var(--font-body); color: var(--ink); transition: color .2s; }
.ledger-item summary:hover .ledger-title { color: var(--green); }
.ledger-icon { position: relative; width: 22px; height: 22px; justify-self: end; color: var(--green-dark); }
.ledger-icon::before, .ledger-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.ledger-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ledger-item[open] .ledger-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.ledger-item[open] .ledger-icon::after { transform: translate(-50%, -50%) rotate(135deg); }
.ledger-body { padding: 0 0 28px; max-width: 62ch; color: var(--muted); }
.ledger-body > * + * { margin-top: 12px; }
.ledger-body .tags { margin-top: 16px; }
.ledger-item[open] .ledger-body { animation: ledger-in .45s cubic-bezier(.22,1,.36,1); }
@keyframes ledger-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) {
  .ledger-item summary { grid-template-columns: 120px minmax(0, 1fr) 28px; gap: 24px; padding: 28px 0; }
  .ledger-body { padding-left: 144px; padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .ledger-item[open] .ledger-body { animation: none; } .ledger-icon::before, .ledger-icon::after { transition: none; } }
.ledger-after { margin-top: 24px; }
@media (min-width: 960px) { .ledger-after { margin-left: calc(min(380px, 100%) + clamp(48px, 6vw, 96px)); } }

/* Editorial statement: large type with a few words in the accent colour and
   a small photo set into the line (About framework). Used once on the site. */
.statement-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) {
  .statement-head { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .statement-head .eyebrow { margin-top: 18px; }
}
.statement { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 400; max-width: 16em; }
:lang(zh-CN) .statement { line-height: 1.3; letter-spacing: 0; }
.statement em { font-style: normal; color: #5E7F64; }
.statement-pic {
  display: inline-block; width: 1.9em; height: .9em; margin: 0 .12em; vertical-align: -0.04em;
  border-radius: 999px; overflow: hidden; background: var(--sage-pale); box-shadow: inset 0 0 0 1px rgba(38,62,52,.06);
}
.statement-pic img { width: 100%; height: 100%; object-fit: cover; }
.statement-lead { margin-top: 24px; }

/* About · 我们相信: three cards, the last one carries the community photo */
.bento { display: grid; gap: 14px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.bento-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 340px; padding: clamp(24px, 2.6vw, 32px); border-radius: 26px; overflow: hidden;
  background: var(--ivory);
}
@media (min-width: 900px) { .bento-card { min-height: 460px; } }
.bento-text h3 { font-size: clamp(20px, 1.8vw, 23px); margin-bottom: 8px; }
.bento-text p { font-size: 15px; color: var(--muted); max-width: 30ch; }
.bento-art { position: relative; flex: 1; min-height: 170px; display: grid; place-items: center; }
.bento-art img { position: absolute; width: 58%; max-width: 230px; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.bento-art img:first-child { transform: translate(-12%, -4%) rotate(-8deg); }
.bento-art img:last-child { width: 36%; max-width: 140px; transform: translate(42%, 34%) rotate(14deg); opacity: .9; mix-blend-mode: multiply; }
.bento-card:hover .bento-art img:first-child { transform: translate(-14%, -7%) rotate(-4deg); }
.bento-card:hover .bento-art img:last-child { transform: translate(46%, 30%) rotate(20deg); }
.bento-card--feature { background: color-mix(in srgb, #C5D0C2 62%, #FFFFFF); justify-content: flex-start; padding-bottom: 0; }
.bento-card--feature .bento-text p { color: var(--green-dark); opacity: .85; }
.bento-photo { margin: auto calc(clamp(24px, 2.6vw, 32px) * -1) 0; flex: 1; min-height: 200px; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }
@media (prefers-reduced-motion: reduce) { .bento-art img { transition: none; } }

/* About framework: the seedling-to-tree drawing as the anchoring image */
.ledger-art { display: grid; place-items: center; padding: 18px; }
.growth-art--aside { width: 100%; height: auto; }

/* 1:1 · areas as tiles: pill label over soft blob art, description always shown below. */
.tiles { display: grid; gap: 14px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.tile { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--ivory); }
.tile-art { position: relative; height: 200px; overflow: hidden; }
.tile-art img { position: absolute; width: 58%; max-width: 200px; left: 18%; top: 26%; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.tile-art img:last-child { width: 40%; max-width: 140px; left: 48%; top: 48%; mix-blend-mode: multiply; opacity: .9; }
.tile--1 .tile-art { background: radial-gradient(120% 90% at 20% 15%, #F6E6E1 0%, #EFE3D4 100%); }
.tile--2 .tile-art { background: radial-gradient(120% 90% at 80% 20%, #F3E2DD 0%, #E3E8DF 100%); }
.tile--3 .tile-art { background: radial-gradient(120% 90% at 25% 80%, #E4EADF 0%, #F2ECD6 100%); }
.tile--4 .tile-art { background: radial-gradient(120% 90% at 70% 75%, #F5EDD3 0%, #E6EBE2 100%); }
.tile--2 .tile-art img:first-child { transform: rotate(150deg); }
.tile--3 .tile-art img:first-child { transform: rotate(-40deg) scale(1.05); }
.tile--4 .tile-art img:first-child { transform: rotate(70deg); }
@media (hover: hover) {
  .tile:hover .tile-art img:first-child { transform: translateY(-6px) rotate(6deg); }
  .tile--2:hover .tile-art img:first-child { transform: translateY(-6px) rotate(156deg); }
  .tile--3:hover .tile-art img:first-child { transform: translateY(-6px) rotate(-34deg) scale(1.05); }
  .tile--4:hover .tile-art img:first-child { transform: translateY(-6px) rotate(76deg); }
}
.tile-pill {
  position: absolute; top: 16px; left: 16px; z-index: 2; max-width: calc(100% - 32px);
  padding: 9px 16px; border-radius: 999px; background: #FFFFFF;
  font: 600 15px/1.35 var(--font-body); color: var(--green-dark);
}
:lang(zh-CN) .tile-pill { font-family: var(--font-body); }
.tile-text { flex: 1; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.tile-text p { font-size: 15px; color: var(--muted); }
.tile-text .text-link { align-self: flex-start; margin-top: auto; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .tile-art img { transition: none !important; } }

/* Small screens: the sticky aside becomes a short banner above the list,
   and the bento art shrinks so the words arrive sooner. */
@media (max-width: 959px) {
  .ledger-aside { max-width: none; }
  .ledger-aside .ledger-art { aspect-ratio: 16 / 9; padding: 12px 24px; }
}
@media (max-width: 899px) {
  .bento-art { flex: none; height: 150px; min-height: 0; }
  .bento-art img { width: 44%; max-width: 170px; }
  .bento-art img:last-child { width: 28%; max-width: 110px; }
}

/* Home · founder intro (section 2): smaller photo so the section stays short. */
.about--intro .about-photo { max-width: 380px; }
@media (min-width: 900px) { .about--intro { align-items: center; } }
.intro-creds { margin-top: 28px; }
.section--ivory .intro-creds li { background: var(--paper); }



/* Home · community section on a real gathering photo. The deep green wash keeps
   the text readable; it is heavier on the left where the words sit. */
.bg-photo-circle {
  background:
    linear-gradient(90deg, rgba(28, 46, 38, .94) 0%, rgba(28, 46, 38, .86) 50%, rgba(28, 46, 38, .72) 100%),
    url(../img/community/tea-circle.webp) center 40% / cover no-repeat;
}
@media (max-width: 899px) {
  .bg-photo-circle { background:
    linear-gradient(rgba(28, 46, 38, .9), rgba(28, 46, 38, .9)),
    url(../img/community/tea-circle.webp) center / cover no-repeat; }
}

/* Garden · "Connect · Explore · Grow": real event photos, one wide over two */
.garden-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.garden-photos figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--ivory); aspect-ratio: 4 / 3; }
.garden-photos .garden-photos-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 24px; }
.garden-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Home · next event on the photo: frosted glass, buttons side by side */
.bg-photo-circle .event {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
}
.bg-photo-circle .event:hover { border-color: rgba(255, 255, 255, .4); }
.event-actions { flex-wrap: wrap; gap: 10px; }
.section--dark .event-actions .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.section--dark .event-actions .btn-secondary:hover { background: rgba(255, 255, 255, .12); }

/* About · beliefs bento: two short cards stacked left, the photo card on the right */
.bento .bento-card:not(.bento-card--feature) {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 20px;
  min-height: 0; padding: 22px 24px;
}
.bento .bento-card:not(.bento-card--feature) .bento-art { width: 76px; height: 76px; min-height: 0; flex: none; }
.bento .bento-card:not(.bento-card--feature) .bento-art img { width: 70%; max-width: none; }
.bento .bento-card:not(.bento-card--feature) .bento-art img:last-child { width: 46%; }
.bento .bento-text h3 { margin-bottom: 6px; }
.bento .bento-text p { max-width: 44ch; }
.bento .bento-card--feature { min-height: 0; gap: 18px; padding-top: 24px; }
.bento .bento-photo { min-height: 220px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .bento .bento-card--feature { grid-column: 2; grid-row: 1 / span 2; }
  .bento .bento-card:not(.bento-card--feature) { padding: 28px 32px; grid-template-columns: 96px minmax(0, 1fr); gap: 26px; }
  .bento .bento-card:not(.bento-card--feature) .bento-art { width: 96px; height: 96px; }
  .bento .bento-photo { min-height: 0; }
}

/* About · scope: the service list above the three "what this is" notes */
.scope-services { margin-bottom: clamp(32px, 5vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--paper); }
.section--paper .scope-services, .section:not(.section--ivory) .scope-services { background: var(--ivory); }
.scope-services h3 { font-size: clamp(19px, 1.8vw, 23px); margin-bottom: 20px; }
.scope-list { list-style: none; padding: 0; margin: 0; display: grid; }
.scope-list li { display: grid; gap: 4px; padding: 14px 0 14px 26px; position: relative; border-top: 1px solid var(--line); }
.scope-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; background: #8FA8BE; transform: rotate(45deg); border-radius: 1px; }
.scope-list strong { font-weight: 600; color: var(--green-dark); }
.scope-list span { color: var(--muted); font-size: 15px; }
@media (min-width: 768px) { .scope-list li { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: baseline; } }

/* Garden hero · watercolour tree growing from a seed (animated WebP; still image for reduced motion) */
.growth-art--gif { display: block; max-width: 560px; }
.growth-art--gif img { width: 100%; height: auto; display: block; }
/* Feature card: the whole 3:2 photo on top, words underneath */
.bento .bento-card--feature { padding: 0; gap: 0; justify-content: flex-start; }
.bento .bento-card--feature .bento-photo { margin: 0; flex: none; min-height: 0; aspect-ratio: 3 / 2; }
.bento .bento-card--feature .bento-photo img { object-position: 50% 50%; }
.bento .bento-card--feature .bento-text { padding: 22px clamp(24px, 2.6vw, 32px) 26px; }

/* Area tiles · watercolour illustration fills the top of each tile */
.tiles .tile-art:has(.tile-illus) { height: auto; aspect-ratio: 3 / 2; }
.tiles .tile .tile-art img.tile-illus {
  position: static; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block;
  transform: none !important; opacity: 1; mix-blend-mode: normal; transition: transform .8s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) { .tiles .tile:hover .tile-art img.tile-illus { transform: scale(1.03) !important; } }
.tile-pill { box-shadow: none; }

/* 1:1 areas: the area name as a plain title above its description */
.tile-text .tile-title + p { margin-top: -4px; }

/* Testimonials: their words, then name + role (left) and the session they joined (right) */
.section--quotes { background: #EEF2EB; }
.section--quotes .section-head--center { text-align: center; margin-inline: auto; }
.section--quotes .section-head--center h2 { margin-inline: auto; }
.quotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.quotes > .quote-card { flex: 1 1 100%; }
@media (min-width: 768px) { .quotes > .quote-card { flex: 0 1 calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .quotes > .quote-card { flex-basis: calc((100% - 32px) / 3); } }
.quote-card {
  position: relative; margin: 0; padding: clamp(24px, 3vw, 32px); padding-top: 56px;
  display: flex; flex-direction: column; gap: 20px; background: #FFFFFF; border: 0; border-radius: var(--radius);
}
.quote-card::before {
  content: "\201C"; display: block; position: absolute; top: 14px; left: 22px; height: auto;
  font: 400 72px/1 Georgia, serif; color: #D6E0D2;
}
.quote-card blockquote { margin: 0; display: grid; gap: 12px; font: 400 16px/1.5 var(--font-body); color: var(--ink); text-align: left; }
.quote-card blockquote.is-poem p { font-style: italic; }
.quote-card figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.quote-who { display: grid; gap: 2px; min-width: 0; }
.quote-who strong { font-weight: 600; color: var(--green-dark); font-size: 15px; }
.quote-who span { font-size: 14px; color: var(--muted); }
.quote-event {
  flex: none; padding: 5px 12px; border-radius: 999px; background: #E3ECDF;
  font: 600 12px/1.3 var(--font-body); color: var(--green-dark); white-space: nowrap;
}
.quote-note { margin: 24px auto 0; max-width: 70ch; font-size: 14px; color: var(--muted); text-align: center; }

/* 1:1 · centred carousel: active card in the middle, neighbours dimmed at the sides */
.quotes--carousel { display: block; }
.qc-viewport { overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding-block: 8px; }
.qc-track { display: flex; gap: 20px; transition: transform .7s cubic-bezier(.22,1,.36,1); will-change: transform; }
.qc-track > .quote-card {
  flex: 0 0 min(560px, 82vw); transform: scale(.92); opacity: .45;
  transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .7s ease;
}
.qc-track > .quote-card.is-active { transform: none; opacity: 1; }
.qc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.qc-arrow {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #FFFFFF; color: var(--green-dark); cursor: pointer; transition: background .2s, border-color .2s;
}
.qc-arrow:hover { border-color: var(--green); }
.qc-arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-30%, -50%) rotate(45deg);
}
.qc-arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.qc-dots { display: flex; gap: 8px; }
.qc-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C8D3C4; cursor: pointer; transition: width .3s, background .3s; }
.qc-dot[aria-current="true"] { width: 24px; background: var(--green); }
@media (prefers-reduced-motion: reduce) { .qc-track, .qc-track > .quote-card { transition: none; } }
.quote-card figcaption .quote-event { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--green); }
.section--quotes .section-head--center .eyebrow { justify-self: center; }

/* Join community form (join.html) */
.join-form { display: grid; gap: 18px; }
.join-steps { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #EEF2EB; }
.join-steps-count { font: 600 12px/1 var(--font-body); letter-spacing: .08em; color: var(--green); }
.join-steps-title { font: 600 17px/1.35 var(--font-body); color: var(--green-dark); }
.join-steps-note { font-size: 14px; color: var(--muted); }
.join-step { display: grid; gap: 16px; }
.join-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.join-label { font-weight: 600; font-size: 15px; color: var(--green-dark); padding: 0; }
.join-field input, .join-field select, .join-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF;
  font: inherit; font-size: 16px; color: var(--ink);
}
.join-field input[aria-invalid="true"] { border-color: #B5543F; }
.join-hint { font-size: 13px; color: var(--muted); }
.join-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.join-chip { position: relative; cursor: pointer; }
.join-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.join-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: #FFFFFF; transition: background .2s, border-color .2s; }
.join-chip input:checked + span { background: #E3ECDF; border-color: var(--green); color: var(--green-dark); font-weight: 600; }
.join-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.join-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--ink); cursor: pointer; }
.join-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.join-consent { padding: 12px 14px; border-radius: 12px; background: var(--ivory); color: var(--muted); font-size: 13px; }
.join-error { min-height: 1em; font-size: 14px; color: #B5543F; }
.join-error:empty { display: none; }
.join-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.join-nav[hidden], .join-steps[hidden] { display: none; }
.join-done { justify-items: start; }
.join-done-title { font: 500 clamp(20px, 2.2vw, 24px)/1.3 var(--font-head); color: var(--green-dark); }
/* Join form · day × time picker */
.join-times { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 8px 10px; align-items: center; max-width: 400px; }
.join-times-head { font-size: 13px; color: var(--muted); text-align: center; }
.join-times-day { font-size: 14px; font-weight: 600; color: var(--green-dark); padding-right: 6px; }
.join-slot { display: grid; place-items: center; height: 40px; border-radius: 10px; }
.join-slot:hover .join-box { border-color: var(--green); }
.join-slot .join-box {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0;
  border: 2px solid #9AA89A; border-radius: 5px; background: #FFFFFF; transition: background .15s, border-color .15s;
}
.join-slot input:checked + .join-box { background: var(--green); border-color: var(--green); }
.join-slot input:checked + .join-box::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid #FFFFFF; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.join-slot input:focus-visible + .join-box { outline: 2px solid var(--green); outline-offset: 3px; }
.join-phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.join-field[hidden] { display: none; }
.join-field select[aria-invalid="true"] { border-color: #B5543F; }

/* Privacy policy and other plain legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(21px, 2.2vw, 26px); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; font-family: var(--font-body); font-weight: 600; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 8px 0 12px; }
.legal ul.legal-contact { list-style: none; padding: 0; }
.legal-contact .label { display: inline-block; min-width: 92px; color: var(--muted); }
.legal-updated { margin-top: 16px; font-size: 14px; color: var(--muted); }
.footer-bottom a { color: inherit; }
.join-consent a { color: var(--green-dark); text-decoration: underline; }
.footer-bottom .reg-no { white-space: nowrap; }

/* Join form: a little more room under each question */
.join-label { margin-bottom: 8px; }

/* join.html: the join form on its own page (for QR codes) */
.join-page { background: var(--ivory); padding-block: clamp(32px, 6vw, 72px); }
.join-page-inner { max-width: 640px; }
.join-page h1 { font-size: clamp(30px, 5vw, 44px); }
.join-page .lead { margin-top: 12px; }
.join-page-card { margin-top: 24px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 20px 50px -30px rgba(28, 46, 38, .35); }
.join-page-card .join-form { padding: clamp(20px, 4vw, 32px); }

/* 404 page */
.notfound { background: #FBF3E7; padding-block: clamp(48px, 9vw, 120px) clamp(56px, 8vw, 104px); overflow: hidden; }
.notfound-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .notfound-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.notfound h1 { font-size: clamp(34px, 5.4vw, 60px); max-width: 12em; }
.notfound .lead { margin-top: 16px; max-width: 32em; }
.notfound .btn-row { margin-top: 28px; }
.notfound-art { position: relative; margin: 0; display: grid; place-items: center; }
.notfound-code {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font: 400 clamp(120px, 20vw, 240px)/1 var(--font-head); letter-spacing: -0.04em; color: #E3E9DC;
  user-select: none;
}
.notfound-art img { position: relative; width: 100%; max-width: 520px; height: auto; margin-top: clamp(40px, 7vw, 90px); }
@media (max-width: 899px) { .notfound-art { order: -1; } .notfound-art img { max-width: 380px; } }
.notfound-links { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .notfound-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .notfound-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.notfound-links a {
  position: relative; display: grid; gap: 4px; height: 100%; padding: 18px 44px 18px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(38, 62, 52, .08); color: inherit; text-decoration: none;
  transition: background .2s, transform .25s cubic-bezier(.22,1,.36,1);
}
.notfound-links a::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); transform: translateY(-50%) rotate(45deg);
}
.notfound-links strong { font-weight: 600; color: var(--green-dark); }
.notfound-links span { font-size: 14px; color: var(--muted); }
@media (hover: hover) { .notfound-links a:hover { background: #FFFFFF; transform: translateY(-2px); } }

/* About · framework: two columns. Left: eyebrow, headline, lead (stays in view).
   Right: the growth drawing as a slim borderless strip, then the numbered list. */
.framework-grid { display: grid; gap: clamp(28px, 4vw, 40px); }
@media (min-width: 960px) {
  .framework-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .framework-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.framework-intro .statement { font-size: clamp(32px, 3.8vw, 52px); max-width: none; }
.framework-intro .statement-lead { margin-top: 20px; }
.framework-body { display: block; }
.framework-body .ledger-art { display: block; padding: 0; background: transparent; aspect-ratio: auto; border-radius: 0; margin-bottom: clamp(8px, 1.5vw, 16px); }
.framework-body .growth-art--aside { display: block; width: auto; max-width: 100%; height: 280px; margin: 0; }
@media (min-width: 640px) {
  .framework-body .ledger-item summary { grid-template-columns: 96px minmax(0, 1fr) 28px; }
  .framework-body .ledger-body { padding-left: 120px; }
}
.framework-body .ledger-art { display: flex; justify-content: center; }
@media (max-width: 599px) { .framework-body .growth-art--aside { width: 100%; height: auto; } }

/* Header menu: Instagram icon after Contact */
.nav-ig a { display: inline-flex; align-items: center; gap: 10px; }
.nav-ig svg { display: block; }
.nav-ig-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1079px) {
  /* In the phone menu, show the word next to the icon */
  .nav-ig a { display: flex; }
  .nav-ig-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* 1:1 packages: three cards side by side on wide screens.
   Middle (RM1,888): light green. Last (RM2,388): dark green, see .service--feature. */
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.service--light { background: #E3ECDF; border-color: #E3ECDF; }
.service--light .way-label { color: var(--green); }
/* Package lists use round bullet points instead of dashes */
.service .way-list li::before { top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.service--feature .way-list li::before { background: var(--sage); }

/* Page sub-menu (About, 1:1): below the hero, then sticks under the header */
.subnav {
  --subnav-h: 52px;
  position: sticky; top: var(--header-h); z-index: 40;
  background-color: #f6f8f5;
  padding: 8px 0 !important;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.subnav-list {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 8px 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.subnav-list::-webkit-scrollbar { display: none; }
.subnav-list a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .2s, color .2s;
}
.subnav-list a:hover { background: var(--ivory); }
.subnav-list a[aria-current="true"] { background: var(--green-dark); color: #FFFFFF; }
@media (max-width: 767px) {
  /* let the scrolling row run to the screen edge on phones */
  .subnav .container { padding-right: 0; }
  .subnav-list { padding-right: var(--gutter); }
}
/* Jump targets and other sticky blocks clear both the header and the sub-menu */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 68px + 16px); }
body:has(.subnav) .ledger-aside,
body:has(.subnav) .framework-intro { top: calc(var(--header-h) + 68px + 32px); }
/* 中 | EN are links between the Chinese and English pages */
.lang-toggle a { display: inline-flex; align-items: center; justify-content: center; }
.lang-toggle a:not([aria-current="true"]) { text-decoration: none; }
.lang-toggle a:not([aria-current="true"]):hover { color: var(--green-dark); }
