/* GG Organics theme styles. Tokens come from theme.json as --wp--preset-* variables. */

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-feature-settings: "ss01", "cv05"; -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--forest); color: var(--wp--preset--color--bone); }

/* Prose links: hairline underline that darkens on hover. Buttons and nav opt out. */
.entry-content a:not(.wp-block-button__link):not(.wp-element-button),
.ggo-link {
  border-bottom: 1px solid color-mix(in oklch, var(--wp--preset--color--moss) 40%, transparent);
  transition: border-color 150ms ease, color 150ms ease;
}
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover,
.ggo-link:hover { border-bottom-color: var(--wp--preset--color--moss); }

/* Identifiers use aligned numerals without switching away from Plex Sans. */
.ggo-mono { font-family: var(--wp--preset--font-family--plex-mono); font-variant-numeric: tabular-nums; }

.ggo-eyebrow {
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--moss);
}
.has-forest-deep-background-color .ggo-eyebrow,
.has-forest-background-color .ggo-eyebrow,
.is-style-dark-band .ggo-eyebrow { color: var(--wp--preset--color--lichen); }
/* Moss reads at 2.5:1 on the forest ground; lichen is the dark-band link colour. */
.has-forest-deep-background-color .ggo-carousel__link,
.is-style-dark-band .ggo-carousel__link { color: var(--wp--preset--color--lichen); border-bottom-color: color-mix(in oklch, var(--wp--preset--color--lichen) 40%, transparent); }
.has-forest-deep-background-color .ggo-carousel__link:hover,
.is-style-dark-band .ggo-carousel__link:hover { border-bottom-color: var(--wp--preset--color--lichen); }
/* Phone and e-mail links in entity cards sit on consecutive lines; the block
   padding gives each a 24px tap target without moving the text. */
.wp-block-post .ggo-mono a[href^="tel:"],
.wp-block-post .ggo-mono a[href^="mailto:"] { display: inline-block; padding-block: 0.2rem; line-height: 1.4; }

/* ---------- Search ---------- */
.ggo-search__count { margin-top: 0.75rem; color: color-mix(in oklch, var(--wp--preset--color--bone) 70%, transparent); }
/* The masthead refiner: a light field on the dark band, kept inside the right column. */
.ggo-search__form .wp-block-search__input { border: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 30%, transparent); background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink); caret-color: var(--wp--preset--color--ink); }
.ggo-search__form .wp-block-search__input::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
.ggo-search__form .wp-block-search__input:focus-visible { outline: 2px solid var(--wp--preset--color--lichen); outline-offset: 2px; }
.ggo-search__form .wp-block-search__button { border: 0; }
/* Search results are a single ruled list, not a card grid: one row per result
   with the type chip in the left rail and the title and excerpt stacked
   beside it, matching the events list on this site. Placement is explicit so
   the excerpt cannot fall into the chip column. */
.ggo-search-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.ggo-search-list__item {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  column-gap: 2rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: var(--wp--custom--hairline);
}
.ggo-search-list .wp-block-post-template > li:last-child .ggo-search-list__item { border-bottom: 0; }
.ggo-search-list__type { grid-column: 1; grid-row: 1 / span 2; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ggo-search-list__item .wp-block-post-title { grid-column: 2; grid-row: 1; margin: -0.15rem 0 0.375rem; }
.ggo-search-list__item .wp-block-post-excerpt { grid-column: 2; grid-row: 2; margin: 0; }
@media (max-width: 640px) {
  .ggo-search-list__item { grid-template-columns: 1fr; }
  .ggo-search-list__type,
  .ggo-search-list__item .wp-block-post-title,
  .ggo-search-list__item .wp-block-post-excerpt { grid-column: 1; grid-row: auto; }
}
.ggo-search__none { max-width: 44rem; }
/* Search term highlight: a soft lichen wash the browser default yellow would
   clash with; inherits the text colour so it reads on dark text. */
.ggo-search-hl {
  background: color-mix(in oklch, var(--wp--preset--color--lichen) 55%, transparent);
  border-radius: 2px;
  padding: 0.05em 0.15em;
  color: inherit;
}

.ggo-lede { font-size: var(--wp--preset--font-size--lg); line-height: 1.55; text-wrap: pretty; }
.ggo-balance { text-wrap: balance; }

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

/* ---------- Header ---------- */
.ggo-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--wp--preset--color--bone);
  color: var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--border);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.ggo-header.is-transparent {
  background: transparent; color: var(--wp--preset--color--bone); border-bottom-color: transparent;
}
.ggo-topbar { position: relative; z-index: 2; height: var(--wp--custom--topbar-height); overflow: visible; transition: height 200ms ease; }
.ggo-topbar > .wp-block-group { height: var(--wp--custom--topbar-height); align-items: center; }
.ggo-header.is-scrolled .ggo-topbar { height: 0; overflow: hidden; }
.ggo-topbar__contact a { color: inherit; opacity: 0.85; }
.ggo-topbar__contact a:hover { opacity: 1; }
.ggo-topbar .wp-block-social-links { gap: 0.75rem; flex-wrap: nowrap; }
/* Narrow screens: the phone and e-mail collapse to icons, as the reference
   does, instead of wrapping past the bar's fixed height. */
.ggo-topbar__icons { display: none; align-items: center; gap: 1.25rem; }
.ggo-topbar__icons a { color: inherit; opacity: 0.85; display: inline-flex; border: 0; }
.ggo-topbar__icons a:hover { opacity: 1; }
.ggo-topbar__icons svg { width: 0.875rem; height: 0.875rem; stroke: var(--wp--preset--color--lichen); }
@media (max-width: 781px) {
  .ggo-topbar__contact { display: none; }
  .ggo-topbar__icons { display: flex; }
}

.ggo-navbar { height: calc(var(--wp--custom--header-height) - var(--wp--custom--topbar-height)); }
.ggo-navbar > .wp-block-group { height: 100%; align-items: center; }
.ggo-wordmark { display: inline-flex; align-items: center; margin: 0; border: 0; }
.ggo-wordmark .custom-logo-link { display: inline-flex; align-items: center; border: 0; }
.ggo-wordmark .wp-block-site-logo__image { height: 2.5rem; width: auto; display: block; }
.ggo-logo { height: 2.5rem; width: auto; display: block; }
.ggo-logo--bone { display: none; }
.ggo-header.is-transparent .ggo-logo--ink { display: none; }
.ggo-header.is-transparent .ggo-logo--bone { display: block; }
.ggo-header.is-transparent .ggo-wordmark .wp-block-site-logo__image { filter: brightness(0) invert(1); }

.ggo-nav .wp-block-navigation-item__content { color: inherit; padding: 0.5rem 0.75rem; border-bottom: 2px solid transparent; transition: color 150ms ease, opacity 150ms ease; }
/* Top-level items sit muted until hovered or current, in both header states,
   as the reference's text-muted / text-bone/65 links do. */
ul.ggo-nav > .wp-block-navigation-item > .wp-block-navigation-item__content { opacity: 0.7; }
ul.ggo-nav > .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
ul.ggo-nav > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content,
ul.ggo-nav > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
ul.ggo-nav > .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content { opacity: 1; }
.ggo-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.ggo-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content { border-bottom-color: var(--wp--preset--color--moss); }
.ggo-header.is-transparent .ggo-nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--wp--preset--color--lichen); }

/* Desktop drop-down; translated navigation uses the overlay below 768px.
   The block's overlay colours are meant for the mobile sheet, but core also
   stamps them on every submenu container as preset classes with !important,
   which turned the drop-down dark and left its hover unreadable. The reference
   drop-down is a light card, so these carry the same weight. */
@media (min-width: 768px) {
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--bone) !important; color: var(--wp--preset--color--ink) !important;
    border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius); min-width: 16rem; padding: 0.375rem 0;
    box-shadow: 0 16px 32px -16px rgb(0 0 0 / 0.3);
  }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 0.5rem 1rem; border: 0; font-weight: 400; opacity: 1; color: var(--wp--preset--color--muted);
    transition: color 150ms ease, background-color 150ms ease;
  }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
    background: var(--wp--preset--color--accent); color: var(--wp--preset--color--forest-deep);
  }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--forest-deep); font-weight: 500; }
}
.wp-block-navigation__responsive-container-open { color: inherit; }

/* Mobile sheet: the reference lists the menu left-aligned, one ruled row per
   top-level page with its children indented under a hairline. Core's overlay
   rules right-align it (the desktop justification carries over), expand the
   children with 2rem side padding and put the whole list under a 4rem gap, so
   these selectors outweigh them. */
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open { padding: 1rem 1.5rem 2rem; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.25rem; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch; text-align: left; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
  padding: 0.75rem 0; border-bottom: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 10%, transparent);
}
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  padding: 0; border: 0; font-size: var(--wp--preset--font-size--lg); opacity: 0.9;
}
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--lichen); opacity: 1; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container {
  margin-top: 0.5rem; padding: 0 0 0 1rem; gap: 0.25rem; min-width: 0;
  border-left: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent);
}
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.375rem 0; border: 0; font-size: var(--wp--preset--font-size--sm); opacity: 0.6;
}
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--lichen); opacity: 1; }
.ggo-header .ggo-navbar .wp-block-navigation__responsive-container-close { top: 1rem; right: 1.5rem; }
.ggo-header.is-layout-flow > * + * { margin-block-start: 0; }

/* Right-hand cluster of the top strip: search, then the contact line and the
   mobile-only phone/e-mail icons. */
.ggo-topbar__end { display: flex; align-items: center; gap: 1.25rem; }
.ggo-language-switcher { position: relative; font-family: var(--wp--preset--font-family--plex-mono); font-size: var(--wp--preset--font-size--xs); }
.ggo-language-switcher details { position: relative; }
.ggo-language-switcher summary {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 1.5rem;
  color: inherit; cursor: pointer; opacity: 0.85; list-style: none;
}
.ggo-language-switcher summary::-webkit-details-marker { display: none; }
.ggo-language-switcher summary:hover { opacity: 1; }
.ggo-language-switcher summary:focus-visible { outline: 2px solid var(--wp--preset--color--lichen); outline-offset: 2px; }
.ggo-language-switcher summary svg { width: 0.9rem; height: 0.9rem; stroke: var(--wp--preset--color--lichen); }
.ggo-language-switcher ul {
  position: absolute; top: calc(100% + 0.4rem); right: 0; z-index: 60;
  min-width: 10rem; margin: 0; padding: 0.35rem; list-style: none;
  background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink);
  border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius);
  box-shadow: 0 16px 32px -16px rgb(0 0 0 / 0.35);
}
.ggo-language-switcher li { margin: 0; }
.ggo-language-switcher li a,
.ggo-language-switcher li span {
  display: block; padding: 0.45rem 0.65rem; border: 0; border-radius: var(--wp--custom--radius);
  color: inherit; text-decoration: none; white-space: nowrap;
}
.ggo-language-switcher li a:hover,
.ggo-language-switcher li a:focus-visible { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--forest-deep); }
.ggo-language-switcher li.is-current span { color: var(--wp--preset--color--forest-deep); font-weight: 600; }
.ggo-topbar__search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: transparent;
  color: inherit; cursor: pointer; opacity: 0.85; transition: opacity 150ms ease, transform 150ms ease;
}
.ggo-topbar__search-toggle:hover { opacity: 1; }
.ggo-topbar__search-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--lichen); outline-offset: 2px; }
.ggo-topbar__search-toggle svg { width: 1rem; height: 1rem; stroke: var(--wp--preset--color--lichen); }

/* Expanding search: a bone panel that drops under the fixed header. Hidden by
   default; the header carries .is-search-open while it is up. */
.ggo-header-search {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
  background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink);
  border-bottom: var(--wp--custom--hairline);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.25);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.ggo-header.is-search-open .ggo-header-search { visibility: visible; opacity: 1; transform: none; }
.ggo-header-search__inner {
  max-width: var(--wp--style--global--content-size, 78rem);
  margin-inline: auto;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}
.ggo-header-search__form { display: flex; align-items: stretch; gap: 0.75rem; }
.ggo-header-search__form input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: 2.75rem; padding: 0.25rem 1rem;
  border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius);
  background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink);
  font: inherit; font-size: var(--wp--preset--font-size--lg);
}
.ggo-header-search__form input[type="search"]::placeholder { color: var(--wp--preset--color--muted); }
.ggo-header-search__form input[type="search"]:focus-visible { outline: 2px solid var(--wp--preset--color--moss); outline-offset: 1px; }
.ggo-header-search__submit { height: 2.75rem; }

/* ---------- Footer ---------- */
.ggo-footer { position: relative; }
.ggo-footer__logo { display: block; height: auto; width: max-content; margin: 0 0 1.25rem; }
.ggo-footer__logo .custom-logo-link { display: inline-flex; border: 0; }
.ggo-footer__logo .wp-block-site-logo__image,
.ggo-footer__logo .ggo-logo { display: block; height: 2.5rem; width: auto; }
.ggo-footer__logo .wp-block-site-logo__image { filter: brightness(0) invert(1); }
.ggo-footer__blurb { color: color-mix(in oklch, var(--wp--preset--color--bone) 75%, transparent); max-width: 34rem; }
.ggo-footer__nav .wp-block-navigation-item__content { color: inherit; opacity: 0.85; font-size: var(--wp--preset--font-size--sm); }
.ggo-footer__nav .wp-block-navigation-item__content:hover { opacity: 1; }
/* The reference footer lists the top-level pages flat: no chevrons and no
   drop-downs. The header keeps both. */
.ggo-footer__nav .wp-block-navigation__submenu-icon { display: none; }
.ggo-footer__nav .wp-block-navigation__submenu-container { display: none; }
.ggo-footer__label { color: var(--wp--preset--color--bone); font-weight: 500; margin-bottom: 0.75rem; }
.ggo-footer .ggo-mono a { color: inherit; }
.ggo-footer__social { margin-top: 1.25rem; gap: 0.5rem; }
.ggo-footer__social .wp-social-link { border: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 30%, transparent); border-radius: var(--wp--custom--radius); padding: 0.35rem; }
.ggo-footer__rule { border-color: color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent) !important; margin: 2.5rem 0 1.25rem; }
.ggo-footer__bottom { color: color-mix(in oklch, var(--wp--preset--color--bone) 65%, transparent); }
.ggo-footer__bottom a { color: inherit; border-bottom: 1px solid currentColor; }

/* Hexagonal benzene-ring lattice, 5% opacity, used as a Group block style. */
.is-style-lattice { position: relative; }
.is-style-lattice::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z'/%3E%3Cpath d='M28 63 55 78.5V97M28 63 1 78.5V97'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.is-style-lattice > * { position: relative; }

/* ---------- Block styles ---------- */
.wp-block-group.is-style-ruled { border-top: var(--wp--custom--hairline); padding-top: var(--wp--preset--spacing--30); }

.is-style-dark-band {
  background: var(--wp--preset--color--forest-deep); color: var(--wp--preset--color--bone);
  padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60);
}
.is-style-dark-band a { color: var(--wp--preset--color--lichen); }
.is-style-dark-band .wp-block-button__link { background: var(--wp--preset--color--bone); color: var(--wp--preset--color--forest-deep); border-color: var(--wp--preset--color--bone); }

.is-style-cards { gap: 1.25rem; }
.is-style-card, .ggo-card {
  /* There is no global border-box reset, and these cards are sized by a
     flex-basis: without this the padding and the hairline were added on top of
     the basis and every fixed-width card row came out too wide. */
  box-sizing: border-box;
  border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius);
  background: var(--wp--preset--color--bone); padding: 1.5rem;
  transition: border-color 150ms ease;
}
.is-style-card:hover, .ggo-card:hover { border-color: color-mix(in oklch, var(--wp--preset--color--moss) 50%, transparent); }
@media (min-width: 1024px) { .is-style-card, .ggo-card { padding: 1.75rem; } }

/* Zero-padded index numeral before numbered headings, counted across the page. */
.ggo-main { counter-reset: ggo-index; }
h2.is-style-numbered, h3.is-style-numbered, h4.is-style-numbered { display: flex; align-items: baseline; gap: 0.75rem; }
.is-style-numbered::before {
  counter-increment: ggo-index; content: counter(ggo-index, decimal-leading-zero);
  font-family: var(--wp--preset--font-family--plex-mono); font-size: var(--wp--preset--font-size--sm);
  font-weight: 500; letter-spacing: 0; color: var(--wp--preset--color--moss);
}
.is-style-dark-band .is-style-numbered::before { color: var(--wp--preset--color--lichen); }

p.is-style-mono { font-family: var(--wp--preset--font-family--plex-mono); font-variant-numeric: tabular-nums; }

.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--forest); border-color: var(--wp--preset--color--forest); }
.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--bone-deep); }
.is-style-chip .wp-block-button__link {
  background: var(--wp--preset--color--bone-deep); color: var(--wp--preset--color--forest-deep);
  border-color: var(--wp--preset--color--border); padding: 0.35rem 0.75rem; font-size: var(--wp--preset--font-size--xs);
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}

.wp-block-table table { border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { border: 0; border-bottom: var(--wp--custom--hairline); padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.wp-block-table thead th { font-weight: 600; border-bottom: 1px solid var(--wp--preset--color--ink); }
.is-style-comparison td:last-child, .is-style-comparison th:last-child { background: var(--wp--preset--color--accent); }
.is-style-comparison th:first-child, .is-style-comparison td:first-child { font-weight: 500; }

ul.is-style-ruled, ol.is-style-ruled { list-style: none; padding-left: 0; }
.is-style-ruled > li { padding: 0.9rem 0; border-bottom: var(--wp--custom--hairline); }
.is-style-ruled > li:first-child { border-top: var(--wp--custom--hairline); }

/* ---------- Masthead ---------- */
.ggo-masthead {
  padding-top: calc(var(--wp--custom--header-height) + var(--wp--preset--spacing--60));
  padding-bottom: var(--wp--preset--spacing--60);
}
.ggo-masthead h1 { max-width: 20ch; }
.ggo-masthead__lede { color: color-mix(in oklch, var(--wp--preset--color--bone) 80%, transparent); max-width: 44rem; margin-top: 1.25rem; }
.ggo-masthead__aside { border-left: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); padding-left: var(--wp--preset--spacing--40); }
.ggo-masthead__aside a { color: var(--wp--preset--color--lichen); }
.ggo-masthead .wp-block-post-terms a { color: inherit; border: 0; }
.ggo-masthead .ggo-eyebrow, .ggo-masthead .ggo-eyebrow a { color: var(--wp--preset--color--lichen); }
@media (max-width: 781px) {
  .ggo-masthead__aside { border-left: 0; padding-left: 0; border-top: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); padding-top: var(--wp--preset--spacing--30); }
}

/* Pages that do not open with a dark masthead still need to clear the fixed header. */
.ggo-main:not(:has(.ggo-masthead)) { padding-top: calc(var(--wp--custom--header-height) + var(--wp--preset--spacing--40)); }

/* ---------- Cards ---------- */
.ggo-card { display: flex; flex-direction: column; gap: 0.75rem; height: 100%; }
.ggo-card .wp-block-post-title a { color: inherit; border: 0; }
.ggo-card .wp-block-post-title a:hover { color: var(--wp--preset--color--moss); }
.ggo-card__foot { margin-top: auto; padding-top: 0.75rem; border-top: var(--wp--custom--hairline); align-items: baseline; }
.ggo-card--post .wp-block-post-featured-image { margin: -1.5rem -1.5rem 0.5rem; }
@media (min-width: 1024px) { .ggo-card--post .wp-block-post-featured-image { margin: -1.75rem -1.75rem 0.5rem; } }
.ggo-card .wp-block-post-terms a { border: 0; }

/* Query Loop grids */
.ggo-grid .wp-block-post-template { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .ggo-grid .wp-block-post-template { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ggo-grid--3 .wp-block-post-template { grid-template-columns: repeat(3, 1fr); } }
/* Cards in an entity loop fill their grid cell, so a row of cards with
   different amounts of copy still lines its bottom edges up. The list item is
   the grid item; the card is a child of it, so stretching the item alone is
   not enough. */
.ggo-grid .wp-block-post-template > li { margin: 0; display: flex; }
.ggo-grid .wp-block-post-template > li > .is-style-card,
.ggo-grid .wp-block-post-template > li > .ggo-card { flex: 1 1 auto; }

/* Section rhythm */
.ggo-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
@media (min-width: 1024px) { .ggo-section { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); } }

/* ---------- Seeded page compositions ---------- */
.ggo-hero .ggo-carousel { margin-bottom: var(--wp--preset--spacing--50); }
/* The reference hero runs the carousel edge to edge directly under the header
   (pt-7.5rem, no container). The constrained section centres its children with
   !important margins, so the bleed is a width plus a shift, not a margin. */
.ggo-hero { padding-top: var(--wp--custom--header-height); }
.ggo-hero > .ggo-carousel {
  max-width: none;
  width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
  transform: translateX(calc(-1 * var(--wp--style--root--padding-left)));
}
/* The caption bar under a bled carousel keeps its rule edge to edge but lines
   its text up with the content column below it. */
.ggo-hero > .ggo-carousel .ggo-carousel__bar {
  padding-inline: max(var(--wp--style--root--padding-left), calc((100% - var(--wp--style--global--content-size)) / 2))
                  max(var(--wp--style--root--padding-right), calc((100% - var(--wp--style--global--content-size)) / 2));
}
.ggo-hero__grid { align-items: end; }
.ggo-story .wp-block-column:first-child {
  position: sticky;
  top: calc(var(--wp--custom--header-height) + 2rem);
  align-self: flex-start;
}
/* ---------- Company profile media (Who We Are) ---------- */
/* A cinematic film frame over an editorial photo mosaic. Both are fed by page
   meta, so adding or removing a photo never means editing the page content. */
/* Legacy combined pattern: a compact film centred above the mosaic. */
.ggo-company-media { margin-top: clamp(2rem, 4vw, 3rem); }
.ggo-company-media > .ggo-company-media__film {
  max-width: min(100%, 40rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}
/* Who We Are: the film sits in the dark intro band beside the copy, so it
   reads as part of the section rather than a floating video. */
.ggo-profile__top .ggo-company-media__film { margin: 0; }
.ggo-profile__top .ggo-company-media__frame {
  border: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 14%, transparent);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.7);
}
.ggo-profile__top .ggo-lede { color: color-mix(in oklch, var(--wp--preset--color--bone) 78%, transparent); }
.ggo-profile__gallery { padding-top: clamp(2rem, 4vw, 3rem); }
.ggo-profile__gallery h2 { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.ggo-company-media__frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--wp--custom--radius) * 2);
  background: var(--wp--preset--color--forest-deep);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.55);
}
.ggo-company-media__frame img,
.ggo-company-media__frame video,
.ggo-company-media__frame iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
/* Never crop the film itself: letterbox it on black instead. */
.ggo-company-media__frame video { object-fit: contain; background: #000; }
.ggo-company-media__embed { position: absolute; inset: 0; }
.ggo-company-media__embed iframe { position: absolute; inset: 0; }
.ggo-company-media__poster { position: absolute; inset: 0; }
.ggo-company-media__poster img { filter: saturate(0.85) brightness(0.62); transform: scale(1.02); }
.ggo-company-media__soon {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0.6rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--wp--preset--color--bone);
  background: linear-gradient(to top, color-mix(in oklch, var(--wp--preset--color--forest-deep) 88%, transparent), transparent 65%);
}
.ggo-company-media__soon p {
  margin: 0; max-width: 42ch;
  font-size: var(--wp--preset--font-size--sm);
  color: color-mix(in oklch, var(--wp--preset--color--bone) 80%, transparent);
}
.ggo-company-media__soon .ggo-eyebrow { color: var(--wp--preset--color--lichen); }
.ggo-company-media__badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 0.25rem; padding: 0.35rem 0.7rem;
  border: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 35%, transparent);
  border-radius: 999px;
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ggo-company-media__badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--wp--preset--color--lichen); }
/* Masonry keeps its balance whatever number of photos an editor selects. */
.ggo-company-media__photos { columns: 3; column-gap: 0.75rem; }
@media (max-width: 900px) { .ggo-company-media__photos { columns: 2; } }
.ggo-company-media__photo {
  break-inside: avoid; margin: 0 0 0.75rem; overflow: hidden;
  border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--bone-deep);
}
.ggo-company-media__photo img { display: block; width: 100%; height: auto; transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.ggo-company-media__photo:hover img { transform: scale(1.04); }
@media (min-width: 782px) {
  .ggo-company-media__photos { column-gap: 1rem; }
  .ggo-company-media__photo { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ggo-company-media__photo img { transition: none; }
}

/* Traits and jump chips: a list, not links — nothing to navigate to. */.ggo-chips.wp-block-list { list-style: none; padding-left: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ggo-chips.wp-block-list > li {
  border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius);
  padding: 0.5rem 0.875rem; font-size: var(--wp--preset--font-size--sm);
}
.is-style-dark-band .ggo-chips.wp-block-list > li { border-color: color-mix(in oklch, var(--wp--preset--color--bone) 25%, transparent); color: color-mix(in oklch, var(--wp--preset--color--bone) 85%, transparent); }
/* Cards keep their outline, not a light fill, on the dark bands. */
.is-style-dark-band .is-style-card { background: transparent; border-color: color-mix(in oklch, var(--wp--preset--color--bone) 20%, transparent); }
.is-style-dark-band .is-style-card:hover { border-color: color-mix(in oklch, var(--wp--preset--color--lichen) 60%, transparent); }
.is-style-dark-band .is-style-ruled > li, .is-style-dark-band .wp-block-group.is-style-ruled { border-color: color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); }
.is-style-dark-band .ggo-dl__row { border-color: color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); }
.ggo-cert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; width: 14rem; }
.ggo-cert__mark { margin: 0; }
.ggo-cert__mark img { max-height: 5rem; width: auto; }
.ggo-cert-tile {
  border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius);
  padding: 1rem; background: var(--wp--preset--color--bone);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
}
.ggo-cert-tile img { max-height: 3.5rem; width: auto; }
.ggo-reach-map img { width: 100%; height: auto; }
/* Text alternative for the map picture: the regions it marks. */
.ggo-map-legend.wp-block-list { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); }
.ggo-reach-caption { border-top: var(--wp--custom--hairline); padding-top: var(--wp--preset--spacing--30); }
.ggo-tree { overflow-x: auto; }
.ggo-tree img { width: 100%; min-width: 44rem; height: auto; }
.ggo-brochure { border-radius: var(--wp--custom--radius); margin-top: var(--wp--preset--spacing--50); }
.ggo-numbered-grid .is-style-numbered { align-items: baseline; }

/* The secondary menu item lives in the footer only; the header hides it. */
.ggo-header .ggo-nav .ggo-nav-footer-only { display: none; }
/* Contact channels in the masthead aside: label above a mono link, as on the
   reference. The definition list's two-column row left the address about
   210px and split it mid-word; overflow-wrap is the safety net for the
   narrowest viewports. */
.ggo-channels .ggo-dl__row { padding: 0.5rem 0; grid-template-columns: 1fr; gap: 0.15rem; }
.ggo-channels .ggo-dl__detail { overflow-wrap: anywhere; }
.ggo-masthead .ggo-channels .ggo-dl__term { color: var(--wp--preset--color--lichen); font-size: var(--wp--preset--font-size--xs); text-transform: uppercase; letter-spacing: 0.1em; }
.ggo-masthead .ggo-channels .ggo-dl__detail a { color: var(--wp--preset--color--bone); font-family: var(--wp--preset--font-family--plex-mono); }
/* The honeypot is off-screen, but off-screen text is still rendered text: it
   would otherwise read out in the page's text content. */
.ggo-form .ggo-form__hp { visibility: hidden; }

/* ---------- Cards, mastheads and range pages (parity pass) ---------- */
/* Branded fallback artwork for posts without a featured image. The label is
   deliberately generic: the category already appears immediately below it. */
.ggo-card > .ggo-card__placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.5rem;
  box-sizing: border-box;
  border-radius: var(--wp--custom--radius);
  aspect-ratio: 16 / 9;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 78% 28%, color-mix(in oklch, var(--wp--preset--color--lichen) 32%, transparent) 0 7%, transparent 7.5%),
    radial-gradient(circle at 63% 67%, color-mix(in oklch, var(--wp--preset--color--moss) 38%, transparent) 0 11%, transparent 11.5%),
    linear-gradient(145deg, var(--wp--preset--color--forest) 0 48%, var(--wp--preset--color--forest-deep) 48% 100%);
  color: var(--wp--preset--color--bone);
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.ggo-card > .ggo-card__placeholder::before {
  content: "GG";
  position: absolute;
  inset: 1.25rem auto auto 1.25rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklch, var(--wp--preset--color--lichen) 65%, transparent);
  border-radius: 50%;
  color: var(--wp--preset--color--lichen);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.ggo-card > .ggo-card__placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -38%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklch, var(--wp--preset--color--lichen) 25%, transparent);
  border-radius: 50%;
}
/* Bound paragraphs render empty when their source has nothing to say. */
.ggo-masthead__aside p:empty,
.ggo-card > .ggo-card__placeholder:empty,
.ggo-card__summary:empty { display: none; }
/* The card is a flex column, so the picture's own height would win over the
   16/9 box the Featured Image block asks for. */
.ggo-card .wp-block-post-featured-image { min-height: 0; }
.ggo-card .wp-block-post-featured-image img { display: block; }
/* The whole card links through its title, so this is a cue, not a second link. */
.ggo-card__more {
  margin-top: auto; padding-top: 0.75rem; font-weight: 500;
  color: var(--wp--preset--color--forest);
}
.ggo-card--compact .wp-block-post-excerpt { color: var(--wp--preset--color--muted); }

/* The datasheet card that closes every product range page. */
.ggo-datasheet { margin-top: var(--wp--preset--spacing--50); }
.ggo-datasheet > * { margin-block: 0.35rem; }
@media (min-width: 782px) {
  .ggo-datasheet {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    column-gap: var(--wp--preset--spacing--40);
  }
  .ggo-datasheet .wp-block-buttons { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Entity Query Loops (stats, certifications, locations) ---------- */
/* These loops replace hand-written card rows, so each rule restates the look
   the seeded markup had: the ruled two-up stat grid on the hero, the same
   figures stacked label-first in the Who We Are aside, the marquee row of
   certification marks, and the badge grid beside the accreditation list. */

/* The flow layout's blockGap would add a top margin to every item after the
   first, breaking the rows; the grids space themselves. */
.ggo-stats-loop .wp-block-post-template > li,
.ggo-cert-loop .wp-block-post-template > li,
.ggo-cert-grid-loop .wp-block-post-template > li { margin: 0; }

/* Stats */
.ggo-stats-loop .wp-block-post-template {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--wp--preset--spacing--40);
}
.ggo-stat { display: flex; flex-direction: column; gap: 0.1rem; padding: 1rem 0; height: 100%; box-sizing: border-box; }
.ggo-stat > * { margin: 0; }
.ggo-stat__value {
  font-size: var(--wp--preset--font-size--xxl); font-weight: 600;
  letter-spacing: -0.02em; color: var(--wp--preset--color--lichen);
}
.ggo-stat .ggo-stat__label {
  font-weight: 400; letter-spacing: 0;
  color: color-mix(in oklch, var(--wp--preset--color--bone) 75%, transparent);
}
/* Ruled rows, as the hero's definition list had them. */
.ggo-stats-loop .ggo-stat { border-bottom: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); }
.ggo-stats-loop .wp-block-post-template > li:nth-child(-n+2) .ggo-stat { border-top: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 15%, transparent); }
@media (max-width: 781px) {
  .ggo-stats-loop .wp-block-post-template { grid-template-columns: 1fr; }
  .ggo-stats-loop .wp-block-post-template > li:nth-child(2) .ggo-stat { border-top: 0; }
}
/* The Who We Are aside states the label first and the figure under it. */
.ggo-stats-loop--aside .wp-block-post-template { grid-template-columns: 1fr; }
.ggo-stats-loop--aside .ggo-stat { border: 0; }
.ggo-stats-loop--aside .ggo-stat__label { color: color-mix(in oklch, var(--wp--preset--color--bone) 60%, transparent); }

/* Certification marks: a row inside the marquee, a badge grid on Who We Are. */
.ggo-cert-loop .wp-block-post-template { display: flex; align-items: center; gap: var(--ggo-marquee-gap, 3rem); }
.ggo-cert .wp-block-post-title { font-weight: 400; letter-spacing: 0; }
.ggo-cert .wp-block-post-featured-image,
.ggo-cert-tile .wp-block-post-featured-image { margin: 0; }
.ggo-cert .wp-block-post-featured-image img { height: 3.5rem; width: auto; display: block; }
.ggo-cert-tile .wp-block-post-featured-image img { max-height: 3.5rem; width: auto; }
.ggo-cert-grid-loop .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 781px) { .ggo-cert-grid-loop .wp-block-post-template { grid-template-columns: 1fr; } }

/* Featured range cards: the picture bleeds to the card's edge, as it did when
   the row was a Columns block. */
.ggo-card--featured .wp-block-post-featured-image { margin: -1.5rem -1.5rem 0.75rem; min-height: 0; }
@media (min-width: 1024px) { .ggo-card--featured .wp-block-post-featured-image { margin: -1.75rem -1.75rem 0.75rem; } }
.ggo-card--featured .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
/* A location with no phone or email leaves its bound paragraph empty. */
.ggo-card--location p:empty { display: none; }

/* ---------- Single Event & Masonry Gallery ---------- */
.ggo-event-single { max-width: 68rem; margin-inline: auto; }
.ggo-event-poster { margin-bottom: 2.5rem; }
.ggo-event-poster img {
  width: 100%; max-height: 520px; object-fit: cover; object-position: center 20%;
  border-radius: var(--wp--custom--radius); border: 1px solid var(--wp--preset--color--border);
  display: block;
}
.ggo-event-gallery-section {
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--wp--preset--color--border);
}
.ggo-masonry-gallery {
  column-count: 1;
  column-gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 600px) { .ggo-masonry-gallery { column-count: 2; } }
@media (min-width: 960px) { .ggo-masonry-gallery { column-count: 3; } }
.ggo-masonry-gallery__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--wp--custom--radius);
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--bone-deep);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.ggo-masonry-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.ggo-masonry-gallery__item img {
  width: 100%; height: auto; display: block;
}

/* Article and event image viewer: a quiet, dark inspection frame. */
.ggo-image-viewer-trigger {
  cursor: zoom-in;
}
.ggo-image-viewer-trigger:focus-visible {
  outline: 3px solid var(--wp--preset--color--moss);
  outline-offset: 4px;
}
.ggo-image-viewer-open {
  overflow: hidden;
}
.ggo-image-viewer {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--wp--preset--color--forest-deep);
  color: var(--wp--preset--color--bone);
}
.ggo-image-viewer::backdrop {
  background: rgba(5, 18, 12, 0.94);
}
.ggo-image-viewer__topbar,
.ggo-image-viewer__footer {
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  left: 0;
  width: 100%;
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
}
.ggo-image-viewer__topbar {
  top: 0;
  justify-content: space-between;
  border-bottom: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 18%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ggo-image-viewer__label {
  color: var(--wp--preset--color--lichen);
}
.ggo-image-viewer__footer {
  bottom: 0;
  border-top: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 18%, transparent);
}
.ggo-image-viewer__counter {
  flex: none;
  color: var(--wp--preset--color--lichen);
}
.ggo-image-viewer__caption {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ggo-image-viewer__hint {
  margin-left: auto;
  flex: none;
  opacity: 0.6;
}
.ggo-image-viewer__stage {
  box-sizing: border-box;
  height: 100%;
  display: grid;
  grid-template-columns: clamp(3rem, 7vw, 6rem) minmax(0, 1fr) clamp(3rem, 7vw, 6rem);
  align-items: center;
  padding-block: 5rem;
}
.ggo-image-viewer__image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}
.ggo-image-viewer__close,
.ggo-image-viewer__previous,
.ggo-image-viewer__next {
  border: 1px solid color-mix(in oklch, var(--wp--preset--color--bone) 35%, transparent);
  background: transparent;
  color: var(--wp--preset--color--bone);
  cursor: pointer;
  font: inherit;
  transition: background 150ms ease, border-color 150ms ease;
}
.ggo-image-viewer__close {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.8rem;
  text-transform: none;
  letter-spacing: 0;
}
.ggo-image-viewer__close span {
  font-size: 1.2rem;
  line-height: 1;
}
.ggo-image-viewer__previous,
.ggo-image-viewer__next {
  justify-self: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.ggo-image-viewer button:hover:not(:disabled),
.ggo-image-viewer button:focus-visible {
  background: color-mix(in oklch, var(--wp--preset--color--lichen) 18%, transparent);
  border-color: var(--wp--preset--color--lichen);
}
.ggo-image-viewer button:focus-visible {
  outline: 2px solid var(--wp--preset--color--lichen);
  outline-offset: 3px;
}
.ggo-image-viewer button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .ggo-image-viewer__stage { grid-template-columns: 3rem minmax(0, 1fr) 3rem; }
  .ggo-image-viewer__previous,
  .ggo-image-viewer__next { width: 2.25rem; height: 2.25rem; }
  .ggo-image-viewer__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ggo-image-viewer button { transition: none; }
}

/* ---------- Single Newsletter Layout & Resources ---------- */
.ggo-newsletter-layout {
  display: flex; flex-direction: column; gap: 2.5rem;
}
@media (min-width: 900px) {
  .ggo-newsletter-layout {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3.5rem; align-items: start;
  }
}
.ggo-newsletter-single__cover { margin-bottom: 2rem; }
.ggo-newsletter-single__cover img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--wp--custom--radius); border: 1px solid var(--wp--preset--color--border);
}
.ggo-resource-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.ggo-resource-item a.ggo-resource-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.75rem; border-radius: var(--wp--custom--radius);
  background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink);
  text-decoration: none; font-size: var(--wp--preset--font-size--sm);
  border: var(--wp--custom--hairline);
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.ggo-resource-item a.ggo-resource-link:hover {
  border-color: var(--wp--preset--color--forest);
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--forest-deep);
}

/* ---------- Blog Page & Card Redesign ---------- */
.ggo-blog-header {
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding-bottom: 1.5rem; margin-bottom: 2.5rem;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem;
}
.ggo-card--post {
  background: var(--wp--preset--color--bone);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
}
.ggo-card--post:hover {
  border-color: var(--wp--preset--color--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}
.ggo-card--post .wp-block-post-featured-image {
  margin: -1.5rem -1.5rem 1rem;
  overflow: hidden;
  border-radius: var(--wp--custom--radius) var(--wp--custom--radius) 0 0;
}
.ggo-card--post .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
  transition: transform 240ms ease;
}
.ggo-card--post:hover .wp-block-post-featured-image img {
  transform: scale(1.02);
}
.ggo-article .ggo-blog-cover {
  margin: 0 0 2rem;
}
.ggo-article .ggo-blog-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ggo-card--post .wp-block-post-terms {
  margin-bottom: 0.35rem;
}
.ggo-card--post .wp-block-post-terms a {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: var(--wp--preset--color--bone-deep);
  border-radius: 999px;
  font-size: var(--wp--preset--font-size--xs);
  color: var(--wp--preset--color--forest);
  font-weight: 500; letter-spacing: 0.04em;
}
.ggo-card--post .wp-block-post-title {
  margin-top: 0.25rem; margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ggo-card--post .wp-block-post-title a {
  text-decoration: none; color: var(--wp--preset--color--forest-deep);
}
.ggo-card--post .wp-block-post-title a:hover {
  color: var(--wp--preset--color--moss);
}
.ggo-card--post .wp-block-post-excerpt {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.ggo-card--post .ggo-card__meta,
.ggo-card--post .ggo-card__more {
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--wp--preset--color--bone-deep);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 600;
  color: var(--wp--preset--color--forest);
  transition: color 150ms ease;
}
.ggo-card--post .ggo-card__more::after {
  content: "→";
  margin-left: 0.35rem;
  transition: transform 150ms ease;
}
.ggo-card--post:hover .ggo-card__more {
  color: var(--wp--preset--color--moss);
}
.ggo-card--post:hover .ggo-card__more::after {
  transform: translateX(3px);
}

/* ---------- Newsletter Archive & Card Fallback ---------- */
.ggo-newsletter-archive {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .ggo-newsletter-archive {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}
.ggo-newsletter-archive__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .ggo-newsletter-archive__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ggo-newsletter-card {
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--bone);
  border: var(--wp--custom--hairline);
  border-radius: var(--wp--custom--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.ggo-newsletter-card:hover {
  border-color: var(--wp--preset--color--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}
.ggo-newsletter-card__media {
  aspect-ratio: 16 / 10;
  height: 220px;
  width: 100%;
  background: var(--wp--preset--color--bone-deep);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.ggo-newsletter-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}
.ggo-newsletter-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 240ms ease;
}
.ggo-newsletter-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--bone-deep);
}
.ggo-newsletter-card:hover .ggo-newsletter-card__media img {
  transform: scale(1.02);
}
.ggo-newsletter-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.ggo-newsletter-card__date {
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--moss);
  font-weight: 500;
}
.ggo-newsletter-card__title {
  margin: 0;
  font-size: var(--wp--preset--font-size--xl);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ggo-newsletter-card__desc {
  font-size: var(--wp--preset--font-size--sm);
  color: var(--wp--preset--color--muted);
  line-height: 1.55;
  margin-top: 0.25rem;
  flex: 1;
}
.ggo-newsletter-card__actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: var(--wp--custom--hairline);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ggo-newsletter-card__title a {
  color: var(--wp--preset--color--forest-deep);
  text-decoration: none;
  transition: color 150ms ease;
}
.ggo-newsletter-card__title a:hover {
  color: var(--wp--preset--color--moss);
}
.ggo-newsletter-card__read {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: transparent;
  color: var(--wp--preset--color--forest) !important;
  border: 1px solid var(--wp--preset--color--forest);
  border-radius: var(--wp--custom--radius);
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 500;
  text-decoration: none;
  transition: all 150ms ease;
}
.ggo-newsletter-card__read:hover {
  background: var(--wp--preset--color--bone-deep);
  color: var(--wp--preset--color--forest-deep) !important;
}
.ggo-newsletter-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--wp--preset--color--forest);
  color: var(--wp--preset--color--bone) !important;
  border: 1px solid var(--wp--preset--color--forest);
  border-radius: var(--wp--custom--radius);
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.ggo-newsletter-card__download:hover {
  background: var(--wp--preset--color--forest-deep);
}
.ggo-newsletter-sidebar {
  background: var(--wp--preset--color--bone-deep);
  border: var(--wp--custom--hairline);
  border-radius: var(--wp--custom--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--wp--custom--header-height) + 1.5rem);
}
.ggo-newsletter-sidebar__heading {
  font-size: var(--wp--preset--font-size--xl);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--wp--custom--hairline);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ggo-newsletter-sidebar__section {
  margin-bottom: 1.75rem;
}
.ggo-newsletter-sidebar__subheading {
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--moss);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.ggo-newsletter-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ggo-newsletter-sidebar__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--wp--custom--radius);
  background: var(--wp--preset--color--bone);
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--sm);
  border: var(--wp--custom--hairline);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}
.ggo-newsletter-sidebar__item a:hover {
  border-color: var(--wp--preset--color--forest);
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--forest-deep);
}

/* 2026 visual refinement: denser navigation, cards, and site footer. */
.ggo-header .ggo-logo {
  height: 2rem;
  width: auto;
}
.ggo-header .ggo-wordmark .wp-block-site-logo__image {
  height: 2rem;
  width: auto;
}
.ggo-header .ggo-navbar__right {
  gap: 0.5rem;
}
.ggo-header .ggo-nav .wp-block-navigation__container {
  gap: 0.125rem;
}
.ggo-header .ggo-nav .wp-block-navigation-item__content {
  padding: 0.35rem 0.5rem;
}
.ggo-topbar__end {
  gap: 0.85rem;
}
.ggo-header .ggo-topbar__social {
  transform: scale(0.85);
  transform-origin: left center;
}

.has-forest-deep-background-color .ggo-carousel__link,
.is-style-dark-band .ggo-carousel__link,
.has-forest-deep-background-color .ggo-carousel__link:hover,
.is-style-dark-band .ggo-carousel__link:hover {
  color: var(--wp--preset--color--forest-deep) !important;
}

.has-forest-deep-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.ggo-masthead .wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--wp--preset--color--lichen);
  border-color: var(--wp--preset--color--lichen);
  color: var(--wp--preset--color--forest-deep) !important;
}
.has-forest-deep-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ggo-masthead .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--bone);
  border-color: var(--wp--preset--color--bone);
  color: var(--wp--preset--color--forest-deep) !important;
}

.ggo-blog-grid .wp-block-post-template {
  gap: 1rem;
}
.ggo-blog-grid .ggo-card--post {
  gap: 0.55rem;
  padding: 1rem;
}
.ggo-blog-grid .ggo-card--post > * {
  margin-block: 0;
}
.ggo-blog-grid .ggo-card--post .wp-block-post-featured-image,
.ggo-blog-grid .ggo-card--post .ggo-post-card__placeholder {
  margin: -1rem -1rem 0.45rem;
}
.ggo-blog-grid .ggo-card--post .wp-block-post-featured-image img,
.ggo-blog-grid .ggo-card--post .ggo-post-card__placeholder {
  aspect-ratio: 3 / 2;
  min-height: 0;
}
.ggo-blog-grid .ggo-card--post .wp-block-post-title {
  line-height: 1.18;
  margin-block: 0.1rem;
}
.ggo-blog-grid .ggo-card--post .ggo-post-card__summary {
  line-height: 1.42;
}
.ggo-blog-grid .ggo-card--post .ggo-card__more {
  margin-top: 0.45rem;
  padding-top: 0.65rem;
}
@media (min-width: 1024px) {
  .ggo-blog-grid .wp-block-post-template {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ggo-footer {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem) 1.25rem;
}
.ggo-footer__lead {
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.ggo-footer__lead > .wp-block-group {
  max-width: 46rem;
  margin: 0;
}
.ggo-footer__lead .ggo-eyebrow,
.ggo-footer__lead .wp-block-heading {
  margin-block: 0;
}
.ggo-footer__lead .ggo-eyebrow {
  color: var(--wp--preset--color--lichen);
  margin-bottom: 0.65rem;
}
.ggo-footer__lead .wp-block-heading {
  max-width: 18ch;
  line-height: 1.08;
}
.ggo-footer__cta .wp-block-button__link {
  background: var(--wp--preset--color--lichen);
  color: var(--wp--preset--color--forest-deep);
  white-space: nowrap;
}
.ggo-footer__cta .wp-block-button__link:hover {
  background: var(--wp--preset--color--bone);
  color: var(--wp--preset--color--forest-deep);
}
.ggo-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(8rem, 0.65fr) minmax(8rem, 0.65fr) minmax(15rem, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 2.5rem;
}
.ggo-footer__columns > .wp-block-column {
  width: auto !important;
  flex-basis: auto !important;
}
.ggo-footer__logo {
  display: block;
  width: auto;
  height: 2.25rem;
  margin-bottom: 1.15rem;
}
.ggo-footer__blurb {
  max-width: 34ch;
  color: color-mix(in srgb, currentColor 74%, transparent);
  line-height: 1.55;
}
.ggo-footer__plant-line {
  color: var(--wp--preset--color--lichen);
  letter-spacing: 0.04em;
}
.ggo-footer__label {
  margin: 0 0 1rem;
  color: var(--wp--preset--color--lichen);
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs) !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ggo-footer__links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ggo-footer__links li {
  margin: 0;
}
.ggo-footer__links a,
.ggo-footer__office a,
.ggo-footer__bottom a {
  color: color-mix(in srgb, currentColor 76%, transparent);
  text-decoration: none;
}
.ggo-footer__links a:hover,
.ggo-footer__office a:hover,
.ggo-footer__bottom a:hover {
  color: var(--wp--preset--color--lichen);
}
.ggo-footer__office > p {
  color: color-mix(in srgb, currentColor 76%, transparent);
  line-height: 1.6;
}
.ggo-footer__contact {
  font-size: var(--wp--preset--font-size--xs) !important;
}
.ggo-footer__social {
  margin-top: 1rem;
  gap: 0.75rem;
}
.ggo-footer__bottom {
  gap: 0.75rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  color: color-mix(in srgb, currentColor 62%, transparent);
}
.ggo-footer__bottom p {
  margin-block: 0;
}
@media (max-width: 900px) {
  .ggo-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .ggo-header .ggo-logo {
    height: 1.8rem;
  }
  .ggo-footer__lead {
    align-items: flex-start;
  }
  .ggo-footer__columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ggo-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 781px) {
  .ggo-story .wp-block-column:first-child {
    position: static;
  }
}

/* Contact page: a technical intake sheet with a compact reference rail. */
.ggo-masthead .ggo-channels {
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.ggo-masthead .ggo-channels .ggo-dl__row {
  gap: 0.3rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.ggo-masthead .ggo-channels .ggo-dl__detail a {
  display: inline-block;
  padding-block: 0.15rem;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
.ggo-masthead .ggo-channels .ggo-dl__detail a:hover {
  border-bottom-color: var(--wp--preset--color--lichen);
}

.ggo-contact-intake__intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 2.25rem;
}
.ggo-contact-intake__intro > * {
  margin-block: 0;
}
.ggo-contact-intake__intro .wp-block-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.ggo-contact-intake__intro p {
  max-width: 44rem;
  font-size: var(--wp--preset--font-size--lg);
  line-height: 1.55;
}
.ggo-contact-intake__grid {
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius);
  background: var(--wp--preset--color--bone);
  box-shadow: 0 1.5rem 4rem -3rem color-mix(in srgb, var(--wp--preset--color--forest-deep) 45%, transparent);
}
.ggo-contact-intake__grid > .wp-block-column {
  display: flex;
}
.ggo-contact-intake__facts,
.ggo-contact-intake__form {
  width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.ggo-contact-intake__facts {
  position: relative;
  overflow: hidden;
  background-color: var(--wp--preset--color--forest-deep);
  color: var(--wp--preset--color--bone);
}
.ggo-contact-intake__facts .ggo-dl__row {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.ggo-contact-intake__facts .ggo-dl__row:first-child {
  padding-top: 0;
}
.ggo-contact-intake__facts .ggo-dl__term {
  color: var(--wp--preset--color--lichen);
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ggo-contact-intake__facts .ggo-dl__detail {
  color: var(--wp--preset--color--bone);
  font-size: var(--wp--preset--font-size--lg);
  line-height: 1.4;
}
.ggo-contact-intake__form {
  background: var(--wp--preset--color--bone);
}
.ggo-contact-intake__form .ggo-form__grid {
  gap: 1.15rem 1.25rem;
}
.ggo-contact-intake__form .ggo-field {
  gap: 0.45rem;
}
.ggo-contact-intake__form .ggo-field__label {
  font-family: var(--wp--preset--font-family--plex-mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ggo-contact-intake__form .ggo-field__input {
  box-sizing: border-box;
  height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius);
  background: color-mix(in srgb, var(--wp--preset--color--bone-deep) 55%, white);
}
.ggo-contact-intake__form textarea.ggo-field__input {
  height: auto;
  min-height: 8.5rem;
  resize: vertical;
}
.ggo-contact-intake__form .ggo-field__input:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--forest) 40%, var(--wp--preset--color--border));
}
.ggo-contact-intake__form .ggo-field__input:focus {
  border-color: var(--wp--preset--color--moss);
  outline: 3px solid color-mix(in srgb, var(--wp--preset--color--lichen) 40%, transparent);
  outline-offset: 1px;
}
.ggo-contact-intake__form .ggo-field__error {
  min-height: 1em;
}
.ggo-contact-intake__form .ggo-form__actions {
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: var(--wp--custom--hairline);
}
.ggo-contact-intake__form .ggo-form__submit {
  min-width: 10rem;
}
.ggo-contact-intake__note {
  margin: 1rem 0 0;
  color: var(--wp--preset--color--muted);
}

.ggo-contact-locations__heading {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: var(--wp--custom--hairline);
}
.ggo-contact-locations__heading .wp-block-heading {
  margin: 0;
}
.ggo-contact-locations .wp-block-post-template {
  gap: 1rem;
}
.ggo-contact-locations .ggo-card--location {
  min-height: 17rem;
  padding: 1.5rem;
  border-top: 4px solid var(--wp--preset--color--moss);
  background: var(--wp--preset--color--bone-deep);
  box-shadow: none;
}
.ggo-contact-locations .ggo-card--location > * {
  margin-block: 0;
}
.ggo-contact-locations .ggo-card--location .wp-block-post-title {
  margin-top: 1.25rem;
  line-height: 1.15;
}
.ggo-contact-locations .ggo-card--location .wp-block-post-title + p {
  margin-top: 1.5rem;
  line-height: 1.55;
}
.ggo-contact-locations .ggo-card--location .ggo-mono {
  margin-top: auto;
  padding-top: 1rem;
}
.ggo-contact-locations .wp-block-post-template > li:first-child .ggo-card--location {
  border-color: var(--wp--preset--color--lichen);
  background: var(--wp--preset--color--forest-deep);
  color: var(--wp--preset--color--bone);
}
.ggo-contact-locations .wp-block-post-template > li:first-child .ggo-card--location .wp-block-post-title,
.ggo-contact-locations .wp-block-post-template > li:first-child .ggo-card--location p {
  color: var(--wp--preset--color--bone);
}
.ggo-contact-locations .wp-block-post-template > li:first-child .ggo-card--location a,
.ggo-contact-locations .wp-block-post-template > li:first-child .ggo-card--location .ggo-eyebrow {
  color: var(--wp--preset--color--lichen);
}

@media (max-width: 781px) {
  .ggo-contact-intake__intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ggo-contact-intake__intro p {
    font-size: var(--wp--preset--font-size--md);
  }
  .ggo-contact-intake__grid {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .ggo-contact-intake__grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .ggo-contact-intake__facts,
  .ggo-contact-intake__form {
    padding: 1.5rem;
  }
  .ggo-contact-intake__form {
    border: 1px solid var(--wp--preset--color--border);
  }
}
@media (max-width: 599px) {
  .ggo-contact-intake__form .ggo-form__actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .ggo-contact-intake__form .ggo-form__submit {
    width: 100%;
  }
  .ggo-contact-locations .ggo-card--location {
    min-height: 0;
  }
}

/* GG Organics manufacturer descriptor and verified product markers. */
.ggo-product-leaf {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-inline-start: 0.25rem;
  vertical-align: -0.15em;
  color: var(--wp--preset--color--moss);
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .ggo-topbar__contact { display: none; }
  .ggo-topbar__icons { display: flex; }
}
/* SVG variants change only the lettering; the symbol keeps its original green. */
.ggo-header .ggo-logo.ggo-brand-svg {
  width: min(15rem, calc(100vw - 7.5rem));
  height: auto;
  filter: none;
}
.ggo-footer__logo:has(.ggo-brand-svg) {
  height: auto;
  margin-bottom: 1rem;
}
.ggo-footer__logo .ggo-logo.ggo-brand-svg {
  width: 15rem;
  max-width: 100%;
  height: auto;
  filter: none;
}

/* Keep translated menus and footer actions usable on narrow viewports. */
.ggo-header .ggo-wordmark { flex: 0 0 auto; }
.ggo-header .ggo-navbar__right { min-width: 0; }
.ggo-footer__lead > * { min-width: 0; max-width: 100%; }
.ggo-footer__lead .wp-block-heading { overflow-wrap: anywhere; }
.ggo-footer__cta { min-width: 0; max-width: 100%; }
.ggo-footer__cta .wp-block-button__link {
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container-open { display: flex; }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container-open,
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container-close {
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
}
@media (max-width: 599px) {
  .ggo-footer__lead .wp-block-heading {
    font-size: clamp(1.5rem, 6.5vw, 1.875rem) !important;
    max-width: 100%;
  }
}

/* Mobile controls follow the menu; search is the first item inside it. */
@media (max-width: 767px) {
  .ggo-header .ggo-topbar__social,
  .ggo-header .ggo-topbar__search-toggle { display: none; }
  .ggo-header .ggo-topbar > .wp-block-group { justify-content: flex-end; }
  .ggo-header .ggo-navbar__right { flex: 0 0 auto; gap: 0.5rem; }
  .ggo-header .ggo-logo.ggo-brand-svg { width: min(15rem, calc(100vw - 10rem)); }
  .ggo-header .ggo-navbar__right .ggo-language-switcher { margin: 0; }
  .ggo-header .ggo-navbar__right .ggo-language-switcher summary { min-width: 44px; min-height: 44px; justify-content: center; }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container-content { align-items: stretch; }
  .ggo-header .ggo-nav .ggo-header-search {
    position: static; width: 100%; box-sizing: border-box; margin: 0 0 1.5rem;
    visibility: visible; opacity: 1; transform: none; transition: none;
    background: transparent; border: 0; box-shadow: none;
  }
  .ggo-header .ggo-nav .ggo-header-search__inner { padding: 0; max-width: none; }
  .ggo-header .ggo-nav .ggo-header-search__form { width: 100%; gap: 0.5rem; }
  .ggo-header .ggo-nav .ggo-header-search input { width: 0; font-size: 1rem; }
  .ggo-header .ggo-nav .ggo-header-search__submit { flex: 0 0 auto; padding-inline: 0.75rem; }
}

@media (max-width: 767px) {
  .ggo-header .ggo-topbar { display: none; }
  .ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem 1.5rem 2rem;
  }
  .ggo-header .ggo-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0;
    gap: 0;
  }
  .ggo-mobile-menu-toolbar { display: flex; align-items: center; gap: 0.75rem; width: 100%; margin-bottom: 0.75rem; }
  .ggo-header .ggo-nav .ggo-mobile-menu-toolbar .ggo-header-search { order: -1; flex: 1; min-width: 0; margin: 0; }
  .ggo-header .ggo-navbar .ggo-mobile-menu-toolbar .wp-block-navigation__responsive-container-close {
    position: static; flex: 0 0 44px; margin: 0; border: 1px solid rgb(255 255 255 / 20%); border-radius: 3px;
  }
  .ggo-header .ggo-nav .ggo-mobile-menu-toolbar input { font-size: 1rem; padding-inline: 0.65rem; }
  .ggo-header .ggo-nav .ggo-mobile-menu-toolbar .ggo-header-search__submit { font-size: 0.875rem; padding-inline: 0.6rem; background: var(--wp--preset--color--lichen); color: var(--wp--preset--color--forest-deep); }
}

/* A fixed header must not leave the block layout's normal sibling gap. */
.wp-site-blocks > .ggo-main { margin-block-start: 0; }
@media (max-width: 1279px) {
  /* Keep the page's light sections while coloring the browser's bounce canvas. */
  html, body { background-color: var(--wp--preset--color--forest-deep); }
  .wp-site-blocks { background-color: var(--wp--preset--color--bone); }
}

/* iOS zooms focused text controls when their computed text is under 16px. */
@media (max-width: 1279px) {
  input, textarea, select { font-size: max(16px, 1em) !important; }
}
.ggo-stat__unit { font-size: var(--wp--preset--font-size--xs); font-weight: 400; letter-spacing: 0; }
.ggo-stat__secondary { display: block; margin-top: 0.5rem; font-size: var(--wp--preset--font-size--md); letter-spacing: 0; }

/* Keep the full navigation on tablets with compact text and arrow spacing. */
@media (min-width: 768px) {
  .ggo-header .ggo-navbar > .wp-block-group { gap: 1rem; }
  .ggo-header .ggo-logo.ggo-brand-svg { width: clamp(9rem, 20vw, 15rem); }
  .ggo-header .ggo-navbar__right { flex: 1 1 auto; justify-content: flex-end; }
  .ggo-header .ggo-nav { font-size: clamp(12.5px, 1vw, 14px); }
  .ggo-header .ggo-nav .wp-block-navigation__container { gap: clamp(0.125rem, 0.4vw, 0.5rem); }
  .ggo-header .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item { gap: 0.125rem; }
  .ggo-header .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 0.5rem 0.2rem; white-space: nowrap; }
  .ggo-header .ggo-nav .wp-block-navigation__submenu-icon { margin: 0; width: 0.65rem; height: 2rem; }
  .ggo-header .ggo-nav .wp-block-navigation__submenu-icon svg { width: 0.5rem; height: 0.5rem; }
  .ggo-header .ggo-nav .wp-block-navigation__responsive-container-open { display: none; }
}

@media (min-width: 960px) and (max-width: 1099px) {
  .ggo-header .ggo-navbar { padding-inline: 1rem; }
  .ggo-header .ggo-navbar > .wp-block-group { gap: 0.5rem; }
  .ggo-header .ggo-logo.ggo-brand-svg { width: 9rem; }
  .ggo-header .ggo-nav { font-size: 12.5px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  :root { --wp--custom--header-height: 7.75rem; }
  .ggo-header .ggo-navbar { height: 6rem; padding-inline: 1rem; }
  .ggo-header .ggo-navbar > .wp-block-group {
    display: grid; grid-template-columns: 1fr; grid-template-rows: 2rem 2.75rem;
    gap: 0.25rem; padding-block: 0.5rem; box-sizing: border-box;
  }
  .ggo-header .ggo-navbar__right { width: 100%; justify-content: center; margin: 0; }
  .ggo-header .ggo-nav { width: 100%; font-size: 13px; }
  .ggo-header .ggo-nav .wp-block-navigation__container { width: 100%; justify-content: space-between; }
  .ggo-header .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    white-space: normal; max-width: 21ch; line-height: 1.3;
  }
}
@media (min-width: 768px) and (max-width: 959px) {
  .ggo-header .ggo-wordmark { justify-self: start; }
  .ggo-header .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding-block: 0.25rem; }
}
@media (min-width: 768px) {
  .ggo-header .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-last-child(-n+3) > .wp-block-navigation__submenu-container { left: auto; right: 0; }
}

@media (min-width: 768px) {
  .ggo-header.is-transparent .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
  .ggo-header.is-transparent .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--bone); }
  .ggo-header:not(.is-transparent) .ggo-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--ink); }
  .ggo-header .ggo-mobile-menu-toolbar { display: none; }
}

/* A missing catalogue URL should offer a short route back to a useful page. */
.ggo-not-found__grid { align-items: center; gap: clamp(2rem, 5vw, 5rem); margin-block: 0; }
.ggo-not-found .ggo-not-found__code { color: var(--wp--preset--color--lichen); font-size: 1rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.ggo-not-found h1 { font-size: clamp(2.5rem, 5vw, 4rem); max-width: 14ch; }
.ggo-not-found__masthead .ggo-lede { max-width: 35rem; }
.ggo-not-found__actions { margin-top: 1.75rem; gap: 0.75rem; }
.ggo-not-found__actions .wp-block-button__link { white-space: normal; }
.ggo-not-found__search {
  box-sizing: border-box; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--wp--preset--color--bone); color: var(--wp--preset--color--ink);
  border-top: 3px solid var(--wp--preset--color--lichen);
}
.ggo-not-found__search h2 { color: var(--wp--preset--color--forest-deep); margin: 0 0 0.75rem; }
.ggo-not-found__search p { color: var(--wp--preset--color--muted); margin-bottom: 1.25rem; }
.ggo-not-found__form .wp-block-search__inside-wrapper { gap: 0.5rem; }
.ggo-not-found__form .wp-block-search__input { min-width: 0; width: 0; flex: 1; padding: 0.65rem; font-size: 1rem; border: var(--wp--custom--hairline); border-radius: var(--wp--custom--radius); background: white; color: var(--wp--preset--color--ink); }
.ggo-not-found__form .wp-block-search__button { margin: 0; padding-inline: 1rem; background: var(--wp--preset--color--forest); color: var(--wp--preset--color--bone); }
.ggo-not-found__form :focus-visible { outline: 2px solid var(--wp--preset--color--moss); outline-offset: 3px; }
.ggo-not-found__browse { padding-block: var(--wp--preset--spacing--50); }
.ggo-not-found__browse h2 { margin-bottom: 1.5rem; }
.ggo-not-found__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: var(--wp--custom--hairline); }
.ggo-not-found__destination { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 1.75rem 1.5rem 0; text-decoration: none; color: var(--wp--preset--color--forest-deep); }
.ggo-not-found__destination + .ggo-not-found__destination { border-inline-start: var(--wp--custom--hairline); padding-inline-start: 1.75rem; }
.ggo-not-found__destination-title { display: block; font-size: var(--wp--preset--font-size--xl); font-weight: 600; line-height: 1.3; }
.ggo-not-found__destination-summary { display: block; margin-top: 0.5rem; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); }
.ggo-not-found__arrow { flex: 0 0 auto; color: var(--wp--preset--color--moss); font-size: 1.75rem; }
.ggo-not-found__destination:hover { background: var(--wp--preset--color--accent); }
.ggo-not-found__destination:focus-visible { outline: 2px solid var(--wp--preset--color--moss); outline-offset: 3px; }
@media (max-width: 781px) {
  .ggo-not-found__grid { gap: 1.75rem; }
  .ggo-not-found__search { width: 100%; }
  .ggo-not-found__links { grid-template-columns: 1fr; }
  .ggo-not-found__destination { padding: 1.25rem 0; }
  .ggo-not-found__destination + .ggo-not-found__destination { border-inline-start: 0; border-top: var(--wp--custom--hairline); padding-inline-start: 0; }
}
@media (max-width: 399px) {
  .ggo-not-found__form .wp-block-search__inside-wrapper { flex-direction: column; }
  .ggo-not-found__form .wp-block-search__input { width: 100%; box-sizing: border-box; flex: auto; }
  .ggo-not-found__form .wp-block-search__button { min-height: 44px; }
}
.ggo-not-found__search { align-self: center; }
.ggo-not-found__actions .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--wp--preset--color--lichen); color: var(--wp--preset--color--forest-deep); }
.ggo-not-found__actions .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--bone) !important; border-color: color-mix(in oklch, var(--wp--preset--color--bone) 45%, transparent); }
.ggo-not-found__actions .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--forest); }
@media (max-width: 767px) {
  .ggo-not-found__masthead { padding-top: 5.75rem; padding-bottom: 2.5rem; }
}

/* PDF corrections, pages 6–10: retain the brand palette and ruled layouts. */
.ggo-hero .wp-block-buttons .wp-block-button__link {
  background: var(--wp--preset--color--lichen);
  color: var(--wp--preset--color--forest-deep);
  border: 1px solid var(--wp--preset--color--lichen);
}
.ggo-hero .wp-block-buttons .wp-block-button__link:hover {
  background: var(--wp--preset--color--bone);
  color: var(--wp--preset--color--forest-deep);
}
.ggo-company-slideshow { min-width: 0; }
.ggo-company-slideshow .ggo-company-media__photos {
  display: flex; columns: auto; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.ggo-company-slideshow .ggo-company-media__photo {
  flex: 0 0 100%; margin: 0; scroll-snap-align: start;
  aspect-ratio: 16 / 9; border-radius: 0;
}
.ggo-company-slideshow .ggo-company-media__photo img {
  width: 100%; height: 100%; object-fit: contain; transform: none;
}
.ggo-company-slideshow__controls:not([hidden]) {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem;
}
.ggo-company-slideshow__controls button {
  font: inherit; color: var(--wp--preset--color--forest);
  background: transparent; border: var(--wp--custom--hairline);
  min-height: 44px; padding: .5rem 1rem; cursor: pointer;
}
.ggo-company-slideshow__controls button:disabled { opacity: .4; cursor: default; }
.ggo-company-slideshow__count { font-family: var(--wp--preset--font-family--plex-mono); white-space: nowrap; }
@media (max-width: 781px) {
  .ggo-masthead__aside:has(.ggo-stats-loop--aside) { border-top: 0; }
  .ggo-company-slideshow .ggo-company-media__photo { aspect-ratio: 4 / 3; }
  .ggo-timeline:has(.ggo-timeline__list) .ggo-timeline__scroll { display: none; }
  .ggo-timeline__list { margin-top: 0; }
  .ggo-timeline__item { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; }
  .ggo-timeline__item-text { position: relative; padding-left: 1rem; border-left: var(--wp--custom--hairline); }
  .ggo-timeline__item-text::before {
    content: ''; position: absolute; left: -.3rem; top: .5rem;
    width: .55rem; height: .55rem; border-radius: 50%; background: var(--wp--preset--color--moss);
  }
  .ggo-company-slideshow__controls { gap: .5rem; }
  .ggo-company-slideshow__controls button { padding-inline: .75rem; }
}
@media (max-width: 781px) {
  /* Long translated headings must fit the content column at narrow widths. */
  .ggo-main :is(h1, h2, h3) { overflow-wrap: anywhere; }
}
.ggo-company-slideshow__thumbnails:not([hidden]) {
  display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 2px .25rem;
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.ggo-company-slideshow__thumbnail {
  flex: 0 0 96px; width: 96px; height: 72px; padding: 3px;
  background: var(--wp--preset--color--bone-deep);
  border: 2px solid transparent; cursor: pointer;
}
.ggo-company-slideshow__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ggo-company-slideshow__thumbnail[aria-pressed="true"] { border-color: var(--wp--preset--color--forest); }
.ggo-company-slideshow__thumbnail:focus-visible { outline: 2px solid var(--wp--preset--color--forest); outline-offset: 2px; }
@media (max-width: 599px) {
  .ggo-company-slideshow__thumbnail { flex-basis: 76px; width: 76px; height: 60px; }
}
/* Keep the Who We Are statistics open at the top and beside the introduction. */
.ggo-masthead__aside:has(.ggo-stats-loop--aside) { border-left: 0; border-top: 0; }
.ggo-stats-loop--aside .wp-block-post-template > li:first-child .ggo-stat { border-top: 0; }
/* Keep newsletter downloads and resources inside the same sidebar content edge. */
.ggo-newsletter-sidebar .ggo-newsletter-card__download {
  box-sizing: border-box; display: flex; width: 100%; justify-content: center;
  padding: .65rem 1rem; font-size: .9rem; text-align: center;
  white-space: normal; overflow-wrap: anywhere;
}
.ggo-newsletter-sidebar .ggo-resource-link { min-width: 0; overflow-wrap: anywhere; }
.ggo-newsletter-sidebar .ggo-resource-link > span { min-width: 0; }
/* Viewer wrapper for gallery images with watermarks baked into the image files. */
.ggo-watermarked-photo,
.ggo-watermarked-thumbnail,
.ggo-image-viewer__photo { position: relative; min-width: 0; }
.ggo-image-viewer__photo { display: flex; align-items: center; justify-content: center; }

/* Brand artwork beside the homepage Vision and Mission copy. */
#vision-mission .ggo-vision-logo { width: min(100%, 20rem); margin-inline: auto; }
#vision-mission .ggo-vision-logo img { width: 100%; height: auto; object-fit: contain; }
