/* ==========================================================================
   Glayver Design System — glayver.com
   Warm orange primary (#E5642E) + trust teal secondary (#1F7A6B).
   Source of truth: glayver-website-guide.md §2–4.
   Loaded after picostrap bundle.css; versioned by filemtime.
   ========================================================================== */

:root {
  /* Brand */
  --g-primary:        #E5642E;
  --g-primary-hover:  #C24A1B;
  --g-primary-tint:   #FBEDE4;
  --g-secondary:      #1F7A6B;
  --g-secondary-hover:#155E52;
  --g-secondary-tint: #E6F2EF;
  --g-accent:         #F5B93B;
  --g-accent-hover:   #E0A522;
  --g-success:        #3FA66A;

  /* Neutrals (warm) */
  --g-ink:        #2A1810;
  --g-text:       #4A3A32;
  --g-text-muted: #8A7266;
  --g-border:     #EDE4DD;
  --g-bg-subtle:  #FBF6F1;
  --g-bg:         #FBF8F4;
  --g-surface:    #FFFFFF;
  --g-focus-ring: rgba(229, 100, 46, .25);

  /* Type */
  --g-font-heading: 'Sora', 'Noto Sans SC', system-ui, sans-serif;
  --g-font-body:    'Inter', 'Noto Sans SC', system-ui, sans-serif;

  /* Shape & elevation */
  --g-radius-btn:  8px;
  --g-radius-card: 12px;
  --g-radius-img:  16px;
  --g-shadow-card:       0 1px 3px rgba(42, 24, 16, .08);
  --g-shadow-card-hover: 0 8px 24px rgba(42, 24, 16, .12);

  /* Motion — strong custom curves (built-in CSS easings are too weak) */
  --g-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --g-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Bootstrap 5.3 bridge */
  --bs-primary: #E5642E;
  --bs-primary-rgb: 229, 100, 46;
  --bs-secondary: #1F7A6B;
  --bs-secondary-rgb: 31, 122, 107;
  --bs-body-font-family: var(--g-font-body);
  --bs-body-color: var(--g-text);
  --bs-body-bg: var(--g-bg);
  --bs-border-color: var(--g-border);
  --bs-link-color: var(--g-primary);
  --bs-link-hover-color: var(--g-primary-hover);
  --bs-link-color-rgb: 229, 100, 46;
  --bs-link-hover-color-rgb: 194, 74, 27;
  --bs-heading-color: var(--g-ink);
}

/* ---------- Base ---------- */

html { scroll-padding-top: 96px; }

body {
  font-family: var(--g-font-body);
  color: var(--g-text);
  background-color: var(--g-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--g-font-heading);
  color: var(--g-ink);
}

h1, .h1 { font-size: 2.5rem;   font-weight: 700; line-height: 1.15; }
h2, .h2 { font-size: 1.875rem; font-weight: 600; line-height: 1.2; }
h3, .h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

.g-display {
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Tracking is size-specific: tighten large text, leave body near 0 */
h1, .h1 { letter-spacing: -0.015em; }
h2, .h2 { letter-spacing: -0.01em; }

.lead { font-size: 1.125rem; line-height: 1.6; }
.g-measure { max-width: 65ch; }

@media (max-width: 767.98px) {
  .g-display { font-size: 2.25rem; }
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.5rem; }
  html { scroll-padding-top: 80px; }
}

a { color: var(--g-primary); }
a:hover { color: var(--g-primary-hover); }

::selection { background: var(--g-primary-tint); color: var(--g-ink); }

/* Safety net: inline SVGs without explicit width render huge (≈300px). */
main svg:not([width]), #lc-footer svg:not([width]) { width: 1.25em; height: 1.25em; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.form-control:focus, .form-select:focus {
  outline: none;
  box-shadow: 0 0 0 .25rem var(--g-focus-ring) !important;
}

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

.btn {
  font-family: var(--g-font-body);
  font-weight: 600;
  border-radius: var(--g-radius-btn);
  padding: 12px 24px;
  transition: transform 160ms var(--g-ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 8px 16px; }
.btn-lg { padding: 14px 32px; }

.btn-primary {
  background-color: var(--g-primary);
  border-color: var(--g-primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:first-child:active {
  background-color: var(--g-primary-hover);
  border-color: var(--g-primary-hover);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--g-primary);
  color: var(--g-primary);
  background-color: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus,
.btn-outline-primary:active, .btn-outline-primary:first-child:active {
  background-color: var(--g-primary-tint);
  border-color: var(--g-primary);
  color: var(--g-primary-hover);
}

/* Sourcing / trust context CTA */
.btn-teal {
  background-color: var(--g-secondary);
  border-color: var(--g-secondary);
  color: #fff;
}
.btn-teal:hover, .btn-teal:focus, .btn-teal:active {
  background-color: var(--g-secondary-hover);
  border-color: var(--g-secondary-hover);
  color: #fff;
}
.btn-outline-teal {
  border: 1px solid var(--g-secondary);
  color: var(--g-secondary);
  background-color: transparent;
}
.btn-outline-teal:hover, .btn-outline-teal:focus {
  background-color: var(--g-secondary-tint);
  color: var(--g-secondary-hover);
  border-color: var(--g-secondary);
}

/* Product inquiry CTA — dark ink text on amber, never white */
.btn-accent {
  background-color: var(--g-accent);
  border-color: var(--g-accent);
  color: var(--g-ink);
}
.btn-accent:hover, .btn-accent:focus, .btn-accent:active {
  background-color: var(--g-accent-hover);
  border-color: var(--g-accent-hover);
  color: var(--g-ink);
}

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--g-text);
}
.btn-ghost:hover, .btn-ghost:focus {
  background-color: var(--g-bg-subtle);
  color: var(--g-ink);
}

/* Buttons on solid orange/teal bands */
.g-cta-band .btn-light { color: var(--g-primary-hover); font-weight: 600; }

/* ---------- Header / Navbar ---------- */

#lc-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.g-navbar {
  background-color: rgba(251, 248, 244, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(42, 24, 16, .06);
  padding-top: .625rem;
  padding-bottom: .625rem;
}

.g-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--g-font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--g-ink);
  letter-spacing: -0.01em;
}
.g-navbar .navbar-brand img { width: 38px; height: 38px; }
.g-navbar .navbar-brand:hover { color: var(--g-primary); }

.g-navbar .nav-link {
  font-weight: 500;
  color: var(--g-text);
  padding-left: 1rem;
  padding-right: 1rem;
}
.g-navbar .nav-link:hover,
.g-navbar .nav-link:focus,
.g-navbar .nav-link.active { color: var(--g-primary); }

.g-navbar .dropdown-menu {
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-card);
  box-shadow: var(--g-shadow-card-hover);
  padding: .5rem;
  background-color: var(--g-surface);
}
.g-navbar .dropdown-item {
  border-radius: var(--g-radius-btn);
  padding: .5rem .875rem;
  font-weight: 500;
  color: var(--g-text);
}
.g-navbar .dropdown-item:hover, .g-navbar .dropdown-item:focus {
  background-color: var(--g-primary-tint);
  color: var(--g-primary-hover);
}

.g-navbar .navbar-toggler { border-color: var(--g-border); padding: .375rem .625rem; }
.g-navbar .navbar-toggler:focus { box-shadow: 0 0 0 .25rem var(--g-focus-ring); }

@media (min-width: 992px) {
  /* Navbar dropdowns are statically positioned (no Popper) — CSS hover-open is safe */
  .g-navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .g-navbar .dropdown > .dropdown-menu { margin-top: 0; }
}

@media (max-width: 991.98px) {
  .g-navbar .navbar-collapse {
    padding: 1rem 0 .5rem;
    border-top: 1px solid var(--g-border);
    margin-top: .625rem;
  }
  .g-navbar .nav-link { padding: .625rem .25rem; }
  .g-navbar .g-nav-cta { margin: .75rem 0 .25rem; }
}

/* ---------- Sections & utilities ---------- */

.g-section { padding: 80px 0; }
.g-section-lg { padding: 96px 0; }
@media (max-width: 767.98px) {
  .g-section { padding: 56px 0; }
  .g-section-lg { padding: 64px 0; }
}

.bg-cream  { background-color: var(--g-bg-subtle); }
.bg-peach  { background-color: var(--g-primary-tint); }
.bg-tealtint { background-color: var(--g-secondary-tint); }
.bg-ink    { background-color: var(--g-ink); }
.text-teal { color: var(--g-secondary) !important; }
.text-ink  { color: var(--g-ink) !important; }
.text-warm-muted { color: var(--g-text-muted) !important; }

.g-eyebrow {
  display: inline-block;
  font-family: var(--g-font-heading);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g-primary);
  background: var(--g-primary-tint);
  border-radius: 999px;
  padding: .375rem .875rem;
  margin-bottom: 1rem;
}
.g-eyebrow-teal { color: var(--g-secondary); background: var(--g-secondary-tint); }

/* ---------- Cards ---------- */

.g-card {
  background-color: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-card);
  box-shadow: var(--g-shadow-card);
  color: var(--g-text); /* light cards must set their own color — never inherit */
  transition: box-shadow 250ms ease, transform 250ms var(--g-ease-out);
}

/* Equal heights only when a card is the sole child of a grid column —
   stacked sibling cards (e.g. product page sidebar) must NOT stretch */
.row > [class*="col"] > .g-card:only-child { height: 100%; }
@media (hover: hover) and (pointer: fine) {
  .g-card-hover:hover {
    box-shadow: var(--g-shadow-card-hover);
    transform: translateY(-3px);
  }
}
.g-card .card-body { padding: 24px; }
.g-card h3 a, .g-card h4 a { color: var(--g-ink); text-decoration: none; }
.g-card h3 a:hover, .g-card h4 a:hover { color: var(--g-primary); }

/* Media aspect locks (grid stretch protection) */
.g-media-1x1 { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.g-media-4x3 { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.g-media-16x9 { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.g-rounded-img { border-radius: var(--g-radius-img); }

/* Icon chips */
.g-icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--g-primary-tint);
  color: var(--g-primary);
  flex: 0 0 auto;
}
.g-icon-circle svg { width: 26px; height: 26px; }
.g-icon-circle-teal { background: var(--g-secondary-tint); color: var(--g-secondary); }

/* Step card with number badge floating over the top edge */
.g-step-card { position: relative; margin-top: 24px; }
.g-step-badge {
  position: absolute;
  top: -24px;
  left: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

/* Numbered process steps */
.g-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--g-font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  background: var(--g-secondary);
  color: #fff;
}

/* Badges */
.g-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: .25rem .625rem;
}
.g-badge-new  { background: var(--g-accent); color: var(--g-ink); }
.g-badge-hot  { background: var(--g-primary); color: #fff; }
.g-badge-teal { background: var(--g-secondary-tint); color: var(--g-secondary-hover); }
.g-badge-success { background: #E4F3EA; color: #23744A; }

/* Star ratings / trust accents */
.text-amber { color: var(--g-accent) !important; }

/* ---------- Trust bar ---------- */

.g-stat .g-stat-num {
  font-family: var(--g-font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--g-ink);
  line-height: 1.1;
}
.g-stat .g-stat-label { color: var(--g-text-muted); font-size: .875rem; }

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

.g-hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, var(--g-primary-tint) 0%, rgba(251, 237, 228, 0) 60%),
    radial-gradient(700px 420px at -10% 110%, var(--g-secondary-tint) 0%, rgba(230, 242, 239, 0) 55%),
    var(--g-bg);
  position: relative;
  overflow: hidden;
}
.g-hero-mark {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(46vw, 560px);
  opacity: .07;
  pointer-events: none;
}
@media (max-width: 991.98px) { .g-hero-mark { width: 70vw; right: -20%; } }

/* ---------- CTA band ---------- */

.g-cta-band {
  background: linear-gradient(135deg, #E5642E 0%, #C24A1B 100%);
  color: #FBEDE4;
}
.g-cta-band h2, .g-cta-band h3 { color: #fff; }

.g-cta-band-teal {
  background: linear-gradient(135deg, #1F7A6B 0%, #155E52 100%);
  color: #E6F2EF;
}
.g-cta-band-teal h2, .g-cta-band-teal h3 { color: #fff; }

/* ---------- Forms ---------- */

.form-control, .form-select {
  border-radius: var(--g-radius-btn);
  border-color: var(--g-border);
  color: var(--g-text);
  padding: .625rem .875rem;
}
.form-control::placeholder { color: var(--g-text-muted); }
.form-control:focus, .form-select:focus { border-color: var(--g-primary); }

/* Fluent Forms alignment with design system */
.fluentform .ff-btn-submit {
  background-color: var(--g-primary) !important;
  border-color: var(--g-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: var(--g-radius-btn) !important;
  padding: 12px 24px !important;
  transition: all .2s ease;
}
.fluentform .ff-btn-submit:hover {
  background-color: var(--g-primary-hover) !important;
  border-color: var(--g-primary-hover) !important;
}
.fluentform .ff-el-form-control {
  border-radius: var(--g-radius-btn) !important;
  border-color: var(--g-border) !important;
}
.fluentform .ff-el-form-control:focus {
  border-color: var(--g-primary) !important;
  box-shadow: 0 0 0 .25rem var(--g-focus-ring) !important;
}

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

.g-footer {
  background-color: var(--g-ink);
  color: #D9C8BE;
}
.g-footer h4, .g-footer h5 {
  color: #FBF8F4;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.g-footer a {
  color: #D9C8BE;
  text-decoration: none;
  transition: color .15s ease;
}
.g-footer a:hover { color: #fff; }
.g-footer .g-footer-muted { color: #A8907F; font-size: .875rem; }
.g-footer-bottom {
  border-top: 1px solid rgba(251, 248, 244, .12);
}
.g-footer .g-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(251, 248, 244, .08);
}
.g-footer .g-footer-social a:hover { background: var(--g-primary); color: #fff; }
.g-footer .g-footer-social svg { width: 17px; height: 17px; }

/* ---------- Checklist ---------- */

.g-check-list { list-style: none; padding-left: 0; }
.g-check-list li {
  padding-left: 1.875rem;
  position: relative;
  margin-bottom: .625rem;
}
.g-check-list li::before {
  /* Bootstrap Icons: check-circle-fill */
  font-family: 'bootstrap-icons';
  content: "\f26a";
  position: absolute;
  left: 0; top: .1em;
  color: var(--g-success);
  font-size: 1.125rem;
  line-height: 1.4;
}
.g-check-list-orange li::before { color: var(--g-primary); }
.g-check-list-teal li::before { color: var(--g-secondary); }

/* ==========================================================================
   Page-unique modules — one combo per page, never reused
   pet-products: seg-bar, rule-head, strip-peach
   sourcing: ledger, tag pills
   eyewear: media-list, timeline, panel CTA
   pod: big-num steps, centered hero
   about: editorial columns, statement rows, strip-warm
   product single: strip-ink
   ========================================================================== */

/* Segmented category bar (pet hub only) */
.g-seg-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .25rem;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: 999px;
  padding: .375rem;
  box-shadow: var(--g-shadow-card);
}
.g-seg-bar a {
  border-radius: 999px;
  padding: .5rem 1.125rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--g-text);
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.g-seg-bar a:hover { background: var(--g-primary-tint); color: var(--g-primary-hover); }

/* Rule-line section header (pet hub only) */
.g-rule-head { display: flex; align-items: baseline; gap: 1rem; }
.g-rule-head::after { content: ""; flex: 1; height: 1px; background: var(--g-border); transform: translateY(-6px); }
.g-rule-kicker { color: var(--g-text-muted); font-size: .875rem; white-space: nowrap; }

/* Problem → handled ledger (sourcing only) */
.g-ledger {
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-card);
  overflow: hidden;
  background: var(--g-surface);
}
.g-ledger-row { display: grid; grid-template-columns: 1fr 1fr; }
.g-ledger-row + .g-ledger-row { border-top: 1px solid var(--g-border); }
.g-ledger-row > div { padding: 1.25rem 1.5rem; }
.g-ledger-pain { color: var(--g-text-muted); background: var(--g-bg-subtle); }
.g-ledger-fix strong { color: var(--g-ink); }
@media (max-width: 767.98px) { .g-ledger-row { grid-template-columns: 1fr; } .g-ledger-pain { padding-bottom: .5rem; } }

/* Bordered tag pills (sourcing categories — not glass) */
.g-tag {
  display: inline-block;
  border: 1px solid var(--g-border);
  background: var(--g-surface);
  border-radius: 999px;
  padding: .625rem 1.25rem;
  font-weight: 500;
  color: var(--g-text);
}
.g-tag i { color: var(--g-secondary); }

/* Media list rows (eyewear only) */
.g-media-list .g-media-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--g-border);
  align-items: flex-start;
}
.g-media-list .g-media-row:first-child { border-top: 1px solid var(--g-border); }
.g-media-row i { font-size: 1.75rem; color: var(--g-secondary); flex-shrink: 0; width: 2.25rem; text-align: center; }

/* Horizontal numbered timeline (eyewear only) */
.g-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.g-timeline::before {
  content: "";
  position: absolute;
  top: 23px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--g-secondary), var(--g-border));
  opacity: .45;
}
.g-timeline-item { position: relative; text-align: center; }
.g-timeline-item .g-step-num { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--g-bg-subtle); }
@media (max-width: 767.98px) {
  .g-timeline { grid-template-columns: 1fr 1fr; }
  .g-timeline::before { display: none; }
}

/* Outlined display numbers (pod only) */
.g-big-num {
  font-family: var(--g-font-heading);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--g-primary);
  opacity: .85;
}

/* Split strips (one variant per page) */
.g-strip {
  border-radius: var(--g-radius-img);
  padding: 2.75rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (max-width: 767.98px) { .g-strip { padding: 2rem 1.5rem; } }
.g-strip-ink { background: var(--g-ink); color: #D9C8BE; }
.g-strip-ink h2, .g-strip-ink h3 { color: #FBF8F4; }
.g-strip-peach { background: linear-gradient(120deg, var(--g-primary-tint), #FFF7F1); border: 1px solid var(--g-border); }
.g-strip-warm { background: linear-gradient(120deg, #FBF6F1, #FBEDE4); border: 1px solid var(--g-border); }

/* Editorial columns (about only) */
.g-editorial { border-top: 2px solid var(--g-ink); padding-top: 1.5rem; }
.g-editorial .g-editorial-kicker {
  font-family: var(--g-font-heading);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g-secondary);
}

/* Statement rows (about only) */
.g-statement { padding: 1.75rem 0; border-bottom: 1px solid var(--g-border); }
.g-statement h3 { margin-bottom: .375rem; }
.g-statement .g-statement-lead { color: var(--g-primary); }

/* Big arrow link (pod / about endings) */
.g-arrow-link {
  font-family: var(--g-font-heading);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--g-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--g-primary);
  padding-bottom: .375rem;
  transition: color 200ms ease, border-color 200ms ease;
}
.g-arrow-link:hover { color: var(--g-primary-hover); border-color: var(--g-primary-hover); }

/* ==========================================================================
   Blog — editorial reading modules (single-post + index only)
   ========================================================================== */

.g-article {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--g-text);
}
.g-article > * + * { margin-top: 1.25em; }
.g-article h2 { margin-top: 2em; margin-bottom: .6em; font-size: 1.625rem; }
.g-article h3 { margin-top: 1.6em; margin-bottom: .5em; font-size: 1.25rem; }
.g-article img { max-width: 100%; height: auto; border-radius: var(--g-radius-img); }
.g-article a { text-decoration: underline; text-underline-offset: 3px; }
.g-article ul, .g-article ol { padding-left: 1.375rem; }
.g-article li { margin-bottom: .5em; }
.g-article blockquote {
  border-left: 3px solid var(--g-primary);
  background: var(--g-primary-tint);
  border-radius: 0 var(--g-radius-card) var(--g-radius-card) 0;
  padding: 1.125rem 1.5rem;
  font-family: var(--g-font-heading);
  font-weight: 500;
  color: var(--g-ink);
  margin-left: 0;
}
.g-article figcaption { font-size: .8125rem; color: var(--g-text-muted); text-align: center; margin-top: .5rem; }

.g-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  color: var(--g-text-muted);
  font-size: .9375rem;
}

/* Inline quote callout — blog-only CTA module */
.g-callout {
  border: 1px solid var(--g-border);
  border-left: 4px solid var(--g-secondary);
  border-radius: var(--g-radius-card);
  background: var(--g-surface);
  padding: 1.5rem 1.75rem;
}

/* Prev/next post nav */
.g-post-nav a {
  display: block;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-card);
  padding: 1.125rem 1.375rem;
  text-decoration: none;
  color: var(--g-text);
  background: var(--g-surface);
  transition: border-color 200ms ease, box-shadow 250ms ease;
  height: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .g-post-nav a:hover { border-color: var(--g-primary); box-shadow: var(--g-shadow-card); }
}
.g-post-nav .g-post-nav-label { font-size: .8125rem; color: var(--g-text-muted); display: block; margin-bottom: .25rem; }
.g-post-nav .g-post-nav-title { font-family: var(--g-font-heading); font-weight: 600; color: var(--g-ink); }

/* Related posts — borderless reading cards (single post only) */
.g-related-card { display: block; text-decoration: none; color: var(--g-text); }
.g-related-card .g-related-thumb-wrap {
  overflow: hidden;
  border-radius: var(--g-radius-card);
  margin-bottom: 1rem;
}
.g-related-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  transition: transform 400ms var(--g-ease-out);
}
.g-related-card h3 { color: var(--g-ink); transition: color 200ms ease; }
.g-related-card .g-related-read { color: var(--g-primary); font-weight: 600; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .g-related-card:hover img { transform: scale(1.04); }
  .g-related-card:hover h3 { color: var(--g-primary); }
}

/* Blog pagination */
.g-blog-pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 .625rem;
  margin: 0 .1875rem;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-btn);
  background: var(--g-surface);
  color: var(--g-text);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}
.g-blog-pagination .page-numbers.current {
  background: var(--g-primary);
  border-color: var(--g-primary);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .g-blog-pagination a.page-numbers:hover { border-color: var(--g-primary); color: var(--g-primary); }
}

/* Blog index — editorial list rows */
.g-post-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--g-border);
}
.g-post-row:first-child { border-top: 2px solid var(--g-ink); }
.g-post-row .g-post-row-thumb {
  width: 220px;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--g-radius-card);
}
.g-post-row h2 { font-size: 1.375rem; margin-bottom: .5rem; }
.g-post-row h2 a { color: var(--g-ink); text-decoration: none; }
.g-post-row h2 a:hover { color: var(--g-primary); }
@media (max-width: 767.98px) {
  .g-post-row { flex-direction: column; gap: 1rem; }
  .g-post-row .g-post-row-thumb { width: 100%; }
}

/* ==========================================================================
   Homepage section backgrounds — one treatment per section, layered not flat
   ========================================================================== */

/* Stats bar: horizontal warm gradient + paw watermark */
.g-bg-stats {
  background: linear-gradient(100deg, #FBF6F1 0%, #FBEDE4 55%, #FBF6F1 100%);
}
.g-bg-stats::after {
  content: "";
  position: absolute;
  right: -36px; top: -44px;
  width: 220px; height: 220px;
  background: url('/wp-content/uploads/glayver-brand/paw-orange.svg') no-repeat center / contain;
  opacity: .08;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* Dual-entry: vertical peach wash + scattered faint paws */
.g-bg-entries {
  background: linear-gradient(180deg, var(--g-bg) 0%, #FBEFE6 45%, var(--g-bg) 100%);
}
.g-bg-entries::before {
  content: "";
  position: absolute;
  left: -60px; top: 90px;
  width: 300px; height: 300px;
  background: url('/wp-content/uploads/glayver-brand/paw-teal.svg') no-repeat center / contain;
  opacity: .05;
  transform: rotate(22deg);
  pointer-events: none;
}
.g-bg-entries::after {
  content: "";
  position: absolute;
  right: -30px; bottom: 40px;
  width: 180px; height: 180px;
  background: url('/wp-content/uploads/glayver-brand/paw-orange.svg') no-repeat center / contain;
  opacity: .06;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* Product showcase: cream base + colored radial washes */
.g-bg-products {
  background:
    radial-gradient(900px 480px at -5% 0%, rgba(251, 237, 228, .9) 0%, rgba(251, 237, 228, 0) 60%),
    radial-gradient(800px 460px at 105% 100%, rgba(230, 242, 239, .9) 0%, rgba(230, 242, 239, 0) 60%),
    var(--g-bg-subtle);
}

/* Dark sourcing band: real supply-chain photo texture under the gradient */
.g-bg-chain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/glayver-brand/stock/port-aerial.avif') center / cover no-repeat;
  opacity: .10;
  pointer-events: none;
}

/* Why section: faint photographic warmth under a near-solid wash */
.g-bg-why {
  background:
    linear-gradient(rgba(251, 248, 244, .95), rgba(251, 248, 244, .97)),
    url('/wp-content/uploads/glayver-brand/stock/handshake.jpg') center / cover no-repeat fixed;
}
@media (max-width: 991.98px) { .g-bg-why { background-attachment: scroll; } }

/* Testimonials: giant quote glyph watermark + cream */
.g-bg-quotes {
  background: linear-gradient(165deg, #FBF6F1 0%, #FBF8F4 60%, #FBEDE4 100%);
}
.g-bg-quotes::before {
  content: "\f6b0"; /* bi-quote */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 2%; top: -60px;
  font-size: 19rem;
  line-height: 1;
  color: rgba(229, 100, 46, .07);
  pointer-events: none;
}

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

.g-accordion .accordion-item {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-card) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.g-accordion .accordion-button {
  font-family: var(--g-font-heading);
  font-weight: 600;
  color: var(--g-ink);
  background: var(--g-surface);
  padding: 1.125rem 1.375rem;
  box-shadow: none;
}
.g-accordion .accordion-button:not(.collapsed) {
  background: var(--g-primary-tint);
  color: var(--g-primary-hover);
}
.g-accordion .accordion-button:focus {
  border-color: var(--g-primary);
  box-shadow: 0 0 0 .25rem var(--g-focus-ring);
}
.g-accordion .accordion-body { color: var(--g-text); padding: 1.125rem 1.375rem; }

/* ---------- WhatsApp helper ---------- */

.g-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* ---------- Back-to-top spacing under sticky header for anchored sections ---------- */
[id] { scroll-margin-top: 96px; }

/* ==========================================================================
   Layered / gradient / tech effects
   叠加元素 + 渐变 + 辉光，営造神秘感与科技感。
   用法：区块加 .g-layer，内部第一层 .container 自动抬到上层；
   装饰层（.g-orb / .g-ring / .g-hero-mark）绝对定位在底层。
   ========================================================================== */

.g-layer { position: relative; overflow: hidden; }
.g-layer > .container { position: relative; z-index: 2; }

/* Glow orbs — blurred radial lights, layer behind content */
.g-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.g-orb-orange { background: radial-gradient(circle, rgba(229,100,46,.55) 0%, rgba(229,100,46,0) 70%); }
.g-orb-teal   { background: radial-gradient(circle, rgba(31,122,107,.50) 0%, rgba(31,122,107,0) 70%); }
.g-orb-amber  { background: radial-gradient(circle, rgba(245,185,59,.45) 0%, rgba(245,185,59,0) 70%); }

/* Grid overlays removed — Apple-style clean surfaces. Classes .g-grid-overlay(-light) are inert. */

/* Gradient text */
.g-gradient-text {
  background: linear-gradient(92deg, #E5642E 0%, #F5B93B 55%, #C24A1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.g-gradient-text-teal {
  background: linear-gradient(92deg, #1F7A6B 0%, #3FA66A 60%, #155E52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Glass cards */
.g-glass {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.45);
  border-top-color: rgba(255,255,255,.85); /* bright top edge — light catching the material */
  border-radius: var(--g-radius-card);
  box-shadow: 0 8px 32px rgba(42,24,16,.10);
  color: var(--g-text);
}
@media (prefers-reduced-transparency: reduce) {
  .g-glass { background: rgba(255,255,255,.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .g-navbar { background-color: rgba(251,248,244,.98); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.g-glass-dark {
  background: rgba(251,248,244,.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(251,248,244,.13);
  border-radius: var(--g-radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  color: #C4D6D1;
}
.g-glass-dark h3, .g-glass-dark h4, .g-glass-dark h5, .g-glass-dark .g-stat-num { color: #F4FAF8; }

/* Dark tech band — sourcing / supply-chain sections */
.g-dark-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 620px at 82% -15%, rgba(31,122,107,.38) 0%, transparent 60%),
    radial-gradient(900px 520px at 8% 112%, rgba(229,100,46,.16) 0%, transparent 55%),
    linear-gradient(158deg, #131F1C 0%, #0F2B26 55%, #17352F 100%);
  color: #AFC5C0;
}
.g-dark-band h2, .g-dark-band h3, .g-dark-band h4, .g-dark-band h5 { color: #F4FAF8; }
.g-dark-band .g-eyebrow { background: rgba(63,166,106,.14); color: #6FCF97; }
.g-dark-band .g-stat-num { color: #fff; }
.g-dark-band .g-stat-label { color: #8FA8A2; }
.g-dark-band a:not(.btn) { color: #6FCF97; }

/* Gradient-border glow card */
.g-border-glow {
  position: relative;
  border-radius: var(--g-radius-card);
}
.g-border-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(229,100,46,.65), rgba(245,185,59,.35) 45%, rgba(31,122,107,.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Decorative conic ring — retired, kept inert */
.g-ring { display: none; }

/* Overlap pull — stack cards over the previous section edge */
.g-pull-up { margin-top: -72px; position: relative; z-index: 3; }
@media (max-width: 767.98px) { .g-pull-up { margin-top: -44px; } }

/* Soft float animation for decorative layers */
@media (prefers-reduced-motion: no-preference) {
  .g-float { animation: gFloat 9s var(--g-ease-in-out) infinite; }
  .g-float-slow { animation: gFloat 14s var(--g-ease-in-out) infinite; }
}
@keyframes gFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Reduced motion: keep comprehension, drop movement */
@media (prefers-reduced-motion: reduce) {
  .g-float, .g-float-slow { animation: none; }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .btn:active { transform: none; }
}

/* Bootstrap Icons sizing inside design-system chips */
.g-icon-circle i { font-size: 1.5rem; line-height: 1; }
.g-footer-social i { font-size: 17px; line-height: 1; }
.btn i { font-size: 1em; }

/* CTA band — layered highlight */
.g-cta-band, .g-cta-band-teal { position: relative; overflow: hidden; }
.g-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 320px at 85% 15%, rgba(245,185,59,.38) 0%, transparent 60%);
  pointer-events: none;
}
.g-cta-band-teal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 320px at 85% 15%, rgba(63,166,106,.35) 0%, transparent 60%);
  pointer-events: none;
}
.g-cta-band > .container, .g-cta-band-teal > .container { position: relative; z-index: 1; }

