/* =========================================================================
   Inclusion Geeks 2026 — design system
   Brand kept: iG mark, raspberry/purple palette, Proxima Nova.
   Vibe shifted: warm cream canvas, big editorial type, color as accent.
   ========================================================================= */

/* ---- Fonts ------------------------------------------------------------- */

/* ---- Tokens ------------------------------------------------------------ */
:root{
  /* brand */
  --raspberry:#941a49;
  --raspberry-deep:#7a1540;
  --purple:#3b0754;
  --pink:#b94571;
  --peach:#ffdac8;
  --blush:#f4e8ed;

  /* canvas — warm, editorial */
  --cream:#faf6f1;
  --cream-2:#f3ece3;
  --ink:#241019;        /* near-black with a purple-red undertone */
  --ink-soft:#5c4954;
  --line:#e7ddd3;
  --white:#ffffff;

  /* type */
  --font:"Proxima Nova",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --step--1:clamp(.85rem,.82rem + .15vw,.95rem);
  --step-0:clamp(1rem,.96rem + .2vw,1.13rem);
  --step-1:clamp(1.2rem,1.1rem + .5vw,1.5rem);
  --step-2:clamp(1.6rem,1.35rem + 1.2vw,2.4rem);
  --step-3:clamp(1.9rem,1.6rem + 1.4vw,2.6rem);
  --step-4:clamp(2.4rem,2rem + 2.2vw,3.5rem);

  /* space */
  --gutter:clamp(1.25rem,5vw,4rem);
  --maxw:1180px;
  --radius:18px;
}

/* ---- Reset ------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font);
  font-size:var(--step-0);
  line-height:1.6;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--peach);color:var(--ink)}

/* ---- Layout helpers ---------------------------------------------------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:clamp(3.5rem,8vw,7rem)}
/* Newsletter signup page: tighter than the sitewide hero->section default.
   Chains all 3 classes on the hero side so this unambiguously outranks the
   sitewide ".hero + .section" rule on specificity, rather than depending on
   which rule happens to come later in the file (a tie there is fragile). */
.hero.hero--page.newsletter-hero + .newsletter-form-section{padding-top:clamp(.5rem,2vw,1.25rem)}
/* The dominant contributor to the gap was actually here: .hero--page's own
   padding-block sets top AND bottom to the same larger value (up to 5.5rem),
   so the hero's own bottom padding was the real culprit, not just the section's
   top padding above. Only override bottom -- top spacing above the H1 is fine. */
.hero--page.newsletter-hero{padding-bottom:clamp(.5rem,2vw,1.25rem)}
/* This hero has no hero-grid/figure, so its h1/lede should center at the same
   1180px measure as the form below instead of the sitewide ".hero--page h1"
   max-width:none, which otherwise spans full width and never centers, causing
   it to drift out of alignment with the form above 1280px viewports. Chains
   both classes so it unambiguously outranks ".hero--page h1"/".hero .lede". */
.hero--page.newsletter-hero h1,.hero--page.newsletter-hero .lede{max-width:1180px;margin-inline:auto}
/* Tighter rhythm for pages that stack many content sections back-to-back
   (e.g. Insights: latest / popular / topics / podcast) so it doesn't feel over-spaced. */
.section--tight{padding-block:clamp(1.75rem,4vw,3rem)}
h1,h2,h3{line-height:1.1;font-weight:700;letter-spacing:-.02em}
h1{font-size:var(--step-4);font-weight:900}
h2{font-size:var(--step-2)}
h3{font-size:var(--step-1);letter-spacing:-.01em}
.lede{font-size:var(--step-1);line-height:1.4;font-weight:400;color:var(--ink-soft)}
.accent{color:var(--raspberry)}
em{font-style:italic}

/* ---- Buttons ----------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:.5em;
  font-weight:600;font-size:var(--step-0);line-height:1;
  padding:.95em 1.5em;border-radius:100px;border:1.5px solid transparent;
  cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--raspberry);color:var(--white)}
.btn--primary:hover{background:var(--raspberry-deep)}
.btn--ghost{border-color:var(--ink);color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--cream)}
.btn .arr{transition:transform .18s ease}
.btn:hover .arr{transform:translateX(3px)}

/* ---- Header / nav ------------------------------------------------------ */
/* WP wraps the header template-part in its own <header class="wp-block-template-part">,
   which shrink-wraps to exactly the height of .site-header inside it. A sticky element's
   "stuck" range is bounded by its containing block, so once that shrink-wrapped wrapper
   (only as tall as the nav bar) scrolls out of view, the sticky child has nowhere left to
   stick and scrolls away with it. display:contents removes the wrapper from the layout box
   tree (it stays in the DOM) so .site-header's containing block becomes .wp-site-blocks,
   which spans the full page -- giving it room to stay stuck for the whole scroll. */
.wp-site-blocks>header.wp-block-template-part:first-child{display:contents}
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--cream);
  border-bottom:1px solid transparent;
  box-shadow:0 0 0 0 transparent;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.site-header.scrolled{border-color:var(--line);box-shadow:0 6px 20px -8px rgba(36,16,25,.35)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1rem}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;letter-spacing:-.01em;font-size:1.15rem}
.brand img{width:34px;height:34px}
.brand span{color:var(--ink)}
.brand b{color:var(--raspberry);font-weight:700}
.nav-links{display:flex;align-items:center;gap:clamp(1rem,2.4vw,2.2rem);list-style:none}
.nav-links a{font-weight:500;font-size:var(--step-0);color:var(--ink);position:relative}
.nav-links a:not(.btn)::after{
  content:"";position:absolute;left:0;bottom:-4px;height:2px;width:0;background:var(--raspberry);transition:width .2s ease;
}
.nav-links a:not(.btn):hover::after{width:100%}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:.4rem}
.nav-toggle span{width:24px;height:2px;background:var(--ink);transition:.2s}

/* ---- Hero -------------------------------------------------------------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(3rem,7vw,6rem) clamp(1.5rem,4vw,2.5rem)}
/* the section right after the hero (six challenges) otherwise stacks its own
   full top padding on top of the hero's bottom padding, reading as an oversized gap */
.hero + .section{padding-top:clamp(1.5rem,4vw,2.5rem)}
.hero h1{max-width:14ch;margin-block:1.2rem 1.6rem}
.hero .lede{max-width:48ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}

/* two-column hero: copy left, photo right */
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.5rem,4vw,3rem);align-items:center}
.hero-figure{position:relative;justify-self:end;width:100%;max-width:500px}
.hero-figure::before{
  content:"";position:absolute;inset:-14% -10%;z-index:0;
  background:radial-gradient(circle at 50% 45%,var(--peach),var(--blush) 52%,transparent 72%);
  filter:blur(10px);
}
.hero-figure img{position:relative;z-index:1;width:100%;height:auto;display:block;border-radius:var(--radius)}

.hero-meta{
  display:flex;flex-wrap:wrap;gap:2rem;margin-top:3rem;padding-top:1.8rem;border-top:1px solid var(--line);
}
.hero-meta div{min-width:120px}
.hero-meta .num{font-size:var(--step-2);font-weight:900;color:var(--purple);line-height:1}
.hero-meta .lbl{font-size:var(--step--1);color:var(--ink-soft);margin-top:.3rem}

/* ---- Logo marquee ------------------------------------------------------ */
.proof{border-block:1px solid var(--line);background:var(--cream-2)}
.proof .wrap{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;padding-block:1.4rem}
.proof p{font-size:var(--step--1);color:var(--ink-soft);font-weight:500;white-space:nowrap}
.proof ul{display:flex;flex-wrap:wrap;gap:1.6rem 2.4rem;list-style:none;font-weight:700;color:var(--ink);opacity:.7}

/* ---- Generic two-col ---------------------------------------------------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.split--text p+p{margin-top:1.1rem}
/* Contact page: top-align the shorter text column instead of centering it against the taller form, and give the form more of the row */
.split.split--top{align-items:start}
.split.split--wide-form{grid-template-columns:1fr 2fr}
/* two-column split rows read as sub-sections, not page headlines, so their h2 stays well short of the full-size h2 */
.split h2{font-size:var(--step-2);line-height:1.15}
.section-title{font-size:var(--step-2);font-weight:700;letter-spacing:-.01em;line-height:1.15}
/* section header on the left, a plain link (e.g. "View all articles") on the right */
.section-head-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.75rem 1.5rem}
.section-head-row .section-title{margin:0}
/* plain bold text link, no arrow -- used for "Read more" / "Listen" / "View all" style CTAs */
.more-link{font-weight:700;color:var(--raspberry)}
.more-link:hover{color:var(--raspberry-deep)}
.split-figure{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3}
.split-figure img{width:100%;height:100%;object-fit:cover}
.belief blockquote{
  font-size:var(--step-2);font-weight:300;line-height:1.25;letter-spacing:-.01em;color:var(--ink);
  border-left:3px solid var(--raspberry);padding-left:clamp(1rem,3vw,2rem);
}
.belief blockquote b{font-weight:700;color:var(--raspberry)}

/* ---- Services cards ---------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2.5rem}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.4rem,2.5vw,2rem);display:flex;flex-direction:column;gap:.8rem;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -24px rgba(36,16,25,.4);border-color:var(--peach)}
.card .num{font-size:var(--step--1);font-weight:700;color:var(--pink)}
.card h3{margin-top:.2rem}
.card p{color:var(--ink-soft);font-size:var(--step-0)}
.card a{margin-top:auto;font-weight:600;color:var(--raspberry);display:inline-flex;gap:.4em;align-items:center}
.card a .arr{transition:transform .18s ease}
.card:hover a .arr{transform:translateX(3px)}

/* ---- Insights / featured ----------------------------------------------- */
.feature{
  background:var(--purple);color:var(--cream);border-radius:calc(var(--radius) + 6px);
  padding:clamp(1.8rem,4vw,3.2rem);display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:center;
}
.feature .tag{
  display:inline-block;font-size:var(--step--1);font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--peach);margin-bottom:1rem;
}
.feature h2{font-size:var(--step-2);color:var(--white)}
.feature p{color:color-mix(in srgb,var(--cream) 80%,transparent);margin-top:1rem;max-width:46ch}
.feature .stat{text-align:right}
.feature .stat .num{font-size:var(--step-4);font-weight:900;color:var(--peach);line-height:.9}
.feature .stat .lbl{color:color-mix(in srgb,var(--cream) 75%,transparent);font-size:var(--step--1);margin-top:.6rem}
.feature a{color:var(--white);font-weight:700;border-bottom:2px solid var(--peach);padding-bottom:2px;margin-top:1.4rem;display:inline-block}

.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:1.2rem}
.post{padding:0}
.post .cat{font-size:var(--step--1);font-weight:700;color:var(--raspberry);text-transform:uppercase;letter-spacing:.08em}
.post h3{font-size:var(--step-1);margin-top:.6rem}
.post:hover h3{color:var(--raspberry)}

/* ---- CTA band ---------------------------------------------------------- */
.cta-band{background:var(--ink);color:var(--cream);border-radius:calc(var(--radius) + 10px)}
.cta-band .wrap{text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.4rem}
.cta-band h2{color:var(--white);max-width:18ch}
.cta-band .lede{color:color-mix(in srgb,var(--cream) 78%,transparent);max-width:44ch}
.cta-band .btn--primary{background:var(--peach);color:var(--ink)}
.cta-band .btn--primary:hover{background:var(--white)}

/* ---- Footer ------------------------------------------------------------ */
/* Footer: same berry -> deep-purple gradient as the live site, all text white */
.site-footer{
  background:linear-gradient(180deg,var(--raspberry) 0%,var(--purple) 100%);
  border-top:0;color:var(--cream);padding-block:clamp(3rem,6vw,4.5rem) 2rem;
}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2rem}
.foot-grid h4{font-size:var(--step--1);text-transform:uppercase;letter-spacing:.1em;color:var(--peach);margin-bottom:1rem}
.foot-grid ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.foot-grid a{color:var(--cream)!important}
.foot-grid a:hover{color:var(--peach)!important}
.foot-brand p{color:color-mix(in srgb,var(--cream) 85%,transparent);max-width:34ch;margin-top:1rem}
.foot-brand .wp-block-site-logo img{filter:brightness(0) invert(1)}  /* berry wordmark -> white, matches nav */
/* ---- Newsletter signup ---- */
.foot-newsletter{
  margin-top:3rem;padding:clamp(1.6rem,4vw,2.6rem);border-radius:var(--radius);
  background:color-mix(in srgb,var(--purple) 55%,transparent);text-align:center;
}
.foot-newsletter h3{color:var(--white);margin-bottom:.6rem}
.foot-newsletter p{color:color-mix(in srgb,var(--cream) 88%,transparent);max-width:56ch;margin-inline:auto}
.foot-newsletter .ig-form-note{color:color-mix(in srgb,var(--cream) 70%,transparent);margin-top:.8rem}

/* ---- Bottom bar: copyright + legal links ---- */
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;align-items:center;
  margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid color-mix(in srgb,var(--cream) 25%,transparent);
  font-size:var(--step--1);color:color-mix(in srgb,var(--cream) 80%,transparent)}
.foot-legal{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;margin:0}
.foot-legal a{color:color-mix(in srgb,var(--cream) 80%,transparent)!important}
.foot-legal a:hover{color:var(--peach)!important}

/* ---- Reveal on scroll -------------------------------------------------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.btn:hover{transform:none}}

/* =========================================================================
   INSIGHTS INDEX
   ========================================================================= */
.page-head{padding-block:clamp(3rem,7vw,5.5rem) clamp(1.5rem,4vw,3rem)}
/* WP's generated constrained-layout rule auto-centers direct children with a
   narrower max-width using margin-left/right:auto !important, so beating it
   requires !important too, not just higher specificity. */
.page-head h1{font-size:var(--step-3);max-width:18ch;margin-top:1rem;margin-left:0!important;margin-right:auto!important}
.page-head .lede{max-width:54ch;margin-top:1.4rem}
/* /articles/ (templates/home.html) wants its H1 centered, unlike the category-archive
   pages that share this same .page-head class — needs its own !important to beat the
   left-pin rule above. */
.page-head--center h1{max-width:none;margin-left:auto!important;margin-right:auto!important;text-align:center}

/* newspaper-style masthead row: latest feed + most-popular rail */
.insights-top{display:grid;grid-template-columns:2fr 1fr;gap:clamp(2rem,4vw,3.5rem);align-items:start}

.latest-list{display:flex;flex-direction:column;gap:1.6rem;margin-top:1.2rem}
.latest-item{display:grid;grid-template-columns:180px 1fr;gap:1.2rem;align-items:start;padding-top:1.6rem;border-top:1px solid var(--line)}
.latest-item:first-child{padding-top:0;border-top:0}
.latest-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.latest-item h3{font-size:var(--step-1)}
.latest-item:hover h3{color:var(--raspberry)}
.latest-item p{color:var(--ink-soft);font-size:var(--step-0);margin-top:.5rem}
.latest-item .more-link{display:inline-block;margin-top:.6rem}

.popular-rail{background:var(--blush);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2rem)}
.popular-list{list-style:decimal;margin-top:1rem;display:flex;flex-direction:column;gap:1rem;padding-left:1.2em}
.popular-list li{padding-top:1rem;border-top:1px solid var(--line)}
.popular-list li:first-child{padding-top:0;border-top:0}
.popular-list li::marker{font-weight:700;color:var(--raspberry)}
.popular-list a{font-weight:600;color:var(--ink)}
.popular-list a:hover{color:var(--raspberry)}

/* topic browser (vertical tabs, reuses the .ig-cn-* tab component from the
   homepage challenge navigator — see ig-cn-grid/tabs/panels rules below) */
.ig-cn-panel-figure{margin-bottom:1.2rem}
.ig-cn-panel-figure img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.ig-cn-panel .more-link{display:inline-block;margin-top:1.6rem}
.ig-cn-topic-list{list-style:none;margin-top:1.4rem;display:flex;flex-direction:column;gap:.6rem}
.ig-cn-topic-list li{position:relative;padding-left:1.1em}
.ig-cn-topic-list li::before{content:"";position:absolute;left:0;top:.65em;width:5px;height:5px;border-radius:50%;background:var(--raspberry)}
.ig-cn-topic-list a{font-weight:500;color:var(--ink)}
.ig-cn-topic-list a:hover{color:var(--raspberry)}

@media (max-width:860px){
  .insights-top{grid-template-columns:1fr}
}
@media (max-width:520px){
  .latest-item{grid-template-columns:1fr}
}

/* report commentary series band */
.series{background:var(--purple);color:var(--cream);border-radius:calc(var(--radius) + 6px);padding:clamp(1.8rem,4vw,3rem)}
.series h2{color:var(--white);max-width:20ch;margin:1rem 0 .8rem}
.series>p{color:color-mix(in srgb,var(--cream) 80%,transparent);max-width:56ch}
.series-list{list-style:none;margin-top:1.8rem;display:flex;flex-direction:column}
.series-list li{display:flex;align-items:baseline;gap:1rem;padding:1rem 0;border-top:1px solid color-mix(in srgb,var(--cream) 22%,transparent)}
.series-list li:last-child{border-bottom:1px solid color-mix(in srgb,var(--cream) 22%,transparent)}
.series-list .when{font-size:var(--step--1);color:var(--peach);font-weight:600;white-space:nowrap;min-width:5.5em}
.series-list a{font-weight:600;color:var(--white)}
.series-list a:hover{color:var(--peach)}

/* library callout */
.lib{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;
  border:1.5px dashed var(--pink);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2.2rem);background:var(--blush)}
.lib h3{margin-bottom:.3rem}
.lib p{color:var(--ink-soft);max-width:46ch}

/* =========================================================================
   ARTICLE
   ========================================================================= */
.article-head{padding-block:clamp(2.5rem,6vw,4.5rem) clamp(1rem,3vw,2rem);border-bottom:1px solid var(--line)}
/* Same max-width + margin:auto + gutter as .article-head-title and .article-lead, so the
   category/date row lines up with the title and the image above/below it (the body copy
   below uses its own narrower 68ch reading column, a deliberate, separate measure). */
.article-head-inner{max-width:920px;margin-inline:auto;padding-inline:var(--gutter)}
.article-head .meta{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center;font-size:var(--step--1);color:var(--ink-soft)}
.article-head .meta .cat{color:var(--raspberry);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
/* Sits as its own direct child of .article-head (not inside .article-head-inner), and
   centers independently with the same max-width + margin:auto as .article-lead below it,
   so its left/right edges land exactly on the image's edges, not just match its width.
   (An earlier version matched only the width while inheriting the narrow inner column's
   left offset, which left the title overhanging the image's right edge on long titles.) */
.article-head-title{font-size:var(--step-3);max-width:920px;margin:1.2rem auto 0;padding-inline:var(--gutter)}

/* lead image */
.article-lead{max-width:920px;margin:clamp(1.5rem,4vw,2.5rem) auto 0;padding-inline:var(--gutter)}
.article-lead img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:var(--radius)}
.article-lead figcaption{font-size:var(--step--1);color:var(--ink-soft);margin-top:.7rem}
/* .section's default padding-block (up to 7rem) is sized for standalone page sections;
   right after the lead image it reads as a big empty gap before the first paragraph, so
   tighten just the top here. Adjacent-sibling selector means single.html and
   single-podcasts.html both get this without touching their template markup. */
.article-lead+.section{padding-top:clamp(1rem,3vw,1.75rem)}
/* inline image inside prose */
.prose figure{margin-block:2rem}
.prose figure img{width:100%;border-radius:var(--radius);object-fit:cover}
.prose figcaption{font-size:var(--step--1);color:var(--ink-soft);margin-top:.7rem;text-align:center}
/* thumbnails on post cards */
.post img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin-bottom:1rem}
.prose{max-width:68ch;margin-inline:auto}
.prose>*+*{margin-top:1.2rem}
.prose h2{font-size:clamp(1.35rem,1.2rem + .7vw,1.85rem);margin-top:2.6rem;letter-spacing:-.01em}
.prose h3{margin-top:2rem}
.prose p,.prose li{font-size:var(--step-0);line-height:1.7}
.prose ul,.prose ol{padding-left:1.3em;display:flex;flex-direction:column;gap:.5rem}
.prose strong{font-weight:700}
.prose blockquote{border-left:3px solid var(--raspberry);padding-left:1.4rem;font-size:var(--step-1);
  font-weight:300;line-height:1.4;color:var(--ink)}
.prose a{color:var(--raspberry);font-weight:600;border-bottom:1px solid var(--peach)}

/* inline contextual CTA block (drops into any article) */
.inline-cta{
  background:var(--cream-2);border:1px solid var(--line);border-left:4px solid var(--raspberry);
  border-radius:var(--radius);padding:clamp(1.4rem,3vw,2rem);margin-block:2.6rem;
}
.inline-cta .pull{font-size:var(--step-1);font-weight:300;line-height:1.35;color:var(--ink);margin-bottom:1rem}
.inline-cta .ask{font-weight:600;margin-bottom:1rem}
.inline-cta .wp-block-button__link{text-transform:uppercase;letter-spacing:.04em}

/* author / byline */
.byline{display:flex;align-items:center;gap:.8rem;margin-top:2rem}
.byline .dot{width:40px;height:40px;border-radius:50%;background:var(--peach);display:grid;place-items:center;
  font-weight:800;color:var(--raspberry)}
.byline .who{font-weight:600}
.byline .who span{display:block;font-weight:400;color:var(--ink-soft);font-size:var(--step--1)}

/* related */
.related{border-top:1px solid var(--line)}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width:860px){
  .split,.feature{grid-template-columns:1fr}
  .feature .stat{text-align:left}
  .cards,.posts,.clusters{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .hero-grid{grid-template-columns:1fr}
  .hero-figure{justify-self:start;max-width:380px;margin-top:.5rem;order:2}
  .hero-copy{order:1}
  .nav-links{
    position:fixed;inset:0 0 0 auto;width:min(78vw,320px);flex-direction:column;align-items:flex-start;
    justify-content:center;gap:1.6rem;background:var(--cream);padding:2rem;
    transform:translateX(100%);transition:transform .25s ease;box-shadow:-20px 0 60px -30px rgba(0,0,0,.5);
  }
  .nav-links.open{transform:none}
  .nav-links a{font-size:var(--step-1)}
  .nav-toggle{display:flex}
}
@media (max-width:520px){ .foot-grid{grid-template-columns:1fr} }

/* =========================================================================
   WORDPRESS BLOCK ADAPTERS
   Maps core-block markup onto the design system above. Tuned further on staging.
   ========================================================================= */

/* --- Header: Site Logo + Navigation blocks --- */
.site-header .nav{padding-block:1rem}
/* wordmark logo: preserve aspect ratio, don't squish into a square.
   Size set once here; the berry-nav block below only adds the white filter. */
.brand .wp-block-site-logo,.foot-brand .wp-block-site-logo{margin:0;width:auto}
.brand .wp-block-site-logo img{height:48px;width:auto;max-width:none}
.foot-brand .wp-block-site-logo img{height:30px;width:auto;max-width:none}
.nav-links.wp-block-navigation{font-weight:500}
.nav-links .wp-block-navigation-item__content{color:var(--ink)}
.nav-links .wp-block-navigation-item__content:hover{color:var(--raspberry)}
.site-header .wp-block-buttons{margin:0}
/* "Let's talk" pill: white text on raspberry (beats the nav link cascade) */
.site-header .wp-block-button__link{
	background-color:var(--raspberry)!important;color:var(--white)!important;
	border-radius:100px;padding:.55em 1.2em;
}
.site-header .wp-block-button__link:hover{background-color:var(--raspberry-deep)!important}

/* --- Horizontal gutter for constrained sections (replaces prototype .wrap padding) --- */
.site-header>.nav,.hero,.section,.page-head,.article-head,.proof,.related,.site-footer{
	padding-inline:clamp(1.25rem,5vw,4rem);
}

/* --- Buttons: base pill + outline (ghost) variant --- */
.wp-block-button>.wp-block-button__link{border-radius:100px;font-weight:600;padding:.95em 1.5em;transition:transform .18s ease,background .18s ease,color .18s ease}
.wp-block-button>.wp-block-button__link:hover{transform:translateY(-2px)}
.wp-block-button.is-style-outline>.wp-block-button__link{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--ink);color:var(--cream)}

/* --- Services cards (Columns block) --- */
.cards.wp-block-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;align-items:stretch}
.cards .wp-block-column.card{margin:0}

/* --- Cards with top-aligned CTAs: subgrid rows so the link row starts at the
   same height on every card regardless of how each card's own body copy wraps --- */
.cards--top.wp-block-columns{grid-template-rows:auto auto auto auto}
.cards--top .card{display:grid;grid-template-rows:subgrid;grid-row:span 4;gap:.8rem}
.cards--top .card a{margin-top:0;align-self:start}

/* --- CTA band buttons --- */
.cta-band .wp-block-button:first-child .wp-block-button__link{background:var(--peach);color:var(--ink)}
.cta-band .wp-block-button.is-style-outline .wp-block-button__link{border-color:var(--cream);color:var(--cream)}
.cta-band .wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--cream);color:var(--ink)}

/* --- Article: featured image as lead, post meta --- */
figure.wp-block-post-featured-image.article-lead{max-width:920px;margin-inline:auto}
figure.wp-block-post-featured-image.article-lead img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:var(--radius)}
.article-head .meta .cat a{color:var(--raspberry);font-weight:700;text-transform:uppercase;letter-spacing:.08em;text-decoration:none}

/* --- Blog index (Query loop) --- */
/* The base .posts{display:grid} rule (for hand-built card grids) also matches the real
   WP Query block's outer wrapper, which only has ONE child (the post-template list) --
   that single child collapsed into one grid cell, then had to fit all its own cards into
   that one narrow cell. Cancel the outer grid so only the inner post-template grid (below) applies. */
.posts.wp-block-query{display:block}
.posts.wp-block-query .wp-block-post-template{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;list-style:none;padding:0;margin:0}
/* WP core gives every post-template <li> a top margin except the first (meant for a
   stacked list), which breaks row alignment in a grid -- the first card sits higher
   than the rest. Zero it out so all three cards align across the row. */
.posts.wp-block-query .wp-block-post-template > li{margin:0}
.posts .wp-block-post .cat a{color:var(--raspberry);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:var(--step--1);text-decoration:none}
/* core Post Excerpt block's "read more" link: bold, no arrow, matches .more-link elsewhere */
.wp-block-post-excerpt__more-link{font-weight:700;color:var(--raspberry);text-decoration:none}
.wp-block-post-excerpt__more-link:hover{color:var(--raspberry-deep)}

/* ---- Podcast episode list (date / title / read-more, one row per episode) ---- */
.podcast-list.wp-block-query{display:block}
.podcast-list .wp-block-post-template{list-style:none;margin:0;padding:0}
.podcast-list .wp-block-post-template > li{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1.5rem;
  padding-block:1.4rem;border-bottom:1px solid var(--line);margin:0;
}
.podcast-list .wp-block-post-template > li:first-child{padding-top:0}
.podcast-date{flex:0 0 9rem;font-size:var(--step--1);color:var(--ink-soft);white-space:nowrap}
.podcast-list h3{flex:1 1 260px;font-size:var(--step-1);margin:0}
.podcast-list h3 a{color:var(--ink)}
.podcast-list h3 a:hover{color:var(--raspberry)}
.podcast-list .more-link{flex:0 0 auto;text-decoration:none}
@media (max-width:600px){
  .podcast-date{flex-basis:100%}
  .podcast-list h3{flex-basis:100%}
}

/* ---- Podcast episode: audio player + about/transcript tabs ---- */
.podcast-player{margin-top:2rem;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.podcast-player iframe{display:block;width:100%;border:0}

.podcast-tabs-wrap{margin-top:2rem}
.podcast-tabs{display:flex;gap:.6rem;margin-bottom:1.6rem;flex-wrap:wrap}
.podcast-tab{
  all:unset;box-sizing:border-box;cursor:pointer;
  padding:.7em 1.4em;border-radius:100px;border:1.5px solid var(--line);
  font-family:var(--font);font-size:var(--step--1);font-weight:700;
  color:var(--ink-soft);transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.podcast-tab:hover{color:var(--ink);border-color:var(--raspberry)}
.podcast-tab:focus-visible{outline:2px solid var(--raspberry);outline-offset:2px}
.podcast-tab.is-active{background:var(--peach);color:var(--ink);border-color:var(--peach)}

.podcast-panel p{margin-bottom:1.1em}
.podcast-panel a{color:var(--raspberry)}
.podcast-panel a:hover{color:var(--raspberry-deep)}
.transcript-line .ts{font-weight:700;color:var(--raspberry);margin-right:.5em;white-space:nowrap}

/* --- Archive page topic list (under the page-head title) --- */
.topic-list{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
.topic-list a,.topic-list span{
  font-size:var(--step--1);color:var(--ink-soft);border:1px solid var(--line);
  border-radius:100px;padding:.4em 1em;transition:border-color .2s ease,color .2s ease;
}
.topic-list a:hover{border-color:var(--raspberry);color:var(--raspberry)}

/* Let WordPress's Navigation block own its mobile overlay (not our prototype overlay) */
.nav-links.wp-block-navigation{position:static;transform:none;background:none;box-shadow:none;width:auto;padding:0}

@media (max-width:860px){
  .cards.wp-block-columns,
  .posts.wp-block-query .wp-block-post-template{grid-template-columns:1fr}
}

/* --- About: bio photos --- */
.bio-photo img{aspect-ratio:1;object-fit:cover;border-radius:var(--radius);width:100%}
.card .bio-photo{margin-bottom:.4rem}

/* --- About: Team / Facilitators tabs (reuses .ig-cn-* tab component, but the panel
   holds a plain card grid instead of a single article, so it drops the panel's own
   white-card chrome to avoid nesting a white box inside a white box) --- */
.ig-cn-panel--flat{background:none;border:0;box-shadow:none;padding:0}
.ig-cn-panel--flat .cards{margin-top:0}
.card .pronouns{color:var(--ink-soft);font-size:var(--step--1);margin-bottom:.6rem}
.card .linkedin-link{display:inline-block;margin-top:.6rem;font-weight:600;color:var(--raspberry)}
.card .linkedin-link:hover{color:var(--raspberry-deep)}
/* a 3-up grid on desktop, since the tab bar no longer eats a sidebar column */
.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem 2rem;margin-top:0}
@media (max-width:860px){ .people-grid{grid-template-columns:1fr} }

/* horizontal tab bar (underline style) instead of the vertical sidebar, for sections
   whose panels hold a wide card grid rather than a single narrow article */
.ig-cn--horizontal .ig-cn-grid{grid-template-columns:1fr;gap:0}
.ig-cn--horizontal .ig-cn-tabs{flex-direction:row;flex-wrap:wrap;gap:.5rem 2rem;border-bottom:1px solid var(--line);margin-bottom:2.2rem}
.ig-cn--horizontal .ig-cn-tab{width:auto;padding:.9rem .1rem;border-left:0;border-bottom:2px solid transparent}
.ig-cn--horizontal .ig-cn-tab:hover{background:none;color:var(--ink)}
.ig-cn--horizontal .ig-cn-tab.is-active{background:none;border-bottom-color:var(--raspberry);padding-left:.1rem}

/* --- About: origin story video --- */
.video-embed{width:100%;position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;margin-top:2rem;background:var(--ink)}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* --- Contact: right-fit list --- */
.fit-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:1rem}
.fit-list li{padding-left:1.7em;position:relative}
.fit-list li::before{content:"✓";position:absolute;left:0;color:var(--raspberry);font-weight:800}

/* --- Contact: form --- */
.ig-form{display:flex;flex-direction:column;gap:1rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2rem);width:100%;justify-self:stretch}
.ig-form label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;font-size:var(--step--1)}
.ig-form input,.ig-form textarea{font-family:inherit;font-size:var(--step-0);padding:.7em .9em;border:1.5px solid var(--line);border-radius:10px;background:var(--cream);color:var(--ink)}
.ig-form input:focus,.ig-form textarea:focus{outline:none;border-color:var(--raspberry)}
.ig-form button{align-self:flex-start;background:var(--raspberry);color:var(--white);border:0;border-radius:100px;padding:.8em 1.5em;font-weight:600;cursor:pointer;font-size:var(--step-0)}
.ig-form button:hover{background:var(--raspberry-deep)}
.ig-form .req{color:var(--raspberry);margin-left:.2em}
.ig-form-note{font-size:var(--step--1);color:var(--ink-soft);font-style:italic}
.ig-form-msg{margin-top:1rem}
.ig-form-msg.is-success{background:var(--blush);border-radius:var(--radius);padding:clamp(1.1rem,2.5vw,1.5rem)}
.ig-form-msg.is-success p{margin:0 0 .8rem;line-height:1.6;color:var(--ink)}
.ig-form-msg.is-success p:last-child{margin-bottom:0}
.ig-form-msg.is-success a{color:var(--raspberry);font-weight:600;text-decoration:underline}
.ig-form-msg.is-success a:hover{color:var(--raspberry-deep)}
.ig-form-msg.is-error{color:#b3261e;font-weight:600}

/* Honeypot: off-screen (not display:none) so unsophisticated bots still fill it; real users and screen readers never see it */
.ig-hp{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;overflow:hidden;pointer-events:none}

/* ---- Inline variant: newsletter signup (footer) ---- */
.ig-form--inline{
  flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.75rem;
  max-width:38rem;margin:1.2rem auto 0;background:transparent;border:0;padding:0;
}
.ig-form--inline input[type="email"],.ig-form--inline input[type="text"]{
  padding:.8em 1.1em;border-radius:100px;border:1.5px solid transparent;
  background:var(--white);color:var(--ink);font-size:var(--step-0);font-family:inherit;
}
.ig-form--inline input[type="text"]{flex:0 1 9rem;min-width:0}
.ig-form--inline input[type="email"]{flex:1 1 12rem;min-width:0}
.ig-form--inline input[type="email"]:focus,.ig-form--inline input[type="text"]:focus{outline:none;border-color:var(--peach)}
.ig-form--inline button{
  flex:0 0 auto;background:var(--peach);color:var(--ink);border:0;border-radius:100px;
  padding:.8em 1.6em;font-weight:600;cursor:pointer;font-size:var(--step-0);
  position:relative;
}
.ig-form--inline button:hover{background:var(--white)}
.ig-form--inline button:disabled{opacity:.7;cursor:default}
.ig-form--inline button.is-loading{color:transparent}
.ig-form--inline button.is-loading::after{
  content:"";position:absolute;inset:0;margin:auto;width:1.1em;height:1.1em;
  border:2px solid color-mix(in srgb,var(--ink) 25%,transparent);border-top-color:var(--ink);
  border-radius:50%;animation:ig-spin .7s linear infinite;
}
@media (prefers-reduced-motion:reduce){ .ig-form--inline button.is-loading::after{animation:none} }
@keyframes ig-spin{to{transform:rotate(360deg)}}
@media (max-width:480px){
  .ig-form--inline{flex-direction:column}
  .ig-form--inline input[type="email"],.ig-form--inline input[type="text"]{flex:0 1 auto}
  .ig-form--inline button{width:100%}
}
.foot-newsletter .ig-form-msg{margin-top:1rem;font-weight:600}
.foot-newsletter .ig-form-msg.is-success{color:var(--peach)}
.foot-newsletter .ig-form-msg.is-error{color:#ffb4ae}

/* --- The Events Calendar: brand alignment --- */
.tribe-common{
  --tec-color-accent-primary:var(--raspberry);
  --tec-color-accent-primary-hover:var(--raspberry-deep);
  --tec-color-accent-primary-active:var(--raspberry-deep);
  --tec-color-background-events:transparent;
  --tec-font-family-sans-serif:var(--font);
}
.tribe-events,.single-tribe_events .tribe-events-single{padding-inline:clamp(1.25rem,5vw,4rem);max-width:1180px;margin-inline:auto}
/* TEC's own view container ships with a large baked-in top padding (96px) on top of its
   own 24px margin — reads as an oversized gap under our hero. Not our padding to begin
   with, so override with !important in case TEC's stylesheet loads after ours. */
.tribe-events-l-container{padding-top:clamp(1.5rem,4vw,3rem)!important}
.tribe-events .tribe-events-calendar-list__event-title-link{color:var(--ink)}
.tribe-events .tribe-events-calendar-list__event-title-link:hover{color:var(--raspberry)}
.tribe-common .tribe-common-c-btn,.tribe-events .tribe-events-c-view-selector__button{border-radius:100px}
/* Single event description: TEC renders it as bare paragraph/list blocks (no .prose
   wrapper), so they inherit our global *{margin:0} reset (no gap between paragraphs, or
   between a paragraph and a bullet list) and sit at the full 1180px event-container width
   (too wide for comfortable reading). Match the site's reading-column treatment used
   elsewhere (.prose). :where() covers paragraph-to-paragraph, paragraph-to-list, and
   list-to-paragraph transitions alike. */
.single-tribe_events .tribe_events.hentry>:where(p.wp-block-paragraph,ul.wp-block-list,ol.wp-block-list){max-width:68ch;line-height:1.7}
.single-tribe_events .tribe_events.hentry>:where(p.wp-block-paragraph,ul.wp-block-list,ol.wp-block-list)+:where(p.wp-block-paragraph,ul.wp-block-list,ol.wp-block-list){margin-top:1.2rem}
/* Embedded Eventbrite checkout widget (pasted into the event body as a raw script+div,
   id suffix is that event's Eventbrite event ID) renders its iframe at 100% of this
   unstyled container div, which is the full event-container width — much wider than the
   68ch reading column above it. Cap it to match. */
.single-tribe_events .tribe_events.hentry>div[id^="eventbrite-widget-container-"]{max-width:68ch}

/* --- Landing-page hero: section-style vertical spacing, smaller H1 (long headlines).
       Uses its own class (NOT .section) so it doesn't pick up the doubled gutter. --- */
.hero--page{padding-block:clamp(3rem,7vw,5.5rem)}
.hero--page h1{font-size:var(--step-4);font-weight:800;max-width:none}
/* A hero with no figure (e.g. Events) has the lede as a DIRECT child of .hero--page
   instead of nested inside .hero-copy — the child combinator keeps this scoped to that
   shape only, so two-column heroes (lede nested in .hero-copy) keep their 48ch cap. */
.hero--page > .lede{max-width:none}
/* Insights: the hero-to-content gap read as too loose -- tighten just the bottom, keep the same generous top. */
.hero--page.hero--tight-bottom{padding-bottom:clamp(1.5rem,4vw,2.5rem)}

/* --- Theory of change / socio-ecological model grids (reuses .card) --- */
.tc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.2rem;margin-top:2rem}

/* --- Values grid (reuses .card, wider min-width since these blurbs run longer) --- */
.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.2rem;margin-top:2rem}
.values-grid .card h3{margin-bottom:.4rem}

/* --- About: history timeline image --- */
.history-timeline{margin-top:2rem;max-width:820px}
.history-timeline img{width:100%;border-radius:var(--radius)}

/* diagram images: white-panel frame on berry sections, plain bordered frame on cream sections */
.diagram-frame{background:var(--white);border-radius:var(--radius);padding:clamp(1rem,3vw,1.8rem);margin-top:2rem;display:flex;justify-content:center}
.diagram-frame img{max-width:min(100%,640px);height:auto}
.diagram-figure{margin-top:2rem;max-width:640px}
.diagram-figure img{width:100%;height:auto;border:1px solid var(--line);border-radius:var(--radius)}

/* --- Our process (numbered step list, reuses the .byline .dot badge language) --- */
.process-list{list-style:none;display:flex;flex-direction:column;gap:1.4rem;margin-top:1.5rem}
.process-list li{display:flex;gap:1rem;align-items:flex-start}
.process-list .step-num{
  flex:0 0 auto;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--blush);color:var(--raspberry);
  font-weight:800;display:grid;place-items:center;font-size:var(--step--1);
}
.process-list .step-body h4{font-size:var(--step-0);font-weight:700;margin-bottom:.3rem}
.process-list .step-body p{color:var(--ink-soft);font-size:var(--step--1);line-height:1.6}

/* --- Client logo strip ("logo juice") --- */
.logo-strip{border-block:1px solid var(--line);padding-block:clamp(2.2rem,5vw,3.2rem)}
.logo-strip .kicker{text-align:center;color:var(--ink-soft);font-size:var(--step-0);font-weight:600;margin-bottom:2rem}
.logo-strip .logos{display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem}
.logo-tile{
  background:var(--white);border:1px solid var(--line);border-radius:14px;
  padding:1.8rem 1.4rem;display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.logo-tile:hover{transform:translateY(-3px);box-shadow:0 14px 30px -20px rgba(36,16,25,.35);border-color:var(--peach)}
.logo-strip img{height:36px;width:auto;max-width:100%;opacity:.7;filter:grayscale(1);transition:opacity .2s ease,filter .2s ease}
.logo-strip img.logo-lg{height:52px}
.logo-strip img.logo-xl{height:78px}
.logo-tile:hover img{opacity:1;filter:none}
@media (max-width:860px){
  .logo-strip .logos{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:600px){
  .logo-strip .logos{grid-template-columns:repeat(2,1fr);gap:1rem}
  .logo-tile{padding:1.4rem 1.1rem}
  .logo-strip img{height:30px}
  .logo-strip img.logo-xl{height:62px}
  .logo-strip img.logo-lg{height:42px}
}

/* --- Testimonials --- */
.quote{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2rem);margin:0;display:flex;flex-direction:column;gap:1rem}
.quote::before{content:"";width:2.2rem;height:3px;background:var(--raspberry)}
.quote p{font-size:var(--step-1);line-height:1.4;font-weight:300;color:var(--ink);margin:0}

/* --- Testimonial carousel (rotating, one slide at a time) --- */
.ig-tc{position:relative;max-width:760px;margin:2rem auto 0}
.ig-tc-viewport{position:relative;overflow:hidden;transition:height .35s ease}
.ig-tc-track{display:grid}
.ig-tc-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .4s ease;pointer-events:none}
.ig-tc-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.ig-tc-arrow{position:absolute;top:50%;transform:translateY(-50%);width:2.75rem;height:2.75rem;border-radius:50%;background:var(--peach);color:var(--ink);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,color .2s ease}
.ig-tc-arrow:hover{background:var(--white);color:var(--raspberry)}
.ig-tc-prev{left:-1.4rem}
.ig-tc-next{right:-1.4rem}
.ig-tc-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1.4rem}
.ig-tc-dot{width:.55rem;height:.55rem;border-radius:50%;background:var(--white);opacity:.5;border:none;padding:0;cursor:pointer;transition:opacity .2s ease}
.ig-tc-dot.is-active{opacity:1}
@media (max-width:860px){
  .ig-tc{max-width:100%}
  .ig-tc-prev{left:0}
  .ig-tc-next{right:0}
  .ig-tc-arrow{width:2.25rem;height:2.25rem}
}

/* =========================================================================
   "What you're navigating" challenge navigator (homepage)
   ========================================================================= */
.ig-cn-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:clamp(1.5rem,4vw,3rem);align-items:start;margin-top:2.5rem}

.ig-cn-tabs{display:flex;flex-direction:column}
.ig-cn-tab{
  all:unset;box-sizing:border-box;cursor:pointer;
  display:block;width:100%;padding:1.1rem 1.4rem;
  border-bottom:1px solid var(--line);border-left:2px solid transparent;
  font-family:var(--font);font-size:var(--step-0);font-weight:600;line-height:1.35;
  color:var(--ink-soft);
  transition:color .18s ease,border-color .18s ease,background .18s ease,padding-left .18s ease;
}
.ig-cn-tab:hover{color:var(--ink);background:var(--cream-2)}
.ig-cn-tab:focus-visible{outline:2px solid var(--raspberry);outline-offset:-2px}
.ig-cn-tab.is-active{color:var(--ink);border-left-color:var(--raspberry);background:var(--blush);padding-left:1.65rem}

.ig-cn-panel{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.6rem,3.5vw,2.6rem);
}
.ig-cn-panel[hidden]{display:none}
.ig-cn-headline{font-size:var(--step-2);font-weight:700;letter-spacing:-.01em;line-height:1.15;color:var(--ink)}
.ig-cn-body{margin-top:1rem;font-size:var(--step-0);line-height:1.7;color:var(--ink-soft)}
/* Inline source-citation links inside the body copy -- the sitewide a{color:inherit} reset
   would otherwise make these invisible against the surrounding paragraph text. */
.ig-cn-body a{color:var(--raspberry);text-decoration:underline;text-underline-offset:2px}
.ig-cn-body a:hover{color:var(--raspberry-deep)}

.ig-cn-tags{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
.ig-cn-tag{
  font-size:var(--step--1);color:var(--ink-soft);
  border:1px solid var(--line);border-radius:100px;padding:.4em 1em;
}

.ig-cn-aeo{
  margin-top:1.6rem;background:var(--blush);border-radius:calc(var(--radius) - 6px);
  padding:clamp(1.1rem,2.5vw,1.5rem);
}
.ig-cn-aeo-label{font-size:var(--step--1);font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--raspberry);margin-bottom:.5rem}
.ig-cn-aeo-text{font-size:var(--step--1);line-height:1.65;color:var(--ink)}

.ig-cn-cta{display:inline-block;margin-top:1.6rem;font-weight:600;color:var(--raspberry)}
.ig-cn-cta:hover{color:var(--raspberry-deep)}

.ig-cn-footer{margin-top:2rem;font-size:var(--step--1);color:var(--ink-soft)}
.ig-cn-footer a{color:var(--raspberry);font-weight:600;text-decoration:underline}

@media (max-width:600px){
  .ig-cn-grid{grid-template-columns:1fr}
  .ig-cn-tab.is-active{padding-left:1.4rem}
}

@media (prefers-reduced-motion:reduce){
  .ig-cn-tab{transition:none}
}

/* =========================================================================
   BERRY FLAVOR — berry nav + berry swoop sections (brings back the signature look)
   ========================================================================= */

/* ---- Berry nav ---- */
.site-header{background:var(--raspberry)}
.site-header.scrolled{border-color:var(--raspberry-deep)}
.brand .wp-block-site-logo img{filter:brightness(0) invert(1)}  /* berry wordmark -> white (size set above) */
.brand .wp-block-site-title a{color:var(--white)}
.nav-links .wp-block-navigation-item__content{color:var(--white)!important;text-transform:uppercase;letter-spacing:.06em;font-size:var(--step--1);font-weight:700}
.nav-links .wp-block-navigation-item__content:hover{color:var(--peach)!important}
.nav-toggle span{background:var(--cream)}
/* "Let's talk" pill: beige/cream (matches main body) on berry */
.site-header .wp-block-button__link{background-color:var(--cream)!important;color:var(--raspberry)!important;text-transform:uppercase;letter-spacing:.06em;font-size:var(--step--1)}
.site-header .wp-block-button__link:hover{background-color:var(--white)!important;color:var(--raspberry-deep)!important}
/* mobile overlay */
.wp-block-navigation__responsive-container.is-menu-open{background:var(--raspberry)!important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:var(--white)!important;text-transform:uppercase;letter-spacing:.06em}
/* Hamburger (closed) + X (open) toggle icons: both are bare <svg><path fill="currentColor">,
   so they inherit whatever `color` is set on the button — default ink, invisible on berry. */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close{color:var(--white)!important}
/* Core's own "justify nav content right" utility (from the desktop row layout) sets
   align-items:flex-end, which core's mobile overlay JS still applies even after switching
   the list to flex-direction:column — that pushes every top-level item flush against the
   right edge of a narrower-than-viewport box, overflowing off-screen. Menu items should
   stack left in the mobile column, regardless of the desktop row's right-justification. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation-submenu,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  align-items:flex-start!important;
  padding-inline:clamp(1.25rem,5vw,4rem);
}

/* ---- Services dropdown submenu ---- */
/* core's ".wp-block-navigation .wp-block-navigation__submenu-icon{color:currentColor}" rule
   (specificity 0-2-0) otherwise beats a bare ".wp-block-navigation-submenu__toggle" override,
   so match it in the nav-links context and use !important to be unambiguous (same pattern
   already used for .nav-links a colors elsewhere in this file). */
.nav-links .wp-block-navigation-submenu__toggle{color:var(--white)!important;margin-top:-3px}
.wp-block-navigation__submenu-container{
  width:max-content;min-width:260px;flex-direction:column;gap:0;white-space:nowrap;
  background:var(--white);border:1px solid var(--line);border-radius:14px;
  padding:.6rem;box-shadow:0 18px 40px -20px rgba(36,16,25,.45);
  margin-top:.6rem;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  color:var(--ink)!important;text-transform:uppercase!important;letter-spacing:.06em!important;
  font-weight:500!important;font-size:var(--step--1)!important;padding:.6em .8em;border-radius:8px;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{
  color:var(--raspberry)!important;background:var(--blush);
}
/* mobile overlay: submenu sits inline (not a floating card) on the berry background */
/* Core gives every .wp-block-navigation-submenu <li> its own 20px padding-left (meant for
   the desktop dropdown), which in the mobile column layout shifts "Services"/"Insights"
   text to the right of the flush-left plain links ("Our approach," "Events," "About").
   Zero it out here so top-level items line up; the submenu list below keeps its own
   1rem indent regardless. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu{
  padding-left:0!important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{
  position:static;background:none;border:0;box-shadow:none;padding-left:1rem;margin-top:0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  color:var(--white)!important;text-transform:uppercase;letter-spacing:.06em;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{
  color:var(--peach)!important;background:none;
}

/* ---- Berry swoop sections (replaces the cream differentiator) ---- */
.section--berry{position:relative;overflow:hidden;background:var(--raspberry);color:var(--cream);isolation:isolate}
.section--berry::before{
  content:"";position:absolute;inset:-15% -8%;z-index:-1;pointer-events:none;
  background:url("../img/swoop.svg") no-repeat center/cover;opacity:.85;
}
.section--berry h1,.section--berry h2,.section--berry h3{color:var(--white)}
.section--berry a:not(.wp-block-button__link){color:var(--peach)}
/* keep white cards & quotes readable on berry (higher specificity than the rules above) */
.section--berry .card{color:var(--ink)}
.section--berry .card h3{color:var(--ink)}
.section--berry .card p{color:var(--ink-soft)}
.section--berry .card .num{color:var(--pink)}
.section--berry .card a{color:var(--raspberry)}
.section--berry .quote p{color:var(--ink)}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
