/* ===========================================================
   Anthony Pape, L.Ac. — site styles
   Palette: warm off-white, sage green, soft charcoal
   Type: Fraunces (serif display) + Inter (sans body)
   =========================================================== */

:root {
  --bg:        #faf8f4;
  --bg-alt:    #ecf1ec;   /* soft sage mist */
  --ink:       #2c302e;
  --ink-soft:  #5b615d;
  --sage:      #6b8e7f;
  --sage-deep: #4a6b5d;
  --sand:      #d9cdb8;
  --line:      #e1ddd2;
  --white:     #ffffff;

  /* lotus & cloud accent palette (from the buddha logo) */
  --terracotta:      #c2674a;
  --terracotta-deep: #a8512f;
  --gold:            #d99a32;
  --gold-soft:       #f0c674;
  --teal:            #4f939c;
  --teal-deep:       #3c757d;
  --peach:           #f6e6d7;   /* warm section tint */
  --sky:             #e3eef0;   /* cool section tint */

  --max:   1080px;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(44, 48, 46, 0.08);
  --ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-decoration: none; }

h1, h2, h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
/* soft seigaiha (wave) texture shared by tinted bands */
.section--alt, .section--warm, .section--sky {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%234f939c' stroke-width='1.1' opacity='0.16'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3Ccircle cx='0' cy='40' r='30'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='0' cy='40' r='10'/%3E%3Ccircle cx='80' cy='40' r='30'/%3E%3Ccircle cx='80' cy='40' r='20'/%3E%3Ccircle cx='80' cy='40' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center top;
}
.section--alt  { background-color: var(--bg-alt); }
.section--warm { background-color: var(--peach); }
.section--sky  { background-color: var(--sky); }
.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 0.55em;
  background: var(--gold);
  transform: rotate(45deg);
  vertical-align: middle;
  border-radius: 1px;
}
.center .eyebrow { display: inline-block; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--primary { background: var(--sage-deep); color: #fff; box-shadow: 0 8px 20px rgba(74,107,93,0.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(74,107,93,0.32); background: var(--sage); }
.btn--ghost { border-color: var(--sand); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--sage); color: var(--sage-deep); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; flex: none; white-space: nowrap; font-family: "Lora", serif; font-size: 1.18rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand span { color: var(--sage); }
.brand-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 9px; flex: none; transition: transform 0.3s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--sage); transition: width 0.28s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  width: 42px; height: 42px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-block: 1.2rem 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-blob {
  position: absolute; z-index: 1; border-radius: 50%;
  filter: blur(10px); opacity: 0.55;
}
.hero-blob--1 { width: 460px; height: 460px; right: -120px; top: -130px;
  background: radial-gradient(circle at 30% 30%, #bfe0d3, transparent 70%); animation: float 14s ease-in-out infinite; }
.hero-blob--2 { width: 320px; height: 320px; right: 140px; bottom: -150px;
  background: radial-gradient(circle at 30% 30%, #f6d2b6, transparent 70%); animation: float 18s ease-in-out infinite reverse; }
.hero-blob--3 { width: 300px; height: 300px; right: -60px; top: 120px;
  background: radial-gradient(circle at 30% 30%, #c9e2e6, transparent 70%); animation: float 22s ease-in-out infinite; }
.hero-blob--4 { width: 200px; height: 200px; left: -70px; bottom: -60px;
  background: radial-gradient(circle at 30% 30%, #f3dca0, transparent 70%); animation: float 20s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-22px) translateX(14px); } }

/* trust bar */
.trust { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trust span { font-size: 0.88rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.45em; }
.trust .star { color: #d8a23a; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--sage-deep); margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { margin: 0; font-size: 0.95rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-card {
  background: linear-gradient(155deg, var(--sage) 0%, var(--sage-deep) 100%);
  border-radius: var(--radius); aspect-ratio: 4/3; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.media-card .mono { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.92);
  font-family: "Lora", serif; font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: 0.04em; }
.media-card::after {
  content: ""; position: absolute; width: 200%; height: 200%; top: -50%; left: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), transparent 45%);
}

/* real photos */
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--bg-alt); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.photo-card:hover img { transform: scale(1.04); }

/* photo gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* feature list with check marks */
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.checks svg { flex: none; margin-top: 4px; color: var(--sage); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: "Lora", serif; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--sage-deep); line-height: 1; }
.stat .label { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* ---------- testimonials ---------- */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; position: relative;
}
.quote .stars { color: #d8a23a; letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 0.7rem; }
.quote p { color: var(--ink); font-size: 1.02rem; font-style: italic; margin-bottom: 0.8rem; }
.quote .who { font-size: 0.85rem; color: var(--ink-soft); font-style: normal; font-weight: 600; }
.quote .who .meta { display: block; font-weight: 400; color: var(--ink-soft); opacity: 0.8; }

/* featured (large) quote */
.quote--feature { padding: clamp(2rem, 5vw, 3rem); border-color: transparent; box-shadow: var(--shadow); text-align: center; }
.quote--feature p { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.5; max-width: 46ch; margin-inline: auto; }
.quote--feature .stars { font-size: 1.1rem; }
.quote--feature .who { margin-top: 0.4rem; }

/* masonry-style column layout for the full reviews wall */
.quote-wall { columns: 2; column-gap: 1.4rem; }
.quote-wall .quote { break-inside: avoid; margin-bottom: 1.4rem; display: inline-block; width: 100%; }
.quote-wall .quote p { font-size: 0.98rem; }
@media (max-width: 720px) { .quote-wall { columns: 1; } }

/* ---------- hours table ---------- */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink); font-weight: 500; }
.hours .time { color: var(--ink-soft); }
.hours li.closed .time { color: #b0786f; }
.hours-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }
.hours-note summary { cursor: pointer; color: var(--sage-deep); font-weight: 600; }
.hours-note ul { list-style: none; padding: 0; margin: 0.7rem 0 0; display: grid; gap: 0.35rem; }
.hours-note li { display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- open-days & closures calendar widget ---------- */
.cal-widget {
  margin-top: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}
.cal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cal-title { font-size: 1.05rem; margin: 0; }
.cal-sub { font-size: 0.78rem; color: var(--ink-soft); margin: 0.15rem 0 0; }
.cal-close {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cal-close::before { content: "\00d7"; }            /* × when open */
.cal-close:hover { color: var(--ink); border-color: var(--sage); }
.cal-widget.is-collapsed .cal-close::before { content: "+"; }
.cal-widget.is-collapsed .cal-body { display: none; }

.cal-body { margin-top: 0.9rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.65rem; }
.cal-month { font-family: "Lora", serif; font-size: 1.02rem; color: var(--ink); }
.cal-arrow {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cal-arrow:hover:not(:disabled) { border-color: var(--sage); color: var(--sage-deep); }
.cal-arrow:disabled { opacity: 0.3; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  text-align: center; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft); padding-bottom: 2px;
}
.cal-cell {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  font-size: 0.82rem; border-radius: 8px; color: var(--ink);
  border: 1px solid transparent;
}
.cal-cell.is-blank { background: transparent; }
.cal-cell.is-open { background: var(--teal); color: #fff; }
.cal-cell.is-modified { background: #f7e1d3; color: var(--terracotta-deep); }
.cal-cell.is-closed { background: #f4f8fb; color: #9aa6ac; border-color: #e8eef2; }
.cal-cell.is-holiday { background: var(--terracotta); color: #fff; font-weight: 600; }
.cal-cell.is-past { opacity: 0.32; }
.cal-cell.is-today { border-color: var(--teal-deep); box-shadow: inset 0 0 0 2px var(--teal-deep); font-weight: 600; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.85rem; font-size: 0.76rem; color: var(--ink-soft); }
.cal-key { display: inline-flex; align-items: center; gap: 0.4em; }
.cal-legend .sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw-open { background: var(--teal); }
.sw-modified { background: #f7e1d3; border: 1px solid #eccdb6; }
.sw-closed { background: #f4f8fb; border: 1px solid #e3eaee; }
.sw-holiday { background: var(--terracotta); }

.cal-closures { margin-top: 0.85rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.cal-closures ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.cal-closures li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--ink-soft); }
.cal-tag { color: #b0786f; font-weight: 600; flex: none; }
.cal-tag--mod { color: var(--terracotta-deep); }
.cal-none { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
.cal-note { font-size: 0.78rem; color: var(--ink-soft); margin: 0.8rem 0 0; line-height: 1.5; }
.cal-note a { color: var(--sage-deep); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sage-deep) 0%, var(--teal-deep) 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center; box-shadow: var(--shadow);
}
/* faint lotus watermark in the corner */
.cta-band::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 34'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M24 33C18 25 16 13 24 3C32 13 30 25 24 33Z'/%3E%3Cpath d='M24 33C17 28 9 24 7 13C17 14 22 24 24 33Z'/%3E%3Cpath d='M24 33C31 28 39 24 41 13C31 14 26 24 24 33Z'/%3E%3Cpath d='M24 33C14 30 5 31 2 22C11 18 21 25 24 33Z'/%3E%3Cpath d='M24 33C34 30 43 31 46 22C37 18 27 25 24 33Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.07; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-inline: auto; max-width: 48ch; }
.cta-band .btn--primary { background: #fff; color: var(--sage-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--bg); }

/* flat-rate price chip shown in the booking CTA */
.price-tag {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  padding: 0.5em 1.15em; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.95rem; font-weight: 500;
}
.price-tag .amt { font-family: "Lora", serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.price-tag--light { background: var(--bg-alt); border-color: var(--line); color: var(--ink-soft); }
.price-tag--light .amt { color: var(--sage-deep); }

/* ---------- contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ic { flex: none; color: var(--sage-deep); margin-top: 2px; }
.info-list strong { display: block; color: var(--ink); }
.info-list span, .info-list a { color: var(--ink-soft); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.25rem, 3vw, 2rem); }
.page-hero .lead { margin-top: 0.6rem; }
/* keep the first section snug under the hero instead of a big empty band */
.page-hero + .section { padding-top: clamp(1.5rem, 3.5vw, 2.5rem); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfd2cf; padding: 3rem 0 2rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: "Lora", serif; color: #fff; font-weight: 500; margin: 0 0 0.8rem; font-size: 1.05rem; }
.site-footer a { color: #cfd2cf; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.4rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: #9aa19c; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* staggered reveal for groups of info (lists, paragraphs, rows) —
   children start hidden and fade up one after another as they scroll in.
   JS assigns the per-child transition-delay and adds .in. */
[data-reveal-group] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal-group] > *.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  .hero-blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* collapse the nav to a hamburger before the bar gets crowded */
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0.2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.5rem 1.4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.28s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.5rem 0; width: 100%; }
  .nav-links .btn { margin-top: 0.5rem; }
}
@media (max-width: 620px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Lotus & cloud theme — colorful accents + graphics
   =========================================================== */

/* colorful card icons cycling through the accent palette */
.grid--3 .card:nth-child(4n+1) .icon { background: #e6efe9; color: var(--sage-deep); }
.grid--3 .card:nth-child(4n+2) .icon { background: #f6e3d9; color: var(--terracotta-deep); }
.grid--3 .card:nth-child(4n+3) .icon { background: #f7ecd2; color: #b07d1e; }
.grid--3 .card:nth-child(4n)   .icon { background: #e0eef0; color: var(--teal-deep); }

/* colorful stat numbers */
.stat:nth-child(3n+1) .num { color: var(--sage-deep); }
.stat:nth-child(3n+2) .num { color: var(--terracotta); }
.stat:nth-child(3n)   .num { color: var(--teal-deep); }

/* lotus ornament — a lotus flanked by soft rules */
.ornament { display: flex; align-items: center; justify-content: center; gap: 0.85rem; margin: 0 auto 1.3rem; }
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: clamp(32px, 8vw, 58px);
  background: linear-gradient(90deg, transparent, var(--sand));
}
.ornament::after { background: linear-gradient(90deg, var(--sand), transparent); }
.ornament i {
  flex: none; width: 42px; height: 30px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 34'%3E%3Cpath d='M24 33C18 25 16 13 24 3C32 13 30 25 24 33Z' fill='%23d99a32'/%3E%3Cpath d='M24 33C17 28 9 24 7 13C17 14 22 24 24 33Z' fill='%23c2674a'/%3E%3Cpath d='M24 33C31 28 39 24 41 13C31 14 26 24 24 33Z' fill='%23c2674a'/%3E%3Cpath d='M24 33C14 30 5 31 2 22C11 18 21 25 24 33Z' fill='%234f939c'/%3E%3Cpath d='M24 33C34 30 43 31 46 22C37 18 27 25 24 33Z' fill='%234f939c'/%3E%3C/svg%3E");
}
/* lotus on the dark CTA: lighten the flanking rules */
.cta-band .ornament { margin-bottom: 1rem; }
.cta-band .ornament::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45)); }
.cta-band .ornament::after  { background: linear-gradient(90deg, rgba(255,255,255,0.45), transparent); }

/* cloud / qi-swirl divider */
.cloud-divider { display: flex; justify-content: center; padding: 0.5rem 0; }
.cloud-divider svg { width: min(240px, 70%); height: auto; }

/* interior page heroes get a faint warm-cool glow */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(440px 260px at 88% -20%, rgba(79,147,156,0.18), transparent 70%),
    radial-gradient(380px 240px at 4% 130%, rgba(217,154,50,0.14), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }

/* footer: colorful gradient top edge */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--sage), var(--teal), var(--gold), var(--terracotta));
}
