/*
Theme Name: ZeroGen (Blocks)
Theme URI: https://p2z.ie
Author: VIMAR
Author URI: https://vimar.ie
Description: Block theme for ZeroGen, a Pathway to Zero company. The one-page site is built from core Gutenberg blocks (editable in the page editor); this stylesheet styles those blocks via class names, theme.json supplies the palette, type scale and layout.
Version: 2.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary
Text Domain: zerogen
*/

/* ------------------------------------------------------------
   0. TOKENS (bridged from theme.json presets for readability)
   ------------------------------------------------------------ */
:root {
  --green-dark:  var(--wp--preset--color--green-dark);
  --green-deep:  var(--wp--preset--color--green-deep);
  --green-mid:   var(--wp--preset--color--green-mid);
  --green-light: var(--wp--preset--color--green-light);
  --green-ink:   var(--wp--preset--color--green-ink);
  --green-tint:  var(--wp--preset--color--green-tint);
  --green-glow:  rgba(95, 163, 90, 0.35);
  --paper:       var(--wp--preset--color--paper);
  --paper-2:     var(--wp--preset--color--paper-2);
  --white:       var(--wp--preset--color--white);
  --ink:         var(--wp--preset--color--ink);
  --ink-soft:    var(--wp--preset--color--ink-soft);
  --line:        rgba(18, 55, 42, 0.14);
  --line-dark:   rgba(255, 255, 255, 0.14);
  --font-display: var(--wp--preset--font-family--display);
  --font-body:    var(--wp--preset--font-family--body);
  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --gutter:   var(--wp--custom--gutter);
  --section-y: var(--wp--custom--section-y);
  --nav-h:    var(--wp--custom--nav-height);
  --radius:   var(--wp--custom--radius);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;
}

/* ------------------------------------------------------------
   1. BASE
   ------------------------------------------------------------ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { height: auto; max-width: 100%; }
.wp-block-heading { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }

/* Sections: vertical rhythm. Children are spaced by the layout engine's block gap, tuned per section below. */
.zg-section { padding-block: var(--section-y); position: relative; }
.zg-section > * + * { margin-block-start: 1.5rem; }

/* Labels, leads, accents */
.zg-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid);
}
.zg-label::before { content: ""; width: 28px; height: 2px; background: var(--green-light); }
.has-green-dark-background-color .zg-label, .has-green-ink-background-color .zg-label { color: var(--green-tint); }
.zg-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.has-green-dark-background-color .zg-lead { color: rgba(255,255,255,0.78); }
.zg-accent { color: var(--green-light); }
.zg-muted { color: var(--ink-soft); }

/* Section head: label + heading left, lead right */
.zg-section-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); align-items: end; gap: 1.5rem 4rem; }
.zg-section-head .wp-block-column > * + * { margin-block-start: 1.25rem; }

/* Buttons (core button block) */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 0.6rem; line-height: 1.2; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.wp-block-button__link::after { content: "\2192"; font-weight: 700; transition: transform 0.35s var(--ease); }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.is-style-ghost .wp-block-button__link { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.is-style-ghost .wp-block-button__link:hover { border-color: var(--white); background: rgba(255,255,255,0.06); color: var(--white); }
.is-style-ghost .wp-block-button__link::after { content: none; }
.is-style-dark .wp-block-button__link { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.is-style-dark .wp-block-button__link:hover { background: var(--green-deep); }

/* Scroll reveal (classes added by zerogen.js) */
.zg-reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.zg-reveal.is-visible { opacity: 1; transform: none; }

/* Figure (image blocks with a caption pill) */
.zg-figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green-dark); }
.zg-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.zg-figure:hover img { transform: scale(1.03); }
.zg-figure .wp-element-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; width: fit-content; max-width: calc(100% - 2rem); margin: 0;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; border-radius: var(--radius);
  background: rgba(12,38,29,0.78); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.78rem; letter-spacing: 0.02em; text-align: left;
}
.zg-figure .wp-element-caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); flex: none; }

/* ------------------------------------------------------------
   2. HEADER / NAVIGATION (parts/header.html)
   ------------------------------------------------------------ */
.zg-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: var(--white);
  transition: background 0.4s, height 0.4s;
}
.zg-nav::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line-dark); opacity: 0; transition: opacity 0.4s; }
.zg-nav.is-scrolled { background: rgba(18,55,42,0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); height: 68px; }
.zg-nav.is-scrolled::after { opacity: 1; }
.zg-nav > .zg-nav-inner { width: 100%; max-width: var(--wp--style--global--content-size); margin-inline: auto; }
.zg-nav-inner { gap: 2rem; }
.zg-brand { gap: 0.9rem; align-items: center; }
.zg-brand .wp-block-site-logo img { height: 26px; width: auto; max-width: none; }
.zg-brand-sub {
  display: none; align-items: center; gap: 0.9rem; margin: 0;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.zg-brand-sub::before { content: ""; width: 1px; height: 18px; background: rgba(255,255,255,0.3); }
@media (min-width: 1100px) { .zg-brand-sub { display: inline-flex; } }

.zg-menu { gap: 2rem; }
.zg-menu .wp-block-navigation-item__content { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.78); padding: 0.4rem 0; transition: color 0.3s; }
.zg-menu .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-light); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.zg-menu .wp-block-navigation-item__content:hover, .zg-menu .wp-block-navigation-item__content.is-active { color: var(--white); }
.zg-menu .wp-block-navigation-item__content.is-active::after { transform: scaleX(1); }
.zg-nav .zg-nav-cta.wp-block-buttons { display: none; margin: 0; }
.zg-nav-cta .wp-block-button__link { padding: 0.7rem 1.1rem; font-size: 0.85rem; }
@media (min-width: 900px) { .zg-nav .zg-nav-cta.wp-block-buttons { display: flex; } }
@media (max-width: 899px) { .zg-nav-inner { justify-content: space-between; } }

/* Core navigation: hamburger + overlay styled to the brand */
.zg-menu .wp-block-navigation__responsive-container-open { color: var(--white); }
.zg-menu .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.zg-menu .wp-block-navigation__responsive-container.is-menu-open { padding: calc(var(--nav-h) + 1rem) var(--gutter) 3rem; }
.zg-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { justify-content: center; }
.zg-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.25rem; align-items: stretch; }
.zg-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  display: block; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; padding: 0.45rem 0; border-bottom: 1px solid var(--line-dark); color: var(--white);
}
.zg-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { content: none; }
.zg-menu .wp-block-navigation__responsive-container-close { top: 22px; right: var(--gutter); color: var(--white); }
.zg-menu .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
/* With the mobile overlay the desktop menu is hidden below 600px by core; raise that to 900px to match the design. */
@media (max-width: 899px) {
  .zg-menu .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .zg-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
}
/* Admin bar offsets for logged-in users */
.admin-bar .zg-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .zg-nav { top: 46px; } }

/* ------------------------------------------------------------
   3. HERO
   ------------------------------------------------------------ */
.zg-hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--green-dark); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--nav-h) + 2rem);
}
.zg-hero > * + * { margin-block-start: 0; }
.zg-hero > * { width: 100%; }
.zg-hero .zg-hero-media { position: absolute; inset: 0; z-index: -2; max-width: none !important; margin: 0 !important; }
.zg-hero .zg-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.06); will-change: transform; }
.zg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,55,42,0.55) 0%, rgba(18,55,42,0.25) 40%, rgba(18,55,42,0.92) 100%),
    linear-gradient(100deg, rgba(18,55,42,0.92) 0%, rgba(18,55,42,0.72) 45%, rgba(18,55,42,0.35) 100%);
}
.zg-hero-grid { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
.zg-hero-grid polyline { stroke: rgba(255,255,255,0.14); stroke-width: 1; fill: none; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: zg-draw 3.2s var(--ease) forwards; }
.zg-hero-grid polyline:nth-child(2) { animation-delay: 0.3s; }
.zg-hero-grid polyline:nth-child(3) { animation-delay: 0.6s; }
.zg-hero-grid circle { fill: var(--green-light); opacity: 0; animation: zg-node-in 0.6s 2.2s forwards; }
.zg-hero-grid circle.pulse { animation: zg-node-in 0.6s 2.2s forwards, zg-pulse 3s 2.8s infinite; }
@keyframes zg-draw { to { stroke-dashoffset: 0; } }
@keyframes zg-node-in { to { opacity: 1; } }
@keyframes zg-pulse { 0%,100% { r: 4; } 50% { r: 7; } }

.zg-hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 2rem 3rem; }
.zg-hero-body > * { max-width: 880px; }
.zg-hero-body > * + * { margin-block-start: 1.5rem; }
.zg-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.zg-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 var(--green-glow); animation: zg-ring 2.4s infinite; }
@keyframes zg-ring { 0% { box-shadow: 0 0 0 0 var(--green-glow); } 70% { box-shadow: 0 0 0 12px rgba(95,163,90,0); } 100% { box-shadow: 0 0 0 0 rgba(95,163,90,0); } }
.zg-hero-title { color: var(--white); }
.zg-hero .zg-lead { color: rgba(255,255,255,0.82); font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 56ch; }
.zg-actions { margin-top: 1rem; gap: 0.9rem; }

.zg-hero-facts { border-top: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(18,55,42,0) 0%, rgba(18,55,42,0.6) 100%); gap: 1.5rem 0; }
.zg-hero-facts > .wp-block-column { padding: 1.5rem 1.5rem 1.5rem 0; }
.zg-hero-facts > .wp-block-column + .wp-block-column { border-left: 1px solid var(--line-dark); padding-left: 1.5rem; }
.zg-fact { font-size: 0.8rem; color: rgba(255,255,255,0.65); letter-spacing: 0.02em; line-height: 1.5; }
.zg-fact strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--white); margin-bottom: 0.15rem; }
@media (max-width: 781px) {
  .wp-block-columns.zg-hero-facts.zg-hero-facts { flex-wrap: wrap !important; gap: 0 1.5rem; }
  .wp-block-columns.zg-hero-facts.zg-hero-facts > .wp-block-column { flex-basis: calc(50% - 0.75rem) !important; padding: 1.15rem 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .wp-block-columns.zg-hero-facts.zg-hero-facts > .wp-block-column:nth-child(-n+2) { border-top: 0; }
}

/* ------------------------------------------------------------
   4. ABOUT + STATS
   ------------------------------------------------------------ */
.zg-about-grid { gap: 3rem 5rem; align-items: center; }
.zg-about-grid .wp-block-column > * + * { margin-block-start: 1.5rem; }
.zg-about-meta { gap: 1.5rem 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.zg-meta { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.zg-meta strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 0.2rem; }
.zg-about-figure { aspect-ratio: 4 / 3.1; }
.zg-about-figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.15); pointer-events: none; border-radius: var(--radius); }

.zg-stats { margin-top: clamp(3.5rem, 7vw, 6rem) !important; border-top: 1px solid var(--line); gap: 0; }
.zg-stats > .wp-block-column { padding: 2.5rem 1.5rem 2.5rem 0; }
.zg-stats > .wp-block-column + .wp-block-column { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.zg-stats > .wp-block-column > * + * { margin-block-start: 0.5rem; }
.zg-stat-value { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2.4rem, 4.2vw, 4rem); color: var(--green-dark); }
.zg-stat-value .zg-unit { font-size: 0.45em; white-space: nowrap; font-weight: 700; letter-spacing: 0; color: var(--green-mid); margin-left: 0.25rem; }
.zg-stat-text { font-size: var(--fs-small); color: var(--ink-soft); max-width: 24ch; line-height: 1.5; }
@media (max-width: 781px) {
  .wp-block-columns.zg-stats.zg-stats { flex-wrap: wrap !important; }
  .wp-block-columns.zg-stats.zg-stats > .wp-block-column { flex-basis: 50% !important; padding: 1.75rem 1.25rem 1.75rem 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .wp-block-columns.zg-stats.zg-stats > .wp-block-column:nth-child(2n) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}

/* ------------------------------------------------------------
   5. THE PROJECT (dark)
   ------------------------------------------------------------ */
.zg-project { overflow: hidden; }
.zg-project::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
}
.zg-project-grid { position: relative; gap: 3.5rem 4rem; align-items: center; }
.zg-project-grid .wp-block-column > * + * { margin-block-start: 1.75rem; }
.zg-project .wp-block-heading { color: var(--white); }
.zg-project h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }

.zg-flow { gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.zg-flow > .wp-block-column { position: relative; padding: 1rem 1.1rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.zg-flow > .wp-block-column + .wp-block-column { margin-left: 1.75rem; }
.zg-flow > .wp-block-column + .wp-block-column::before { content: "\2192"; position: absolute; left: -1.6rem; top: 50%; transform: translateY(-50%); color: var(--green-light); font-size: 1.1rem; font-weight: 700; }
.zg-flow-step { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.zg-flow-step strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; color: var(--white); margin-bottom: 0.15rem; }
@media (max-width: 781px) {
  .zg-flow > .wp-block-column + .wp-block-column { margin-left: 0; margin-top: 1.75rem; }
  .zg-flow > .wp-block-column + .wp-block-column::before { content: "\2193"; left: 50%; top: -1.5rem; transform: translateX(-50%); }
}

.zg-checks { list-style: none; padding: 1.75rem 0 0; margin: 0; border-top: 1px solid var(--line-dark); display: grid; gap: 0.75rem; }
.zg-checks li { position: relative; padding-left: 1.9rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.zg-checks li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 18px; height: 18px; background: var(--green-light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

.zg-map-wrap { position: relative; text-align: center; }
.zg-map-wrap .zg-big-num {
  position: absolute; right: -6%; top: -12%; font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 20vw, 17rem);
  line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); pointer-events: none; user-select: none;
}
.zg-ireland-map { width: min(100%, 420px); height: auto; overflow: visible; position: relative; display: inline-block; }
.zg-ireland-map .dot { fill: rgba(255,255,255,0.22); }
.zg-ireland-map .site { fill: var(--green-light); }
.zg-ireland-map .site-ring { fill: none; stroke: var(--green-light); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: zg-site-pulse 3s var(--ease) infinite; opacity: 0; }
.zg-ireland-map .link { stroke: rgba(95,163,90,0.45); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
@keyframes zg-site-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.zg-map-legend { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.zg-map-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.zg-map-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ------------------------------------------------------------
   6. HVO
   ------------------------------------------------------------ */
.zg-hvo-grid { gap: 3rem 5rem; align-items: center; }
.zg-hvo-grid .wp-block-column > * + * { margin-block-start: 1.5rem; }
.zg-hvo-visual {
  position: relative; padding: clamp(2rem, 5vw, 4rem); background: var(--paper-2); border-radius: var(--radius);
  background-image: linear-gradient(rgba(18,55,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,55,42,0.06) 1px, transparent 1px); background-size: 40px 40px;
}
.zg-hvo-visual .wp-block-image { margin: 0; }
.zg-hvo-visual .wp-block-image img { width: 100%; max-width: 520px; margin-inline: auto; display: block; filter: drop-shadow(0 30px 40px rgba(18,55,42,0.22)); transition: transform 1s var(--ease); }
.zg-hvo-visual:hover img { transform: translateY(-6px); }
.zg-hvo-stat {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(-1.5rem, -2vw, -1rem); margin: 0 !important;
  background: var(--green-dark); color: var(--white); padding: 1.1rem 1.4rem; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(18,55,42,0.25);
}
.zg-hvo-stat > * + * { margin-block-start: 0.1rem; }
.zg-hvo-stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.zg-hvo-stat-value small { font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-right: 0.3rem; color: var(--green-tint); }
.zg-hvo-stat-text { font-size: 0.78rem; color: rgba(255,255,255,0.72); }
@media (max-width: 959px) { .zg-hvo-visual { margin-bottom: 1.5rem; } }

.zg-features { margin-top: 0.5rem; }
.zg-feature { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.zg-feature + .zg-feature { margin-block-start: 0; }
.zg-feature:last-child { border-bottom: 1px solid var(--line); }
.zg-feature::before { content: ""; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--white); background-repeat: no-repeat; background-position: center; background-size: 22px; grid-row: span 2; }
.zg-feature h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.zg-feature p { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.2rem; }
.zg-feature > * { grid-column: 2; }

/* Icons: CSS-only so the blocks stay plain text */
.zg-ic-drop::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c4.4 0 8-3.6 8-8 0-5-8-12-8-12S4 9 4 14c0 4.4 3.6 8 8 8Z'/%3E%3Cpath d='M9 15a3 3 0 0 0 3 3'/%3E%3C/svg%3E"); }
.zg-ic-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6v6c0 5 3.5 8.5 8 10 4.5-1.5 8-5 8-10V6l-8-4Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.zg-ic-trend::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E"); }
.zg-ic-bolt::before, .zg-ic-bolt > .wp-block-heading::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312372a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E"); }
.zg-ic-network::before, .zg-ic-network > .wp-block-heading::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312372a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Ccircle cx='5' cy='19' r='2.5'/%3E%3Ccircle cx='19' cy='19' r='2.5'/%3E%3Cpath d='M12 7.5v4M12 11.5 6.5 17M12 11.5l5.5 5.5'/%3E%3C/svg%3E"); }
.zg-ic-tower::before, .zg-ic-tower > .wp-block-heading::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312372a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21h16M8 21 11 6h2l3 15'/%3E%3Cpath d='M6 11h12M7.5 16h9'/%3E%3Cpath d='M12 2v4'/%3E%3C/svg%3E"); }
.zg-ic-check::before, .zg-ic-check > .wp-block-heading::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312372a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='1.5'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='m9 13 2 2 4-4'/%3E%3C/svg%3E"); }
.zg-ic-calendar::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='1.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.zg-ic-zap::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E"); }
.zg-ic-clock::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.zg-ic-shield2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6v6c0 5 3.5 8.5 8 10 4.5-1.5 8-5 8-10V6l-8-4Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------
   7. STRATEGIC APPROACH (steps)
   ------------------------------------------------------------ */
.zg-steps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 0; }
.zg-steps > .wp-block-column { position: relative; padding: 2.5rem 2rem 2.5rem 0; }
.zg-steps > .wp-block-column + .wp-block-column { padding-left: 2rem; border-left: 1px solid var(--line); }
.zg-steps > .wp-block-column > * + * { margin-block-start: 1rem; }
.zg-step-num { font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.18em; color: var(--green-light); display: flex; align-items: center; gap: 0.75rem; }
.zg-step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.zg-step::before { content: none; }
.zg-step > .wp-block-heading::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--paper); background-repeat: no-repeat; background-position: center; background-size: 26px; transition: background-color 0.4s, border-color 0.4s; }
.zg-step:hover > .wp-block-heading::before { background-color: var(--green-dark); border-color: var(--green-dark); filter: brightness(0) invert(1) drop-shadow(0 0 0 var(--green-dark)); }
.zg-step .wp-block-heading { font-size: 1.35rem; }
.zg-step p:not(.zg-step-num) { font-size: var(--fs-small); color: var(--ink-soft); max-width: 30ch; }
@media (max-width: 1099px) and (min-width: 782px) {
  .wp-block-columns.zg-steps { flex-wrap: wrap; }
  .wp-block-columns.zg-steps > .wp-block-column { flex-basis: 50%; padding: 2.25rem 2rem 2.25rem 0; border-bottom: 1px solid var(--line); }
  .wp-block-columns.zg-steps > .wp-block-column:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .wp-block-columns.zg-steps > .wp-block-column:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 781px) {
  .zg-steps > .wp-block-column { padding: 2rem 0; border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
  .zg-steps > .wp-block-column:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------
   8. WHY IT MATTERS (photo background)
   ------------------------------------------------------------ */
.zg-why { color: var(--white); isolation: isolate; overflow: hidden; }
.zg-why .wp-block-heading { color: var(--white); }
.zg-why .zg-why-media { position: absolute; inset: 0; z-index: -2; max-width: none !important; margin: 0 !important; }
.zg-why .zg-why-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.zg-why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,38,29,0.9) 0%, rgba(18,55,42,0.84) 50%, rgba(12,38,29,0.94) 100%); }
.zg-why .zg-label { color: var(--green-tint); }
.zg-pillars { border-top: 1px solid var(--line-dark); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.zg-pillars > .wp-block-column { padding: 3rem 2.5rem 3rem 0; }
.zg-pillars > .wp-block-column + .wp-block-column { padding-left: 2.5rem; border-left: 1px solid var(--line-dark); }
.zg-pillars > .wp-block-column > * + * { margin-block-start: 0.9rem; }
.zg-pillar-idx { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; color: var(--green-tint); }
.zg-pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.zg-pillar p:not(.zg-pillar-idx) { color: rgba(255,255,255,0.75); max-width: 34ch; }
.zg-pillar::after { content: ""; display: block; height: 3px; width: 56px; background: var(--green-light); margin-top: 1.3rem; transition: width 0.6s var(--ease); }
.zg-pillar:hover::after { width: 120px; }
@media (max-width: 781px) {
  .zg-pillars > .wp-block-column { padding: 2rem 0; border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
}

/* ------------------------------------------------------------
   9. CONTRACT STRUCTURE
   ------------------------------------------------------------ */
.zg-relationship { gap: 1rem 3.5rem; align-items: stretch; margin-bottom: 2rem; }
.zg-party { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; overflow: hidden; }
.zg-party::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green-light); }
.zg-party.is-primary::before { background: var(--green-dark); }
.zg-party > * + * { margin-block-start: 0.6rem; }
.zg-party-role { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.zg-party h3 { font-size: 1.4rem; }
.zg-party p:not(.zg-party-role) { font-size: var(--fs-small); color: var(--ink-soft); }
.zg-relationship > .wp-block-column + .wp-block-column { position: relative; overflow: visible; }
.zg-relationship > .wp-block-column + .wp-block-column::after { content: "\2192"; position: absolute; left: -2.6rem; top: 50%; transform: translateY(-50%); color: var(--green-mid); font-size: 1.6rem; font-weight: 600; }
@media (max-width: 781px) {
  .zg-relationship { gap: 2.5rem; }
  .zg-relationship > .wp-block-column + .wp-block-column::after { content: "\2193"; left: 50%; top: -2rem; transform: translateX(-50%); }
}

.zg-facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); display: grid; gap: 1px; }
.zg-facts > * + * { margin-block-start: 0; }
.zg-facts .wp-block-columns { gap: 1px; margin: 0; }
.zg-fact-tile { background: var(--paper); padding: 1.75rem; }
.zg-fact-tile > * + * { margin-block-start: 0.6rem; }
.zg-fact-k { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-mid); font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.zg-fact-k::before { content: ""; width: 16px; height: 16px; background-repeat: no-repeat; background-size: contain; background-position: center; }
.zg-fact-v { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.35; }
.zg-fact-tile p:not(.zg-fact-k):not(.zg-fact-v) { font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 781px) { .zg-facts .wp-block-columns { gap: 1px; } }

/* ------------------------------------------------------------
   10. GALLERY (core gallery block as a horizontal scroller)
   ------------------------------------------------------------ */
.zg-gallery-section { padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.zg-gallery-section > * + * { margin-block-start: 1.5rem; }
.zg-gallery-head { align-items: end; margin-bottom: 0.5rem; }
.zg-gallery-head .wp-block-column > * + * { margin-block-start: 1rem; }
.zg-gallery-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.zg-gallery-nav { display: flex; gap: 0.5rem; justify-content: flex-end; }
.zg-gallery-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--green-dark); cursor: pointer; transition: background 0.3s, color 0.3s; }
.zg-gallery-nav button:hover { background: var(--green-dark); color: var(--white); }
.zg-gallery-nav svg { width: 18px; height: 18px; }
.zg-gal-prev svg { transform: rotate(180deg); }
.wp-block-gallery.zg-gallery {
  display: flex !important; flex-wrap: nowrap !important; gap: 1rem !important; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  max-width: none !important; scrollbar-width: thin; scrollbar-color: var(--green-mid) transparent;
}
.wp-block-gallery.zg-gallery > .wp-block-image { flex: 0 0 auto !important; width: min(78vw, 420px) !important; scroll-snap-align: start; margin: 0; display: block; }
.wp-block-gallery.zg-gallery > .wp-block-image img { aspect-ratio: 4 / 3; width: 100%; height: auto !important; object-fit: cover; border-radius: var(--radius); flex: none !important; }
.wp-block-gallery.zg-gallery > .wp-block-image .wp-element-caption { position: static; background: none; color: var(--ink-soft); font-size: 0.8rem; padding: 0.7rem 0 0; display: flex; gap: 0.6rem; align-items: center; text-align: left; margin: 0; }
.wp-block-gallery.zg-gallery > .wp-block-image .wp-element-caption::before { content: ""; width: 14px; height: 1px; background: var(--green-light); }

/* ------------------------------------------------------------
   11. MILESTONES
   ------------------------------------------------------------ */
.zg-milestones .zg-timeline.zg-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; margin-top: 1rem; }
.zg-ms { position: relative; padding-top: 2.5rem; padding-right: 2rem; }
.zg-ms::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green-light); box-shadow: 0 0 0 4px var(--white); box-sizing: border-box; }
/* connector to the next milestone in the row; draws in when the timeline scrolls into view */
.zg-ms::after { content: ""; position: absolute; left: 0; right: -2.5rem; top: 7px; height: 2px; background: linear-gradient(var(--green-light), var(--green-light)) left / 0 100% no-repeat, var(--line); transition: background-size 0.7s var(--ease) calc(var(--i, 0) * 0.15s + 0.2s); }
.zg-ms:nth-child(3n)::after, .zg-ms:last-child::after { right: 0; }
.zg-timeline.is-visible .zg-ms::after { background-size: 100% 100%; }
.zg-ms > * + * { margin-block-start: 0.5rem; }
.zg-ms-phase { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.18em; color: var(--green-mid); text-transform: uppercase; }
.zg-ms h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.zg-ms p:not(.zg-ms-phase) { font-size: var(--fs-small); color: var(--ink-soft); max-width: 32ch; }
@media (max-width: 781px) {
  .zg-milestones .zg-timeline.zg-timeline { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .zg-ms { padding: 0 0 0 3rem; }
  .zg-ms::before { left: 4px; top: 0.35rem; }
  .zg-ms::after, .zg-ms:nth-child(3n)::after { left: 11px; right: auto; top: 0.35rem; bottom: -2rem; width: 2px; height: auto; background-position: top; background-size: 100% 0; }
  .zg-ms:last-child::after { display: none; }
  .zg-timeline.is-visible .zg-ms::after { background-size: 100% 100%; }
}

/* ------------------------------------------------------------
   12. INVESTMENT PATHWAY (dark)
   ------------------------------------------------------------ */
.zg-invest { overflow: hidden; }
.zg-invest::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(95,163,90,0.18) 0%, rgba(95,163,90,0) 60%); pointer-events: none; }
.zg-invest .wp-block-heading { color: var(--white); }
.zg-invest-grid { position: relative; gap: 3rem 5rem; align-items: start; }
.zg-invest-grid .wp-block-column > * + * { margin-block-start: 1.5rem; }
@media (min-width: 960px) { .zg-invest-intro { position: sticky; top: calc(var(--nav-h) + 2rem); } }
.zg-invest-cta { margin-top: 0.5rem; padding: 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.zg-invest-cta > * + * { margin-block-start: 0.75rem; }
.zg-k { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-tint); font-weight: 700; }
.zg-email { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.01em; word-break: break-all; }
.zg-email a:hover { color: var(--green-light); }

.zg-pathway > * + * { margin-block-start: 0; }
.zg-pw { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.zg-pw:last-child { border-bottom: 1px solid var(--line-dark); }
.zg-pw > * + * { margin-block-start: 0; }
.zg-pw-idx { grid-row: span 3; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--green-light); padding-top: 0.25rem; }
.zg-pw-date { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -0.015em; color: var(--white); }
.zg-pw p:not(.zg-pw-idx):not(.zg-pw-date) { color: rgba(255,255,255,0.72); font-size: 0.95rem; max-width: 48ch; margin-top: 0.3rem; }
.zg-pw a { color: var(--green-tint); text-decoration: underline; text-underline-offset: 3px; }
.zg-pw a:hover { color: var(--white); }
.zg-pw.is-final .zg-pw-idx { color: var(--white); }
.zg-pw.is-final .zg-pw-date::before { content: "Closing"; display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-tint); font-weight: 700; margin-bottom: 0.3rem; }
@media (max-width: 639px) { .zg-pw { grid-template-columns: 2.5rem 1fr; } }

/* ------------------------------------------------------------
   13. INVESTOR NOTICE
   ------------------------------------------------------------ */
.zg-notice { padding-block: clamp(3.5rem, 7vw, 6rem); }
.zg-notice > :not(.zg-notice-grid) { max-width: 860px !important; margin-left: calc((100% - min(100%, var(--wp--style--global--content-size))) / 2) !important; margin-right: auto !important; }
.zg-notice > * + * { margin-block-start: 1rem; }
.zg-notice-h { font-size: 1.1rem; letter-spacing: 0.02em; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.75rem; }
.zg-notice-h::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23436850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E") center / contain no-repeat; }
.zg-notice p { font-size: 0.86rem; line-height: 1.75; color: var(--ink-soft); }
/* Investor notice: two equal columns, enquiry form (Gravity Forms) on the right */
.zg-notice .zg-notice-grid.wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); align-items: flex-start; margin: 0; }
.zg-notice .zg-notice-grid > .wp-block-column { min-width: 0; }
.zg-notice-text > * + * { margin-block-start: 1rem; }
.zg-notice-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 14px 40px rgba(18, 55, 42, 0.07); }
.zg-notice-form > * + * { margin-block-start: 0.75rem; }
.zg-notice-form-h { font-size: 1.4rem; letter-spacing: -0.01em; }
.zg-notice .zg-notice-form-lead { font-size: 0.92rem; }
.zg-notice-form .gform_wrapper { margin-top: 1rem; }
.zg-notice-form .gform_wrapper.gravity-theme .gform_fields { grid-row-gap: 0.65rem; }
.zg-notice-form .gform_wrapper.gravity-theme .gfield_label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.zg-notice-form .gform_wrapper.gravity-theme .gfield_required { color: var(--green-mid); }
.zg-notice-form .gform_wrapper.gravity-theme ::placeholder { color: var(--ink-soft); opacity: 0.85; }
.zg-notice-form .gform_wrapper.gravity-theme input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.zg-notice-form .gform_wrapper.gravity-theme select,
.zg-notice-form .gform_wrapper.gravity-theme textarea { width: 100%; font: inherit; font-size: 0.92rem; line-height: 1.4; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 0.6); background: var(--paper); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.zg-notice-form .gform_wrapper.gravity-theme input:focus,
.zg-notice-form .gform_wrapper.gravity-theme select:focus,
.zg-notice-form .gform_wrapper.gravity-theme textarea:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(95, 163, 90, 0.22); }
.zg-notice-form .gform_wrapper.gravity-theme .gfield_description,
.zg-notice-form .gform_wrapper.gravity-theme .gfield_validation_message,
.zg-notice-form .gform_wrapper.gravity-theme .gform_validation_errors { font-size: 0.8rem; }
.zg-notice-form .gform_wrapper.gravity-theme .gform_footer { padding: 0.75rem 0 0; margin: 0; }
.zg-notice-form .gform_wrapper.gravity-theme .gform_button,
.zg-notice-form .gform_wrapper.gravity-theme input[type="submit"] { display: inline-flex; align-items: center; gap: 0.6rem; width: auto; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.2; padding: 0.95rem 1.5rem; color: var(--green-ink); background: var(--green-light); border: 1.5px solid var(--green-light); border-radius: var(--radius); transition: transform 0.35s var(--ease), background 0.3s; }
.zg-notice-form .gform_wrapper.gravity-theme .gform_button:hover,
.zg-notice-form .gform_wrapper.gravity-theme input[type="submit"]:hover { background: #6fb46a; transform: translateY(-2px); }
.zg-notice-form .gform_confirmation_message { font-size: 0.95rem; line-height: 1.6; padding: 1rem 1.2rem; border-radius: calc(var(--radius) * 0.6); background: var(--green-tint); color: var(--green-ink); }

/* ------------------------------------------------------------
   14. FOOTER (parts/footer.html)
   ------------------------------------------------------------ */
.zg-footer { padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.zg-footer > * + * { margin-block-start: 3rem; }
.zg-footer-grid { gap: 2.5rem 3rem; }
.zg-footer-grid .wp-block-column > * + * { margin-block-start: 1.25rem; }
.zg-footer-brand .wp-block-site-logo img { height: 30px; width: auto; max-width: none; }
.zg-footer-tagline { color: rgba(255,255,255,0.68); max-width: 34ch; font-size: 0.95rem; }
.zg-group-tag { gap: 0.75rem; align-items: center; }
.zg-group-mark { margin: 0 !important; }
.zg-group-mark img { height: 36px; width: 36px; }
.zg-group-text { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.45; }
.zg-group-text strong { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 0.85rem; }
.zg-footer-h { font-size: var(--fs-label) !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-tint); margin-bottom: 1.1rem; }
.zg-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.zg-footer-list li { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.zg-footer-list a { color: rgba(255,255,255,0.75); transition: color 0.3s; }
.zg-footer-list a:hover { color: var(--white); }
.zg-footer-list strong { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1rem; }
.zg-footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--line-dark); gap: 0.75rem 2rem; }
.zg-footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ------------------------------------------------------------
   15. EDITOR + MOTION
   ------------------------------------------------------------ */
.editor-styles-wrapper .zg-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .zg-hero { min-height: 720px; }
.editor-styles-wrapper .zg-nav { position: static; background: var(--green-dark); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .zg-reveal { opacity: 1; transform: none; }
  .zg-hero-grid polyline { stroke-dashoffset: 0; }
  .zg-hero-grid circle { opacity: 1; }
  .zg-ms::after { background-size: 100% 100%; }
  .zg-hero .zg-hero-media img { transform: none; }
}
