:root {
  --wrap: 1480px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ce-wordmark-width: clamp(144px, 14vw, 192px);
  --chrome-ink: #0f1419;
  --chrome-paper: #fff;
  --chrome-muted: #d0d6de;
  --chrome-line: rgba(255, 255, 255, .16);
  --ignis-green: #1cbdad;
  --ignis-green-dark: #08756d;
  --ignis-green-light: #75d9cc;
  --ignis-mint: #b5e4e0;
  --chrome-sky: var(--ignis-green-light);
  --chrome-teal: var(--ignis-green);
}

@media (max-width: 760px) {
  :root { --ce-wordmark-width: clamp(120px, 35vw, 144px); }
}

/* Shared editorial eyebrow treatment: neutral ink on light, soft white on dark. */
.section-label,
.eyebrow {
  font-family: var(--font-serif, "Source Serif 4", Georgia, serif) !important;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #111820 !important;
}

.band-dark .section-label,
.band-dark .eyebrow,
.lifecycle-band .section-label,
.page-hero .section-label,
.home-community .section-label,
.service-story-dark .eyebrow,
.about-positioning .eyebrow,
.discovery-final .eyebrow,
.comparison-hero .section-label,
.comparison-reality .section-label,
.comparison-cta .section-label,
.workflow-benefits .section-label,
.authority-band .eyebrow,
.why-band .eyebrow,
.newsletter-share .eyebrow,
.home-newsletter .home-latest-heading .eyebrow,
.issue-end-newsletter .eyebrow {
  color: #e8edec !important;
}

.builds-band .section-label,
.lifecycle-tender-adoption .section-label { color: #fff !important; }

/* This legacy component is paper-coloured despite its dark variant name. */
.positioning-home .about-positioning .eyebrow { color: #111820 !important; }

.wrap {
  width: min(100%, calc(var(--wrap) + var(--gutter) * 2));
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

body.menu-open { overflow: hidden; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  color: var(--chrome-ink);
  background: var(--chrome-paper);
}

.skip-link:focus { transform: none; }

label.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 96px;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  transition: height .25s, background .25s, color .25s, box-shadow .25s, backdrop-filter .25s;
}

.site-header.is-scrolled {
  height: 76px;
  color: var(--chrome-ink);
  background: transparent;
}

.site-header.is-scrolling {
  color: #fff;
  background: rgba(0, 0, 0, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: inherit;
  text-decoration: none;
  transition: gap .2s ease;
}

.ce-wordmark-logo,
.ce-footer-logo,
.footer-brand img {
  display: block;
  width: var(--ce-wordmark-width);
  height: auto;
}

.ce-wordmark-white,
.menu-overlay .ce-wordmark-colour { display: none; }
.menu-overlay .ce-wordmark-white { display: block; }

body:not(.ce-page)[data-header="dark"] .site-header:not(.is-scrolled) .ce-wordmark-colour,
body:not(.ce-page) .site-header.is-scrolling .ce-wordmark-colour { display: none; }
body:not(.ce-page)[data-header="dark"] .site-header:not(.is-scrolled) .ce-wordmark-white,
body:not(.ce-page) .site-header.is-scrolling .ce-wordmark-white { display: block; }

.brand-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  overflow: hidden;
  border-radius: 4px;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s;
}

.brand-name {
  display: inline-block;
  max-width: 8rem;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.02em;
  opacity: 1;
  transition: max-width .2s ease, opacity .15s ease, transform .2s ease;
}

.brand-accent { color: var(--chrome-teal); }
.site-header.is-scrolled .brand-icon img { filter: invert(1); }
.site-header.is-scrolling .brand-icon img { filter: none; }
.site-header.is-idle .wordmark { gap: 0; }

.site-header.is-idle .brand-name {
  max-width: 0;
  opacity: 0;
  transform: translateX(-.5rem);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.menu-button,
.contact-symbol,
.menu-close {
  border: 0;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-symbol {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  color: var(--chrome-ink);
  background: var(--chrome-paper);
  border-radius: 6px;
}

.contact-symbol svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 51px;
  margin: 0;
  padding: 0 1.1rem;
  color: var(--chrome-ink);
  background: var(--chrome-paper);
  border-radius: 4px;
  cursor: pointer;
}

.menu-button i,
.menu-button i::before {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.menu-button i::before { transform: translateY(6px); }

.site-header.is-scrolled .contact-symbol,
.site-header.is-scrolled .menu-button {
  color: var(--chrome-paper);
  background: var(--chrome-ink);
}

.site-header.is-scrolling .contact-symbol,
.site-header.is-scrolling .menu-button {
  color: var(--chrome-ink);
  background: var(--chrome-paper);
}

.contact-page .contact-section {
  padding-top: calc(96px + clamp(3rem, 6vw, 6rem));
}

.contact-page .contact-intro h1 {
  margin: 0;
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.contact-page .contact-thanks[hidden] {
  display: none;
}

.contact-page .contact-thanks {
  max-width: 42rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.contact-page .contact-thanks-kicker {
  margin: 0 0 .85rem;
  color: #08756d;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-page .contact-thanks h2 {
  margin: 0;
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.contact-page .contact-thanks-lead {
  margin: 1.35rem 0 .6rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.contact-page .contact-section.is-thanks .contact-layout {
  display: none;
}

@media (max-width: 850px) {
  .contact-page .contact-section { padding-top: calc(78px + 3rem); }
}

/* Match boxed site CTAs to the header control radius. */
.button,
.service-view,
.btn-primary,
.btn-secondary,
.newsletter-nav-cta {
  border-radius: 4px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--gutter) 2rem;
  color: #fff;
  background: #000;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  overflow-y: auto;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.menu-overlay .brand-icon img { filter: none; }

.overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.menu-close {
  margin: 0;
  padding: .8rem 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  display: inline-block;
  margin-left: .5rem;
  font-size: 1.3rem;
}

.overlay-nav {
  align-self: center;
  display: grid;
  width: min(100%, 1040px);
  margin: 2rem auto;
}

.overlay-nav-mark { display: none; }

.overlay-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .42rem 0;
  border-bottom: 1px solid var(--chrome-line);
  color: inherit;
  font-size: clamp(1.75rem, 2.15vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-decoration: none;
}

.overlay-nav a:hover { color: var(--chrome-sky); }
.overlay-resource-group { border-bottom: 1px solid var(--chrome-line); }
.overlay-resource-toggle { display: flex; align-items: center; gap: .75rem; padding: .42rem 0; color: inherit; font-size: clamp(1.75rem, 2.15vw, 2.25rem); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; list-style: none; cursor: pointer; }
.overlay-resource-toggle::-webkit-details-marker { display: none; }
.overlay-resource-toggle:hover { color: var(--chrome-sky); }
.overlay-nav .overlay-resource-chevron { width: .42rem; height: .42rem; margin-left: auto; margin-right: .15rem; border-right: 2px solid var(--chrome-teal); border-bottom: 2px solid var(--chrome-teal); transform: rotate(45deg); transition: transform .2s ease; }
.overlay-resource-group[open] .overlay-resource-chevron { transform: rotate(225deg); }
.overlay-resource-links { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .1rem 0 .85rem 1.15rem; }
.overlay-nav .overlay-resource-links a { display: block; padding: .16rem 0; border: 0; color: #9aa0a6; font-size: 1.1875rem; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.overlay-nav .overlay-resource-links a:hover { color: #d5d8dc; }
.overlay-resource-toggle:focus-visible { outline: 2px solid var(--chrome-teal); outline-offset: 4px; }

@media (min-width: 851px) {
  /* Match the fixed site header's desktop content rail. */
  .menu-overlay {
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
}

@media (max-width: 850px) {
  .overlay-nav a:last-child { border-bottom: 0; }
  .overlay-nav a,
  .overlay-resource-toggle { gap: .5rem; font-size: clamp(1.45rem, 4.4vw, 1.75rem); padding: .38rem 0; }
  .overlay-resource-links { padding-left: 1rem; }
  .overlay-nav .overlay-resource-links a { font-size: 1.125rem; }
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--chrome-line);
  color: var(--chrome-muted);
  background: #000;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: .45fr 1fr 1fr;
  gap: 2rem;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  justify-self: start;
  color: var(--chrome-paper);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-mark img {
  width: 40px;
  height: 40px;
  border-radius: 3px;
}

.site-footer p {
  max-width: 320px;
  margin: .35rem 0;
  color: var(--chrome-muted);
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
}

.site-footer nav a,
.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.site-footer nav a:hover,
.footer-meta a:hover { color: var(--chrome-paper); }

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--chrome-line);
  font-size: .75rem;
}

@media (max-width: 850px) {
  .site-header,
  .overlay-top { height: 78px; }

  .site-header.is-scrolled { height: 70px; }
  .brand-icon { width: 47px; height: 47px; }
  .brand-name { font-size: 1.3rem; }
  .menu-button,
  .contact-symbol { height: 47px; }
  .contact-symbol { width: 47px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .menu-overlay .overlay-nav > a,
  .overlay-resource-toggle { font-size: 1.5rem; white-space: normal; }
  .overlay-nav .overlay-resource-links a { font-size: 1.125rem; }
  .contact-symbol { display: none; }
  .menu-button { padding-inline: .85rem; }
  .overlay-nav a {
    font-size: 1.5rem;
    white-space: normal;
  }
  .overlay-resource-links { gap: .1rem; padding-left: .85rem; }

}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .wordmark,
  .brand-icon img,
  .brand-name,
  .menu-overlay,
  .overlay-resource-chevron { transition-duration: .01ms !important; }
}

/* Shared FF-style insight signup */
.home-community,
.home-newsletter,
.newsletter-mid-signup {
  color: #fff;
  background: #121416;
}

/* Keep the final light section before Start here unmistakably white. */
.about-preview { background: #fff; }

.home-community,
.home-newsletter {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.home-community .community-grid,
.home-newsletter .home-newsletter-grid,
.newsletter-mid-signup .mid-signup-inner {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 6.5rem);
  align-items: start;
}

.home-community .community-promise,
.home-newsletter .home-newsletter-copy,
.newsletter-mid-signup .mid-signup-copy {
  display: block;
  max-width: 31rem;
}

.home-newsletter .home-newsletter-copy::before,
.newsletter-mid-signup .mid-signup-copy::before {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 2.75rem;
  border-radius: 4px;
  background: #fff url('/assets/img/favicon-light.png') center / cover no-repeat;
  content: "";
}

.home-community .community-promise img {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 2.75rem;
  border-radius: 4px;
}

.home-community .community-promise .section-label,
.home-newsletter .home-newsletter-copy .eyebrow,
.newsletter-mid-signup .mid-signup-copy .eyebrow {
  display: none;
}

.home-community .community-promise h2,
.home-newsletter .home-newsletter-copy h2,
.newsletter-mid-signup .mid-signup-copy h2 {
  max-width: 30ch;
  margin: 0;
  color: #fff;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.home-community .community-promise h2 {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.home-newsletter .home-newsletter-copy p,
.newsletter-mid-signup .mid-signup-copy p {
  margin: 1rem 0 0;
  color: #aeb5bf;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  font-size: .95rem;
  line-height: 1.55;
}

.home-community h3,
.home-newsletter .home-newsletter-form > label,
.newsletter-mid-signup .subscribe-form::before {
  display: block;
  margin: 0 0 1.8rem;
  color: #fff;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.newsletter-mid-signup .subscribe-form::before {
  content: "Be part of our community";
}

.home-community .community-newsletter-sub {
  margin: -.85rem 0 1.55rem;
  color: #aeb5bf;
  font: 400 .95rem/1.55 "Inter", system-ui, -apple-system, sans-serif;
}

.home-community .community-newsletter-sub em {
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
}

.home-community .community-form,
.home-newsletter .home-newsletter-form,
.newsletter-mid-signup .subscribe-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
}

.home-community .community-form-double,
.home-newsletter .home-newsletter-fields,
.newsletter-mid-signup .subscribe-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-community .community-form input,
.home-newsletter .home-newsletter-fields input,
.newsletter-mid-signup .subscribe-fields input {
  width: 100%;
  min-width: 0;
  padding: 1rem 0 1.05rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font: 400 1rem/1.4 "Inter", system-ui, -apple-system, sans-serif;
  outline: 0;
}

.home-community .community-form input::placeholder,
.home-newsletter .home-newsletter-fields input::placeholder,
.newsletter-mid-signup .subscribe-fields input::placeholder {
  color: #8d949d;
  opacity: 1;
}

.home-community .community-form input:focus,
.home-newsletter .home-newsletter-fields input:focus,
.newsletter-mid-signup .subscribe-fields input:focus {
  border-bottom-color: var(--chrome-sky);
  box-shadow: none;
}

.home-community .community-form button,
.home-newsletter .home-newsletter-fields button,
.newsletter-mid-signup .subscribe-fields button {
  justify-self: start;
  width: auto;
  margin: 1.8rem 0 0;
  padding: 0 0 .35rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: 700 .9rem/1.2 "Inter", system-ui, -apple-system, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-community .community-form button:hover,
.home-newsletter .home-newsletter-fields button:hover,
.newsletter-mid-signup .subscribe-fields button:hover { color: var(--chrome-sky); background: transparent; }

.home-newsletter .home-newsletter-promise,
.newsletter-mid-signup .subscribe-promise { display: none; }

.home-community .form-status,
.home-newsletter .subscribe-status,
.newsletter-mid-signup .subscribe-status {
  min-height: 1.4rem;
  margin: .8rem 0 0;
  color: var(--chrome-sky);
  font-size: .8rem;
}

.issue-end-newsletter .home-latest {
  border-top-color: rgba(255, 255, 255, .16);
}

.issue-end-newsletter .home-latest-heading,
.issue-end-newsletter .home-latest-row {
  border-color: rgba(255, 255, 255, .16);
}

.issue-end-newsletter .home-latest-copy h3,
.issue-end-newsletter .home-latest-heading,
.issue-end-newsletter .home-latest-heading a { color: #fff; }
.issue-end-newsletter .home-latest-copy p { color: #aeb5bf; }

/* Use the shared Ignis green accent on dark backgrounds. */
.issue-end-newsletter .home-latest-heading .eyebrow,
.issue-end-newsletter .home-latest-meta,
.issue-end-newsletter .home-latest-arrow {
  color: var(--chrome-sky);
}

/* Compact article signup, using the same dark and underlined form language. */
.issue-sidebar-card {
  border-color: #111;
  color: #fff;
  background: #111;
}

.issue-sidebar-card h2 { color: #fff; }
.issue-sidebar-card > p { color: #aeb5bf; }

.issue-sidebar-form input {
  width: 100%;
  padding: .9rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.issue-sidebar-form input::placeholder { color: #8d949d; opacity: 1; }
.issue-sidebar-form input:focus { border-bottom-color: var(--chrome-sky); outline: 0; }

.issue-sidebar-form button {
  width: auto;
  margin-top: 1.35rem;
  padding: 0 0 .3rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #fff;
  background: transparent;
  text-transform: uppercase;
}

.issue-sidebar-form button:hover { color: var(--chrome-sky); background: transparent; }
.issue-sidebar-form .subscribe-promise { display: none; }
.issue-sidebar-form .subscribe-status { color: var(--chrome-sky); }

@media (max-width: 850px) {
  .home-community .community-grid,
  .home-newsletter .home-newsletter-grid,
  .newsletter-mid-signup .mid-signup-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .home-community .community-promise,
  .home-newsletter .home-newsletter-copy,
  .newsletter-mid-signup .mid-signup-copy { max-width: 34rem; }
}

@media (max-width: 520px) {
  .home-community,
  .home-newsletter { padding: 4rem 0; }

  .home-community .community-promise img,
  .home-newsletter .home-newsletter-copy::before,
  .newsletter-mid-signup .mid-signup-copy::before {
    width: 46px;
    height: 46px;
    margin-bottom: 2rem;
  }

  .home-community .community-promise h2,
  .home-newsletter .home-newsletter-copy h2,
  .newsletter-mid-signup .mid-signup-copy h2 {
    max-width: 34ch;
    font-size: 1.05rem;
    line-height: 1.45;
  }
}

/* One continuous black newsletter and footer composition. */
.home-community,
.home-newsletter,
.newsletter-mid-signup {
  background: #000;
}

.home-community { border-top: 0; }

.community-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 2.75rem;
  color: #fff;
  font: 600 1.45rem/1 "Inter", system-ui, -apple-system, sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
}

.home-community .community-brand img {
  width: 51px;
  height: 51px;
  margin: 0;
  border-radius: 4px;
}

.site-footer {
  padding: 0 0 2rem;
  border-top: 0;
  color: #929aa5;
}

.site-footer .footer-grid {
  display: block;
  text-align: left;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.site-footer .footer-top p {
  max-width: none;
  margin: 0;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.footer-nav-label { display: none; }

.footer-top nav {
  justify-content: flex-end;
  align-self: start;
}

.footer-top nav a { white-space: nowrap; }

/* Desktop keeps the navigation compact in one divided row. */
@media (min-width: 851px) {
  .footer-top nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
  }
  .footer-top nav a { padding: 0 .75rem; }
  .footer-top nav a:first-child { padding-left: 0; }
  .footer-top nav a + a { border-left: 1px solid var(--chrome-line); }
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.footer-meta {
  grid-column: auto;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-top: 0;
}

@media (max-width: 850px) {
  /* Keep the final signup and sitemap visually connected on small screens. */
  .home-community { padding-bottom: 2.5rem; }
  .footer-top { padding-top: 2rem; }

  .footer-top { grid-template-columns: 1fr; }
  .site-footer .footer-top p {
    font-size: clamp(.88rem, 3.55vw, .92rem);
    font-weight: 700;
    letter-spacing: -.015em;
    white-space: nowrap;
  }
  .site-footer .footer-top .footer-nav-label {
    display: block;
    margin: 1.75rem 0 .5rem;
    color: var(--chrome-paper);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: normal;
  }
  .site-footer nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    gap: .35rem;
    font-size: .9rem;
    white-space: normal;
  }
  .footer-top nav a:nth-child(n) {
    padding: .15rem 0;
    border: 0;
  }
  .footer-top nav a:last-child { border-bottom: 0; }
  .footer-top nav,
  .footer-meta { justify-content: flex-start; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .community-brand {
    margin-bottom: 2rem;
    font-size: 1.3rem;
  }

  .home-community .community-brand img {
    width: 47px;
    height: 47px;
  }
}

/* A quiet, expandable sitemap beneath the separate newsletter invitation. */
.site-footer {
  padding: clamp(3rem, 5vw, 5rem) 0 1.5rem;
  border-top: 1px solid #dce5e2;
  color: #465551;
  background: #eef2f0;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(15rem, .9fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.footer-identity { max-width: 24rem; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #111820;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.03em;
  text-decoration: none;
}

.site-footer .footer-identity p {
  max-width: 22rem;
  margin: 1.4rem 0 0;
  color: #465551;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}

.site-footer .footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: start;
  justify-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-sitemap-group { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; min-width: 0; }
.footer-sitemap-group h2 {
  margin: 0 0 .45rem;
  color: #172622;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer .footer-sitemap a {
  padding: 0;
  color: #465551;
  font-size: .95rem;
  line-height: 1.45;
  text-decoration: none;
  white-space: normal;
}

.site-footer .footer-sitemap h2 a {
  color: #172622;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer .footer-sitemap a:hover,
.site-footer .footer-sitemap h2 a:hover,
.site-footer .footer-legal a:hover { color: var(--ignis-green-dark); text-decoration: underline; }
.site-footer a:focus-visible { outline: 2px solid var(--ignis-green-dark); outline-offset: 4px; }

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: 1.25rem;
  border-top: 1px solid #ccd6d2;
  color: #586661;
  font-size: .78rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.site-footer .footer-legal a { color: inherit; text-decoration: none; }

@media (max-width: 900px) {
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-identity { max-width: 34rem; }
  .site-footer .footer-sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: start;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-sitemap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: start;
    justify-items: start;
    text-align: left;
  }
  .site-footer .footer-sitemap-group { align-items: flex-start; text-align: left; }
  .site-footer .footer-identity p { margin-top: 1rem; }
  .site-footer .footer-bottom { margin-top: 3rem; }
}

/* Community band keeps the note and the insights link, without a second signup form. */
.home-community .community-grid {
  display: grid;
  grid-template-columns: minmax(0, 42rem) auto;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.home-community { padding: clamp(3rem, 5vw, 4.75rem) 0; }
.home-community .community-promise { max-width: 42rem; }
.home-community .community-insights,
.community-insights { grid-column: auto; justify-self: end; align-self: end; margin: 0 0 .2rem; white-space: nowrap; }
@media (max-width: 850px) {
  .home-community .community-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-community .community-insights,
  .community-insights { justify-self: start; margin-top: .35rem; white-space: normal; }
}

/* Per-page header theme. data-header matches the hero behind the bar:
   light heroes use the dark mark, dark and photo heroes use the white mark.
   While the bar is moving, both themes use the dark bar and white marks.
   After scrolling settles, the mark follows the surface under the bar. */
body[data-header] .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-header="light"] .site-header:not(.is-scrolling) {
  color: var(--chrome-ink);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-header="light"] .site-header:not(.is-scrolling) .brand-icon img {
  filter: invert(1);
}

body[data-header="light"] .site-header:not(.is-scrolling) .contact-symbol,
body[data-header="light"] .site-header:not(.is-scrolling) .menu-button {
  color: var(--chrome-paper);
  background: var(--chrome-ink);
}

body[data-header="dark"] .site-header:not(.is-scrolled):not(.is-scrolling) {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

body[data-header="dark"] .site-header:not(.is-scrolled):not(.is-scrolling) .brand-icon img {
  filter: none;
}

body[data-header="dark"] .site-header:not(.is-scrolled):not(.is-scrolling) .contact-symbol,
body[data-header="dark"] .site-header:not(.is-scrolled):not(.is-scrolling) .menu-button {
  color: var(--chrome-ink);
  background: var(--chrome-paper);
}

body[data-header="light"] .site-header.is-scrolling,
body[data-header="dark"] .site-header.is-scrolling {
  color: #fff;
  background: #111820;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-header="light"] .site-header.is-scrolling .brand-icon img,
body[data-header="dark"] .site-header.is-scrolling .brand-icon img {
  filter: none;
}

body[data-header="light"] .site-header.is-scrolling .contact-symbol,
body[data-header="light"] .site-header.is-scrolling .menu-button,
body[data-header="dark"] .site-header.is-scrolling .contact-symbol,
body[data-header="dark"] .site-header.is-scrolling .menu-button {
  color: var(--chrome-ink);
  background: var(--chrome-paper);
}

body[data-header="dark"] .site-header.is-scrolled:not(.is-scrolling) {
  color: var(--chrome-ink);
  background: transparent;
  box-shadow: none;
}

body[data-header="dark"] .site-header.is-scrolled:not(.is-scrolling) .brand-icon img {
  filter: invert(1);
}

body[data-header="dark"] .site-header.is-scrolled:not(.is-scrolling) .contact-symbol,
body[data-header="dark"] .site-header.is-scrolled:not(.is-scrolling) .menu-button {
  color: var(--chrome-paper);
  background: var(--chrome-ink);
}

body[data-header].menu-open .site-header:not(.is-scrolling),
body[data-header].menu-open .site-header.is-scrolling {
  color: #fff;
}

body[data-header].menu-open .site-header .brand-icon img,
body[data-header] .menu-overlay .brand-icon img {
  filter: none;
}

/* Light page styles set a dark colour on every h2. The close band stays white. */
body[data-header] .close-call,
body[data-header] .close-call h2 {
  color: #fff;
}
