/* =========================================================================
 * Guest pages (v1.6.0 dual persona): templates/public/*.php, loaded after site.css by persona_page_meta().
 * One small vocabulary (g- prefix) shared by /, /start, /meditation, /initiatives, /centers, and used as the base of
 * /inner-lab (guest-inner-lab.css) and /junior-sadhaks (junior-sadhaks.css). Built on the site tokens, so Temple Dark
 * (default) and Temple Dawn (light) both read correctly. Phones first: every control is at least 44px, nothing is wider
 * than the viewport at 375px, and motion stops under prefers-reduced-motion.
 *
 *   .g-main                 the page                .g-hero (+ --center)        the opening band
 *   .g-section (+ --alt)    a band                  .g-head                     kicker + h2 + lead
 *   .g-grid (+ --2, --3)    responsive card grid    .g-card                     a surface card (as <a>: a link card)
 *   .g-btn (+ --primary, --ghost, --lg, --block)    .g-steps                    numbered steps
 *   .g-faq                  <details> answers       .g-note                     the honest-evidence callout
 *   .g-chips / .g-chip      filter buttons          .g-tag                      a small label
 *   .g-split                text + aside            .g-band                     the closing call to action
 * ========================================================================= */

.g-main { --g-measure: 44rem; overflow-x: clip; }
.g-main :where(h1, h2, h3) { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.g-main p { text-wrap: pretty; }
.g-muted { color: var(--muted); }
.g-center { text-align: center; }
.g-num { font-variant-numeric: lining-nums tabular-nums; }

/* ---- hero ------------------------------------------------------------------ */
.g-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 7vw, 112px) clamp(40px, 6vw, 88px); }
.g-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(42% 60% at 72% 18%, rgba(245, 158, 11, 0.14), transparent 70%), radial-gradient(40% 55% at 6% 30%, var(--season-tint), transparent 72%);
}
.g-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--champagne); background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--gold-text); font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
}
.g-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-glow); box-shadow: 0 0 10px var(--amber-glow); }
.g-title { font-size: clamp(2.35rem, 1.5rem + 4.2vw, 4.6rem); line-height: 1.03; margin: 0 0 0.35em; max-width: 20ch; }
.g-title em { font-style: normal; color: var(--accent); }
.g-lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.75vw, 1.6rem); line-height: 1.45; max-width: 40rem; margin: 0; color: var(--ink); }
.g-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.g-hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 0.95rem; }
.g-hero__facts li { display: inline-flex; align-items: center; gap: 0.5em; }
.g-hero__facts li::before { content: "✓"; color: var(--amber-glow); font-weight: 700; }
.g-hero--center { text-align: center; }
.g-hero--center :is(.g-title, .g-lead) { margin-inline: auto; }
.g-hero--center :is(.g-hero__actions, .g-hero__facts) { justify-content: center; }
.g-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 8px; padding: 0; font-size: 0.875rem; color: var(--muted); }
.g-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.g-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-underline-offset: 0.2em; } /* a 44px tap target */
.g-crumbs ol { align-items: center; }

/* ---- sections ---------------------------------------------------------------- */
.g-section { position: relative; padding-block: clamp(52px, 7vw, 104px); }
.g-section--alt { background: var(--sunken); border-block: 1px solid var(--champagne); }
.g-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.g-head { max-width: var(--g-measure); margin-bottom: clamp(26px, 3.5vw, 44px); }
.g-head--center { margin-inline: auto; text-align: center; }
.g-kicker { margin: 0 0 10px; color: var(--gold-text); font: 700 0.8rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.g-h2 { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3rem); line-height: 1.08; margin: 0 0 0.4em; }
.g-h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); line-height: 1.2; margin: 0 0 0.35em; }
.g-head p, .g-prose p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); margin: 0 0 1em; }
.g-head p:last-child, .g-prose p:last-child { margin-bottom: 0; }
.g-prose { max-width: var(--g-measure); }
.g-prose a, .g-head a, .g-card__text a, .g-faq a, .g-note a { color: var(--accent); text-underline-offset: 0.2em; }

/* ---- grid & cards -------------------------------------------------------------- */
.g-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .g-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .g-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .g-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1199.98px) { .g-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .g-grid--5 > li { grid-column: span 2; } .g-grid--5 > li:nth-child(4) { grid-column: 2 / span 2; } }
.g-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; height: 100%;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius-card, 20px);
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-soft);
  color: var(--ink); text-decoration: none;
}
a.g-card { transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease); }
a.g-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  a.g-card:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--edge-glow); color: var(--ink); }
}
.g-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; line-height: 1;
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.06)); border: 1px solid var(--champagne); }
.g-card__title { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); font-weight: 600; line-height: 1.2; margin: 0; }
.g-card__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.g-card__more { display: inline-flex; align-items: center; align-self: flex-start; gap: 0.3em; min-height: 44px; margin-top: auto; color: var(--accent); font-weight: 600; font-size: 0.95rem; } /* a 44px tap target; the gap keeps the space before the arrow (a flex item drops it) */
a.g-card .g-card__more::after { content: " →"; }

/* ---- buttons --------------------------------------------------------------------- */
.g-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.55em 1.45em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.15 var(--sans); letter-spacing: 0.01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: filter 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
}
.g-btn--primary { background: linear-gradient(180deg, #8A1634 0%, #78122B 55%, #5E0E24 100%); color: var(--on-vermilion);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px -14px rgba(120, 18, 43, 0.85); }
.g-btn--gold { background: linear-gradient(135deg, #F8D888 0%, #E7AE45 52%, #C98A22 100%); color: #2A0A14; }
.g-btn--ghost { background: transparent; color: var(--ink); border-color: var(--champagne-strong); }
.g-btn--lg { min-height: 56px; padding-inline: 1.8em; font-size: 1.0625rem; }
.g-btn--block { display: flex; width: 100%; }
.g-btn:active { transform: scale(0.98); }
.g-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .g-btn--primary:hover { color: var(--on-vermilion); filter: brightness(1.1); }
  .g-btn--gold:hover { color: #2A0A14; filter: brightness(1.06); }
  .g-btn--ghost:hover { color: var(--ink); border-color: var(--amber); background: rgba(245, 158, 11, 0.08); }
}
@media (max-width: 479.98px) { .g-hero__actions .g-btn, .g-band .g-btn { width: 100%; } }

/* ---- steps ------------------------------------------------------------------------- */
.g-steps { list-style: none; counter-reset: g-step; display: grid; gap: 14px; margin: 0; padding: 0; }
@media (min-width: 900px) { .g-steps--row { grid-template-columns: repeat(var(--g-steps, 3), minmax(0, 1fr)); } }
.g-steps > li { counter-increment: g-step; position: relative; padding: 22px 22px 22px 76px; border-radius: 18px; background: var(--surface); border: 1px solid var(--card-border); min-width: 0; }
.g-steps > li::before {
  content: counter(g-step); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font: 700 1.05rem/1 var(--sans); font-variant-numeric: lining-nums tabular-nums; color: #2A0A14; background: linear-gradient(135deg, #F8D888, #D97706);
}
.g-steps h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 6px; }
.g-steps p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---- FAQ ---------------------------------------------------------------------------- */
.g-faq { display: grid; gap: 12px; max-width: 52rem; }
.g-faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--card-border); }
.g-faq summary {
  position: relative; display: block; min-height: 56px; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); font-weight: 600; line-height: 1.3;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font: 400 1.6rem/1 var(--sans); color: var(--amber-glow); }
.g-faq details[open] summary::after { content: "–"; }
.g-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 18px; }
.g-faq__a { padding: 0 22px 20px; }
.g-faq__a p, .g-faq__a li { margin: 0 0 0.8em; line-height: 1.7; font-size: 1.0625rem; }
.g-faq__a :last-child { margin-bottom: 0; }

/* ---- notes, tags, chips ----------------------------------------------------------------- */
.g-note { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 16px 18px; border-radius: 16px;
  border: 1px dashed var(--champagne-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.g-note::before { content: "ⓘ"; flex: none; color: var(--gold-text); font-weight: 700; }
.g-note strong { color: var(--ink); }
.g-tag { display: inline-flex; align-items: center; gap: 0.35em; padding: 3px 10px; border-radius: 999px; font: 600 0.78rem/1.4 var(--sans);
  border: 1px solid var(--champagne); color: var(--gold-text); background: rgba(245, 158, 11, 0.06); }
.g-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.g-chip {
  position: relative; display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--champagne-strong); background: transparent; color: var(--ink); font: 600 0.92rem/1 var(--sans);
}
.g-chip[aria-pressed="true"], .g-chip[aria-current="true"] { background: var(--vermilion); border-color: var(--vermilion); color: var(--on-vermilion); }
.g-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.g-chip .g-count { font-weight: 500; opacity: 0.8; }

/* ---- layouts ----------------------------------------------------------------------------- */
.g-split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .g-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .g-split--rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.g-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
  border-radius: 28px; border: 1px solid var(--card-border); background: radial-gradient(120% 140% at 50% 0%, rgba(245, 158, 11, 0.14), transparent 60%), var(--surface); }
.g-band .g-h2 { margin-inline: auto; max-width: 22ch; }
.g-band p { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.g-band .g-hero__actions { justify-content: center; }

/* the "plain English (traditional term)" pair as a stacked label in cards */
.g-dual { display: grid; gap: 2px; }
.g-dual__en { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); font-weight: 600; line-height: 1.2; }
.g-dual__term { color: var(--muted); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  a.g-card, .g-btn { transition: none; }
  a.g-card:hover { transform: none; }
}

/* ---- / (templates/public/home.php) ------------------------------------------------------- */
.g-home__hero { padding-block: clamp(56px, 9vw, 140px) clamp(48px, 7vw, 104px); }
.g-gathering .g-tag { align-self: flex-start; }
.g-gathering__when { margin: 0; color: var(--ink); font-size: 1.02rem; }
.g-gathering .g-btn { align-self: flex-start; margin-top: auto; }
.g-statelist { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.g-statelist__item { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 20px; }
.g-statelist__st { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.g-statelist__n { color: var(--muted); font-size: 0.92rem; white-space: nowrap; }
/* the authentic swaroop on a luminous backplate with a soft particle glow (CLAUDE.md: never a re-drawing). The particles
   ([data-hero-particles] on the section) drift across the whole band: isolation keeps their z-index -1 canvas above the
   band's background and beneath the portrait and the text (inside the frame they were hidden behind the opaque portrait) */
.g-guide { isolation: isolate; }
.g-guide__frame { position: relative; isolation: isolate; margin: 0 auto; width: min(100%, 380px); }
.g-guide__plate { position: absolute; z-index: -1; inset: -12% -14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 230, 138, 0.55), rgba(245, 158, 11, 0.22) 55%, transparent 75%); filter: blur(6px); }
.g-guide__frame img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--card-border);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.6); background: var(--swaroop-bg); }
@media (prefers-reduced-motion: no-preference) {
  .g-guide__plate { animation: g-breathe 7s ease-in-out infinite; }
  @keyframes g-breathe { 50% { opacity: 0.75; transform: scale(0.97); } }
}

/* ---- /start ------------------------------------------------------------------------------- */
.g-start__aside { gap: 14px; }
@media (min-width: 960px) { .g-start__aside { position: sticky; top: calc(var(--header-h) + 24px); height: auto; } }
.g-start__member { margin-top: 18px !important; font-size: 0.95rem; }
.g-start__member a { color: var(--accent); }
.g-words { display: grid; gap: 0; margin: 0; max-width: 56rem; border-top: 1px solid var(--champagne); }
.g-words__row { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--champagne); }
@media (min-width: 720px) { .g-words__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; } }
.g-words dt { margin: 0; }
.g-words__en { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.g-words dd { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---- /meditation ---------------------------------------------------------------------------- */
.g-med__toc { margin-top: 28px; }
.g-med__toc .g-chip { text-decoration: none; font-weight: 500; }
.g-med__answers { display: grid; gap: clamp(16px, 2.4vw, 28px); max-width: 60rem; }
.g-med__qa { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--surface); border: 1px solid var(--card-border);
  scroll-margin-top: calc(var(--header-h) + 20px); }
.g-med__qa:focus { outline: none; }
.g-med__qa .g-h3 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 0.6em; }
.g-med__qa .g-steps > li { background: var(--sunken); }

/* ---- /initiatives ----------------------------------------------------------------------------- */
.g-causes__filter { margin-bottom: clamp(20px, 3vw, 32px); }
.g-causes__filter .g-chip { text-decoration: none; }
.g-cause { gap: 12px; }
.g-cause .g-tag { align-self: flex-start; }
.g-cause .g-dual__en { font-size: clamp(1.3rem, 1.15rem + 0.45vw, 1.5rem); }
.g-cause__tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-text); }
.g-cause__metric { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.g-cause__metric strong { color: var(--ink); font-size: 1.05rem; }
.g-cause__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.g-cause__actions .g-btn { min-height: 44px; padding-inline: 1.15em; font-size: 0.95rem; }

/* ---- /centers ---------------------------------------------------------------------------------- */
.g-centers__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.g-centers__field { display: grid; gap: 6px; flex: 1 1 260px; max-width: 420px; }
.g-centers__field label { font-weight: 600; font-size: 0.95rem; }
.g-centers__field select {
  min-height: 52px; width: 100%; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--champagne-strong);
  background: var(--surface) var(--select-arrow) no-repeat right 16px center; color: var(--ink); font: 500 1rem/1.2 var(--sans); appearance: none;
}
.g-centers__field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.g-centers__chips { margin-bottom: 14px; }
.g-centers__chips .g-chip { text-decoration: none; }
.g-centers__status { margin: 0 0 22px; color: var(--muted); font-size: 0.95rem; }
.g-centers__none { margin-bottom: 22px; }
.g-centers__grid { list-style: none; display: grid; gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.g-center { gap: 12px; }
.g-center .g-tag { align-self: flex-start; }
.g-center .g-tag svg { width: 14px; height: 14px; }
.g-center__addr { margin: 0; font-size: 1rem; line-height: 1.55; }
.g-center__facts { display: grid; gap: 10px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--champagne); }
.g-center__facts > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 10px; }
.g-center__facts dt { color: var(--muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.g-center__facts dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.g-center__contact { display: flex; flex-direction: column; gap: 2px; }
.g-center__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); } /* a 44px tap target */
.g-center__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.g-center__actions .g-btn { flex: 1 1 140px; min-height: 48px; }
.g-center__more { margin: 0; font-size: 0.9rem; color: var(--muted); }
.g-center__more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
@media (max-width: 379.98px) { .g-center__facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* Find an Ashram (global): the directory's reach, the country chips, then one titled grid per country outside the US */
.g-centers__reach { margin: 18px 0 14px; color: var(--muted); font-size: 0.98rem; font-variant-numeric: lining-nums tabular-nums; }
.g-centers__countries .g-chip { text-decoration: none; }
.g-centers__head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.g-centers [id^="ashrams-"] { scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.g-centers__country + .g-centers__country { margin-top: clamp(32px, 4.5vw, 52px); }
.g-centers__country-h {
  display: flex; align-items: baseline; gap: 0.45em; margin: 0 0 clamp(14px, 2vw, 20px); padding-bottom: 10px;
  border-bottom: 1px solid var(--champagne); font-family: var(--font-display, var(--serif)); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 600; line-height: 1.15;
}
.g-centers__country-h .g-count { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--muted); }

/* =========================================================================
 * The newcomer funnel (schema patch 39.02 release; templates/public/partials/funnel.php)
 * ========================================================================= */
.g-ico { flex: none; display: inline-block; vertical-align: middle; }
.g-btn .g-ico { margin-inline: -0.1em; }
.g-btn--glass { color: var(--ink); border-color: var(--champagne-strong); background: color-mix(in srgb, var(--surface) 45%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) { .g-btn--glass:hover { color: var(--ink); border-color: #D97706; background: color-mix(in srgb, var(--surface) 70%, transparent); } }

/* ---- the 60/40 split hero ------------------------------------------------- */
.g-hero2 { padding-block: clamp(40px, 7vw, 112px) clamp(40px, 6vw, 96px); }
.g-hero2__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1024px) { .g-hero2__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.g-hero2 .g-title { max-width: 14ch; }
.g-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 24px 0 0; padding: 0; }
.g-badges li { display: inline-flex; align-items: center; gap: 0.45em; min-height: 36px; padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--champagne); background: color-mix(in srgb, var(--surface) 70%, transparent); font: 600 0.9rem/1.2 var(--sans); color: var(--ink); }
.g-badges .g-ico { color: var(--amber-glow); }
[data-theme="light"] .g-badges .g-ico { color: #B45309; }

.g-journey { position: relative; padding: clamp(20px, 2.4vw, 28px); border-radius: 28px; border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--surface) 62%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.g-journey__title { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.75rem); font-weight: 600; }
.g-journey__list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.g-journey__tile { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: center; gap: 14px;
  min-height: 68px; padding: 10px 14px 10px 10px; border-radius: 18px; border: 1px solid var(--champagne);
  background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink); text-decoration: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease); }
.g-journey__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--gold-text);
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.05)); border: 1px solid var(--champagne); }
.g-journey__text { display: grid; gap: 2px; min-width: 0; }
.g-journey__label { font: 600 1.02rem/1.25 var(--sans); }
.g-journey__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.g-journey__go { color: var(--gold-text); opacity: 0.7; }
.g-journey__tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* precise pointers fade the descriptor in on hover or focus; touch screens always show it (it is read by screen readers either way) */
@media (hover: hover) and (pointer: fine) {
  /* the descriptor always keeps its space and only fades in, so revealing it never clips or moves the tiles (no layout shift) */
  .g-journey__desc { opacity: 0; transition: opacity 200ms var(--ease); }
  .g-journey__tile:hover, .g-journey__tile:focus-visible { border-color: #D97706; box-shadow: 0 0 0 1px #D97706, 0 14px 30px -20px rgba(217, 119, 6, 0.6); color: var(--ink); }
  .g-journey__tile:hover .g-journey__desc, .g-journey__tile:focus-visible .g-journey__desc { opacity: 1; }
  .g-journey__tile:hover .g-journey__go { opacity: 1; transform: translateX(2px); }
}

/* ---- the 4-frame first-visit storyboard ----------------------------------------- */
.g-board { list-style: none; counter-reset: none; display: grid; gap: 0; margin: 0; padding: 0; }
.g-board__frame { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 0 0 26px; }
.g-board__frame:last-child { padding-bottom: 0; }
.g-board__art { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--gold-text);
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-soft); }
.g-board__art .g-ico { width: 28px; height: 28px; }
.g-board__num { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font: 700 0.8rem/1 var(--sans); color: #2A0A14; background: linear-gradient(135deg, #F8D888, #D97706); }
/* mobile: a vertical step-rail joining the badges */
.g-board__frame:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--champagne-strong), var(--champagne)); }
.g-board__title { margin: 4px 0 6px; font-family: var(--serif); font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem); font-weight: 600; }
.g-board__text { margin: 0; color: var(--muted); line-height: 1.6; }
@media (min-width: 769px) {
  .g-board { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
  .g-board__frame { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--card-border); }
  .g-board__frame:last-child { padding-bottom: 22px; }
  .g-board__art { width: 64px; height: 64px; }
  .g-board__art .g-ico { width: 32px; height: 32px; }
  /* desktop: a connector ──▶ in the gutter between frames */
  .g-board__frame:not(:last-child)::before { left: auto; top: 52px; bottom: auto; right: calc(-1 * clamp(14px, 2vw, 28px)); width: clamp(14px, 2vw, 28px); height: 2px;
    background: var(--champagne-strong); }
  .g-board__frame:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: calc(-1 * clamp(14px, 2vw, 28px) - 2px); width: 0; height: 0;
    border: 5px solid transparent; border-left: 7px solid var(--amber); z-index: 1; }
}

/* ---- the four experiences (bento) ----------------------------------------------- */
.g-bento { list-style: none; display: grid; gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; }
@media (min-width: 768px) { .g-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-bento__card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(22px, 2.6vw, 30px); border-radius: 24px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(245, 158, 11, 0.1), transparent 55%), var(--surface); border: 1px solid var(--card-border);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease); }
.g-bento__card:focus-within { border-color: #D97706; }
@media (hover: hover) and (pointer: fine) { .g-bento__card:hover { border-color: #D97706; box-shadow: var(--edge-glow); transform: translateY(-2px); } }
.g-bento__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--gold-text);
  background: radial-gradient(circle at 50% 40%, rgba(253, 230, 138, 0.28), rgba(245, 158, 11, 0.06)); border: 1px solid var(--champagne); }
.g-bento__text { margin: 0; line-height: 1.6; color: var(--ink); }
.g-bento__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; min-height: 44px; color: var(--accent); font-weight: 600; font-size: 0.95rem;
  text-underline-offset: 0.2em; }
.g-bento__note { max-width: 52rem; margin-inline: auto; }

/* ---- cultural flashcards -------------------------------------------------------- */
.g-cards { list-style: none; display: grid; gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; }
@media (min-width: 768px) { .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-flash { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: var(--surface);
  border: 1px solid var(--card-border); border-top: 3px solid var(--amber); }
.g-flash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.g-flash__term { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.g-flash__say { margin: 0; color: var(--gold-text); font-style: italic; font-size: 0.98rem; letter-spacing: 0.02em; }
.g-flash__dl { display: grid; gap: 4px; margin: 6px 0 0; }
.g-flash__dl dt { margin-top: 8px; color: var(--muted); font: 700 0.76rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.g-flash__dl dd { margin: 0; line-height: 1.6; }

/* ---- Plan Your Visit -------------------------------------------------------------- */
.g-plan__head { max-width: var(--g-measure); margin-bottom: 22px; }
.g-plan__head p:last-child { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin: 0; }
.g-plan__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.g-plan__tab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--champagne-strong); background: var(--surface); color: var(--ink); font: 600 0.98rem/1 var(--sans); }
.g-plan__tab[aria-selected="true"] { background: linear-gradient(135deg, #F8D888 0%, #E7AE45 52%, #C98A22 100%); border-color: #C98A22; color: #2A0A14; }
.g-plan__tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .g-plan__tab:hover { border-color: #D97706; } }
.g-plan__panels { display: grid; gap: 18px; }
.g-plan__panel { padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--surface); border: 1px solid var(--card-border); }
.g-plan__panel-h { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 600; }
.g-plan__list { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.g-plan__centre { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 18px; background: var(--sunken); border: 1px solid var(--champagne); min-width: 0; }
.g-plan__name { margin: 0; display: grid; gap: 2px; }
.g-plan__name strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.g-plan__row { display: flex; align-items: flex-start; gap: 8px; margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.g-plan__row .g-ico { margin-top: 2px; color: var(--gold-text); }
.g-plan__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.g-plan__actions .g-btn { flex: 1 1 180px; min-height: 48px; font-size: 0.98rem; }
.g-plan__via { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.g-plan__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 18px 0 0; }
.g-plan__more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .g-journey__tile, .g-journey__desc, .g-bento__card { transition: none; }
  .g-bento__card:hover { transform: none; }
}
