/**
 * GOI — custom.css
 * Section/layout styles for the block theme, ported from design/mockups/goi-home-v3.html.
 * Tokens come from theme.json presets — do not hardcode palette values here.
 * Loaded on the front end AND in the editor (add_editor_style) for WYSIWYG parity.
 * Scroll-reveal styles are gated behind html.goi-js so editor content is never hidden.
 */

:root {
  --pine: var(--wp--preset--color--pine);
  --pine-2: var(--wp--preset--color--pine-2);
  --paper: var(--wp--preset--color--paper);
  --paper-2: var(--wp--preset--color--paper-2);
  --cream: var(--wp--preset--color--cream);
  --ink: var(--wp--preset--color--ink);
  --ink-soft: var(--wp--preset--color--ink-soft);
  --orange: var(--wp--preset--color--orange);
  --orange-deep: var(--wp--preset--color--orange-deep);
  --orange-text: #a8440a;            /* orange for SMALL text on light backgrounds: 4.8-5.6:1 (Brett, 2026-11-23) */
  --orange-text-lg: var(--orange-deep); /* orange for LARGE text on light backgrounds: 3.3-3.8:1 */
  --line: var(--wp--custom--line);
  --pine-line: var(--wp--custom--pine-line);
  --ease: var(--wp--custom--ease);
}

/* ---------- accessibility ---------- */
.skip-to-content {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 0.7rem 1rem; background: var(--orange); color: #fff; text-decoration: none;
}
.skip-to-content:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

/* ---------- container + section scaffolding ---------- */
.goi-wrap { width: min(1180px, 92vw); margin-inline: auto; }
.goi-sec { padding: var(--wp--custom--section-pad) 0; margin-block: 0 !important; }
.goi-sec--pine { background: var(--pine); color: var(--cream); }
.goi-sec--paper2 { background: var(--paper-2); }
.goi-sec--orange { background: var(--orange); color: #1a0d02; }
.goi-sec--pine h1, .goi-sec--pine h2, .goi-sec--pine h3 { color: var(--cream); }
.goi-sec-head { max-width: 62ch; }
.goi-sec-head h2 { margin-top: 1rem; }
.goi-dek { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; max-width: 52ch; }

/* ---------- eyebrow + leaf ---------- */
.goi-eyebrow {
  font-family: var(--wp--preset--font-family--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
  display: inline-flex; align-items: center; gap: .55rem;
}
.goi-leaf { width: 14px; height: 14px; flex: 0 0 auto; }
.goi-leaf path { fill: var(--orange); }

/* ---------- buttons (variants on core button block) ---------- */
.wp-block-button__link { transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.goi-btn-ghost .wp-block-button__link {
  background: transparent; border: 1.5px solid rgba(243,241,234,.34); color: var(--cream);
}
.goi-btn-ghost .wp-block-button__link:hover { border-color: var(--cream); background: rgba(243,241,234,.06); color: var(--cream); }
.goi-btn-ink .wp-block-button__link {
  background: transparent; border: 1.5px solid var(--line); color: var(--ink);
}
.goi-btn-ink .wp-block-button__link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.goi-btn-dark .wp-block-button__link { background: var(--pine); color: var(--cream); }
.goi-btn-dark .wp-block-button__link:hover { background: #000; color: var(--cream); }

/* ---------- header ---------- */
.goi-header {
  position: sticky; top: 0; z-index: 100; background: rgba(19,23,16,.82);
  backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--pine-line);
}
/* Pin the header (2026-11-23). WordPress wraps the header template part in
   <header class="wp-block-template-part"> of the same height, so .goi-header's own sticky
   had no room to stick and the header scrolled away on every page. The wrapper is the
   element that has to stick. Offset by the admin bar when signed in (the bar is not fixed
   below 600px, so no offset there). scroll-padding keeps #anchor targets clear of it. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
@media (max-width: 600px) { .wp-site-blocks > header.wp-block-template-part { top: 0; } }
html { scroll-padding-top: 5rem; }
.goi-header .goi-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; transition: padding .3s var(--ease); }
.goi-header.shrink .goi-nav { padding: .6rem 0; }
.goi-brand { display: flex; align-items: center; gap: .7rem; }
.goi-brand img { width: 38px; height: 38px; border-radius: 8px; }
.goi-brand .wp-block-site-title { margin: 0; line-height: 1; }
.goi-brand-tag {
  font-family: var(--wp--preset--font-family--mono); font-size: .6rem; letter-spacing: .22em;
  color: rgba(243,241,234,.7); text-transform: uppercase; margin-top: 3px; /* .55 -> .7 for contrast, 2026-11-23 */
}
/* blockGap support is off (appearanceTools false), so the nav link gap is set here — 2.1rem per mockup .navlinks. */
.goi-header .wp-block-navigation { gap: 2.1rem; }
.goi-header .wp-block-navigation a { color: rgba(243,241,234,.82); position: relative; transition: color .2s; }
.goi-header .wp-block-navigation a:hover { color: var(--cream); }
.goi-header .wp-block-navigation a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--orange); transition: width .25s var(--ease);
}
.goi-header .wp-block-navigation a:hover::after { width: 100%; }
.goi-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--pine); }
/* Phone menu (2026-11-23). backdrop-filter makes .goi-header the containing block for the
   menu's position:fixed overlay, which trapped the open menu inside the header's own box
   (about 78px tall, one link visible). WordPress puts has-modal-open on <html> while the
   menu is open; dropping the blur for that moment lets the overlay fill the screen. */
html.has-modal-open .goi-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- hero ---------- */
.goi-hero { background: var(--pine); color: var(--cream); position: relative; overflow: hidden; margin-block: 0 !important; }
.goi-hero .goi-wrap { position: relative; z-index: 2; padding: var(--wp--custom--hero-pad-top) 0 clamp(3rem, 6vw, 4.5rem); }
.goi-hero h1 { max-width: 16ch; color: var(--cream); }
.goi-hero .goi-dot { color: var(--orange); }
.goi-hero-sub { margin-top: 1.7rem; max-width: 46ch; color: rgba(243,241,234,.8); line-height: 1.55; }
.goi-hero .wp-block-buttons { margin-top: 2.4rem; }
.goi-watermark {
  position: absolute; right: 10%; top: 50%; transform: translateY(-50%);
  width: min(720px, 62vw); opacity: .07; z-index: 1; pointer-events: none;
}
/* hero g-mark: draw-on (once) + ambient light sweep. CSS-only, additive.
   Opacity holds at the resting 7% throughout (Brett 2026-07-11: keep it subtle).
   Timeline: bowl draws .2-1.4s, stem 1.1-2.1s, leaf 2-2.45s; sweep loops every 8s after.
   Dasharray = getTotalLength()+3 (bowl 533.2, stem 467.6). */
svg.goi-watermark { aspect-ratio: 1; height: auto; }
.goi-g .goi-g-bowl { stroke-dasharray: 536; stroke-dashoffset: 536; animation: goi-g-drawpath 1.2s var(--ease) .2s forwards; }
.goi-g .goi-g-stem { stroke-dasharray: 470; stroke-dashoffset: 470; animation: goi-g-drawpath 1s var(--ease) 1.1s forwards; }
.goi-g .goi-g-leaf { opacity: 0; transform-origin: 320px 95px; animation: goi-g-leafin .45s var(--ease) 2s forwards; }
.goi-g .goi-g-sheen { animation: goi-g-sweep 8s var(--ease) 3.6s infinite; }
@keyframes goi-g-drawpath { to { stroke-dashoffset: 0; } }
@keyframes goi-g-leafin { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes goi-g-sweep { 0% { transform: translateX(0); } 24% { transform: translateX(840px); } 100% { transform: translateX(840px); } }

/* ---------- client bar (quiet ink strip — CSS contract in design/tokens/logo-system.md) ---------- */
.goi-sec.goi-clients { padding: clamp(2.6rem, 5vw, 3.8rem) 0; border-bottom: 1px solid var(--line); }
.goi-clients { text-align: center; }
.goi-clients h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; max-width: 26ch; margin-inline: auto; }
.goi-logo-row {
  --logo-h: clamp(24px, 2.6vw, 30px);
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2rem clamp(1.6rem, 4vw, 3rem);
}
.goi-logo-row svg.goi-logo { display: block; height: calc(var(--logo-h) * var(--s, 1)); width: auto; color: var(--ink-soft); transition: color .25s var(--ease); }
/* color-only hover — exempt from reduced-motion, per logo-system (duotone colour-warm precedent) */
.goi-logo-row svg.goi-logo:hover { color: var(--ink); }
.goi-mono-note {
  margin-top: 1.6rem; font-family: var(--wp--preset--font-family--mono); font-size: .72rem;
  letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; opacity: .7;
}

/* ---------- pitch ---------- */
.goi-pitch { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.goi-pitch-lead {
  font-family: var(--wp--preset--font-family--heading); font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.28; letter-spacing: -.01em;
}
.goi-pitch-lead .goi-hi { color: var(--orange); }
.goi-pitch-body p { color: var(--ink-soft); font-size: 1.08rem; }
.goi-pitch-body p + p { margin-top: 1.15rem; }
.goi-pullquote {
  margin-top: 2rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--orange); background: var(--cream);
  font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.15rem;
  color: var(--ink); line-height: 1.35;
}

/* ---------- stats band ---------- */
.goi-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--pine-line); border: 1px solid var(--pine-line); margin-top: 2.8rem; }
.goi-stat { background: var(--pine); padding: 2.1rem 1.6rem; }
.goi-stat-num {
  font-family: var(--wp--preset--font-family--mono); font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); color: var(--cream); line-height: 1; letter-spacing: -.02em;
}
.goi-stat-num .goi-u { color: var(--orange); }
.goi-stat-lab { margin-top: .85rem; display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; color: rgba(243,241,234,.66); line-height: 1.3; }
.goi-stat-lab .goi-leaf { margin-top: 3px; }

/* ---------- services at a glance ---------- */
.goi-svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.goi-svc-head .goi-dek { margin-top: 1rem; }
.goi-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; margin-top: 2.6rem; }
.goi-svc {
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  padding: .9rem .9rem 1.05rem; display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.goi-svc:hover { transform: translateY(-4px); border-color: rgba(245,114,34,.55); box-shadow: 0 18px 40px -28px rgba(25,27,20,.5); }
.goi-svc-fig { background: #fcfbf7; border: 1px solid var(--line); border-radius: 3px; }
.goi-svc-fig svg { display: block; width: 100%; height: auto; }
.goi-svc h3 { font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0; }
.goi-svc h3 a { color: inherit; }
.goi-svc p { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; margin: 0; }

/* ---------- how we win: stacked step cards (2026-11-23 — design/mockups/goi-home-how-stacked.html) ----------
   Four cards in a column; on the front end each one pins under the header and the next
   slides over it. All classes are new and homepage-exclusive (.goi-how-*); the schematic
   reuses the shared .goi-draw ladder and .goi-mono-note untouched. The sticky stack is
   gated behind html.goi-js so the editor (which never loads custom.js) shows a plain list. */
.goi-how-stack { --goi-how-stick: 6.4rem; --goi-how-peek: .85rem; margin-top: 2.6rem; display: grid; gap: 1.3rem; }
.goi-how-stack > *, .goi-how-card > *, .goi-how-copy > *, .goi-how-body > *, .goi-how-fig > * { margin-block-start: 0 !important; }
.goi-how-card {
  --goi-how-i: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.2rem, 3vw, 2.6rem);
  min-height: clamp(23rem, 58vh, 28.5rem);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: .7rem;
}
.goi-how-card:nth-child(2) { --goi-how-i: 1; }
.goi-how-card:nth-child(3) { --goi-how-i: 2; }
.goi-how-card:nth-child(4) { --goi-how-i: 3; }
html.goi-js .goi-how-card {
  position: sticky; top: calc(var(--goi-how-stick) + var(--wp-admin--admin-bar--height, 0px) + var(--goi-how-i) * var(--goi-how-peek));
  box-shadow: 0 -14px 30px -22px rgba(25, 27, 20, .45);
}
.goi-how-copy {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2vw, 1.6rem);
}
.goi-how-n {
  margin: 0; font-family: var(--wp--preset--font-family--mono); font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--orange);
}
.goi-how-body h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; margin: 0 0 .75rem; }
.goi-how-body p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; max-width: 40ch; }
.goi-how-fig {
  background: #efece3; border-radius: 6px; padding: .55rem .55rem .7rem;
  display: flex; flex-direction: column; justify-content: center; gap: .55rem;
}
.goi-how-svg { margin: 0; }
.goi-how-svg svg { display: block; width: 100%; height: auto; }
.goi-how-fig .goi-mono-note {
  margin: 0; padding-inline: .5rem; font-size: .72rem; line-height: 1.62; letter-spacing: .04em;
  text-transform: none; opacity: 1; color: var(--ink-soft);
}
/* the last card lands on pine: the result */
.goi-how-card--pine { background: var(--pine); border-color: var(--pine-line); color: var(--cream); }
.goi-how-card--pine h3 { color: var(--cream); }
.goi-how-card--pine .goi-how-body p { color: rgba(243, 241, 234, .74); }
/* phones and short windows: a plain list (a stuck card taller than the window would hide its own foot) */
@media (max-width: 760px) {
  html.goi-js .goi-how-card { position: static; box-shadow: none; }
  .goi-how-card { grid-template-columns: 1fr; min-height: 0; gap: 1rem; }
  .goi-how-copy { padding: 1rem .6rem .2rem; gap: 1.4rem; }
}
@media (max-height: 600px) {
  html.goi-js .goi-how-card { position: static; box-shadow: none; }
}

/* ---------- the record: case cards ---------- */
.goi-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.goi-case {
  background: var(--pine-2); border: 1px solid var(--pine-line); border-radius: 4px;
  padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .3s var(--ease), border-color .3s;
}
.goi-case:hover { transform: translateY(-4px); border-color: rgba(245,114,34,.55); }
.goi-case > * { margin-block-start: 0 !important; }
.goi-case-tag { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(243,241,234,.55); }
.goi-case h3 { font-size: 1.28rem; color: var(--cream); }
.goi-case-metric {
  font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: 1.02rem; color: var(--orange);
  border-top: 1px dashed var(--pine-line); border-bottom: 1px dashed var(--pine-line); padding: .65rem 0;
}
.goi-case-body { color: rgba(243,241,234,.72); font-size: .96rem; flex: 1; }
.goi-case-more a {
  font-family: var(--wp--preset--font-family--mono); font-size: .76rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--cream); text-decoration: none; transition: color .2s;
}
/* CSS-generated arrow (matches .goi-svc h3::after idiom) so the link text stays plain editable */
.goi-case-more a::after { content: "\2192"; margin-left: .4rem; display: inline-block; transition: margin-left .2s, color .2s; }
.goi-case-more a:hover { color: var(--orange); }
.goi-case-more a:hover::after { margin-left: .7rem; }
.goi-record-foot { margin-top: 2.2rem; }

/* ---------- testimonial ---------- */
.goi-testi { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.goi-testi-mark { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 7rem; color: var(--orange); line-height: .7; }
.goi-testi blockquote, .goi-testi .wp-block-quote {
  margin: 0; border: 0; padding: 0;
  font-family: var(--wp--preset--font-family--heading); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem); line-height: 1.28; letter-spacing: -.015em; max-width: 24ch;
}
.goi-testi .wp-block-quote cite {
  display: block; margin-top: 1.5rem; font-family: var(--wp--preset--font-family--mono);
  font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); font-style: normal; line-height: 1.5;
}
.goi-testi .wp-block-quote cite b, .goi-testi .wp-block-quote cite strong { color: var(--ink); font-weight: 500; }

/* ---------- home quote + portrait (extends .goi-testi with a third column — testi type styles shared with the case-study band stay untouched) ---------- */
.goi-quote { grid-template-columns: auto 1fr auto; }
.goi-quote-photo { margin: 0; }
.goi-quote-photo img {
  display: block; width: min(280px, 70vw); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; filter: grayscale(1) contrast(1.06) brightness(1.04);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -32px rgba(25,27,20,.45);
}

/* ---------- cta band ---------- */
.goi-cta { text-align: center; }
.goi-cta h2 { color: #1a0d02; max-width: 18ch; margin-inline: auto; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.goi-cta p { max-width: 54ch; margin: 1.2rem auto 2rem; color: #3a2208; font-size: 1.1rem; }
.goi-cta .wp-block-buttons { justify-content: center; }
.goi-cta .goi-micro {
  margin-top: 1.6rem; font-family: var(--wp--preset--font-family--mono); font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: #3a2208; /* was #5a3410; contrast 2026-11-23 */
}

/* ---------- footer ---------- */
.goi-footer { background: var(--pine); color: rgba(243,241,234,.7); padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; margin-block: 0 !important; }
.goi-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.goi-foot-brand .goi-brand img { width: 42px; height: 42px; }
/* Direct child only — the brand tag inside .goi-brand keeps its own styles. */
.goi-foot-brand > p { margin-top: 1.2rem; max-width: 34ch; font-size: .96rem; color: rgba(243,241,234,.6); }
.goi-foot-col h2,
.goi-foot-col h4 { /* h2 since 2026-11-23 (heading order); same look as the old h4 */
  font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: .72rem;
  line-height: 1.02; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 1rem;
}
.goi-foot-col a { display: block; padding: .32rem 0; font-size: .95rem; color: rgba(243,241,234,.72); transition: color .2s, padding-left .2s; }
.goi-foot-col a:hover { color: var(--cream); padding-left: 4px; }
.goi-foot-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem;
  padding-top: 1.6rem; border-top: 1px solid var(--pine-line);
  font-family: var(--wp--preset--font-family--mono); font-size: .72rem; letter-spacing: .08em;
  color: rgba(243,241,234,.5); text-transform: uppercase;
}

/* ---------- block-markup adaptations ---------- */
/* Eyebrows are groups (leaf html block + editable paragraph) in block markup. */
.goi-eyebrow p { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; text-transform: inherit; }
.goi-stat-lab p { margin: 0; font: inherit; color: inherit; line-height: inherit; }
/* Service-card hover arrow is CSS-generated so the heading stays plain editable text. */
.goi-svc h3::after { content: "\2192"; color: var(--orange); font-size: .95rem; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--ease); }
.goi-svc:hover h3::after { opacity: 1; transform: none; }
/* Whole card is the link (Brett, 2026-11-25): the title link's ::after covers the card.
   Only cards with a title link (homepage services) are affected; Campaignr's .goi-svc cards have none.
   Nothing inside the card may be positioned, or the click area shrinks to that element. */
.goi-svc { position: relative; }
.goi-svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.goi-svc h3 a:focus-visible { outline: none; }
.goi-svc:has(h3 a:focus-visible) { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.goi-svc:has(h3 a):focus-within h3::after { opacity: 1; transform: none; }
/* WP group blockGap suppression inside tight design rows. */
.goi-nav > *, .goi-brand > *, .goi-eyebrow > * { margin-block-start: 0 !important; }

/* ---------- reveal (front end only — html.goi-js is set by custom.js) ---------- */
html.goi-js .goi-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.goi-js .goi-reveal.in { opacity: 1; transform: none; }

/* ---------- homepage visual level-up (2026-07-11 — spec home-visual-levelup) ----------
   Six approved items, all additive + homepage-scoped. Shared hooks stay untouched:
   campaignr/case-study .goi-testi-mark keep the orange in-flow mark; interior hero
   dots stay static; .goi-logo-row/.goi-quote are homepage-exclusive. */

/* 1 — hero g parallax: drifts slower than the page while the hero scrolls out.
   scroll(root), not view(): the hero's overflow:hidden makes it the nearest scroll
   container, so view() would resolve against the hero (which never scrolls). The
   hero sits at page top, so the first ~700px of root scroll IS its exit range. */
@supports (animation-timeline: scroll()) {
  svg.goi-watermark {
    animation: goi-g-drift linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 700px;
  }
  @keyframes goi-g-drift { to { transform: translateY(-30%); } }
}

/* 2 — client logo cascade: row stops hiding itself; logos stagger in 70ms apart.
   Color hover transition stays first with 0s delay so only entry staggers. */
html.goi-js .goi-logo-row.goi-reveal { opacity: 1; transform: none; }
html.goi-js .goi-logo-row .goi-logo {
  opacity: 0; transform: translateY(12px);
  transition: color .25s var(--ease), opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: 0s, var(--d, 0s), var(--d, 0s);
}
html.goi-js .goi-logo-row.in .goi-logo { opacity: 1; transform: none; }
.goi-logo-row .goi-logo:nth-child(2) { --d: .07s; }
.goi-logo-row .goi-logo:nth-child(3) { --d: .14s; }
.goi-logo-row .goi-logo:nth-child(4) { --d: .21s; }
.goi-logo-row .goi-logo:nth-child(5) { --d: .28s; }
.goi-logo-row .goi-logo:nth-child(6) { --d: .35s; }
.goi-logo-row .goi-logo:nth-child(7) { --d: .42s; }
.goi-logo-row .goi-logo:nth-child(8) { --d: .49s; }

/* 3 — how-we-win rule relay: RETIRED 2026-11-23 with the four-column steps. The section
   is now the stacked step cards (see "how we win: stacked step cards" above). */

/* 4 — the period lands: hero H1 dot stamps in after the headline reveals. Home only. */
html.goi-js body.home .goi-hero h1 .goi-dot {
  display: inline-block; opacity: 0; transform: scale(1.7);
  transition: opacity .3s var(--ease) .6s, transform .3s var(--ease) .6s;
}
html.goi-js body.home .goi-hero h1.in .goi-dot { opacity: 1; transform: none; }

/* 6 — quote ghost: home quote's testi-mark goes watermark (echoes the hero g).
   Alpha lives in the color — the reveal system owns `opacity` on this element. */
.goi-quote { position: relative; grid-template-columns: 1fr auto; }
.goi-quote .goi-testi-mark {
  position: absolute; left: -.04em; top: -.1em; z-index: 0; pointer-events: none;
  font-size: clamp(14rem, 24vw, 26rem); line-height: 1; color: rgba(25, 27, 20, .055);
}
.goi-quote .wp-block-quote, .goi-quote .goi-quote-photo { position: relative; z-index: 1; }

/* 7 — paper grain: fixed feTurbulence tile, multiply — texture on paper, quiet on pine.
   feColorMatrix collapses the noise to black speckles with noise-driven alpha so the
   grain is monochrome and actually reads (raw turbulence multiply was invisible).
   Static (reduced-motion exempt). z-index 60 keeps it under the sticky header (100). */
body.home::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .1; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  /* Mockup hides the header CTA on small screens; the page CTA band covers it. */
  .goi-header .wp-block-buttons { display: none; }
  .goi-pitch, .goi-testi, .goi-quote { grid-template-columns: 1fr; }
  .goi-stats { grid-template-columns: repeat(2, 1fr); }
  .goi-cases { grid-template-columns: 1fr; }
  .goi-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .goi-foot-grid { grid-template-columns: 1fr 1fr; }
  .goi-testi-mark { display: none; }
  /* homepage quote, stacked: centred (Brett, 2026-11-23) */
  .goi-quote { justify-items: center; text-align: center; }
  .goi-quote .wp-block-quote { margin-inline: auto; }
}
@media (max-width: 560px) {
  .goi-svc-grid { grid-template-columns: 1fr; }
  .goi-foot-grid { grid-template-columns: 1fr; }
  .goi-stats { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.goi-js .goi-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wp-block-button__link:hover, .goi-svc:hover, .goi-case:hover { transform: none; }
  .goi-case-more a::after, .goi-case-more a:hover::after { margin-left: .4rem; transition: none; }
  /* hero g-mark: static, fully drawn, no sweep (band rests off-viewBox, clipped) */
  .goi-g .goi-g-bowl, .goi-g .goi-g-stem { stroke-dashoffset: 0; animation: none; }
  .goi-g .goi-g-leaf { opacity: 1; animation: none; }
  .goi-g .goi-g-sheen { animation: none; }
  /* homepage level-up: parallax/cascade/relay/dot static (grain is static already) */
  svg.goi-watermark { animation: none; }
  html.goi-js .goi-logo-row .goi-logo { opacity: 1; transform: none; transition: color .25s var(--ease); }
  /* how-we-win step cards: no pinning or overlap, a plain list */
  html.goi-js .goi-how-card { position: static; box-shadow: none; }
  html.goi-js body.home .goi-hero h1 .goi-dot { opacity: 1; transform: none; transition: none; }
}

/* ---------- interior pages: page hero ---------- */
.goi-page-hero { background: var(--pine); color: var(--cream); position: relative; margin-block: 0 !important; }
.goi-page-hero .goi-wrap { padding: var(--wp--custom--hero-pad-top) 0 clamp(2.6rem, 5vw, 3.8rem); }
.goi-page-hero h1 { max-width: 20ch; color: var(--cream); }
/* long words in page headings never push the page sideways on phones
   ("Email + Communications." at 390px, QA 2026-11-23); no effect where a heading fits */
.wp-site-blocks h1 { overflow-wrap: break-word; } /* fallback; custom.js fitHeadings() shrinks the heading instead */
/* a description inside a pine section reads light, like .goi-page-sub (Campaignr demo) */
.goi-sec--pine .goi-dek { color: rgba(243,241,234,.8); }
.goi-page-hero .goi-dot { color: var(--orange); }
.goi-page-sub { margin-top: 1.5rem; max-width: 52ch; color: rgba(243,241,234,.8); line-height: 1.55; }
.goi-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- "what this includes" checklist (plain ticks — leaf budget is spent) ---------- */
.goi-includes { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 2.4rem; }
.goi-includes li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); line-height: 1.5; }
.goi-includes li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- services overview query grid (reuses .goi-svc card styles) ---------- */
.wp-block-post-template.goi-svc-grid { padding: 0; list-style: none; }
.goi-svc-grid > li { margin: 0; }
.goi-svc-grid > li .goi-svc { height: 100%; }
.goi-svc-fig img { display: block; width: 100%; height: auto; }
.goi-svc .wp-block-post-title { font-size: 1rem; margin: 0; }
.goi-svc .wp-block-post-title a { color: inherit; }
.goi-svc .wp-block-post-excerpt p { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; margin: 0; }

/* ---------- insights: single post ---------- */
.goi-prose { max-width: 70ch; }
.goi-prose > * + * { margin-top: 1.1em; }
.goi-post-meta {
  display: flex; gap: 1.1rem; align-items: center; margin-top: 1.2rem;
  font-family: var(--wp--preset--font-family--mono); font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(243,241,234,.62);
}
.goi-postnav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.goi-postnav a { color: var(--ink); }
.goi-postnav a:hover { color: var(--orange-text); } /* text orange on paper: contrast 2026-11-23 */

/* ---------- insights: listing grid ---------- */
/* Insights index card, upgraded to the approved mockup's idx-card treatment (from
   goi-insight-post.html): cream card, 1.5px border, 6px radius, duotone thumb flush on top,
   padded body. Hover contract (tactile decision 2026-07-04): lift + drop shadow ONLY — no
   orange border, no title colour shift. The duotone thumb opts into its warm hover via
   .goi-card-duo on the card (see the duotone component section). */
.wp-block-post-template.goi-post-grid { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
.goi-post-grid > li { margin: 0; }
.goi-post-card {
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.goi-post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(25,27,20,.35); }
/* thumb flush to the top edge; overflow:hidden on the card clips its corners to the radius */
.goi-post-card .goi-duo { aspect-ratio: 16 / 10; border-radius: 0; }
/* the padded body holds the card text; Task 5 wraps the terms/title/excerpt/date in it. */
.goi-post-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
/* fallback: when a card has no explicit body wrapper (e.g. thumbless card), pad the card
   itself so the text is never flush to the border. */
.goi-post-card:not(:has(.goi-post-card-body)) { padding: 1.2rem 1.3rem 1.4rem; gap: .6rem; }
.goi-post-card .wp-block-post-title { font-size: 1.08rem; font-weight: 700; line-height: 1.26; letter-spacing: -.008em; margin: 0; } /* h2 since 2026-11-23 */
.goi-post-card .wp-block-post-title a { color: inherit; }
.goi-post-card .wp-block-post-excerpt p { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: 0; }
.goi-post-kicker { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.goi-post-kicker a { color: inherit; text-decoration: none; }
.goi-post-date-sm { font-family: var(--wp--preset--font-family--mono); font-size: .72rem; color: var(--ink-soft); margin-top: auto; }
.goi-pagenav { margin-top: 2.4rem; font-family: var(--wp--preset--font-family--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.goi-pagenav a { color: var(--ink); }
.goi-pagenav a:hover { color: var(--orange-text); } /* text orange on paper: contrast 2026-11-23 */

@media (max-width: 900px) {
  .wp-block-post-template.goi-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .goi-includes { grid-template-columns: 1fr; }
  .wp-block-post-template.goi-post-grid { grid-template-columns: 1fr; }
}

/* ---------- service narrative: copy + schematic (from approved mockup) ---------- */
.goi-approach { display: grid; grid-template-columns: 11fr 9fr; gap: 2.2rem clamp(2.4rem, 4.5vw, 4.2rem); align-items: center; }
.goi-approach-copy .goi-sec-head { margin-bottom: 1.4rem; }
.goi-fig-full { margin: 0; background: #fcfbf7; border: 1px solid var(--line); border-radius: 4px; padding: clamp(.9rem, 1.8vw, 1.3rem); }
.goi-fig-full svg { display: block; width: 100%; height: auto; }
.goi-fig-full + .goi-mono-note { margin-top: .85rem; text-transform: none; opacity: 1; }
@media (max-width: 920px) {
  .goi-approach { grid-template-columns: 1fr; }
}

/* ---------- schematic draw-in (gated behind html.goi-js, same as .goi-reveal) ---------- */
html.goi-js .goi-draw .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.goi-js .goi-draw .fill,
html.goi-js .goi-draw .lbl,
html.goi-js .goi-draw .focal { opacity: 0; }
html.goi-js .goi-draw.in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease); }
html.goi-js .goi-draw.in .s2 .draw { transition-delay: .25s; }
html.goi-js .goi-draw.in .s3 .draw { transition-delay: .45s; }
html.goi-js .goi-draw.in .fill { opacity: 1; transition: opacity .4s var(--ease) .45s; }
html.goi-js .goi-draw.in .lbl { opacity: 1; transition: opacity .35s var(--ease) .8s; }
html.goi-js .goi-draw.in .focal { opacity: 1; transition: opacity .45s var(--ease) 1.15s; }
@media (prefers-reduced-motion: reduce) {
  html.goi-js .goi-draw .draw { stroke-dashoffset: 0; }
  html.goi-js .goi-draw .fill, html.goi-js .goi-draw .lbl, html.goi-js .goi-draw .focal { opacity: 1; }
  html.goi-js .goi-draw.in .draw, html.goi-js .goi-draw.in .fill,
  html.goi-js .goi-draw.in .lbl, html.goi-js .goi-draw.in .focal { transition: none; }
}

/* ---------- certified manifest rows ---------- */
.goi-manifest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2.6rem; }
.goi-manifest-row {
  display: flex; align-items: center; gap: .95rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  padding: .9rem 1.05rem;
}
.goi-manifest-index { font-family: var(--wp--preset--font-family--mono); font-size: .72rem; letter-spacing: .12em; color: var(--orange); margin: 0; flex: 0 0 auto; }
.goi-manifest-item { font-size: 1rem; line-height: 1.4; color: var(--ink); margin: 0; flex: 1; }
.goi-manifest-tick { position: relative; width: 26px; height: 26px; flex: 0 0 auto; background: #fcfbf7; border: 1px solid var(--line); border-radius: 3px; }
.goi-manifest-tick::before {
  content: ""; position: absolute; left: 6px; top: 8px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}
.goi-manifest-row.goi-reveal:nth-child(2) { transition-delay: .07s; }
.goi-manifest-row.goi-reveal:nth-child(3) { transition-delay: .14s; }
.goi-manifest-row.goi-reveal:nth-child(4) { transition-delay: .21s; }
.goi-manifest-row.goi-reveal:nth-child(5) { transition-delay: .28s; }
.goi-manifest-row.goi-reveal:nth-child(6) { transition-delay: .35s; }
.goi-manifest-row.goi-reveal:nth-child(7) { transition-delay: .42s; }
.goi-manifest-row.goi-reveal:nth-child(n+8) { transition-delay: .49s; }
@media (max-width: 720px) {
  .goi-manifest { grid-template-columns: 1fr; }
}

/* ---------- case study: hero (from approved mockup goi-case-study.html) ---------- */
.goi-backlink p, .goi-backlink {
  font-family: var(--wp--preset--font-family--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; margin: 0;
}
.goi-backlink a { color: rgba(243,241,234,.55); transition: color .2s; text-decoration: none; }
.goi-backlink a:hover { color: var(--cream); }
.goi-case-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; margin-top: 2.4rem; }
.goi-case-hero-grid h1 { max-width: 14ch; }
.goi-case-ribbon {
  margin-top: 2.6rem; display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center;
  font-family: var(--wp--preset--font-family--mono); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(243,241,234,.55);
  border-top: 1px solid var(--pine-line); padding-top: 1.4rem;
}
.goi-case-ribbon p { margin: 0; font: inherit; color: var(--cream); font-weight: 500; letter-spacing: inherit; text-transform: inherit; }
.goi-case-ribbon .goi-sep { color: var(--orange); }
.goi-case-panel {
  background: var(--pine-2); border: 1px solid var(--pine-line); border-radius: 8px;
  padding: 1.9rem 1.8rem 1.7rem; max-width: 340px; width: 100%;
}
.goi-case-panel .goi-eyebrow { font-size: .7rem; letter-spacing: .14em; }
.goi-case-panel .goi-stat-num { display: block; font-size: clamp(2.8rem, 5vw, 4rem); margin-top: 1rem; }
.goi-case-panel-lab {
  font-family: var(--wp--preset--font-family--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(243,241,234,.6); margin: .6rem 0 0;
}
.goi-case-won {
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px dashed var(--pine-line);
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--wp--preset--font-family--mono); font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cream);
}
.goi-case-won p { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ---------- case study: results-by-the-numbers band ---------- */
.goi-case-statband { padding: clamp(3.2rem, 6vw, 4.6rem) 0; border-bottom: 1px solid var(--line); margin-block: 0 !important; }
.goi-case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.goi-case-stat { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.goi-case-stat .goi-stat-num { display: block; }
.goi-stat-num--ink { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); }
.goi-case-stat-lab {
  font-family: var(--wp--preset--font-family--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin: .55rem 0 0;
}

/* ---------- case study: story (challenge / approach / results) ---------- */
.goi-case-story { display: grid; grid-template-columns: minmax(190px, .4fr) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.goi-case-rail { position: sticky; top: 105px; }
.goi-case-rail a {
  font-family: var(--wp--preset--font-family--mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: baseline; gap: .85rem;
  padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; transition: color .2s;
}
.goi-case-rail a:last-child { border-bottom: 1px solid var(--line); }
.goi-case-rail a .goi-ix { color: rgba(25,27,20,.62); transition: color .2s; } /* .35 -> .62, contrast 2026-11-23 */
.goi-case-rail a:hover, .goi-case-rail a.on { color: var(--orange); }
.goi-case-rail a:hover .goi-ix, .goi-case-rail a.on .goi-ix { color: var(--orange); }
.goi-chapter + .goi-chapter { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.goi-chapter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.goi-chapter > p { margin-top: 1.15rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 58ch; }
.goi-chapter-fig { margin-top: 2.2rem; }

/* ---------- case study: outcome band (tiles render per highlight; delete tiles/section when N/A) ---------- */
.goi-case-wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; margin-top: 2.6rem; }
.goi-win {
  background: var(--pine-2); border: 1px solid var(--pine-line); border-radius: 5px;
  padding: 1.6rem 1.5rem; max-width: 620px;
  transition: transform .3s var(--ease), border-color .3s;
}
.goi-win:hover { transform: translateY(-4px); border-color: rgba(245,114,34,.55); }
.goi-win-tag {
  font-family: var(--wp--preset--font-family--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin: 0;
}
.goi-win h3 { color: var(--cream); font-size: 1.25rem; margin-top: .9rem; }
.goi-win p { color: rgba(243,241,234,.72); font-size: .98rem; margin-top: .7rem; }

/* ---------- case study: prev / next nav (template-level, query-driven) ---------- */
.goi-casenav-sec { padding: clamp(2.4rem, 4vw, 3.2rem) 0; margin-block: 0 !important; }
.goi-casenav { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-block: 1px solid var(--line); padding: 1.9rem 0; }
/* The block renders its label as a bare text node before the anchor, so the
   label styling lives on the block wrapper and the anchor overrides it. */
.goi-casenav .wp-block-post-navigation-link {
  margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.goi-casenav .wp-block-post-navigation-link a {
  display: block; margin-top: .45rem; font-family: var(--wp--preset--font-family--heading);
  font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink);
  text-transform: none; text-decoration: none; transition: color .2s;
}
/* WP default block margins off inside tight case-study rows (parallels the shared
   .goi-eyebrow suppression rule — kept here so the shared rule stays untouched). */
.goi-case-ribbon > *, .goi-case-won > *, .goi-casenav > * { margin-block-start: 0 !important; }
.goi-casenav .wp-block-post-navigation-link a:hover { color: var(--orange-text); } /* text orange on paper: contrast 2026-11-23 */
.goi-casenav .post-navigation-link-next { text-align: right; }

/* ---------- case study: responsive + reduced motion ---------- */
@media (max-width: 920px) {
  .goi-case-hero-grid { grid-template-columns: 1fr; }
  .goi-case-panel { max-width: 300px; }
  .goi-case-stats { grid-template-columns: repeat(2, 1fr); }
  .goi-case-story { grid-template-columns: 1fr; }
  .goi-case-rail { position: static; display: flex; flex-wrap: wrap; gap: 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
  .goi-case-rail a, .goi-case-rail a:last-child { border: 0; padding: .5rem 0; }
}
@media (max-width: 680px) {
  .goi-casenav { flex-direction: column; align-items: flex-start; padding: 1.4rem 0; }
  .goi-casenav .post-navigation-link-next { text-align: left; }
}
@media (max-width: 560px) {
  .goi-case-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .goi-win:hover { transform: none; }
}

/* ---------- duotone component (from approved mockup goi-insight-post.html) ---------- */
/* Ports .duo / .card-duo verbatim. The wrapper class .goi-duo goes on the core
   post-featured-image block, which renders as <figure class="wp-block-post-featured-image
   goi-duo"><img></figure> (or with isLink, an <a> wraps the <img>). Selectors target the
   img inside either shape. Filter/contrast/brightness were tuned against insight-routing.jpg
   and are the shipped values — UNCHANGED. */
.goi-duo { position: relative; background: var(--pine); overflow: hidden; border-radius: 5px; transition: background .3s var(--ease); }
.goi-duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(1.04); mix-blend-mode: screen; }
.goi-duo::after { content: ""; position: absolute; inset: 0; background: var(--paper); mix-blend-mode: multiply; pointer-events: none; }
/* warm hover — applied ONLY where a parent card opts in via .goi-card-duo */
.goi-card-duo:hover .goi-duo { background: var(--orange-deep); }

/* ---------- insight post page: hero additions + featured breakout/straddle ---------- */
/* --straddle is scoped to the single-post context (NOT :root) — its two consumers are
   the featured figure and the hero's padding-bottom. */
.goi-post-hero { --straddle: clamp(2.4rem, 7vw, 5.5rem); background: var(--pine); color: var(--cream); }
/* padding-bottom carries the straddle: the extra --straddle is the pine the featured image
   pulls up into (see the featured-figure block below). */
.goi-post-hero .goi-wrap { padding: clamp(4.5rem, 11vw, 8.5rem) 0 calc(var(--straddle) + clamp(3rem, 6vw, 4.5rem)); }
.goi-post-hero h1 { color: var(--cream); font-size: clamp(2.7rem, 6.4vw, 5.4rem); max-width: 18ch; }
.goi-post-hero .goi-dot { color: var(--orange); }
/* dek under the title (moved out of the body by functions.php, 2026-11-24) */
.goi-post-hero .goi-post-dek { color: rgba(243,241,234,.82); font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 400; max-width: 46ch; margin: 1.6rem 0 0; }
/* meta row: pine-context, mono, orange separators, readtime as plain meta text. The
   existing .goi-post-meta rule already sets the base mono/uppercase treatment; these
   descendant selectors add the hero separators + emphasis without redefining it. */
.goi-post-hero .goi-post-meta { margin-top: 2.2rem; flex-wrap: wrap; }
.goi-post-meta .goi-post-date, .goi-post-meta .goi-post-author, .goi-post-meta b, .goi-post-meta strong { color: var(--cream); font-weight: 500; }
.goi-post-meta .goi-sep { color: var(--orange); }
.goi-readtime { color: rgba(243,241,234,.62); }

/* featured figure: opens the paper band; its IMAGE pulls UP into the pine hero above so it
   straddles the pine/paper edge. Only the image overlaps the edge — any caption flows AFTER
   it on paper, coloured --ink-soft. The pine edge always lands within the image (image far
   taller than --straddle at every width). --straddle is inherited from .goi-post-hero's
   scope; it is also set here so the breakout works even if the two sit in separate wrappers.
   Breakout width: wider than the ~70ch prose column but well inside the container (max 860px,
   centered) — approved at tactile review 2026-07-04. Bites only above ~935px. */
.goi-post-featured { --straddle: clamp(2.4rem, 7vw, 5.5rem); max-width: min(860px, 92vw); margin: 0 auto clamp(2.6rem, 6vw, 4rem); }
.goi-post-featured.goi-duo,
.goi-post-featured .goi-duo {
  aspect-ratio: 3 / 2; box-shadow: 0 40px 90px -50px rgba(0,0,0,.7);
  margin-top: calc(-1 * var(--straddle));
}
/* theme drops the figcaption — no figcaption styling ported */

/* post body (paper band; opens with the straddling figure). NO top padding: the figure leads
   the band and the image's negative margin-top pulls it up across the pine/paper edge; the
   hero's padding-bottom is the pine it straddles into. NO-FEATURED-IMAGE STATE: WP renders
   NOTHING for post-featured-image without a thumbnail, so the featured figure is simply
   absent. Static block templates can't conditionally emit a class on the body wrapper, so
   functions.php's body_class filter adds goi-no-feat to <body> when a singular post has no
   thumbnail; body.goi-no-feat .goi-post-body zeroes the straddle and restores a top pad so
   prose never sits flush on the pine/paper edge. */
.goi-post-body { padding-top: 0; }
/* No featured image: zero the straddle on the hero (its actual scope — the hero's
   padding-bottom reads --straddle), and restore a top pad on the body so prose never
   sits flush on the pine/paper edge. */
body.goi-no-feat .goi-post-hero { --straddle: 0; }
body.goi-no-feat .goi-post-body { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- insight post page: prose build-out (extends .goi-prose) ---------- */
/* Article subhead scale — deliberately smaller than the page-section H2 scale, which is
   too heavy for run-on reading. Body copy inherits the base font-size. */
.goi-prose .goi-dek { font-size: 1.22rem; line-height: 1.55; color: var(--ink-soft); font-weight: 500; max-width: 38ch; }
.goi-prose h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-top: 3.2rem; }
.goi-prose h2 + * { margin-top: 1.1rem; }
.goi-prose h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; margin-top: 2.2rem; }
.goi-prose h3 + * { margin-top: .85rem; }
.goi-prose ul { margin: 0; padding-left: 1.3rem; display: grid; gap: .6rem; }
.goi-prose li { padding-left: .35rem; }
.goi-prose li::marker { color: var(--orange); font-size: .9em; }
.goi-prose a {
  text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px;
  text-underline-offset: .2em; transition: text-decoration-thickness .2s var(--ease);
}
.goi-prose a:hover { text-decoration-thickness: 4px; }
/* core/post-content wraps the prose flow in a .wp-block-post-content div, which breaks the
   .goi-prose > * + * adjacency — restore the paragraph rhythm one level in (mockup value). */
.goi-prose .wp-block-post-content > * + * { margin-top: 1.5rem; }

/* ---------- insight post: schematic figure (two-tone wire-card) ---------- */
/* The insight figure re-tones the shared .goi-fig-full panel so the SVG's backing rect reads
   against a warmer card (approved mockup: #efece3 card / #fcfbf7 panel). Scoped to .goi-fig so
   the base .goi-fig-full (service pages) is untouched. Margin lives here now (removed from the
   pattern's inline style). */
.goi-fig { margin: 2.8rem 0; }
.goi-fig .goi-fig-full { background: #efece3; border-radius: 8px; padding: .55rem; }

/* ---------- insight post elements: pull-quote, stat, takeaway ---------- */
/* pull quote (.goi-pq) — Archivo 700, orange left rule */
.goi-pq {
  margin: 2.8rem 0; padding: .35rem 0 .35rem 1.5rem; border-left: 3px solid var(--orange);
  font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem;
  line-height: 1.28; letter-spacing: -.01em; color: var(--ink); max-width: 34ch;
}

/* stat callout (.goi-stat-inline) — DM Mono figure + caption. .goi-num renamed from the
   plan's .fig so it doesn't collide with the schematic figure block. */
.goi-stat-inline {
  margin: 2.8rem 0; padding-top: 1.2rem; border-top: 2px solid var(--ink);
  display: grid; gap: .5rem; max-width: 44ch;
}
.goi-stat-inline .goi-num {
  font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.1rem);
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
}
.goi-stat-inline .goi-cap {
  font-family: var(--wp--preset--font-family--mono); font-size: .76rem; font-weight: 400; letter-spacing: .1em;
  line-height: 1.5; text-transform: uppercase; color: var(--ink-soft);
}

/* takeaway box (.goi-takeaway) — cream card, framed ticks, manifest-row idiom */
.goi-takeaway {
  margin: 2.8rem 0; background: var(--cream); border: 1px solid var(--line); border-radius: 5px;
  padding: 1.6rem 1.6rem 1.7rem;
}
.goi-takeaway .goi-eyebrow { margin-bottom: 1.1rem; }
.goi-takeaway ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.goi-takeaway li { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; padding: 0; }
.goi-takeaway li::marker { content: none; }
.goi-take-tick {
  width: 22px; height: 22px; margin-top: .05rem;
  border: 1px solid var(--line); border-radius: 3px; display: grid; place-items: center;
}
.goi-take-tick svg { width: 12px; height: 12px; }
.goi-take-tick path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.goi-takeaway li span { line-height: 1.5; }

/* ---------- insight post page: keep-reading cards ---------- */
/* text-only cards (Phase B fallback per head comment): mono direction label + Archivo title
   from post-navigation-link with showTitle. Style both the .goi-kr-card-shaped markup and
   the actual block output (.wp-block-post-navigation-link) inside the card group.
   Card hover (tactile decision 2026-07-04): lift + drop shadow ONLY — no orange border, no
   title colour shift. (Duotone thumbs, when present, opt in via .goi-card-duo separately.) */
.goi-kr-sec { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.goi-kr-head { font-family: var(--wp--preset--font-family--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.goi-kr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.goi-kr-card {
  display: block; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.goi-kr-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(25,27,20,.35); }
.goi-kr-card .goi-duo { aspect-ratio: 16 / 9; border-radius: 0; }
.goi-kr-body { padding: 1.3rem 1.4rem 1.5rem; }
.goi-kr-card .goi-eyebrow { font-size: .68rem; }
.goi-kr-dir { font-family: var(--wp--preset--font-family--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-top: .9rem; }
.goi-kr-title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.15rem; line-height: 1.28; letter-spacing: -.01em; margin-top: .4rem; display: block; }
/* actual block output: post-navigation-link renders its direction label as a bare text node
   before the anchor; the anchor carries the title. Style the block wrapper as the direction
   label, the anchor as the title. */
.goi-kr-card .wp-block-post-navigation-link {
  margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
.goi-kr-card .wp-block-post-navigation-link a {
  display: block; margin-top: .4rem; font-family: var(--wp--preset--font-family--heading);
  font-weight: 700; font-size: 1.15rem; line-height: 1.28; letter-spacing: -.01em;
  color: var(--ink); text-transform: none; text-decoration: none;
}
/* WP default block margins off inside the tight card body (parallels the shared
   .goi-eyebrow / .goi-casenav suppression rules). */
.goi-kr-body > * { margin-block-start: 0 !important; }

@media (max-width: 680px) {
  .goi-kr-grid { grid-template-columns: 1fr; }
}

/* Empty-state fix (QA, 2026-07-04): post-navigation-link renders an empty
   .wp-block-post-navigation-link div (no <a>) when there's no adjacent post
   in that direction — this used to leave a visible-but-blank .goi-kr-card
   shell. Hide any card whose nav-link block has no anchor, and hide the
   whole section (heading included) when both cards are empty. Evergreen
   :has() support only — consistent with the existing thumbless fallback. */
.goi-kr-card:not(:has(.wp-block-post-navigation-link a)) { display: none; }
.goi-kr-sec:not(:has(.wp-block-post-navigation-link a)) { display: none; }

/* ---------- insight post page: reduced motion (additions only) ---------- */
@media (prefers-reduced-motion: reduce) {
  /* The duotone warm-hover colour transition (.goi-duo / .goi-card-duo:hover .goi-duo) is
     deliberately NOT disabled here — spec §1 exempts this colour-only transition; only the
     card lift is neutralised (below), which is the transform, not the colour. */
  .goi-kr-card:hover, .goi-post-card:hover { transform: none; }
  .goi-kr-card, .goi-post-card { transition: none; }
}

/* ---------- services page: one team + the eight services (2026-11-23 — design/mockups/services-main-options.html, option F) ----------
   One section in two bands. Top (paper): heading beside the two intro paragraphs.
   Stage (pine): a card per service. Plain list of cards by default (phones, the editor,
   JavaScript off). custom.js adds .is-on to the grid above 900px and builds eight labels from
   the card titles: labels sit around the edge of the stage and one card (.is-active) shows in
   the middle, arriving at a slight angle. Drawn for exactly eight services.
   Reuses .goi-sec-head / .goi-dek / .goi-fig-full / .goi-mono-note / .goi-draw untouched. */
.goi-svc-main { margin-block: 0 !important; }
.goi-svcm-top { padding: var(--wp--custom--section-pad) 0 clamp(2.6rem, 5vw, 4rem); }
.goi-svcm-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.goi-svc-main > .goi-svcm-top, .goi-svc-main > .goi-svcm-stage, .goi-svcm-head > .goi-sec-head, .goi-svcm-head > .goi-svcm-intro,
.goi-svcm-grid > .goi-svcm-cards, .goi-svcm-cards > .goi-svcm-card, .goi-svcm-card > .goi-fig-full { margin-block: 0; }
.goi-svcm-head > .goi-sec-head { max-width: none; }
.goi-svcm-head > .goi-sec-head > h2 { margin-block: 1rem 0; }
.goi-svcm-intro > .goi-dek { margin-block: 0; }
.goi-svcm-intro > .goi-dek + .goi-dek { margin-top: 1em; }
.goi-svcm-stage { background: var(--pine); color: var(--cream); padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.goi-svcm-stage > .goi-wrap > .goi-mono-note { margin-block: 1.6rem 0; color: rgba(243, 241, 234, .6); opacity: 1; } /* opacity 1: contrast 2026-11-23 */
.goi-svcm-cards { display: grid; gap: 1.1rem; }
.goi-svcm-card {
  background: var(--cream); color: var(--ink); border-radius: 8px; padding: 1.1rem 1.2rem 1.3rem;
  display: grid; gap: .8rem; align-content: start;
}
.goi-svcm-card > .goi-mono-note { margin: 0; text-transform: none; opacity: 1; }
.goi-svcm-card > .goi-fig-full { padding: .7rem; }
.goi-svcm-card > h3 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 800; color: var(--ink); }
.goi-svcm-card > h3 a { color: inherit; text-decoration: none; }
/* CSS-generated arrow so the heading stays plain editable text (same idiom as .goi-svc h3::after) */
.goi-svcm-card > h3 a::after {
  content: "\2192"; display: inline-block; margin-left: .45em; font-family: var(--wp--preset--font-family--mono);
  font-size: .6em; vertical-align: .25em; color: var(--orange); transition: transform .25s var(--ease);
}
.goi-svcm-card > h3 a:hover::after { transform: translateX(5px); }
.goi-svcm-card > p:last-child { margin: 0; font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }
/* The plain list on a wide screen only happens without the script (the editor, JavaScript off). */
@media (min-width: 901px) {
  .goi-svcm-grid:not(.is-on) .goi-svcm-card { max-width: 34rem; }
}
.goi-svcm-l { display: none; }

.goi-svcm-grid.is-on {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  gap: 1.6rem 2.4rem; min-height: 43rem;
}
.goi-svcm-grid.is-on .goi-svcm-l {
  all: unset; display: block; cursor: pointer; opacity: .5; transition: opacity .25s var(--ease); align-self: start; /* .42 -> .5, contrast 2026-11-23 */
}
.goi-svcm-grid.is-on .goi-svcm-l b {
  display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1; letter-spacing: -.02em;
}
.goi-svcm-grid.is-on .goi-svcm-l span { display: block; margin-top: .45rem; font-size: .86rem; line-height: 1.3; max-width: 16ch; }
.goi-svcm-grid.is-on .goi-svcm-l:hover { opacity: .75; }
.goi-svcm-grid.is-on .goi-svcm-l.is-active { opacity: 1; }
.goi-svcm-grid.is-on .goi-svcm-l.is-active b::after {
  content: ""; display: inline-block; width: .32em; height: .32em; margin-left: .3em; border-radius: 50%;
  background: var(--orange); vertical-align: middle;
}
.goi-svcm-grid.is-on .goi-svcm-l:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
.goi-svcm-grid.is-on .goi-svcm-l1 { grid-area: 1 / 1; }
.goi-svcm-grid.is-on .goi-svcm-l2 { grid-area: 1 / 2; justify-self: center; text-align: center; }
.goi-svcm-grid.is-on .goi-svcm-l3 { grid-area: 1 / 3; justify-self: end; text-align: right; }
.goi-svcm-grid.is-on .goi-svcm-l4 { grid-area: 2 / 1; align-self: center; }
.goi-svcm-grid.is-on .goi-svcm-l5 { grid-area: 2 / 3; align-self: center; justify-self: end; text-align: right; }
.goi-svcm-grid.is-on .goi-svcm-l6 { grid-area: 3 / 1; align-self: end; }
.goi-svcm-grid.is-on .goi-svcm-l7 { grid-area: 3 / 2; justify-self: center; text-align: center; align-self: end; }
.goi-svcm-grid.is-on .goi-svcm-l8 { grid-area: 3 / 3; justify-self: end; text-align: right; align-self: end; }
.goi-svcm-grid.is-on .goi-svcm-l2 span, .goi-svcm-grid.is-on .goi-svcm-l7 span { max-width: none; }
.goi-svcm-grid.is-on .goi-svcm-l3 span, .goi-svcm-grid.is-on .goi-svcm-l5 span, .goi-svcm-grid.is-on .goi-svcm-l8 span { margin-left: auto; }
.goi-svcm-grid.is-on > .goi-svcm-cards { grid-area: 2 / 2; gap: 0; align-self: center; }
.goi-svcm-grid.is-on .goi-svcm-card {
  grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translate(46px, 70px) rotate(7deg);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.goi-svcm-grid.is-on .goi-svcm-card.is-active {
  visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
@media (max-width: 900px) {
  .goi-svcm-head { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .goi-svcm-grid.is-on .goi-svcm-l, .goi-svcm-grid.is-on .goi-svcm-card, .goi-svcm-grid.is-on .goi-svcm-card.is-active,
  .goi-svcm-card > h3 a::after { transition: none; }
  .goi-svcm-grid.is-on .goi-svcm-card { transform: none; }
}

/* ---------- work page: "What We've Built" title list (2026-11-23 — design/mockups/goi-work-built-list.html, arrangement D) ----------
   .goi-work-built holds the section heading + blurb (.goi-sec-head) and three .goi-built-item
   groups: a title, then .goi-built-panel with the schematic + caption and the description.
   Plain list by default (phones, the editor, JavaScript off): heading, then every platform in full.
   custom.js adds .is-on at 1000px and wider: a 50/50 grid. Column one is the heading, the blurb
   and the three titles; column two is the panel of the one platform in focus (.is-active).
   Reuses .goi-sec-head / .goi-fig-full / .goi-mono-note / .goi-draw untouched. */
.goi-work-built { margin-top: 0; }
.goi-work-built > .goi-sec-head { margin-block: 0 2.8rem; }
.goi-work-built > .goi-sec-head > h2 { margin-block: 1rem .83em; }
.goi-work-built > .goi-sec-head > .goi-dek { margin-block: 0; }
.goi-built-item { display: grid; gap: 1.1rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.goi-work-built > .goi-built-item, .goi-built-item > .goi-built-title, .goi-built-panel > .goi-built-fig,
.goi-built-panel > .goi-built-desc, .goi-built-desc > p { margin-block: 0; }
.goi-built-item > .goi-built-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; }
.goi-built-title button { all: unset; display: block; font: inherit; letter-spacing: inherit; color: inherit; }
.goi-built-title button:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.goi-built-item > .goi-built-panel { display: contents; }
.goi-built-fig > .goi-fig-full { margin: 0; }
.goi-built-fig > .goi-mono-note { margin: .85rem 0 0; text-transform: none; opacity: 1; }
.goi-built-desc > p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55; }
/* The plain list on a wide screen only happens without the script (the editor, JavaScript
   off): keep the schematic and text to a readable width instead of the full container. */
@media (min-width: 1000px) {
  .goi-work-built:not(.is-on) .goi-built-fig, .goi-work-built:not(.is-on) .goi-built-desc { max-width: 36rem; }
}

.goi-work-built.is-on {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr auto;
  column-gap: clamp(1.6rem, 3.6vw, 3.4rem); align-items: start;
}
.goi-work-built.is-on > .goi-sec-head { grid-column: 1; grid-row: 1; max-width: none; margin-block: 0 1.7rem; }
.goi-work-built.is-on > .goi-built-item { display: contents; }
.goi-work-built.is-on .goi-built-item > .goi-built-title { grid-column: 1; font-size: clamp(1.7rem, 3.1vw, 2.7rem); line-height: 1.02; }
.goi-work-built.is-on > .goi-built-item:nth-child(2) > .goi-built-title { grid-row: 2; }
.goi-work-built.is-on > .goi-built-item:nth-child(3) > .goi-built-title { grid-row: 3; }
.goi-work-built.is-on > .goi-built-item:nth-child(4) > .goi-built-title { grid-row: 4; }
.goi-work-built.is-on .goi-built-title button { cursor: pointer; padding: .62rem 0; opacity: .5; transition: opacity .25s var(--ease); } /* .3 -> .5, contrast 2026-11-23 */
.goi-work-built.is-on .goi-built-title button:hover { opacity: .72; }
.goi-work-built.is-on .goi-built-item.is-active .goi-built-title button { opacity: 1; }
/* the panel starts level with the heading: the heading's own 1rem top margin plus a hair for the cap height */
.goi-work-built.is-on .goi-built-item > .goi-built-panel { display: block; grid-column: 2; grid-row: 1 / span 6; margin-top: 1.35rem; }
.goi-work-built.is-on .goi-built-panel > .goi-built-desc { margin-top: 1.5rem; }
.goi-work-built.is-on .goi-built-fig, .goi-work-built.is-on .goi-built-desc { visibility: hidden; opacity: 0; transform: translateY(14px); }
.goi-work-built.is-on .goi-built-item.is-active .goi-built-fig,
.goi-work-built.is-on .goi-built-item.is-active .goi-built-desc {
  visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .goi-work-built.is-on .goi-built-title button,
  .goi-work-built.is-on .goi-built-item.is-active .goi-built-fig,
  .goi-work-built.is-on .goi-built-item.is-active .goi-built-desc { transition: none; }
  .goi-work-built.is-on .goi-built-fig, .goi-work-built.is-on .goi-built-desc { transform: none; }
}
/* Flagline sits after the list; give the anchor the same treatment as other mono links. */
.goi-work-built ~ .goi-mono-note { opacity: 1; } /* contrast 2026-11-23 */
.goi-work-built ~ .goi-mono-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .2em; }

/* ---------- work page: campaign case-studies grid ---------- */
/* Card idiom borrowed from .goi-svc (cream card, border, radius, hover lift) but scoped to
   its own class — duotone-warm hover only via .goi-card-duo, no orange border shift
   (2026-07-04 card-hover decision: duotone thumbs opt into warm hover, cards themselves get
   lift + shadow only, consistent with .goi-post-card / .goi-kr-card). */
.goi-work-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.6rem; padding: 0; list-style: none; }
.goi-work-case-grid > li { margin: 0; }
.goi-work-case {
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.goi-work-case:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(25,27,20,.5); }
.goi-work-case .goi-duo { aspect-ratio: 16 / 10; border-radius: 0; }
.goi-work-case .wp-block-post-title { font-size: 1.1rem; line-height: 1.28; letter-spacing: -.008em; margin: .9rem 1.2rem 0; }
.goi-work-case .wp-block-post-title a { color: inherit; }
.goi-work-case .wp-block-post-excerpt p { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: .6rem 1.2rem 1.2rem; }

/* ---------- work page: content reach two-column ---------- */
.goi-work-reach { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: 2.4rem; }
.goi-work-reach h2 { color: var(--cream); margin-bottom: 1.1rem; }
.goi-work-reach > div:first-child p { color: rgba(243,241,234,.78); font-size: 1.08rem; max-width: 48ch; }
.goi-work-reach > div:last-child { display: flex; flex-direction: column; gap: 1.6rem; }
.goi-work-reach .goi-stat { background: none; padding: 1.1rem 0 0; border-top: 1px solid var(--pine-line); }
.goi-work-reach .goi-stat-lab { display: block; margin-top: .5rem; font-size: .95rem; color: rgba(243,241,234,.66); line-height: 1.3; }

/* ---------- work page: responsive ---------- */
@media (max-width: 920px) {
  .goi-work-reach { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .goi-work-case-grid { grid-template-columns: 1fr; }
}

/* Keeps the center "All work" button centered when a boundary post (first/last
   case study) has an empty prev/next slot — the empty nav-link div still needs
   to hold its share of the flex row. */
.goi-casenav .wp-block-post-navigation-link { flex: 1 1 0; }

/* ---------- work page: reduced motion (additions only) ---------- */
@media (prefers-reduced-motion: reduce) {
  .goi-work-case:hover { transform: none; }
  .goi-work-case { transition: none; }
}

/* ==========================================================================
   ABOUT + CONTACT PAGES (Phase 4 — additive only, zero shared-style changes)
   All new selectors below are scoped to new .goi-about-* / .goi-contact-*
   classes; nothing above this banner is modified. Grids follow the house
   two-col idioms (.goi-work-reach / .goi-approach / .goi-vp-grid); tiles reuse
   the existing .goi-vp component; the schematic reuses .goi-fig-full/.goi-draw.
   ========================================================================== */

/* ---------- about: Brett's story (portrait + prose) ---------- */
/* Option H (Brett, 2026-11-25; design/mockups/about-portrait-options.html#H): the homepage
   quote's round greyscale photo (.goi-quote-photo values) at 230px, a mono caption, then a
   pull line from paragraph 2 under a rule. Replaces the 4:5 duotone photo. */
.goi-about-story {
  display: grid; grid-template-columns: 270px minmax(0, 66ch);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 2.4rem;
}
.goi-about-side, .goi-about-who { display: flex; flex-direction: column; gap: 1.2rem; }
.goi-about-story > *, .goi-about-side > *, .goi-about-who > *, .goi-about-pull > * { margin-block: 0 !important; }
.goi-about-photo { width: 230px; margin: 0; }
.goi-about-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; filter: grayscale(1) contrast(1.06) brightness(1.04);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -32px rgba(25,27,20,.45);
}
.goi-about-cap {
  font-family: var(--wp--preset--font-family--mono); font-size: .8rem; line-height: 1.5;
  letter-spacing: .06em; color: var(--ink-soft);
}
.goi-about-cap strong { color: var(--ink); font-weight: 500; }
.goi-about-pull { margin-top: .8rem !important; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.goi-about-pull::before {
  content: "\201C" / ""; display: block; height: 2.2rem;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 4.6rem; line-height: .7; color: var(--orange);
}
.goi-about-pull p {
  font-family: var(--wp--preset--font-family--heading); font-weight: 600;
  font-size: 1.42rem; line-height: 1.24; letter-spacing: -.015em; color: var(--ink);
}

/* ---------- about: how we work (blocks + schematic) ---------- */
.goi-about-how {
  display: grid; grid-template-columns: 1fr 0.95fr;
  gap: 2.2rem clamp(2.4rem, 4.5vw, 4.2rem); align-items: start; margin-top: 2.6rem;
}
.goi-about-how-fig { align-self: start; }

/* ---------- about: values 2x2 (reuses .goi-vp tiles) ---------- */
.goi-about-values {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem); margin-top: 2.8rem;
}

/* ---------- contact: form + direct-contact grid ---------- */
.goi-contact-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2.4rem;
}

/* ---------- contact: direct-contact card (cream row-card idiom) ---------- */
.goi-contact-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 5px;
  padding: clamp(1.6rem, 3vw, 2.1rem); align-self: start;
}
.goi-contact-card h2, /* h2 since 2026-11-23 (heading order); same look as the old h3 */
.goi-contact-card h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 1.3rem; }
.goi-contact-name {
  font-family: var(--wp--preset--font-family--heading); font-weight: 700;
  font-size: 1.1rem; color: var(--ink); margin: 0;
}
.goi-contact-role {
  font-family: var(--wp--preset--font-family--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: .3rem 0 0;
}
/* email renders as PLAIN selectable mono text — never a link (site email-link retirement) */
.goi-contact-email {
  font-family: var(--wp--preset--font-family--mono); font-size: .92rem;
  color: var(--ink); margin: 1.2rem 0 0; word-break: break-word;
}
.goi-contact-loc { color: var(--ink-soft); font-size: .95rem; margin: .5rem 0 0; }

/* ---------- contact: WS Form control overrides (scoped to .goi-contact-form) ----------
   WS Form renders its fields client-side (JS hydration) — see Phase 3 report; the
   server shortcode returns only the empty .wsf-form skeleton. These overrides are
   written against the plugin's real front-end class vocabulary (ws-form-public-base.css /
   -button.css: .wsf-label, input/textarea.wsf-field, button.wsf-button). The extra
   .wsf-form in each selector lifts specificity above the plugin's own equal-specificity
   base rules regardless of stylesheet load order. NEEDS a Phase 7 real-browser check that
   the hydrated markup matches these selectors. */
.goi-contact-form .wsf-form .wsf-label {
  font-family: var(--wp--preset--font-family--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.goi-contact-form .wsf-form input[type=text].wsf-field,
.goi-contact-form .wsf-form input[type=email].wsf-field,
.goi-contact-form .wsf-form input[type=tel].wsf-field,
.goi-contact-form .wsf-form input[type=url].wsf-field,
.goi-contact-form .wsf-form textarea.wsf-field,
.goi-contact-form .wsf-form select.wsf-field {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  color: var(--ink); font-family: var(--wp--preset--font-family--body); font-size: 1rem;
  line-height: 1.5; padding: .7rem .85rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.goi-contact-form .wsf-form textarea.wsf-field { min-height: 8rem; resize: vertical; }
.goi-contact-form .wsf-form input.wsf-field::placeholder,
.goi-contact-form .wsf-form textarea.wsf-field::placeholder { color: var(--ink-soft); opacity: .7; }
/* focus ring — orange, matches the theme :focus-visible accent */
.goi-contact-form .wsf-form input[type=text].wsf-field:focus,
.goi-contact-form .wsf-form input[type=email].wsf-field:focus,
.goi-contact-form .wsf-form input[type=tel].wsf-field:focus,
.goi-contact-form .wsf-form input[type=url].wsf-field:focus,
.goi-contact-form .wsf-form textarea.wsf-field:focus,
.goi-contact-form .wsf-form select.wsf-field:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,114,34,.25);
}
/* submit — reuses the house orange wp-element-button property values (theme.json
   button element + custom.css button transition), applied to WS Form's button.wsf-button */
.goi-contact-form .wsf-form button.wsf-button {
  background: var(--orange); color: #1a0d02; border: 0; border-radius: 2px; cursor: pointer;
  font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; padding: .92rem 1.4rem;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.goi-contact-form .wsf-form button.wsf-button:hover {
  background: var(--orange-deep); color: var(--cream); transform: translateY(-2px);
}

/* ---------- newsletter band (goi/newsletter-signup): option E, approved 2026-11-23 ----------
   Ported from design/mockups/newsletter-signup-options.html, option E. Scope: .goi-nl (the
   pattern's own class: Contact page, Insights index, every post). Form controls repeat the
   contact form's values so the two forms read as one family. WS Form sets flex, widths and
   alignment on its tiles with !important, hence the !important here. */
.goi-nl-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.goi-nl-copy > h2 { margin: 0; }
.goi-nl-copy > .goi-dek { margin: 1.1rem 0 0; }
.goi-nl-copy > form.wsf-form { margin-top: 2rem; font-size: inherit; color: var(--ink); }
.goi-nl .wsf-form .wsf-sections,
.goi-nl .wsf-form .wsf-section { display: block; margin: 0 !important; padding: 0 !important; }
.goi-nl .wsf-form .wsf-fields {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.1rem .8rem; margin: 0 !important;
}
.goi-nl .wsf-form .wsf-field-wrapper {
  flex: none !important; max-width: none !important; width: auto !important;
  margin: 0 !important; padding: 0 !important; align-self: auto !important;
}
.goi-nl .wsf-form .wsf-field-wrapper[data-type=checkbox],
.goi-nl .wsf-form .wsf-field-wrapper[data-type=submit] { grid-column: 1 / -1; }
.goi-nl .wsf-form .wsf-field-wrapper[data-type=submit] { justify-self: start; }
/* field labels: mono caps, like the contact form; the required star is not drawn
   (the inputs carry required + aria-required) */
.goi-nl .wsf-form .wsf-field-wrapper > label.wsf-label {
  display: block; margin: 0 0 .4rem; padding: 0;
  font-family: var(--wp--preset--font-family--mono); font-size: .72rem; font-weight: 500;
  line-height: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.goi-nl .wsf-form .wsf-required-wrapper { display: none; }
.goi-nl .wsf-form input[type=text].wsf-field,
.goi-nl .wsf-form input[type=email].wsf-field {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: none;
  color: var(--ink); font-family: var(--wp--preset--font-family--body); font-size: 1rem;
  line-height: 1.5; padding: .7rem .85rem; width: 100%; height: auto; margin: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.goi-nl .wsf-form input.wsf-field::placeholder { color: var(--ink-soft); opacity: .7; }
.goi-nl .wsf-form input[type=text].wsf-field:focus,
.goi-nl .wsf-form input[type=email].wsf-field:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,114,34,.25);
}
/* consent: one box and its sentence */
.goi-nl .wsf-form [data-row-checkbox] { display: flex; gap: .65rem; align-items: flex-start; margin: 0; padding: 0; }
.goi-nl .wsf-form [data-row-checkbox] > label.wsf-label {
  margin: 0 !important; padding: 0 !important; font-family: var(--wp--preset--font-family--body); font-size: .92rem;
  font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none;
  color: var(--ink-soft); cursor: pointer;
}
.goi-nl .wsf-form [data-row-checkbox] > label.wsf-label::before,
.goi-nl .wsf-form [data-row-checkbox] > label.wsf-label::after { content: none !important; display: none !important; }
.goi-nl .wsf-form input[type=checkbox].wsf-field {
  appearance: none; -webkit-appearance: none; position: static !important; opacity: 1 !important;
  flex: 0 0 auto; box-sizing: border-box; width: 1.1rem !important; height: 1.1rem !important;
  margin: .12rem 0 0 !important; padding: 0 !important;
  min-width: 0 !important; min-height: 0 !important;
  border: 1.5px solid var(--ink-soft) !important; border-radius: 2px !important; background: var(--paper) !important;
  display: grid; place-items: center; cursor: pointer; clip: auto; clip-path: none;
}
.goi-nl .wsf-form input[type=checkbox].wsf-field:checked { background: var(--orange) !important; border-color: var(--orange) !important; }
.goi-nl .wsf-form input[type=checkbox].wsf-field:checked::after {
  content: ""; width: .32rem; height: .6rem; border: solid #1a0d02; border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.goi-nl .wsf-form input[type=checkbox].wsf-field:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.goi-nl .wsf-form button.wsf-button {
  background: var(--orange); color: #1a0d02; border: 0; border-radius: 2px; cursor: pointer;
  font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: .82rem;
  line-height: normal; letter-spacing: .04em; text-transform: uppercase; padding: .92rem 1.4rem;
  width: auto; height: auto; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.goi-nl .wsf-form button.wsf-button:hover { background: var(--orange-deep); color: var(--cream); transform: translateY(-2px); }
/* the schematic */
.goi-nl-fig {
  margin: 0; background: #efece3; border: 1px solid var(--line); border-radius: 4px; padding: .8rem;
}
.goi-nl-fig svg { display: block; width: 100%; height: auto; background: #fcfbf7; border-radius: 3px; }
.goi-nl-cap {
  display: block; margin-top: .7rem; font-family: var(--wp--preset--font-family--mono);
  font-size: .72rem; letter-spacing: .08em; line-height: 1.62; text-transform: uppercase;
  color: var(--ink-soft); /* opacity .75 removed for contrast, 2026-11-23 */
}
.goi-nl-fig .nl-focal { transition: transform .5s var(--ease), opacity .5s; }
html.goi-js .goi-nl-fig:not(.in) .nl-focal { opacity: 0; transform: translateX(-14px); }
/* success message after sending, both forms: house colours, not the plugin's green */
.goi-contact-form .wsf-alert.wsf-alert-success,
.goi-nl .wsf-alert.wsf-alert-success {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-left: 3px solid var(--orange); border-radius: 3px; padding: 1rem 1.2rem; margin: 0;
  box-sizing: border-box;
}
.goi-contact-form .wsf-alert.wsf-alert-success p,
.goi-nl .wsf-alert.wsf-alert-success p { margin: 0; color: inherit; max-width: none; }
.goi-nl-copy .wsf-alert.wsf-alert-success { margin-top: 2rem; }
@media (max-width: 760px) {
  .goi-nl-grid,
  .goi-nl .wsf-form .wsf-fields { grid-template-columns: minmax(0, 1fr); }
  /* stacked order: heading, schematic, description, form (Brett, 2026-11-23) */
  .goi-nl-grid { gap: 0; }
  .goi-nl-copy { display: contents; }
  .goi-nl-copy > h2 { order: 1; }
  .goi-nl-fig { order: 2; margin-top: 1.6rem; }
  .goi-nl-copy > .goi-dek { order: 3; margin-top: 1.6rem; }
  .goi-nl-copy > form.wsf-form,
  .goi-nl-copy > .wsf-alert { order: 4; }
  .goi-nl .wsf-form .wsf-field-wrapper[data-type=submit] { justify-self: stretch; }
  .goi-nl .wsf-form button.wsf-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .goi-nl .wsf-form button.wsf-button:hover { transform: none; }
  .goi-nl .wsf-form button.wsf-button,
  .goi-nl .wsf-form input.wsf-field,
  .goi-nl-fig .nl-focal { transition: none; }
  html.goi-js .goi-nl-fig:not(.in) .nl-focal { opacity: 1; transform: none; }
}

/* ---------- about + contact: responsive (stack ≤680px) ---------- */
@media (max-width: 680px) {
  .goi-about-story,
  .goi-about-how,
  .goi-about-values,
  .goi-contact-grid { grid-template-columns: 1fr; }
  .goi-about-story { gap: 1.8rem; }
  .goi-about-who { flex-direction: row; align-items: center; gap: 1.1rem; }
  .goi-about-photo { width: 112px; flex: 0 0 112px; }
  .goi-about-pull p { font-size: 1.32rem; }
}

/* ---------- about + contact: reduced motion (additions only) ---------- */
@media (prefers-reduced-motion: reduce) {
  .goi-contact-form .wsf-form button.wsf-button:hover { transform: none; }
  .goi-contact-form .wsf-form button.wsf-button,
  .goi-contact-form .wsf-form input.wsf-field,
  .goi-contact-form .wsf-form textarea.wsf-field,
  .goi-contact-form .wsf-form select.wsf-field { transition: none; }
}

/* ---------- campaignr page (from approved mockup goi-campaignr.html) ---------- */
/* All selectors below are new and campaignr-scoped. Reuses (by markup class, not by
   editing base selectors): .goi-approach copy+fig grid, .goi-fig-full/.goi-mono-note,
   .goi-svc card styles, .goi-testi, .goi-cta-band, buttons, reveal/draw systems. */

/* hero: two-column with phone schematic */
.goi-camp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.goi-camp-fig { max-width: 340px; margin-inline: auto; width: 100%; }
.goi-camp-wire.goi-fig-full { background: #efece3; border-radius: 8px; padding: .55rem; }
.goi-camp-fig .goi-mono-note { color: rgba(243,241,234,.55); }
.goi-camp-ribbon {
  margin-top: 3rem; display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center;
  font-family: "DM Mono", monospace; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243,241,234,.55); border-top: 1px solid var(--pine-line); padding-top: 1.4rem;
}
.goi-camp-ribbon strong { color: var(--cream); font-weight: 500; }
.goi-camp-ribbon .goi-sep { color: var(--orange); }

/* platform grid: 3-col variant of the services-glance card grid */
.goi-svc-grid.goi-plat { grid-template-columns: repeat(3, 1fr); }
.goi-plat-cta { margin-top: 2.2rem; text-align: center; }

/* deep dives: .goi-approach with an alternating flip */
.goi-camp-flip.goi-approach { grid-template-columns: 9fr 11fr; }
.goi-camp-flip .goi-approach-copy { order: 1; }

/* demo section (pine) with placeholder form card */
.goi-demo-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.goi-demo-card { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 1.7rem 1.6rem 1.5rem; color: var(--ink); }
.goi-demo-card h3 { color: var(--ink); font-size: 1.3rem; margin-top: .8rem; }
.goi-demo-card form { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.goi-demo-card .wp-block-buttons { margin-top: .2rem; }
.goi-demo-card .wp-block-button { width: 100%; }
.goi-demo-card .wp-block-button__link { width: 100%; justify-content: center; display: inline-flex; }
.goi-field { display: flex; flex-direction: column; gap: .45rem; }
.goi-field label { font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.goi-field input {
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: .72rem .9rem;
  transition: border-color .2s;
}
.goi-field input:hover { border-color: rgba(25,27,20,.3); }
.goi-field input:focus { outline: 2.5px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.goi-demo-privacy { margin-top: 1.1rem; font-size: .82rem; }
.goi-demo-privacy a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.goi-demo-privacy a:hover { color: var(--ink); }
/* live Campaignr embed (2026-11-24): the form brings its own inner padding, so the card is a thin frame around it */
.goi-demo-card--live { padding: .5rem; }
.goi-join { margin-top: 1.4rem; border-top: 1px dashed var(--line); padding-top: 1.1rem; }
.goi-join .goi-join-count { font-family: "DM Mono", monospace; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.goi-join .goi-join-count strong { color: var(--orange); font-weight: 500; }
.goi-segbar { margin-top: .6rem; display: flex; gap: 3px; }
.goi-segbar span { height: 9px; flex: 1; background: rgba(25,27,20,.12); border-radius: 1px; }
.goi-segbar span.on { background: var(--orange); }

/* campaignr: responsive (additions only) */
@media (max-width: 920px) {
  .goi-camp-hero-grid, .goi-demo-grid { grid-template-columns: 1fr; }
  .goi-camp-flip.goi-approach { grid-template-columns: 1fr; }
  .goi-camp-flip .goi-approach-copy { order: 0; }
  .goi-camp-fig { max-width: 300px; }
  .goi-svc-grid.goi-plat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .goi-svc-grid.goi-plat { grid-template-columns: 1fr; }
  .goi-camp-ribbon { font-size: .68rem; gap: .9rem; }
}
/* campaignr: reduced motion (additions only) */
@media (prefers-reduced-motion: reduce) {
  .goi-field input { transition: none; }
}

/* ---------- orange TEXT on light backgrounds (contrast; approved by Brett 2026-11-23) ----------
   Today's brand orange measures 2.3-2.7:1 against paper, cream and paper-2, which fails for
   text. On light backgrounds, small text uses --orange-text (#a8440a) and large text (>= 24px,
   or >= 18.66px bold) uses --orange-text-lg (orange-deep). Text on dark backgrounds, buttons,
   schematic focals, check marks, rules and icons keep --orange. Picture of the change:
   design/mockups/shots/orange-text-compare.png. Inventory script: qa/scripts/orange-inventory.js
   (every orange text element on 23 pages at 1440 and 390, sorted by backdrop). */
.goi-eyebrow,
.goi-manifest-index,
.goi-post-kicker,
.goi-contact-role,
.goi-join .goi-join-count strong,
.goi-pitch-lead .goi-hi { color: var(--orange-text); }
.goi-how-n,
.goi-testi-mark,
.goi-stat-num--ink .goi-u { color: var(--orange-text-lg); }
@media (min-width: 1200px) {
  .goi-pitch-lead .goi-hi { color: var(--orange-text-lg); } /* 2vw: 24px and up from 1200px wide */
}
/* dark backgrounds keep today's orange */
.goi-hero .goi-eyebrow,
.goi-page-hero .goi-eyebrow,
.goi-sec--pine .goi-eyebrow,
.goi-case-panel .goi-eyebrow,
.goi-footer .goi-eyebrow,
.goi-how-card--pine .goi-how-n { color: var(--orange); }
/* ...except light cards inside dark sections */
.goi-sec--pine .goi-demo-card .goi-eyebrow { color: var(--orange-text); }
/* case-study story rail: the current chapter (set while scrolling) and hover, on paper */
.goi-case-rail a:hover, .goi-case-rail a.on,
.goi-case-rail a:hover .goi-ix, .goi-case-rail a.on .goi-ix { color: var(--orange-text); }

/* ---------- phone menu: option E card, opened from the header (Brett, 2026-11-24 / 2026-11-25) ----------
   Option E of design/mockups/mobile-nav-options.html, changed on 2026-11-25: the floating
   "Menu" pill is gone and the hamburger is back in the header; the card drops from under the
   header (version 1 of shots/mobile-nav/header-toggle/compare.png). Phones only (under 600px,
   where the core Navigation block collapses into its overlay); the desktop row is untouched.
   - The overlay is a dark, blurred veil that starts under the header (--goi-hd-h, set by
     custom.js when the menu opens); the dialog inside it is a rounded card at its top.
   - The close button is a round X in the card's top-right corner, under the hamburger.
   - The LinkedIn item is added by inc/phone-menu.php and shown here only.
   The header's blur moves to a ::before on phones: backdrop-filter on .goi-header itself would
   make it the containing block for the fixed veil and squeeze the veil into the header. */
.goi-header .goi-nav-social { display: none; }
@keyframes goi-veil-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes goi-card-drop { from { transform: translateY(-24px) scale(.35); } to { transform: none; } }
@keyframes goi-card-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 599.98px) {
  .goi-header { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .goi-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(19,23,16,.82);
    -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  }

  /* the hamburger (core icon), hidden while the card is open */
  .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-open { padding: 6px; margin: -6px; color: var(--cream); }
  html.has-modal-open .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-open { visibility: hidden; }

  /* the veil */
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open {
    top: var(--goi-hd-h, 0px); padding: 0; overflow: hidden;
    background-color: rgba(8,10,6,.45) !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    animation: goi-veil-in .35s var(--ease) both;
  }

  /* the card */
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    position: absolute; left: 12px; right: 12px; top: 12px;
    width: auto; max-width: none; margin: 0;
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    position: relative; margin: 0 !important; background: var(--pine-2); border: 1px solid var(--pine-line);
    border-radius: 26px; padding: 30px 22px 26px; transform-origin: 92% 0;
    animation: goi-card-drop .6s cubic-bezier(.34,1.4,.5,1) both, goi-card-fade .2s linear both;
  }
  .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-close {
    position: absolute; top: 14px; right: 14px; left: auto; bottom: auto;
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--pine-line); border-radius: 999px; background: none; color: var(--cream); cursor: pointer;
  }
  .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding: 0; align-items: stretch !important; text-align: left;
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    gap: 0 !important; align-items: stretch !important; justify-content: flex-start;
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { display: block; margin: 0; text-align: left; }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block; padding: 0; font: 700 38px/1.12 var(--wp--preset--font-family--heading);
    letter-spacing: -.025em; color: var(--cream); transition: color .2s;
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:is(:hover, :active, :focus-visible) { color: var(--orange); }

  /* LinkedIn at the foot of the card */
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .goi-nav-social {
    display: block; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--pine-line);
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .goi-nav-social a {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
    font: 500 12px/1 var(--wp--preset--font-family--mono); letter-spacing: .12em; text-transform: uppercase;
    color: rgba(243,241,234,.85);
  }
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .goi-nav-social a:is(:hover, :active, :focus-visible) { color: var(--orange); }
}
/* The word "Menu" beside the hamburger (Brett, 2026-11-25), from 375px up only: narrower
   phones would wrap the brand tagline onto two lines. Screen readers already hear "Open menu"
   (the button's aria-label), which contains the visible word. */
@media (min-width: 375px) and (max-width: 599.98px) {
  .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-open { display: flex; align-items: center; gap: 10px; }
  .goi-header .goi-mainnav button.wp-block-navigation__responsive-container-open::before {
    content: "Menu"; font: 500 12px/1 var(--wp--preset--font-family--mono); letter-spacing: .16em; text-transform: uppercase;
  }
}
@media (max-width: 599.98px) and (prefers-reduced-motion: reduce) {
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open,
  .goi-header .goi-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { animation: none; }
}
