/*
Theme Name: Zion Good Health
Theme URI: https://ziongoodhealth.com/
Author: Zion Good Health
Author URI: https://ziongoodhealth.com/
Description: A bespoke nutrition and fitness theme for Zion Good Health - a child theme of Twenty Twenty-Five. Editorial layouts, an emerald/white/black identity, and hand-built section patterns for dietetics, training, journal and contact pages.
Template: twentytwentyfive
Version: 1.7.2
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zion-good-health
Tags: block-patterns, full-site-editing, custom-colors, custom-menu, wellness
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --zg-ink:            #07130E;
  --zg-ink-2:          #0C2019;
  --zg-ink-3:          #15362A;
  --zg-emerald:        #037951;   /* brand green, from the supplied logo */
  --zg-emerald-deep:   #025C3D;
  --zg-emerald-bright: #16C98D;
  --zg-emerald-soft:   #E8F8F1;
  --zg-mint:           #C9F2DF;
  --zg-white:          #FFFFFF;
  --zg-paper:          #F5F9F7;
  --zg-muted:          #5E726A;
  --zg-line:           rgba(7, 19, 14, .10);
  --zg-line-strong:    rgba(7, 19, 14, .18);
  --zg-line-dark:      rgba(255, 255, 255, .14);

  --zg-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --zg-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --zg-r-xs: 10px;
  --zg-r-sm: 14px;
  --zg-r:    22px;
  --zg-r-lg: 34px;
  --zg-r-xl: 48px;
  --zg-r-pill: 999px;

  --zg-shadow-sm: 0 2px 10px -2px rgba(7, 19, 14, .10);
  --zg-shadow:    0 22px 50px -26px rgba(7, 19, 14, .34);
  --zg-shadow-lg: 0 44px 90px -40px rgba(7, 19, 14, .42);
  --zg-glow:      0 20px 60px -24px rgba(12, 138, 91, .55);

  --zg-max: 1240px;
  --zg-wide: 1440px;
  --zg-gutter: clamp(1.15rem, 4vw, 3rem);
  --zg-section: clamp(4.5rem, 9vw, 8.5rem);

  --zg-ease: cubic-bezier(.22, 1, .36, 1);
  --zg-ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.zg {
  margin: 0;
  background: var(--zg-white);
  color: var(--zg-ink);
  font-family: var(--zg-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.zg.zg-no-scroll { overflow: hidden; }

.zg :where(img) { max-width: 100%; height: auto; display: block; }  /* :where() keeps this base rule from outranking component classes */
.zg :where(a) { color: inherit; }

.zg h1, .zg h2, .zg h3, .zg h4, .zg h5 {
  font-family: var(--zg-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.zg p { margin: 0 0 1.1em; text-wrap: pretty; }
.zg p:last-child { margin-bottom: 0; }

.zg ::selection { background: var(--zg-emerald-bright); color: var(--zg-ink); }

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

.zg-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--zg-ink); color: #fff; padding: .85rem 1.3rem;
  border-radius: 0 0 var(--zg-r-sm) 0; font-weight: 700; font-size: .9rem;
}
.zg-skip:focus { left: 0; }

.zg-sr {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. Type scale
   ========================================================================== */
.zg-display-xl { font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: .95; letter-spacing: -.04em; }
.zg-display-l  { font-size: clamp(2.35rem, 5.6vw, 4.5rem); line-height: 1; letter-spacing: -.035em; }
.zg-display-m  { font-size: clamp(1.95rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; }
.zg-display-s  { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.14; letter-spacing: -.024em; }

.zg-lead {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.6; color: var(--zg-muted); font-weight: 400;
  max-width: 62ch;
}
.zg-ink-invert .zg-lead, .zg-dark .zg-lead { color: rgba(255,255,255,.76); }

.zg-serif-accent {
  font-family: var(--zg-display);
  font-style: italic;
  font-weight: 400;
  color: var(--zg-emerald);
}
.zg-dark .zg-serif-accent { color: var(--zg-emerald-bright); }

.zg-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--zg-sans);
  font-size: .745rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--zg-emerald);
  margin: 0 0 1.15rem;
}
.zg-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--zg-emerald-bright);
  box-shadow: 0 0 0 4px rgba(22, 201, 141, .18);
}
.zg-dark .zg-eyebrow { color: var(--zg-emerald-bright); }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.zg-section { position: relative; padding: var(--zg-section) 0; }
.zg-section--tight { padding: clamp(3rem, 5.5vw, 5rem) 0; }

.zg-container {
  width: 100%; max-width: var(--zg-max);
  margin-inline: auto; padding-inline: var(--zg-gutter);
}
.zg-container--wide { max-width: var(--zg-wide); }
.zg-container--narrow { max-width: 820px; }

.zg-dark { background: var(--zg-ink); color: #fff; }
.zg-dark h1, .zg-dark h2, .zg-dark h3, .zg-dark h4 { color: #fff; }
.zg-paper { background: var(--zg-paper); }
.zg-soft { background: var(--zg-emerald-soft); }

.zg-grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.9rem); }
.zg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.zg-split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.zg-split--text-right { grid-template-columns: .95fr 1.05fr; }
.zg-split--wide-left { grid-template-columns: 1.25fr .75fr; }
.zg-split--narrow-left { grid-template-columns: .85fr 1.15fr; }
.zg-split--top { align-items: start; }
.zg-split--bottom { align-items: end; }

.zg-section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.zg-section-head--center { margin-inline: auto; text-align: center; }
.zg-section-head--center .zg-lead { margin-inline: auto; }

.zg-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem);
}
.zg-head-row .zg-section-head { margin-bottom: 0; }

/* ==========================================================================
   5. Buttons & pills
   ========================================================================== */
.zg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--zg-sans); font-weight: 700; font-size: .95rem;
  letter-spacing: -.01em; line-height: 1;
  padding: 1.075rem 1.75rem; border-radius: var(--zg-r-pill);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .4s var(--zg-ease), background-color .3s ease,
              color .3s ease, border-color .3s ease, box-shadow .4s var(--zg-ease);
  white-space: nowrap;
}
.zg-btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .4s var(--zg-ease); }
.zg-btn:hover { transform: translateY(-3px); }
.zg-btn:hover svg { transform: translateX(3px); }
.zg-btn:active { transform: translateY(-1px); }

.zg-btn--primary { background: var(--zg-ink); color: #fff; box-shadow: var(--zg-shadow-sm); }
.zg-btn--primary:hover { background: var(--zg-emerald); box-shadow: var(--zg-glow); }

.zg-btn--emerald { background: var(--zg-emerald); color: #fff; }
.zg-btn--emerald:hover { background: var(--zg-emerald-deep); box-shadow: var(--zg-glow); }

.zg-btn--ghost { background: transparent; color: var(--zg-ink); border-color: var(--zg-line-strong); }
.zg-btn--ghost:hover { border-color: var(--zg-ink); background: var(--zg-ink); color: #fff; }

.zg-btn--light { background: #fff; color: var(--zg-ink); }
.zg-btn--light:hover { background: var(--zg-mint); }

.zg-dark .zg-btn--ghost,
.zg-cta .zg-btn--ghost,
.zg-band__overlay .zg-btn--ghost { color: #fff; border-color: var(--zg-line-dark); }
.zg-dark .zg-btn--ghost:hover,
.zg-cta .zg-btn--ghost:hover,
.zg-band__overlay .zg-btn--ghost:hover { background: #fff; color: var(--zg-ink); border-color: #fff; }

.zg-btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.zg-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: var(--zg-r-pill);
  background: var(--zg-emerald-soft); color: var(--zg-emerald-deep);
  font-size: .82rem; font-weight: 600; letter-spacing: -.005em;
}
.zg-dark .zg-pill,
.zg-card--dark .zg-pill,
.zg-plan--featured .zg-pill { background: rgba(255,255,255,.10); color: var(--zg-mint); }
.zg-card--emerald .zg-pill { background: rgba(255,255,255,.20); color: #fff; }

.zg-textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  color: var(--zg-emerald-deep); border-bottom: 2px solid transparent;
  padding-bottom: 2px; transition: border-color .3s ease, gap .3s var(--zg-ease);
}
.zg-textlink:hover { border-color: currentColor; gap: .85rem; }
.zg-dark .zg-textlink { color: var(--zg-emerald-bright); }

/* ==========================================================================
   6. Decorative effects
   ========================================================================== */
.zg-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: .5; z-index: 0;
}
.zg-blob--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--zg-emerald-bright), transparent 68%); }
.zg-blob--b { width: 38vw; height: 38vw; max-width: 500px; max-height: 500px;
  background: radial-gradient(circle at 60% 40%, var(--zg-mint), transparent 66%); }

.zg-grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.zg-rings {
  position: absolute; inset: auto; pointer-events: none; z-index: 0;
  width: 420px; height: 420px; opacity: .35;
  background-image:
    repeating-radial-gradient(circle at center, transparent 0 38px,
      rgba(12,138,91,.22) 38px 39px);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at center, #000 38%, transparent 72%);
          mask-image: radial-gradient(circle at center, #000 38%, transparent 72%);
}
.zg-dark .zg-rings {
  background-image: repeating-radial-gradient(circle at center, transparent 0 38px,
    rgba(255,255,255,.10) 38px 39px);
}

.zg-dots {
  position: absolute; pointer-events: none; z-index: 0;
  width: 190px; height: 190px; opacity: .55;
  background-image: radial-gradient(var(--zg-emerald-bright) 1.6px, transparent 1.7px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 78%);
          mask-image: linear-gradient(135deg, #000, transparent 78%);
}

.zg-ticker-wrap { overflow: hidden; position: relative; }
.zg-ticker {
  display: flex; width: max-content; gap: 0;
  animation: zg-scroll 42s linear infinite;
}
.zg-ticker__group {
  display: flex; align-items: center; gap: clamp(1.6rem, 3.4vw, 3.1rem);
  padding-right: clamp(1.6rem, 3.4vw, 3.1rem); flex: none;
}
.zg-ticker__item {
  display: inline-flex; align-items: center; gap: .9rem; flex: none;
  font-family: var(--zg-display); font-size: clamp(1.25rem, 2.5vw, 2.05rem);
  font-weight: 500; letter-spacing: -.02em; white-space: nowrap;
}
.zg-ticker__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--zg-emerald-bright); flex: none; }
.zg-ticker-wrap:hover .zg-ticker { animation-play-state: paused; }
@keyframes zg-scroll { to { transform: translateX(-50%); } }

/* Reveal on scroll */
.zg-reveal { opacity: 0; transform: translateY(26px); }
.zg-in .zg-reveal,
.zg-reveal.zg-in {
  opacity: 1; transform: none;
  transition: opacity .85s var(--zg-ease), transform .85s var(--zg-ease);
}
.zg-reveal.zg-d1 { transition-delay: .09s; }
.zg-reveal.zg-d2 { transition-delay: .18s; }
.zg-reveal.zg-d3 { transition-delay: .27s; }
.zg-reveal.zg-d4 { transition-delay: .36s; }
.zg-reveal.zg-d5 { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .zg-reveal { opacity: 1 !important; transform: none !important; }
  .zg-ticker { animation: none; }
  .zg *, .zg *::before, .zg *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   7. Site header
   ========================================================================== */
.zg-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
          backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.zg-header.is-stuck {
  border-bottom-color: var(--zg-line);
  box-shadow: 0 10px 34px -28px rgba(7,19,14,.6);
}
.zg-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 80px;
}
@media (min-width: 1024px) { .zg-header__inner { height: 92px; } }

.zg-brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.zg-brand__logo { display: block; width: auto; height: 46px; }
@media (max-width: 1023px) { .zg-brand__logo { height: 38px; } }
.zg-footer .zg-brand__logo { height: 52px; }
/* The header overlays the dark mobile menu, so the lockup swaps to reverse. */
.zg-brand__logo--rev { display: none; }
.zg-no-scroll .zg-header .zg-brand__logo { display: none; }
.zg-no-scroll .zg-header .zg-brand__logo--rev { display: block; }
.zg-brand__mark { width: 40px; height: 40px; flex: none; }
.zg-brand__text { display: flex; flex-direction: column; line-height: 1; }
.zg-brand__name {
  font-family: var(--zg-display); font-weight: 700; font-size: 1.22rem;
  letter-spacing: -.035em; color: var(--zg-ink);
}
.zg-brand__tag {
  font-size: .625rem; font-weight: 700; letter-spacing: .19em;
  text-transform: uppercase; color: var(--zg-emerald); margin-top: .26rem;
}

.zg-nav { display: none; }
@media (min-width: 1024px) { .zg-nav { display: flex; align-items: center; gap: .3rem; } }
.zg-nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .935rem;
  color: var(--zg-ink); padding: .62rem .95rem; border-radius: var(--zg-r-pill);
  transition: background-color .3s ease, color .3s ease;
}
.zg-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .34rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--zg-emerald-bright);
  transform: translate(-50%, 6px) scale(0); transition: transform .35s var(--zg-ease);
}
.zg-nav a:hover { background: var(--zg-emerald-soft); color: var(--zg-emerald-deep); }
.zg-nav a[aria-current="page"]::after { transform: translate(-50%, 0) scale(1); }

.zg-header__cta { display: none; }
@media (min-width: 1024px) { .zg-header__cta { display: inline-flex; } }

.zg-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--zg-line-strong);
  border-radius: 50%; background: #fff; cursor: pointer; flex: none;
}
@media (min-width: 1024px) { .zg-burger { display: none; } }
.zg-burger span:not(.zg-sr) {
  display: block; height: 2px; width: 100%; background: var(--zg-ink); border-radius: 2px;
  transition: transform .4s var(--zg-ease), opacity .25s ease;
}
.zg-burger[aria-expanded="true"] span:not(.zg-sr):nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zg-burger[aria-expanded="true"] span:not(.zg-sr):nth-child(2) { opacity: 0; }
.zg-burger[aria-expanded="true"] span:not(.zg-sr):nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.zg-mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--zg-ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--zg-gutter) 3rem;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--zg-ease), transform .5s var(--zg-ease), visibility .4s;
}
.zg-mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.zg-mobile-menu nav a {
  display: block; text-decoration: none; color: #fff;
  font-family: var(--zg-display); font-size: clamp(2rem, 9vw, 3.1rem);
  font-weight: 600; letter-spacing: -.035em; padding: .42rem 0;
  border-bottom: 1px solid var(--zg-line-dark);
}
.zg-mobile-menu nav a:hover { color: var(--zg-emerald-bright); }
.zg-mobile-menu__foot a { text-decoration: none; }

/* While the overlay is open the sticky header must not read as a grey band. */
.zg-no-scroll .zg-header {
  background: transparent; box-shadow: none; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.zg-no-scroll .zg-burger { background: transparent; border-color: var(--zg-line-dark); }
.zg-no-scroll .zg-burger span:not(.zg-sr) { background: #fff; }
.zg-mobile-menu__foot { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 1024px) { .zg-mobile-menu { display: none; } }

/* ==========================================================================
   8. Hero
   ========================================================================== */
.zg-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.zg-hero .zg-blob--a { top: -16%; right: -12%; }
.zg-hero .zg-blob--b { bottom: -22%; left: -14%; opacity: .42; }
.zg-hero__inner { position: relative; z-index: 2; }

.zg-hero__grid {
  display: grid; gap: clamp(2.4rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .zg-hero__grid { grid-template-columns: 1.02fr .98fr; } }

.zg-hero__title { margin: 0 0 1.4rem; }
.zg-hero__title em { font-style: italic; color: var(--zg-emerald); font-weight: 400; }

.zg-hero__meta {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--zg-line);
}
.zg-avatars { display: flex; }
.zg-avatars img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-left: -14px; box-shadow: var(--zg-shadow-sm);
}
.zg-avatars img:first-child { margin-left: 0; }
.zg-hero__meta-text { font-size: .9rem; color: var(--zg-muted); line-height: 1.45; }
.zg-hero__meta-text strong { color: var(--zg-ink); display: block; font-size: .98rem; }

/* Hero collage */
.zg-collage { position: relative; }
.zg-collage__main {
  border-radius: var(--zg-r-xl); overflow: hidden;
  box-shadow: var(--zg-shadow-lg); aspect-ratio: 4 / 3.15;
}
.zg-collage__main img { width: 100%; height: 100%; object-fit: cover; }
.zg-collage__chip {
  position: absolute; background: #fff; border-radius: var(--zg-r);
  box-shadow: var(--zg-shadow); padding: .95rem 1.15rem;
  display: flex; align-items: center; gap: .8rem; z-index: 3;
}
.zg-collage__chip--tl { top: 7%; left: -5%; }
.zg-collage__chip--br { bottom: 7%; right: -4%; }
@media (max-width: 560px) {
  .zg-collage__chip--tl { left: -2%; top: 3%; transform: scale(.88); transform-origin: left top; }
  .zg-collage__chip--br { right: -2%; bottom: 3%; transform: scale(.88); transform-origin: right bottom; }
}
.zg-collage__chip-icon {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--zg-emerald-soft); color: var(--zg-emerald-deep);
}
.zg-collage__chip-icon svg { width: 22px; height: 22px; }
.zg-collage__chip-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--zg-muted); font-weight: 700; }
.zg-collage__chip-value { font-family: var(--zg-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.zg-collage__badge {
  position: absolute; z-index: 3; top: -3%; right: 4%;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--zg-ink); color: #fff; display: grid; place-items: center;
  text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.35; padding: .6rem;
  box-shadow: var(--zg-shadow);
}
@media (max-width: 560px) { .zg-collage__badge { width: 86px; height: 86px; font-size: .58rem; } }

/* ==========================================================================
   9. Cards
   ========================================================================== */
.zg-card {
  position: relative; background: #fff; border: 1px solid var(--zg-line);
  border-radius: var(--zg-r-lg); padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: flex; flex-direction: column; gap: .85rem; overflow: hidden;
  transition: transform .5s var(--zg-ease), box-shadow .5s var(--zg-ease), border-color .4s ease;
}
.zg-card:hover { transform: translateY(-6px); box-shadow: var(--zg-shadow); border-color: transparent; }
.zg-card h3 { margin: 0; font-size: clamp(1.22rem, 1.9vw, 1.5rem); }
.zg-card p { color: var(--zg-muted); font-size: .965rem; margin: 0; }

.zg-card__icon {
  width: 54px; height: 54px; border-radius: 17px; flex: none;
  display: grid; place-items: center; margin-bottom: .3rem;
  background: var(--zg-emerald-soft); color: var(--zg-emerald-deep);
  transition: background-color .4s ease, color .4s ease, transform .5s var(--zg-ease);
}
.zg-card__icon svg { width: 26px; height: 26px; }
.zg-card:hover .zg-card__icon { background: var(--zg-emerald); color: #fff; transform: rotate(-6deg) scale(1.05); }

.zg-card__num {
  font-family: var(--zg-display); font-size: 3.1rem; font-weight: 700;
  line-height: 1; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1.5px var(--zg-line-strong);
}
.zg-card--dark { background: var(--zg-ink-2); border-color: transparent; color: #fff; }
.zg-card--dark h3 { color: #fff; }
.zg-card--dark p { color: rgba(255,255,255,.72); }
.zg-card--dark .zg-card__icon { background: rgba(255,255,255,.1); color: var(--zg-emerald-bright); }
.zg-card--emerald { background: var(--zg-emerald); border-color: transparent; color: #fff; }
.zg-card--emerald h3 { color: #fff; }
.zg-card--emerald p { color: rgba(255,255,255,.86); }
.zg-card--emerald .zg-card__icon { background: rgba(255,255,255,.18); color: #fff; }

.zg-card > .zg-textlink { margin-top: auto; padding-top: .35rem; }
.zg-card__media { margin: -.4rem -.4rem .4rem; border-radius: var(--zg-r); overflow: hidden; aspect-ratio: 3/2; }
.zg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--zg-ease); }
.zg-card:hover .zg-card__media img { transform: scale(1.06); }

/* Bento */
.zg-bento { display: grid; gap: clamp(1rem, 1.9vw, 1.5rem); grid-template-columns: repeat(6, 1fr); }
.zg-bento > * { grid-column: span 6; }
@media (min-width: 760px) {
  .zg-bento > * { grid-column: span 3; }
  .zg-bento__wide { grid-column: span 6; }
}
@media (min-width: 1040px) {
  .zg-bento > * { grid-column: span 2; }
  .zg-bento__wide { grid-column: span 4; }
  .zg-bento__tall { grid-row: span 2; }
}

/* ==========================================================================
   10. Stats
   ========================================================================== */
.zg-stats { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .zg-stats { grid-template-columns: repeat(4, 1fr); } }
.zg-stat__value {
  font-family: var(--zg-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.5rem, 5vw, 3.9rem); letter-spacing: -.045em;
  display: flex; align-items: baseline; gap: .08em;
}
.zg-stat__suffix { color: var(--zg-emerald-bright); }
.zg-stat__label {
  margin-top: .6rem; font-size: .9rem; color: var(--zg-muted); line-height: 1.45; max-width: 24ch;
}
.zg-dark .zg-stat__label { color: rgba(255,255,255,.66); }
.zg-stat { padding-top: 1.4rem; border-top: 2px solid var(--zg-line); }
.zg-dark .zg-stat { border-top-color: var(--zg-line-dark); }

/* ==========================================================================
   11. Process steps
   ========================================================================== */
.zg-steps { display: grid; gap: clamp(1.2rem, 2.4vw, 1.9rem); counter-reset: zgstep; }
@media (min-width: 900px) { .zg-steps--4 { grid-template-columns: repeat(4, 1fr); } .zg-steps--3 { grid-template-columns: repeat(3, 1fr); } }
.zg-step { position: relative; padding-top: 2.9rem; }
.zg-step::before {
  counter-increment: zgstep; content: "0" counter(zgstep);
  position: absolute; top: 0; left: 0;
  font-family: var(--zg-display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: .02em; color: var(--zg-emerald-deep);
  background: var(--zg-emerald-soft); border-radius: var(--zg-r-pill);
  padding: .38rem .85rem;
}
.zg-step::after {
  content: ""; position: absolute; top: 1.12rem; left: 4.6rem; right: -1rem;
  height: 1px; background: repeating-linear-gradient(90deg, var(--zg-line-strong) 0 5px, transparent 5px 11px);
}
.zg-steps > .zg-step:last-child::after { display: none; }
@media (max-width: 899px) { .zg-step::after { display: none; } }
.zg-step h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); margin-bottom: .5rem; }
.zg-step p { color: var(--zg-muted); font-size: .955rem; margin: 0; }
.zg-dark .zg-step::before { background: rgba(255,255,255,.1); color: var(--zg-emerald-bright); }
.zg-dark .zg-step p { color: rgba(255,255,255,.7); }
.zg-dark .zg-step::after { background: repeating-linear-gradient(90deg, var(--zg-line-dark) 0 5px, transparent 5px 11px); }

/* ==========================================================================
   12. Testimonials
   ========================================================================== */
.zg-quotes {
  display: grid; gap: clamp(1.1rem, 2vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .zg-quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .zg-quotes--3 { grid-template-columns: repeat(3, 1fr); } }

.zg-quote {
  background: #fff; border: 1px solid var(--zg-line); border-radius: var(--zg-r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.15rem); display: flex; flex-direction: column; gap: 1.15rem;
  position: relative; transition: transform .5s var(--zg-ease), box-shadow .5s var(--zg-ease);
}
.zg-quote:hover { transform: translateY(-5px); box-shadow: var(--zg-shadow); }
.zg-quote__stars { display: flex; gap: .18rem; color: #F5A524; }
.zg-quote__stars svg { width: 17px; height: 17px; }
.zg-quote__text { font-size: 1.035rem; line-height: 1.62; margin: 0; flex: 1; }
.zg-quote__text::before { content: "\201C"; font-family: var(--zg-display); color: var(--zg-emerald-bright); font-size: 1.4em; line-height: 0; vertical-align: -.22em; margin-right: .06em; }
.zg-quote__person { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--zg-line); }
.zg-quote__person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.zg-quote__name { font-weight: 700; font-size: .975rem; line-height: 1.25; }
.zg-quote__role { font-size: .83rem; color: var(--zg-muted); }
.zg-quote--feature { background: var(--zg-ink); color: #fff; border-color: transparent; }
.zg-quote--feature .zg-quote__person { border-top-color: var(--zg-line-dark); }
.zg-quote--feature .zg-quote__role { color: rgba(255,255,255,.62); }
.zg-dark .zg-quote { background: var(--zg-ink-2); border-color: var(--zg-line-dark); color: #fff; }
.zg-dark .zg-quote__person { border-top-color: var(--zg-line-dark); }
.zg-dark .zg-quote__role { color: rgba(255,255,255,.62); }

.zg-rail {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem); overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 1.2rem;
  scrollbar-width: thin; scrollbar-color: var(--zg-line-strong) transparent;
  margin-inline: calc(var(--zg-gutter) * -1); padding-inline: var(--zg-gutter);
}
.zg-rail > * { flex: 0 0 min(88vw, 400px); scroll-snap-align: start; }
.zg-rail::-webkit-scrollbar { height: 6px; }
.zg-rail::-webkit-scrollbar-thumb { background: var(--zg-line-strong); border-radius: 999px; }

/* ==========================================================================
   13. Accordion (FAQ)
   ========================================================================== */
.zg-faq { display: grid; gap: .8rem; }
.zg-faq__item {
  border: 1px solid var(--zg-line); border-radius: var(--zg-r);
  background: #fff; overflow: hidden; transition: border-color .3s ease, box-shadow .4s ease;
}
.zg-faq__item[open] { border-color: var(--zg-emerald); box-shadow: var(--zg-shadow-sm); }
.zg-faq__item summary {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  font-weight: 700; font-size: 1.035rem; letter-spacing: -.012em;
}
.zg-faq__item summary::-webkit-details-marker { display: none; }
.zg-faq__item summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--zg-line-strong);
  background:
    linear-gradient(var(--zg-ink), var(--zg-ink)) center/11px 1.6px no-repeat,
    linear-gradient(var(--zg-ink), var(--zg-ink)) center/1.6px 11px no-repeat;
  transition: transform .45s var(--zg-ease), border-color .3s ease;
}
.zg-faq__item[open] summary::after {
  transform: rotate(135deg); border-color: var(--zg-emerald);
}
.zg-faq__body { padding: 0 1.5rem 1.4rem; color: var(--zg-muted); font-size: .985rem; }
.zg-faq__body p { margin-bottom: .75rem; }

/* ==========================================================================
   14. Pricing
   ========================================================================== */
.zg-plans { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .zg-plans { grid-template-columns: repeat(3, 1fr); } }
.zg-plan {
  background: #fff; border: 1px solid var(--zg-line); border-radius: var(--zg-r-lg);
  padding: clamp(1.7rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 1.1rem;
  position: relative; transition: transform .5s var(--zg-ease), box-shadow .5s var(--zg-ease);
}
.zg-plan:hover { transform: translateY(-6px); box-shadow: var(--zg-shadow); }
.zg-plan--featured { background: var(--zg-ink); color: #fff; border-color: transparent; }
.zg-plan--featured h3 { color: #fff; }
.zg-plan__flag {
  position: absolute; top: 1.3rem; right: 1.3rem;
  background: var(--zg-emerald-bright); color: var(--zg-ink);
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .36rem .7rem; border-radius: var(--zg-r-pill);
}
.zg-plan__name { font-size: 1.3rem; margin: 0; }
.zg-plan__desc { font-size: .93rem; color: var(--zg-muted); margin: 0; }
.zg-plan--featured .zg-plan__desc { color: rgba(255,255,255,.72); }
.zg-plan__price { font-family: var(--zg-display); font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; gap: .3rem; }
.zg-plan__price small { font-family: var(--zg-sans); font-size: .85rem; font-weight: 600; color: var(--zg-muted); letter-spacing: 0; }
.zg-plan--featured .zg-plan__price small { color: rgba(255,255,255,.66); }
.zg-plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .72rem; flex: 1; }
.zg-plan__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; line-height: 1.5; }
.zg-plan__list svg { width: 19px; height: 19px; flex: none; margin-top: .14rem; color: var(--zg-emerald); }
.zg-plan--featured .zg-plan__list svg { color: var(--zg-emerald-bright); }
.zg-plan__divider { height: 1px; background: var(--zg-line); }
.zg-plan--featured .zg-plan__divider { background: var(--zg-line-dark); }

/* ==========================================================================
   15. Media figures
   ========================================================================== */
.zg-figure { position: relative; border-radius: var(--zg-r-lg); overflow: hidden; box-shadow: var(--zg-shadow); }
.zg-figure img { width: 100%; height: 100%; object-fit: cover; }
.zg-figure--tall { aspect-ratio: 3/4; }
.zg-figure--square { aspect-ratio: 1/1; }
.zg-figure--wide { aspect-ratio: 16/10; }
.zg-figure--strip { aspect-ratio: 24/7; }
.zg-figure--portrait { aspect-ratio: 4/5; }
.zg-figure--blob { border-radius: 48% 52% 42% 58% / 54% 44% 56% 46%; }

.zg-media-stack { display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem); grid-template-columns: repeat(2, 1fr); }
.zg-media-stack > :first-child { grid-column: span 2; }

.zg-band { position: relative; overflow: hidden; }
.zg-band__img { width: 100%; height: clamp(260px, 40vw, 460px); object-fit: cover; }
.zg-band__overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(to bottom, rgba(7,19,14,.80), rgba(7,19,14,.60));
  color: #fff; padding: var(--zg-gutter);
}

/* ==========================================================================
   16. Forms
   ========================================================================== */
.zg-form { display: grid; gap: 1.05rem; }
.zg-form__row { display: grid; gap: 1.05rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .zg-form__row--2 { grid-template-columns: repeat(2, 1fr); } }
.zg-field { display: grid; gap: .45rem; }
.zg-field label { font-size: .855rem; font-weight: 700; letter-spacing: -.005em; }
.zg-field label span { color: var(--zg-emerald); }
.zg-field input, .zg-field select, .zg-field textarea {
  width: 100%; font: inherit; font-size: .975rem; color: var(--zg-ink);
  background: #fff; border: 1.5px solid var(--zg-line-strong);
  border-radius: var(--zg-r-sm); padding: .92rem 1.05rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.zg-field textarea { min-height: 142px; resize: vertical; }
.zg-field input:focus, .zg-field select:focus, .zg-field textarea:focus {
  outline: none; border-color: var(--zg-emerald);
  box-shadow: 0 0 0 4px rgba(22,201,141,.16);
}
.zg-field input::placeholder, .zg-field textarea::placeholder { color: #9AA8A2; }
.zg-form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .855rem; color: var(--zg-muted); }
.zg-form__consent input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--zg-emerald); }
.zg-notice {
  padding: 1rem 1.2rem; border-radius: var(--zg-r-sm); font-size: .93rem; font-weight: 600;
  border: 1.5px solid transparent;
}
.zg-notice--ok { background: var(--zg-emerald-soft); color: var(--zg-emerald-deep); border-color: rgba(12,138,91,.28); }
.zg-notice--err { background: #FDECEC; color: #A32020; border-color: rgba(163,32,32,.25); }

.zg-contact-card {
  background: var(--zg-ink); color: #fff; border-radius: var(--zg-r-lg);
  padding: clamp(1.7rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start;
}
.zg-contact-item { display: flex; gap: .95rem; align-items: flex-start; }
.zg-contact-item > span { min-width: 0; }
.zg-contact-item__value { overflow-wrap: anywhere; }
.zg-contact-item__icon {
  width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--zg-emerald-bright);
}
.zg-contact-item__icon svg { width: 21px; height: 21px; }
.zg-contact-item__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); font-weight: 700; }
.zg-contact-item__value { font-weight: 600; font-size: 1rem; margin-top: .2rem; }
.zg-contact-item a { text-decoration: none; }
.zg-contact-item a:hover { color: var(--zg-emerald-bright); }

/* ==========================================================================
   17. Social & Instagram strip
   ========================================================================== */
.zg-socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.zg-social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--zg-line-strong); color: var(--zg-ink); text-decoration: none;
  transition: background-color .35s ease, color .35s ease, transform .4s var(--zg-ease), border-color .3s ease;
}
.zg-social svg { width: 20px; height: 20px; }
.zg-social:hover { background: var(--zg-emerald); color: #fff; border-color: var(--zg-emerald); transform: translateY(-3px); }
.zg-dark .zg-social,
.zg-footer .zg-social,
.zg-mobile-menu .zg-social,
.zg-contact-card .zg-social { border-color: var(--zg-line-dark); color: #fff; }
.zg-dark .zg-social:hover,
.zg-footer .zg-social:hover,
.zg-mobile-menu .zg-social:hover,
.zg-contact-card .zg-social:hover { background: var(--zg-emerald-bright); color: var(--zg-ink); border-color: var(--zg-emerald-bright); }

.zg-ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.6rem, 1.3vw, 1rem); }
@media (min-width: 680px) { .zg-ig-grid { grid-template-columns: repeat(4, 1fr); } }
.zg-ig-tile { position: relative; aspect-ratio: 1/1; border-radius: var(--zg-r); overflow: hidden; display: block; }
.zg-ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--zg-ease); }
.zg-ig-tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(7,19,14,.42);
  opacity: 0; transition: opacity .4s ease;
}
.zg-ig-tile:hover img { transform: scale(1.08); }
.zg-ig-tile:hover::after { opacity: 1; }
.zg-ig-tile__icon {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; z-index: 2;
  color: #fff; opacity: 0; transition: opacity .4s ease, transform .5s var(--zg-ease);
  transform: scale(.8);
}
.zg-ig-tile:hover .zg-ig-tile__icon { opacity: 1; transform: scale(1); }

/* ==========================================================================
   18. Journal / blog
   ========================================================================== */
.zg-posts { display: grid; gap: clamp(1.3rem, 2.4vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .zg-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .zg-posts--3 { grid-template-columns: repeat(3, 1fr); } }

.zg-post { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.zg-post__media {
  border-radius: var(--zg-r-lg); overflow: hidden; aspect-ratio: 4/3;
  background: var(--zg-emerald-soft); position: relative;
}
.zg-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--zg-ease); }
.zg-post:hover .zg-post__media img { transform: scale(1.055); }
.zg-post__cat {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--zg-emerald-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .4rem .78rem; border-radius: var(--zg-r-pill);
}
.zg-post__meta { font-size: .8rem; color: var(--zg-muted); display: flex; gap: .55rem; align-items: center; }
.zg-post__meta span { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.zg-post__title { font-size: clamp(1.2rem, 1.85vw, 1.46rem); margin: 0; transition: color .3s ease; }
.zg-post:hover .zg-post__title { color: var(--zg-emerald-deep); }
.zg-post__excerpt { color: var(--zg-muted); font-size: .95rem; margin: 0; }

.zg-post--feature { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .zg-post--feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem, 3vw, 2.8rem); align-items: center; }
  .zg-post--feature .zg-post__media { aspect-ratio: 16/11; }
  .zg-post--feature .zg-post__title { font-size: clamp(1.7rem, 3vw, 2.6rem); }
}

.zg-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.zg-pagination .page-numbers {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .9rem;
  border-radius: var(--zg-r-pill); border: 1px solid var(--zg-line-strong);
  text-decoration: none; font-weight: 700; font-size: .93rem;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.zg-pagination .page-numbers:hover { background: var(--zg-emerald-soft); border-color: var(--zg-emerald); }
.zg-pagination .page-numbers.current { background: var(--zg-ink); color: #fff; border-color: var(--zg-ink); }

/* Single post */
.zg-article { max-width: 760px; margin-inline: auto; }
.zg-article > * { margin-bottom: 1.35rem; }
.zg-article h2 { font-size: clamp(1.6rem, 2.9vw, 2.2rem); margin-top: 2.4rem; }
.zg-article h3 { font-size: clamp(1.28rem, 2.1vw, 1.6rem); margin-top: 1.9rem; }
.zg-article ul, .zg-article ol { padding-left: 1.25rem; color: var(--zg-muted); display: grid; gap: .5rem; }
.zg-article li::marker { color: var(--zg-emerald); }
.zg-article blockquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem; border-left: 3px solid var(--zg-emerald);
  background: var(--zg-emerald-soft); border-radius: 0 var(--zg-r) var(--zg-r) 0;
  font-family: var(--zg-display); font-size: 1.2rem; font-style: italic; line-height: 1.5;
}
.zg-article img, .zg-article figure img { border-radius: var(--zg-r); }
.zg-article a:not(.zg-btn) { color: var(--zg-emerald-deep); text-underline-offset: 3px; }

.zg-post-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.zg-post-hero__meta { display: flex; gap: .7rem; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .87rem; color: var(--zg-muted); margin-top: 1.4rem; }

/* ==========================================================================
   19. CTA band
   ========================================================================== */
.zg-cta {
  position: relative; overflow: hidden; border-radius: var(--zg-r-xl);
  background: var(--zg-ink); color: #fff;
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
}
.zg-cta .zg-blob--a { top: -45%; left: -8%; opacity: .34; }
.zg-cta .zg-blob--b { bottom: -52%; right: -6%; opacity: .26; }
.zg-cta > :not(.zg-blob) { position: relative; z-index: 2; }
.zg-cta h2 { margin-bottom: 1rem; }
.zg-cta .zg-lead { margin-inline: auto; margin-bottom: 2rem; color: rgba(255,255,255,.76); }
.zg-cta .zg-btn-row { justify-content: center; }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.zg-footer { background: var(--zg-ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.zg-footer a { text-decoration: none; }
.zg-footer__grid { display: grid; gap: clamp(2rem, 4vw, 3.2rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .zg-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1040px) { .zg-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.25fr; } }
.zg-footer__brandline { max-width: 34ch; color: rgba(255,255,255,.66); font-size: .95rem; margin: 1.2rem 0 1.7rem; }
.zg-footer .zg-brand__name { color: #fff; }
.zg-footer h4 { font-family: var(--zg-sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 1.1rem; font-weight: 700; }
.zg-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .72rem; }
.zg-footer__links a { color: rgba(255,255,255,.82); font-size: .95rem; transition: color .3s ease, padding-left .35s var(--zg-ease); }
.zg-footer__links a:hover { color: var(--zg-emerald-bright); padding-left: .3rem; }
.zg-footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.7rem; border-top: 1px solid var(--zg-line-dark);
  display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.52);
  /* keep clear of the floating back-to-top button */
  padding-right: 76px;
}
@media (max-width: 760px) {
  .zg-footer__bottom { padding-right: 0; padding-bottom: 64px; }
}
.zg-footer__bottom a:hover { color: #fff; }
.zg-footer__wordmark {
  font-family: var(--zg-display); font-weight: 700; letter-spacing: -.045em;
  font-size: clamp(3.4rem, 15vw, 11rem); line-height: .82; margin-top: clamp(2rem, 5vw, 3.5rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  text-align: center; user-select: none; white-space: nowrap;
}
.zg-newsletter { display: flex; gap: .5rem; margin-top: .3rem; }
.zg-newsletter input {
  flex: 1; min-width: 0; font: inherit; font-size: .92rem; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid var(--zg-line-dark);
  border-radius: var(--zg-r-pill); padding: .82rem 1.1rem;
}
.zg-newsletter input::placeholder { color: rgba(255,255,255,.44); }
.zg-newsletter input:focus { outline: none; border-color: var(--zg-emerald-bright); }
.zg-newsletter button {
  flex: none; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px;
  background: var(--zg-emerald-bright); color: var(--zg-ink); display: grid; place-items: center;
  transition: transform .4s var(--zg-ease), background-color .3s ease;
}
.zg-newsletter button:hover { transform: translateY(-2px) scale(1.04); }
.zg-newsletter button svg { width: 19px; height: 19px; }

/* ==========================================================================
   21. Page hero (inner pages)
   ========================================================================== */
.zg-pagehero { position: relative; overflow: hidden; padding: clamp(3rem, 6.5vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.zg-pagehero .zg-blob--a { top: -40%; right: -10%; opacity: .34; }
.zg-pagehero__inner { position: relative; z-index: 2; }
.zg-crumbs { font-size: .83rem; color: var(--zg-muted); margin-bottom: 1.1rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.zg-crumbs a { text-decoration: none; }
.zg-crumbs a:hover { color: var(--zg-emerald-deep); }
.zg-crumbs span { opacity: .45; }

/* ==========================================================================
   22. Utilities
   ========================================================================== */
.zg-mt-s { margin-top: 1rem; } .zg-mt-m { margin-top: 2rem; } .zg-mt-l { margin-top: 3rem; }
.zg-center { text-align: center; }
.zg-relative { position: relative; z-index: 2; }
.zg-divider { height: 1px; background: var(--zg-line); border: 0; margin: 0; }
.zg-dark .zg-divider { background: var(--zg-line-dark); }

@media (max-width: 979px) {
  .zg-split,
  .zg-split--text-right,
  .zg-split--wide-left,
  .zg-split--narrow-left { grid-template-columns: 1fr; }
  .zg-split--text-right > :first-child { order: 2; }
  .zg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .zg-grid--2, .zg-grid--3, .zg-grid--4 { grid-template-columns: 1fr; }
  .zg-media-stack { grid-template-columns: 1fr; }
  .zg-media-stack > :first-child { grid-column: auto; }
}

/* ==========================================================================
   23. WordPress block + editor bridges
   ========================================================================== */
.zg .wp-block-group.alignfull { margin-inline: 0; max-width: none; }
.zg .entry-content > .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.zg .wp-block-image img { border-radius: var(--zg-r); }
.zg .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.zg .admin-bar .zg-header { top: 32px; }
@media (max-width: 782px) { .zg .admin-bar .zg-header { top: 46px; } }
.zg .admin-bar .zg-mobile-menu { top: 46px; }
@media (min-width: 783px) { .zg .admin-bar .zg-mobile-menu { top: 32px; } }

/* ==========================================================================
   24. Before / after day table
   ========================================================================== */
.zg-daytable {
  display: grid; gap: 0; overflow: hidden;
  border: 1px solid var(--zg-line-dark); border-radius: var(--zg-r-lg);
}
.zg-daygrid { display: grid; grid-template-columns: 112px 1fr 1fr; border-top: 1px solid var(--zg-line-dark); }
.zg-daygrid > div { padding: 1.15rem 1.15rem; font-size: .95rem; line-height: 1.52; }
.zg-daygrid--head {
  border-top: 0; background: rgba(255,255,255,.05);
  font-size: .73rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.55);
}
.zg-daygrid--head > div { padding-block: .9rem; }
.zg-daygrid--head > div:last-child { color: var(--zg-emerald-bright); }
.zg-daygrid__time { font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.6); white-space: nowrap; }
.zg-daygrid__before { color: rgba(255,255,255,.5); }
.zg-daygrid__after { background: rgba(22,201,141,.07); }

@media (max-width: 760px) {
  .zg-daygrid--head { display: none; }
  .zg-daygrid { grid-template-columns: 1fr; gap: .25rem; padding-block: .4rem; }
  .zg-daygrid > div { padding-block: .4rem; }
  .zg-daygrid__before::before { content: "Before: "; font-weight: 700; color: rgba(255,255,255,.4); }
  .zg-daygrid__after { border-radius: var(--zg-r-sm); margin: .3rem .9rem .6rem; }
  .zg-daygrid__after::before { content: "Planned: "; font-weight: 700; color: var(--zg-emerald-bright); }
}

/* ==========================================================================
   25. Weekly timetable
   ========================================================================== */
.zg-timetable { display: grid; gap: .75rem; }
.zg-tt-row {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--zg-line); border-radius: var(--zg-r);
  padding: 1.05rem 1.3rem;
  transition: border-color .3s ease, transform .4s var(--zg-ease), box-shadow .4s var(--zg-ease);
}
.zg-tt-row:hover { border-color: var(--zg-emerald); transform: translateX(4px); box-shadow: var(--zg-shadow-sm); }
.zg-tt-day { font-weight: 800; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--zg-emerald-deep); }
.zg-tt-name { font-family: var(--zg-display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.zg-tt-sub { font-size: .86rem; color: var(--zg-muted); margin-top: .15rem; }
.zg-tt-time {
  font-weight: 700; font-size: .88rem; white-space: nowrap;
  background: var(--zg-emerald-soft); color: var(--zg-emerald-deep);
  padding: .5rem .95rem; border-radius: var(--zg-r-pill);
}
@media (max-width: 720px) {
  .zg-tt-row { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .zg-tt-day { grid-column: 1 / -1; }
}

/* ==========================================================================
   26. Value / credential strip
   ========================================================================== */
.zg-creds { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .zg-creds { grid-template-columns: repeat(4, 1fr); } }
.zg-cred {
  background: #fff; border: 1px solid var(--zg-line); border-radius: var(--zg-r);
  padding: 1.3rem 1.4rem; display: grid; gap: .4rem;
}
.zg-cred__k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--zg-muted); font-weight: 700; }
.zg-cred__v { font-weight: 700; font-size: 1.02rem; line-height: 1.35; }

/* ==========================================================================
   27. Slider (testimonials)
   ========================================================================== */
.zg-slider { position: relative; }

.zg-slider__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-inline: calc(var(--zg-gutter) * -1);
  padding-inline: var(--zg-gutter);
  padding-block: .4rem 1rem;
  overscroll-behavior-x: contain;
}
.zg-slider__viewport::-webkit-scrollbar { display: none; }

.zg-slider__track {
  display: flex; gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch;
}
.zg-slider__slide {
  flex: 0 0 100%; scroll-snap-align: start; display: flex;
  min-width: 0;
}
.zg-slider__slide > * { width: 100%; }
@media (min-width: 720px)  { .zg-slider__slide { flex-basis: calc((100% - clamp(1rem,2vw,1.6rem)) / 2); } }
@media (min-width: 1080px) { .zg-slider__slide { flex-basis: calc((100% - 2 * clamp(1rem,2vw,1.6rem)) / 3); } }

.zg-slider__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.1rem; margin-top: clamp(1.4rem, 2.5vw, 2rem); flex-wrap: wrap;
}
.zg-slider__btn {
  width: 52px; height: 52px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--zg-ink);
  border: 1.5px solid var(--zg-line-strong);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease,
              transform .4s var(--zg-ease), opacity .3s ease;
}
.zg-slider__btn svg { width: 20px; height: 20px; }
.zg-slider__btn:hover:not(:disabled) {
  background: var(--zg-ink); color: #fff; border-color: var(--zg-ink); transform: translateY(-2px);
}
.zg-slider__btn:disabled { opacity: .3; cursor: default; }

.zg-slider__dots { display: flex; gap: .5rem; align-items: center; }
.zg-slider__dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0; cursor: pointer;
  border: 0; background: var(--zg-line-strong);
  transition: width .4s var(--zg-ease), background-color .3s ease;
}
.zg-slider__dot[aria-current="true"] { width: 30px; background: var(--zg-emerald); }
.zg-dark .zg-slider__btn { background: transparent; color: #fff; border-color: var(--zg-line-dark); }
.zg-dark .zg-slider__btn:hover:not(:disabled) { background: #fff; color: var(--zg-ink); }
.zg-dark .zg-slider__dot { background: var(--zg-line-dark); }
.zg-dark .zg-slider__dot[aria-current="true"] { background: var(--zg-emerald-bright); }

/* The slider keeps quote cards equal height */
.zg-slider .zg-quote { height: 100%; }

/* ==========================================================================
   28. Instagram feed
   ========================================================================== */
.zg-ig-head {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.6rem);
  flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.zg-ig-avatar {
  width: 86px; height: 86px; border-radius: 50%; flex: none; padding: 3px;
  background: conic-gradient(from 150deg, #16C98D, #0C8A5B, #07130E, #16C98D);
}
.zg-ig-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.zg-ig-id { display: grid; gap: .3rem; min-width: 0; }
.zg-ig-handle {
  font-family: var(--zg-display); font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600; letter-spacing: -.025em; margin: 0;
}
.zg-ig-name { font-size: .92rem; color: var(--zg-muted); margin: 0; }
.zg-ig-stats { display: flex; gap: 1.5rem; margin-top: .45rem; flex-wrap: wrap; }
.zg-ig-stat { font-size: .88rem; color: var(--zg-muted); }
.zg-ig-stat b { display: block; font-size: 1.05rem; color: var(--zg-ink); font-weight: 800; letter-spacing: -.02em; }
.zg-ig-head .zg-btn { margin-left: auto; }
@media (max-width: 620px) { .zg-ig-head .zg-btn { margin-left: 0; width: 100%; } }

.zg-ig-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.55rem, 1.2vw, 1rem); }
@media (min-width: 680px)  { .zg-ig-feed { grid-template-columns: repeat(4, 1fr); } }
.zg-ig-post { position: relative; aspect-ratio: 1/1; border-radius: var(--zg-r); overflow: hidden; display: block; }
.zg-ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--zg-ease); }
.zg-ig-post::after {
  content: ""; position: absolute; inset: 0; background: rgba(7,19,14,.55);
  opacity: 0; transition: opacity .35s ease;
}
.zg-ig-post:hover img { transform: scale(1.07); }
.zg-ig-post:hover::after, .zg-ig-post:focus-visible::after { opacity: 1; }
.zg-ig-post__meta {
  position: absolute; inset: 0; z-index: 2; display: flex; gap: 1.1rem;
  align-items: center; justify-content: center; color: #fff;
  font-weight: 700; font-size: .92rem; opacity: 0;
  transform: scale(.9); transition: opacity .35s ease, transform .45s var(--zg-ease);
}
.zg-ig-post:hover .zg-ig-post__meta, .zg-ig-post:focus-visible .zg-ig-post__meta { opacity: 1; transform: none; }
.zg-ig-post__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.zg-ig-post__meta svg { width: 17px; height: 17px; }
.zg-ig-post__tag {
  position: absolute; top: .6rem; right: .6rem; z-index: 3;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: var(--zg-ink);
}
.zg-ig-post__tag svg { width: 15px; height: 15px; }

/* ==========================================================================
   29. Back to top
   ========================================================================== */
.zg-top {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 70; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--zg-ink); color: #fff;
  box-shadow: var(--zg-shadow); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .4s var(--zg-ease), transform .45s var(--zg-ease),
              visibility .4s, background-color .3s ease;
}
.zg-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.zg-top:hover { background: var(--zg-emerald); transform: translateY(-3px); }
.zg-top svg { width: 21px; height: 21px; }
@media (max-width: 560px) { .zg-top { width: 46px; height: 46px; } }
@media print { .zg-top { display: none; } }

/* ==========================================================================
   30. Footer credit
   ========================================================================== */
.zg-credit {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.52);
  margin: 0;
}
.zg-credit__unit { display: inline-flex; align-items: center; gap: .55rem; }
.zg-credit__sep { opacity: .3; }

/* Exera wordmark: supplied in brand colour, served here in reverse because
   the wordmark is pure black and the marks near-black teal. */
.zg-credit__exera { display: inline-flex; text-decoration: none; }
.zg-credit__exera img {
  display: block; width: auto; height: 18px;
  opacity: .78; transition: opacity .3s ease, transform .4s var(--zg-ease);
}
.zg-credit__exera:hover img { opacity: 1; transform: translateY(-1px); }

/* Made in Moris sits on its own white disc, so it keeps full brand colour. */
.zg-credit__mim { display: block; width: 34px; height: 34px; flex: none; }

@media (max-width: 760px) {
  .zg-credit { gap: .6rem; font-size: .82rem; }
  .zg-credit__sep { display: none; }
  .zg-credit__unit { gap: .5rem; }
}

/* ==========================================================================
   31. Note / caveat box
   ========================================================================== */
.zg-note {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--zg-emerald-soft); border: 1px solid rgba(12,138,91,.22);
  border-radius: var(--zg-r); padding: 1.25rem 1.4rem;
  font-size: .94rem; line-height: 1.6; color: var(--zg-ink);
}
.zg-note__icon { flex: none; color: var(--zg-emerald-deep); margin-top: .1rem; }
.zg-note p { margin: 0; }
.zg-note strong { display: block; margin-bottom: .2rem; }

/* Compact closing strip (lighter than the full CTA band) */
.zg-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: var(--zg-ink); color: #fff;
  border-radius: var(--zg-r-lg); padding: clamp(1.6rem, 3.4vw, 2.4rem) clamp(1.5rem, 3.4vw, 2.6rem);
}
.zg-strip h2 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; }
.zg-strip p { margin: 0; color: rgba(255,255,255,.72); font-size: .97rem; max-width: 52ch; }
.zg-strip .zg-btn-row { flex: none; }

/* ==========================================================================
   32. WhatsApp hand-off
   ========================================================================== */
.zg-wa-handoff {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--zg-emerald-soft);
  border: 1.5px solid rgba(12,138,91,.3);
  border-radius: var(--zg-r); padding: 1.3rem 1.45rem;
  margin-bottom: 1.6rem;
}
.zg-wa-handoff__icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
}
.zg-wa-handoff__title {
  margin: 0 0 .3rem; font-weight: 800; font-size: 1.04rem; letter-spacing: -.015em;
}
.zg-wa-handoff__text {
  margin: 0; font-size: .93rem; line-height: 1.55; color: var(--zg-muted);
}
.zg-wa-handoff .zg-btn { margin-top: .95rem; }
@media (max-width: 520px) {
  .zg-wa-handoff { flex-direction: column; gap: .85rem; }
  .zg-wa-handoff .zg-btn { width: 100%; }
}

/* ==========================================================================
   33. Career timeline
   ========================================================================== */
.zg-roles { display: grid; gap: .8rem; }
.zg-role {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem;
  background: #fff; border: 1px solid var(--zg-line); border-radius: var(--zg-r);
  padding: 1.25rem 1.5rem;
  transition: border-color .3s ease, transform .4s var(--zg-ease), box-shadow .4s var(--zg-ease);
}
.zg-role:hover { border-color: var(--zg-emerald); transform: translateX(4px); box-shadow: var(--zg-shadow-sm); }
.zg-role--now { border-color: var(--zg-emerald); background: var(--zg-emerald-soft); }
.zg-role__when {
  font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--zg-emerald-deep); padding-top: .2rem;
}
.zg-role__title { font-family: var(--zg-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.022em; margin: 0; }
.zg-role__org { font-size: .9rem; font-weight: 700; color: var(--zg-ink); margin: .2rem 0 .45rem; }
.zg-role__text { font-size: .94rem; line-height: 1.55; color: var(--zg-muted); margin: 0; }
@media (max-width: 720px) {
  .zg-role { grid-template-columns: 1fr; gap: .5rem; }
}

/* ==========================================================================
   34. Plate gallery
   ========================================================================== */
.zg-plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.55rem, 1.2vw, 1rem); }
@media (min-width: 700px)  { .zg-plates { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .zg-plates { grid-template-columns: repeat(4, 1fr); } }

.zg-plate {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-radius: var(--zg-r); background: var(--zg-emerald-soft);
}
.zg-plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--zg-ease); }
.zg-plate:hover img { transform: scale(1.06); }
.zg-plate figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.5rem .9rem .8rem; color: #fff; font-size: .82rem; line-height: 1.4;
  background: linear-gradient(to top, rgba(7,19,14,.86), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .45s var(--zg-ease);
}
.zg-plate:hover figcaption, .zg-plate:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) {
  /* Touch devices get the caption permanently, since there is no hover. */
  .zg-plate figcaption { opacity: 1; transform: none; padding-top: 2rem; }
}
.zg-plates--tall .zg-plate:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
