/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--gsh-bg);
  color: var(--gsh-ink);
  font-family: var(--gsh-font-body);
  font-size: var(--gsh-text);
  line-height: var(--gsh-lh);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* static paper grain — baked 1024×1024 WebP tile (replaces feTurbulence inline SVG) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("../img/grain.webp");
  background-repeat: repeat;
  background-size: 512px 512px;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--gsh-ink-strong); text-underline-offset: 0.18em; }

/* ===== type ===== */
h1, h2, h3, h4 { font-family: var(--gsh-font-display); font-weight: 600; line-height: 1.12; color: var(--gsh-ink-strong); text-wrap: balance; letter-spacing: 0; }
h1 { font-size: var(--gsh-h1); }
h2 { font-size: var(--gsh-h2); }
h3 { font-size: var(--gsh-h3); }
h4 { font-size: var(--gsh-h4); }
.h1 { font-family: var(--gsh-font-display); font-size: var(--gsh-h1); font-weight: 600; line-height: 1.08; color: var(--gsh-ink-strong); letter-spacing: 0; }
.h-accent { color: var(--gsh-clay-btn); font-style: normal; } /* hero accent — AA-safe clay (A11Y-3: --gsh-clay #C77B53 was ~2.9:1 on cream) */
em { font-style: italic; }
p { text-wrap: pretty; }
.prose { max-width: var(--gsh-measure); }
.prose p + p { margin-top: var(--gsh-sp-4); }
.scope { font-size: .82rem; color: var(--gsh-muted); font-style: italic; }

/* ===== layout ===== */
.container { width: 100%; max-width: var(--gsh-container); margin-inline: auto; padding-inline: var(--gsh-sp-5); position: relative; z-index: 2; }
/* MasterStudy bundles Bootstrap 3, whose clearfix (`.container:before/:after { content:" "; display:table }`)
   collides with our .container. In our flex/grid containers those pseudos become phantom items:
   they add ghost gaps in the header row and steal the first cell of .container grids. Neutralize. */
.container::before, .container::after { content: none; }
.section { padding-block: var(--gsh-section-y); }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--gsh-sp-2); font-family: var(--gsh-font-body); font-weight: 600; font-size: 0.95rem; line-height: 1.1; white-space: nowrap; border-radius: var(--gsh-r-pill); padding: 0.8rem 1.5rem; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform var(--gsh-dur) var(--gsh-ease), box-shadow var(--gsh-dur) var(--gsh-ease); }
.btn--primary { background: var(--gsh-btn-bg); color: var(--gsh-btn-ink); box-shadow: var(--gsh-shadow-clay); }
.btn--secondary { background: transparent; color: var(--gsh-ink-strong); border-color: var(--gsh-sage); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.875rem; }
.btn:hover { transform: translateY(-2px); }

/* dark band (sage-700) — reversed text passes AA */
.band--dark { background: var(--gsh-sage-700); color: var(--gsh-on-dark); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--gsh-on-dark); }

/* ===== decorative pattern family (gsh_pattern) ===== */
/* decorative patterns — rendered by gsh_pattern() in template-parts/patterns.php; parent needs position:relative */
.gsh-pat { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
svg.gsh-pat { width: 100%; height: 100%; color: var(--gsh-sage); }
.gsh-pat--wash { background-size: 420px; background-repeat: repeat; opacity: .14; }
.band--dark .gsh-pat, .band--dark svg.gsh-pat { color: var(--gsh-cream); }

/* focus + skip link */
:focus-visible { outline: 3px solid var(--gsh-clay-btn); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--gsh-sp-4); top: var(--gsh-sp-4); z-index: var(--gsh-z-tooltip); background: var(--gsh-forest); color: var(--gsh-on-dark); padding: var(--gsh-sp-3) var(--gsh-sp-4); border-radius: var(--gsh-r-sm); }

/* ===== header / masthead (responsive: inline on desktop, hamburger menu on mobile) ===== */
.site-header { position: sticky; top: 0; z-index: var(--gsh-z-sticky);
  background: var(--gsh-cream); /* fallback for no-rgba edge cases */
  background: rgba(250, 246, 238, 0.72); /* --gsh-cream at 72% — frosted glass */
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(231, 223, 208, 0.6); /* --gsh-sand hairline */
  transition: background .35s var(--gsh-ease), border-color .35s var(--gsh-ease); }
/* at the very top of the page (scrollY < 40, toggled in theme.js) the bar melts into the page */
.site-header.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not (backdrop-filter: blur(1px)) { .site-header, .site-header.is-top { background: var(--gsh-cream); } }
@media (prefers-reduced-transparency: reduce) { .site-header, .site-header.is-top { background: var(--gsh-cream); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* logged-in WP admin bar sits fixed above the page: offset the sticky header */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: var(--gsh-sp-4); min-height: 68px; position: relative; }
/* inline-SVG brand lockup (header + footer). SVG is inlined so self-hosted Fredoka applies to its <text>. */
.site-brand { flex: none; display: inline-block; text-decoration: none; line-height: 0; }
/* readfile fallback (logo SVG missing): plain text brand must not inherit line-height:0 */
.site-brand__text { line-height: 1.2; display: inline-block; font-family: var(--gsh-font-display); font-weight: 600; font-size: 1.15rem; color: var(--gsh-forest); }
.site-brand--inverse .site-brand__text { color: var(--gsh-on-dark); }
.site-brand__logo svg { width: 200px; height: auto; display: block; }
/* footer sits on the dark band: recolor the type lines (the G stays dark — it sits on the light blob);
   the clay "Hub" + squiggle flip to blush so the two-tone survives the dark ground */
.site-brand--inverse svg .lg-global { fill: var(--gsh-on-dark-muted); }
.site-brand--inverse svg .lg-name { fill: var(--gsh-on-dark); }
.site-brand--inverse svg .lg-hub { fill: var(--gsh-blush); }
.site-brand--inverse svg .lg-squiggle { stroke: var(--gsh-blush); }
.site-footer__brand .site-brand__logo svg { width: 164px; }
.site-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 1.4rem; }
.primary-nav__list { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.primary-nav__list a { color: var(--gsh-ink); text-decoration: none; font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.primary-nav__list a:hover { color: var(--gsh-clay-btn); }
.site-nav__aux { display: flex; align-items: center; gap: 0.9rem; }
.aux-link { font-size: 0.82rem; color: var(--gsh-muted); text-decoration: none; white-space: nowrap; }
.cta-pair { display: flex; gap: 0.55rem; flex: none; }
.cta-pair--inmenu { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; width: 42px; height: 42px; border: 1px solid var(--gsh-sand); border-radius: 10px; background: var(--gsh-cream-2); cursor: pointer; flex: none; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--gsh-forest); transition: transform .3s var(--gsh-ease), opacity .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .site-header.is-open .nav-toggle__bars { background: transparent; }
  .site-header.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .cta-pair--bar { order: 2; margin-left: auto; }
  .cta-pair--bar .btn { padding: .5rem .8rem; font-size: .8rem; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .8rem; background: var(--gsh-cream); border-bottom: 1px solid var(--gsh-sand); box-shadow: var(--gsh-shadow-md); padding: 1rem var(--gsh-sp-5) 1.5rem; max-height: calc(100vh - 68px); overflow-y: auto; }
  .site-header.is-open .site-nav { display: flex; }
  .primary-nav__list { flex-direction: column; gap: 0; }
  .primary-nav__list a { display: block; padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--gsh-sand); }
  .site-nav__aux { flex-direction: column; align-items: stretch; gap: .8rem; margin-top: .4rem; }
  .cta-pair--inmenu { display: flex; flex-direction: column; }
  .cta-pair--inmenu .btn { justify-content: center; }
}
@media (max-width: 540px) { .cta-pair--bar .btn { padding-inline: 0.9rem; font-size: 0.8rem; } .site-header .site-brand__logo svg { width: 150px; } } /* tight bar: shrink both CTAs instead of hiding one */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== footer (4 groups: brand · Offerings · Company · Trust & legal) ===== */
/* position:relative hosts the gsh_pattern('wash') div (footer.php); .container children sit at z 2 */
.site-footer { margin-top: 0; padding-block: var(--gsh-sp-8) var(--gsh-sp-6); position: relative; overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--gsh-sp-6); }
/* group label: a styled <p>, not a heading — keeps every page's heading outline skip-free */
.site-footer .footer-h { font-family: var(--gsh-font-display); font-weight: 600; color: var(--gsh-on-dark); font-size: 0.92rem; margin-bottom: var(--gsh-sp-3); }
.site-footer__col a { display: block; color: var(--gsh-on-dark-muted); text-decoration: none; padding: 0.14rem 0; font-size: 0.88rem; }
.site-footer__col a:hover { color: var(--gsh-on-dark); }
.site-footer__tag { margin-top: var(--gsh-sp-3); color: var(--gsh-on-dark-muted); }
.site-footer__note { margin-top: var(--gsh-sp-3); font-size: 0.8rem; color: var(--gsh-on-dark-muted); max-width: 40ch; }
.site-footer__marks { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: var(--gsh-sp-5); }
.site-footer__marks .mk { font-family: var(--gsh-font-mono); font-size: var(--gsh-text-floor); border: 1px solid rgba(244,241,231,.25); border-radius: var(--gsh-r-pill); padding: 0.25rem 0.6rem; color: var(--gsh-on-dark-muted); }
/* UX-5: "accreditation in progress" is a STATUS, not a held capability — plain muted text,
   never a trust-badge pill grouped with the real (Stripe/PDPL) marks. */
.site-footer__accred { margin-top: var(--gsh-sp-3); font-size: var(--gsh-text-floor); color: var(--gsh-on-dark-muted); font-style: italic; }
.site-footer__legal { display: flex; justify-content: space-between; gap: var(--gsh-sp-4); flex-wrap: wrap; margin-top: var(--gsh-sp-7); padding-top: var(--gsh-sp-5); border-top: 1px solid rgba(244,241,231,.18); font-size: 0.8rem; color: var(--gsh-on-dark-muted); }
.site-footer__legal a { color: var(--gsh-on-dark); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__legal { flex-direction: column; } }

/* reduced motion baseline */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   Shared template-part components (used site-wide via get_template_part /
   gsh_trait_bars). Canonical home lives here so EVERY page that reuses the
   certificate, trait bars, or FAQ accordion is styled. Home-only interactive
   states (.proof.demo, .tryq, .qpanel) remain in home.css.
   ============================================================ */
/* card treatments — tinted (no border/shadow) + lined (hairline, shadow only on interaction) */
.card-tint { background: var(--gsh-cream-2); background: color-mix(in srgb, var(--gsh-sage-2) 26%, var(--gsh-cream)); border: 0; box-shadow: none; border-radius: var(--gsh-r-card); }
.card-line { background: var(--gsh-cream-2); border: 1.5px solid var(--gsh-sand); box-shadow: none; border-radius: var(--gsh-r-card); transition: box-shadow .25s var(--gsh-ease, ease-out); }
.card-line:is(a,button):hover, .card-line.is-interactive:hover { box-shadow: 0 10px 24px rgba(88,101,71,.14); }

.proof { background: var(--gsh-cream-2); border: 1px solid var(--gsh-sand); border-radius: 20px; padding: 1.4rem 1.5rem; box-shadow: var(--gsh-shadow-md); position: relative; }
.proof .rt { font-family: var(--gsh-font-mono); font-size: var(--gsh-text-floor); letter-spacing: .12em; text-transform: uppercase; color: var(--gsh-clay-btn); margin-bottom: .9rem; }
.bar { margin: .55rem 0; font-size: .84rem; color: var(--gsh-forest); }
.bar .top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.bar .nm { font-weight: 500; }
.bar .val { font-family: var(--gsh-font-mono); font-size: var(--gsh-text-floor); color: var(--gsh-sage-700); }
.bar .track { position: relative; height: 9px; border-radius: 6px; background: var(--gsh-sand); overflow: hidden; display: block; margin-top: .28rem; }
.bar .fill { display: block; height: 100%; border-radius: 6px; background: var(--gsh-sage); width: calc(var(--s, 0) * 100%); }
.bar.clay .fill { background: var(--gsh-clay-btn); }
.bar .track::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: 60%; width: 1px; background: rgba(47, 58, 40, .28); }
.bar .offnote { display: none; font-size: var(--gsh-text-floor); color: var(--gsh-muted); font-style: italic; margin-top: .18rem; }

.acc details { border-bottom: 1px solid var(--gsh-sand); padding: .3rem 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; font-family: var(--gsh-font-display); font-size: 1.02rem; color: var(--gsh-forest); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .key { flex: none; width: 18px; height: 18px; margin-top: .2rem; position: relative; transition: transform .3s var(--gsh-ease); }
.acc details[open] summary .key { transform: rotate(180deg); }
.acc .a { font-size: .9rem; color: var(--gsh-muted); padding: 0 0 .9rem 1.4rem; max-width: 62ch; }

/* ===== certificate (gsh-cert) ===== */
/*
 * Parametric certificate component. Root class: .gsh-cert (BEM).
 * Used on: front-page, page-offerings, page-sample-report, page-about,
 *   page-knowledge-assessment, page-psychometric-assessment,
 *   page-methodology-and-validity, page-for-agencies, template-offering.
 * (Legacy .cert rules fully removed in the Task-23 sweep.)
 */
.gsh-cert {
  background: var(--gsh-cream-2);
  border: 1.5px solid color-mix(in srgb, var(--gsh-sand) 70%, var(--gsh-gold));
  border-radius: var(--gsh-r-md);
  padding: 10px;
  box-shadow: var(--gsh-shadow-md);
  font-family: var(--gsh-font-body);
  position: relative;
}
.gsh-cert__inner {
  border: 1px solid var(--gsh-sand);
  border-radius: calc(var(--gsh-r-md) - 3px); /* optical inset under the outer 10px padding — tuned by eye */
  padding: 28px 34px 22px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* SPECIMEN watermark — only when .gsh-cert--specimen is present */
.gsh-cert--specimen .gsh-cert__inner::before {
  content: 'SPECIMEN';
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-family: var(--gsh-font-display);
  font-weight: 700;
  font-size: 84px;
  letter-spacing: .12em;
  color: rgba(88, 101, 71, .07);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
/* Generic specimen wrapper — apply to any artifact (report sheet, figure)
   to get the same diagonal "SPECIMEN" watermark without being a .gsh-cert.
   Parent must be position:relative + overflow:hidden. The ::before pseudo
   is used (not ::after) so it sits behind in-flow child content. */
.gsh-specimen { position: relative; overflow: hidden; }
.gsh-specimen::before {
  content: 'SPECIMEN';
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-family: var(--gsh-font-display);
  font-weight: 700;
  font-size: 88px;
  letter-spacing: .14em;
  color: rgba(88, 101, 71, .055);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
/* Inline redacted name — italic, sage, reads "withheld" without brackets */
.redacted {
  font-style: italic;
  color: var(--gsh-sage-700);
  font-weight: 500;
}
/* head: logo left, cert ID right */
.gsh-cert__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gsh-cert__logo {
  display: inline-block;
  line-height: 0;
  flex: none;
}
.gsh-cert__logo svg { width: 46px; height: auto; }
.gsh-cert__id {
  font-size: var(--gsh-text-floor);
  color: var(--gsh-sage-700);
  text-align: right;
  line-height: 1.5;
}
/* title + scope */
.gsh-cert__title {
  font-family: var(--gsh-font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gsh-forest);
  margin: 4px 0 2px;
  text-align: center;
}
.gsh-cert__scope {
  font-size: 0.75rem;
  color: var(--gsh-sage-700);
  text-align: center;
  margin: 0 0 14px;
}
/* certifies + name */
.gsh-cert__certifies {
  font-size: 0.85rem;
  color: var(--gsh-forest);
  margin: 0 0 4px;
}
.gsh-cert__name {
  font-family: var(--gsh-font-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--gsh-forest);
  margin: 0 0 2px;
}
.gsh-cert__nameline {
  width: 300px;
  max-width: 80%;
  border-bottom: 1px solid var(--gsh-sand);
  margin: 0 auto 14px;
}
/* body text */
.gsh-cert__body {
  font-size: 0.8rem;
  color: var(--gsh-forest);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 16px;
}
/* A11Y-3: the cert card keeps its own light (cream-2) background even inside a band--dark
   section, so its text must stay dark — the band's reversed-text colour must not bleed in
   (was inheriting --gsh-on-dark-muted #dce0d2 on #fdfdf1 = 1.31:1). */
.band--dark .gsh-cert__title,
.band--dark .gsh-cert__certifies,
.band--dark .gsh-cert__name,
.band--dark .gsh-cert__body { color: var(--gsh-forest); }
.band--dark .gsh-cert__scope,
.band--dark .gsh-cert__id,
.band--dark .gsh-cert__micro { color: var(--gsh-sage-700); }
/* score band — three cells */
.gsh-cert__scoreband {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}
.gsh-cert__scorecell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.gsh-cert__scorecell b {
  font-family: var(--gsh-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gsh-forest);
}
.gsh-cert__scorecell span {
  font-size: var(--gsh-text-floor); /* 12px — meets floor; labels are supporting info */
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gsh-sage-700);
}
/* footer: sig / seal / QR flex row */
.gsh-cert__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.gsh-cert__sig {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.gsh-cert__scrawl {
  font-family: var(--gsh-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gsh-forest);
  line-height: 1;
}
.gsh-cert__sigline {
  width: 160px;
  max-width: 100%;
  border-bottom: 1px solid var(--gsh-sand);
  margin: 2px 0 3px;
}
.gsh-cert__role {
  font-size: var(--gsh-text-floor);
  color: var(--gsh-sage-700);
}
/* blob seal SVG */
.gsh-cert__seal {
  flex: none;
}
/* verify block — number + email (launch verification method; no /verify URL, no QR) */
.gsh-cert__verify {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gsh-cert__verifylabel {
  font-size: var(--gsh-text-floor);
  color: var(--gsh-sage-700);
  line-height: 1.5;
  text-align: right;
}
/* microtext — decorative running text, aria-hidden (exemption: decorative + aria-hidden) */
.gsh-cert__micro {
  font-size: 7px;
  letter-spacing: .28em;
  color: var(--gsh-sage-700); /* A11Y-3: was a faint sand/gold mix below 4.5:1 on the light cert card */
  text-align: center;
  margin-top: 12px;
  text-transform: uppercase;
  /* intrinsic-width escape: the unbreakable microprint string must not contribute to
     min-content, or it blows out 1fr grid tracks on every page hosting the certificate.
     width:0 zeroes the intrinsic contribution; min-width:100% stretches it back to the
     parent; nowrap + hidden keeps the security-print look running to the frame edge. */
  width: 0;
  min-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
/* responsive — stack at 390px */
@media (max-width: 520px) {
  .gsh-cert__inner { padding: 20px 16px 16px; }
  .gsh-cert__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gsh-cert__id { text-align: left; }
  .gsh-cert__name { font-size: 1.6rem; }
  .gsh-cert__nameline { width: 100%; }
  .gsh-cert__scoreband { gap: 12px; flex-wrap: wrap; }
  .gsh-cert__foot { flex-wrap: wrap; gap: 14px; }
  .gsh-cert__verifylabel { text-align: left; }
  .gsh-cert--specimen .gsh-cert__inner::before { font-size: 52px; }
}

/* ===== primary-nav dropdown (Offerings) — the parent is a real link to /offerings/; the panel lists the children ===== */
.nav-caret { font-size: .7em; opacity: .7; margin-left: .15rem; }
.has-sub { position: relative; }
/* the parent "Offerings" trigger is an <a> styled like the other nav links */
.subnav-trigger { font-family: var(--gsh-font-body); color: var(--gsh-ink); background: none; border: 0; padding: 0; margin: 0; font-weight: 500; font-size: 0.9rem; line-height: inherit; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.subnav-trigger:hover { color: var(--gsh-clay-btn); }
.subnav { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: .5rem 0 0; padding: .4rem; background: var(--gsh-cream-2); border: 1px solid var(--gsh-sand); border-radius: var(--gsh-r-md); box-shadow: var(--gsh-shadow-md); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s var(--gsh-ease), transform .18s var(--gsh-ease), visibility .18s; z-index: var(--gsh-z-dropdown); }
/* open states: CSS :hover covers no-JS mice; keyboard focus opens via JS (focusin -> .is-open)
   so Escape can genuinely close the panel and hand focus back to the trigger */
.has-sub:hover > .subnav, .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li { margin: 0; }
.subnav a { display: block; padding: .58rem .7rem; border-radius: var(--gsh-r-sm); font-size: .9rem; color: var(--gsh-ink); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--gsh-cream); color: var(--gsh-clay-btn); }

/* mobile: submenu becomes an indented static block inside the open menu */
@media (max-width: 1040px) {
  .subnav-trigger { display: block; width: 100%; text-align: left; padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--gsh-sand); }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; margin: 0; padding: 0 0 0 .9rem; min-width: 0; }
  .subnav a { padding: .6rem 0; border-bottom: 1px solid var(--gsh-sand); font-size: .98rem; color: var(--gsh-muted); }
  .subnav-trigger .nav-caret { display: none; }
}

/* ===== shared components (used on home + offerings + pricing) ===== */
/* .trio- and .agstrip rules migrated from home.css (was home.css §3) */
.trio-sec { position: relative; }
.trio-lede { margin-top: .6rem; color: var(--gsh-ink); max-width: 60ch; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; margin-top: 2.2rem; }
.trio__panel { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: 1.15rem 1.15rem 1.3rem; }
.trio__panel--sage  { background: var(--gsh-sage-tint); }
.trio__panel--blush { background: var(--gsh-blush-tint); }
.trio__panel--sand  { background: var(--gsh-sand-tint); }
.trio__panel--flag  { transform: translateY(-10px); box-shadow: 0 12px 28px rgba(88, 101, 71, .16); }
.trio__flagtag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--gsh-clay-btn); color: #fff; font-size: var(--gsh-text-floor); font-weight: 600; letter-spacing: .04em; border-radius: var(--gsh-r-pill); padding: 4px 12px; white-space: nowrap; }
.trio__img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--gsh-r-arch); margin-bottom: .8rem; }
.trio__t { font-family: var(--gsh-font-display); font-weight: 600; font-size: 1.22rem; line-height: 1.2; color: var(--gsh-ink-strong); }
.trio__tm { font-size: var(--gsh-text-floor); color: var(--gsh-sage-700); margin: .15rem 0 .55rem; }
.trio__tell { font-size: .9rem; color: var(--gsh-ink); line-height: 1.5; margin-bottom: .8rem; }
.trio__chips { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0 0 .8rem; padding: 0; }
.trio__chips li { background: rgba(255, 255, 255, .65); border: 1px solid rgba(88, 101, 71, .18); border-radius: var(--gsh-r-pill); font-size: var(--gsh-text-floor); color: var(--gsh-ink); padding: 3px 9px; }
.trio__recv { font-size: .84rem; color: var(--gsh-ink); line-height: 1.55; border-top: 1px solid rgba(88, 101, 71, .14); padding-top: .6rem; margin-bottom: .9rem; }
.trio__recv b { color: var(--gsh-ink-strong); }
.trio__price { font-family: var(--gsh-font-display); font-weight: 600; font-size: 1.45rem; color: var(--gsh-ink-strong); }
.trio__pricenote { font-size: var(--gsh-text-floor); color: var(--gsh-sage-700); margin-bottom: .9rem; }
.trio__cta { margin-top: auto; }
.trio__btn { display: block; text-align: center; background: var(--gsh-btn-bg); color: var(--gsh-btn-ink); border-radius: var(--gsh-r-pill); padding: .65rem .5rem; font-size: .9rem; font-weight: 600; text-decoration: none; margin-bottom: .5rem; }
.trio__ghost { display: block; text-align: center; font-size: .84rem; color: var(--gsh-sage-700); }
.trio--slim .trio__panel { padding-top: 1.3rem; }
.trio-note { font-size: .84rem; color: var(--gsh-muted); margin-top: 1.4rem; }
.agstrip { margin-top: .8rem; background: var(--gsh-sage-700); color: var(--gsh-on-dark); border-radius: 12px; padding: .85rem 1.2rem; font-size: .92rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.agstrip b { font-family: var(--gsh-font-display); font-weight: 600; }
.agstrip a { color: var(--gsh-on-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(253, 253, 241, .45); padding-bottom: 1px; white-space: nowrap; }
.agstrip a:hover { border-bottom-color: var(--gsh-on-dark); }
/* responsive (shared) */
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; margin-top: 1.8rem; row-gap: 1.4rem; }
  .trio__panel--flag { transform: none; }
  .trio__img { height: 180px; }
}
@media (max-width: 560px) {
  .agstrip a { white-space: normal; }
}
