:root {
  --gp-red: #be3a34;
  --gp-red-dark: #9f2f2a;
  --gp-red-soft: #f2d8d6;
  --gp-red-pale: #fbf4f3;
  --gp-brown: #382f2d;
  --gp-brown-strong: #2d2624;
  --gp-brown-soft: #6a605d;
  --gp-brown-muted: #867b77;
  --gp-border: rgba(56, 47, 45, 0.14);
  --gp-border-strong: rgba(56, 47, 45, 0.22);
  --gp-white: #ffffff;
  --gp-cream: #faf7f5;
  --gp-surface: #f5f0ed;
  --gp-surface-alt: #eee7e3;
  --gp-panel: #3a302e;
  --gp-shadow-soft: 0 20px 48px rgba(56, 47, 45, 0.08);
  --gp-shadow-card: 0 18px 42px rgba(56, 47, 45, 0.07);
  --gp-radius: 16px;
  --gp-radius-sm: 10px;
  --gp-container: 1240px;
  --gp-transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
  color: var(--gp-brown);
  background: var(--gp-white);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--gp-red);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bauer Bodoni", "Libre Bodoni", "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  color: var(--gp-brown);
}

p,
li,
blockquote,
table,
label,
input,
textarea,
select {
  font-size: 1rem;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.skip-link {
  top: 1rem;
  z-index: 1000;
  background: var(--gp-red);
  color: var(--gp-white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus,
.screen-reader-text:focus {
  left: 1rem;
}

:focus-visible {
  outline: 3px solid rgba(190, 58, 52, 0.34);
  outline-offset: 3px;
}

.container {
  width: min(var(--gp-container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-content {
  overflow: clip;
}

.topbar {
  background: var(--gp-cream);
  border-bottom: 1px solid var(--gp-border);
  color: var(--gp-brown-soft);
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
}

.topbar-copy,
.topbar-contact,
.footer-contact-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-copy span,
.topbar-contact a,
.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar svg,
.footer-contact-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--gp-red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 47, 45, 0.08);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  min-height: 92px;
}

.site-branding {
  min-width: 0;
}

.site-logo img,
.custom-logo-link img {
  max-height: 68px;
  width: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--gp-brown);
}

.brand-mark-box {
  width: 14px;
  height: 14px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--gp-red);
  flex-shrink: 0;
}

.brand-mark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-mark-text strong {
  font-family: "Bauer Bodoni", "Libre Bodoni", "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  letter-spacing: -0.03em;
}

.brand-mark-text small {
  color: var(--gp-brown-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.primary-navigation {
  justify-self: center;
}

.primary-menu,
.footer-menu,
.primary-menu ul,
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  color: var(--gp-brown);
  position: relative;
  padding: 0.45rem 0;
  font-size: 0.97rem;
}

.primary-menu > li > a {
  letter-spacing: 0.02em;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 1px;
  background: var(--gp-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--gp-transition);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after,
.primary-menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.primary-menu ul {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 250px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  box-shadow: var(--gp-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--gp-transition), transform var(--gp-transition), visibility var(--gp-transition);
}

.primary-menu ul li + li {
  margin-top: 0.35rem;
}

.primary-menu ul a {
  width: 100%;
  padding: 0.45rem 0;
  color: var(--gp-brown-soft);
}

.primary-menu > .menu-item-has-children:hover > ul,
.primary-menu > .menu-item-has-children:focus-within > ul,
.primary-menu > .menu-item-has-children.is-open > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform var(--gp-transition), background-color var(--gp-transition), border-color var(--gp-transition), color var(--gp-transition), box-shadow var(--gp-transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding-inline: 1.05rem;
}

.button-primary {
  background: var(--gp-brown);
  color: var(--gp-white);
  box-shadow: 0 14px 32px rgba(56, 47, 45, 0.15);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--gp-white);
  background: var(--gp-brown-strong);
}

.button-secondary {
  background: transparent;
  color: var(--gp-brown);
  border-color: var(--gp-border-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--gp-brown);
  border-color: rgba(190, 58, 52, 0.45);
  background: var(--gp-red-pale);
}

.button-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--gp-white);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--gp-white);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gp-brown);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link:hover {
  color: var(--gp-red);
}

.text-link span svg {
  width: 1rem;
  height: 1rem;
}

.text-link-light {
  color: rgba(255, 255, 255, 0.88);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--gp-border);
  background: var(--gp-white);
  color: var(--gp-brown);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  background: var(--gp-brown);
  border-radius: 999px;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
}

.menu-toggle-lines::before {
  top: 0;
}

.menu-toggle-lines::after {
  bottom: 0;
}

.menu-toggle-lines {
  height: 2px;
  margin-top: 5px;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gp-brown-soft);
  cursor: pointer;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible,
.primary-menu > .menu-item-has-children:hover > .submenu-toggle,
.primary-menu > .menu-item-has-children:focus-within > .submenu-toggle,
.primary-menu > .menu-item-has-children.is-open > .submenu-toggle {
  color: var(--gp-red);
}

.submenu-toggle-icon,
.submenu-toggle-icon svg {
  width: 1rem;
  height: 1rem;
}

.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--gp-cream), var(--gp-white));
  padding: 6.5rem 0 5.2rem;
  border-bottom: 1px solid rgba(56, 47, 45, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-kicker,
.post-card-meta,
.glass-card-kicker,
.resource-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow,
.section-kicker,
.resource-card-kicker,
.glass-card-kicker,
.post-card-meta {
  color: var(--gp-red);
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.section-copy h2,
.image-band-copy h2,
.cta-panel h2,
.article-shell h1,
.article-shell h2,
.article-shell h3,
.article-shell h4 {
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
}

.hero-intro,
.page-hero-intro,
.section-heading p,
.section-copy p,
.image-band-copy p,
.cta-panel p,
.info-card p,
.timeline-card p,
.article-shell p,
.post-card p,
.check-card p,
.footer-branding p,
.footer-cta-box p,
.process-card p,
.resource-card p {
  margin: 0 0 1rem;
}

.hero-intro {
  max-width: 60ch;
  color: var(--gp-brown-soft);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-microproof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.3rem;
  margin-top: 1.9rem;
  color: var(--gp-brown-soft);
  font-size: 0.95rem;
}

.hero-microproof span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-microproof svg {
  width: 1rem;
  height: 1rem;
  color: var(--gp-red);
}

.hero-panel {
  position: relative;
}

.hero-image-frame {
  position: relative;
  min-height: 540px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--gp-shadow-soft);
  background: var(--gp-surface);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(56, 47, 45, 0), rgba(56, 47, 45, 0.16));
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-summary-card {
  position: absolute;
  left: -2.5rem;
  bottom: 2rem;
  width: min(360px, calc(100% - 1rem));
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(56, 47, 45, 0.1);
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow-card);
}

.hero-summary-card h2 {
  margin: 0.55rem 0 0.9rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--gp-brown-soft);
}

.feature-list svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.18rem;
  color: var(--gp-red);
}

.section-pull-up {
  position: relative;
  margin-top: -2.4rem;
}

.stats-grid,
.cards-grid,
.timeline-grid,
.footer-grid,
.image-band-grid,
.content-layout,
.content-layout-wide,
.split-grid,
.process-grid {
  display: grid;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--gp-radius);
  background: var(--gp-white);
  border: 1px solid rgba(56, 47, 45, 0.08);
  box-shadow: var(--gp-shadow-card);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Bauer Bodoni", "Libre Bodoni", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--gp-brown);
}

.stat-card span {
  color: var(--gp-brown-soft);
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--gp-white);
}

.section-dark {
  background: var(--gp-panel);
  color: rgba(255, 255, 255, 0.92);
}

.section-image-band {
  background: linear-gradient(180deg, var(--gp-surface), var(--gp-white));
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 840px;
}

.section-heading-centred {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.image-band-copy h2,
.cta-panel h2,
.page-hero h1,
.article-shell h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .info-card h3,
.section-dark .info-card p,
.section-dark .text-link-light,
.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.92);
}

.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading p,
.section-copy p,
.image-band-copy p,
.cta-panel p,
.process-card p,
.resource-card p {
  color: var(--gp-brown-soft);
  font-size: 1.03rem;
}

.section-dark .section-heading p,
.section-dark .info-card p {
  color: rgba(255, 255, 255, 0.78);
}

.split-grid-large {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.check-card,
.info-card,
.timeline-card,
.footer-cta-box,
.post-card,
.article-shell,
.image-card,
.process-card,
.resource-card,
.hero-summary-card {
  border-radius: var(--gp-radius);
}

.check-card,
.info-card,
.timeline-card,
.post-card,
.article-shell,
.process-card,
.resource-card {
  border: 1px solid var(--gp-border);
  background: var(--gp-white);
  box-shadow: var(--gp-shadow-card);
}

.check-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.3rem;
  align-items: start;
}

.check-card h3,
.info-card h3,
.timeline-card h3,
.post-card h3,
.article-shell h2,
.article-shell h3,
.article-shell h4,
.footer-widget-title,
.process-card h3,
.resource-card h3,
.footer-links-wrap h3,
.footer-cta-box h3 {
  margin: 0 0 0.45rem;
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gp-red);
  background: var(--gp-red-pale);
  flex-shrink: 0;
}

.icon-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.media-stack {
  position: relative;
  min-height: 560px;
}

.image-card {
  overflow: hidden;
  box-shadow: var(--gp-shadow-soft);
  background: var(--gp-surface);
}

.image-card img,
.image-band-media img,
.post-card-media img,
.wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card-main {
  width: 82%;
  height: 520px;
  margin-left: auto;
}

.image-card-floating {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  width: 54%;
  height: 260px;
  border: 8px solid var(--gp-white);
}

.cards-grid {
  gap: 1.2rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up,
.cards-grid-blog,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.timeline-card,
.process-card,
.resource-card {
  padding: 1.7rem;
}

.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dark-card .icon-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #f4b7b0;
}

.process-card,
.resource-card {
  transition: transform var(--gp-transition), box-shadow var(--gp-transition), border-color var(--gp-transition);
}

.process-card:hover,
.resource-card:hover,
.post-card:hover,
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(56, 47, 45, 0.1);
  border-color: rgba(190, 58, 52, 0.18);
}

.process-grid {
  gap: 1rem;
}

.process-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.38rem 0.7rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--gp-red-pale);
  color: var(--gp-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.image-band-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 20px;
  background: var(--gp-white);
  border: 1px solid rgba(56, 47, 45, 0.07);
  box-shadow: var(--gp-shadow-card);
}

.image-band-media {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--gp-radius);
  background: var(--gp-surface);
}

.spotlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 1.6rem;
}

.spotlight-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--gp-surface);
  border: 1px solid rgba(56, 47, 45, 0.08);
  color: var(--gp-brown-soft);
  font-size: 0.9rem;
}

.resource-card-kicker {
  margin-bottom: 0.55rem;
}

.section-posts {
  background: linear-gradient(180deg, var(--gp-white), var(--gp-surface));
}

.post-card {
  overflow: hidden;
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-media {
  aspect-ratio: 16 / 9;
  background: var(--gp-surface);
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.55rem;
  height: 100%;
}

.post-card h2,
.post-card h3 {
  font-size: 1.4rem;
}

.post-card-meta {
  color: var(--gp-red);
}

.post-card .text-link {
  margin-top: auto;
}

.cta-section {
  background: linear-gradient(180deg, var(--gp-surface), var(--gp-white));
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gp-brown), #473a37);
  color: var(--gp-white);
  box-shadow: 0 26px 60px rgba(56, 47, 45, 0.16);
}

.cta-panel h2,
.cta-panel p {
  color: var(--gp-white);
}

.cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  padding: 5rem 0 4.25rem;
  color: var(--gp-white);
  overflow: hidden;
}

.page-hero-compact {
  padding: 4rem 0 3.4rem;
}

.page-hero-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.page-hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(45, 38, 36, 0.86), rgba(56, 47, 45, 0.72), rgba(190, 58, 52, 0.28));
  z-index: -1;
}

.page-hero-content {
  max-width: 760px;
}

.page-hero h1,
.page-hero-intro,
.page-hero .section-kicker {
  color: var(--gp-white);
}

.page-hero .section-kicker {
  opacity: 0.82;
}

.page-hero-intro {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
}

.inner-page-section {
  padding-top: 4rem;
}

.content-layout {
  grid-template-columns: minmax(0, 1140px);
  justify-content: center;
}

.content-layout-wide {
  grid-template-columns: minmax(0, 1200px);
  justify-content: center;
}

.article-shell {
  padding: 2.2rem;
}

.article-shell > *:first-child {
  margin-top: 0;
}

.article-shell h1,
.article-shell h2,
.article-shell h3,
.article-shell h4 {
  line-height: 1.12;
}

.article-shell p,
.article-shell li,
.article-shell blockquote,
.article-shell table {
  color: var(--gp-brown);
}

.article-shell a {
  color: var(--gp-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.article-shell a:hover {
  color: var(--gp-brown);
}

.article-shell ul,
.article-shell ol {
  padding-left: 1.25rem;
}

.article-shell blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gp-red);
  background: var(--gp-red-pale);
  border-radius: 0 var(--gp-radius-sm) var(--gp-radius-sm) 0;
}

.article-shell table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.article-shell th,
.article-shell td {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(56, 47, 45, 0.09);
}

.article-shell th {
  background: var(--gp-surface);
  text-align: left;
}

.article-shell img,
.article-shell figure {
  border-radius: var(--gp-radius-sm);
}

.article-shell code,
.article-shell pre {
  font-family: Consolas, Monaco, monospace;
}

.article-shell pre {
  padding: 1rem;
  border-radius: var(--gp-radius-sm);
  background: #f3efed;
  overflow-x: auto;
}

.article-shell-wide {
  max-width: 1120px;
  margin: auto;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 47, 45, 0.1);
}

.pagination-wrap .current {
  background: var(--gp-brown);
  color: var(--gp-white);
}

.site-footer {
  background: var(--gp-cream);
  color: var(--gp-brown-soft);
  border-top: 1px solid var(--gp-border);
  padding-top: 4.2rem;
}

.footer-grid {
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-branding p {
  max-width: 48ch;
}

.footer-links-wrap h3,
.footer-cta-box h3 {
  font-size: 1.5rem;
}

.footer-menu li + li {
  margin-top: 0.75rem;
}

.footer-menu a {
  color: var(--gp-brown);
}

.footer-menu a:hover {
  color: var(--gp-red);
}

.footer-cta-box {
  padding: 1.6rem;
  border: 1px solid rgba(56, 47, 45, 0.08);
  background: var(--gp-white);
  box-shadow: var(--gp-shadow-card);
}

.footer-widget > *:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(56, 47, 45, 0.08);
  font-size: 0.94rem;
}

.footer-bottom a {
  color: var(--gp-brown);
}

.footer-bottom a:hover {
  color: var(--gp-red);
}

.wp-block {
  max-width: 100%;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(56, 47, 45, 0.12);
  margin: 2rem 0;
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-grid-large,
  .image-band-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 760px;
  }

  .hero-summary-card {
    left: auto;
    right: 1.4rem;
    width: min(360px, calc(100% - 2.4rem));
  }

  .image-card-main {
    width: 78%;
  }
}

@media (max-width: 1100px) {
  .site-header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-navigation {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-bottom: 1rem;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(56, 47, 45, 0.08);
  }

  .primary-menu > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(56, 47, 45, 0.06);
  }

  .primary-menu > li > a {
    padding: 0.4rem 0;
  }

  .primary-menu > li > a::after {
    display: none;
  }

  .primary-menu ul {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0.35rem 0 0.5rem 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }

  .primary-menu > .menu-item-has-children.is-open > ul {
    display: block;
  }

  .submenu-toggle {
    width: 2rem;
    height: 2rem;
  }

  .header-actions {
    display: none;
  }

  .stats-grid,
  .three-up,
  .cards-grid-blog,
  .process-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .topbar-inner,
  .topbar-copy,
  .topbar-contact,
  .footer-bottom,
  .cta-panel,
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-inner {
    min-height: 82px;
  }

  .brand-mark-text strong {
    font-size: 1.55rem;
  }

  .hero-section {
    padding: 5rem 0 4.25rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.7rem, 10vw, 4rem);
  }

  .hero-image-frame {
    min-height: 400px;
  }

  .hero-summary-card {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .section-pull-up {
    margin-top: 0;
  }

  .stats-grid,
  .three-up,
  .cards-grid-blog,
  .process-grid,
  .two-up,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .media-stack {
    min-height: auto;
  }

  .image-card-main,
  .image-card-floating {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .image-card-floating {
    margin-top: 1rem;
  }

  .image-band-grid,
  .cta-panel,
  .article-shell {
    padding: 1.6rem;
  }

  .spotlight-chips {
    gap: 0.6rem;
  }

  .spotlight-chip {
    width: 100%;
    justify-content: center;
  }
}

.feature-list-tight {
  gap: 0.75rem;
}

.image-band-grid-balanced,
.image-band-media-stack,
.section-processes,
.section-resource-cards,
.section-resources-band,
.service-card,
.stats-section,
.inner-page-section-wide,
.menu-toggle-label {
  /* Intentionally present for template clarity and future extension. */
}
