/* ===================================================================
   Momentum Energy Advisors — styles.css
   Design system, layout, components, and page-specific styles.
   =================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Montserrat:wght@500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --slate: #354352;
  --amber: #F9D15C;
  --off-white: #FFFFFF;
  --charcoal: #3A4244;
  --warm-orange: #E99641;
  --mid-grey: #8A8F9A;
  --light-line: #DDE0E6;
  --pale-gold: #F5ECC8;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-content: 1200px;
  --side-padding: 80px;
  --section-padding: 100px;
  --gutter: 40px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: #FAFBFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 700;
  font-size: 56px;
}

h2 {
  font-weight: 700;
  font-size: 40px;
}

h3 {
  font-weight: 600;
  font-size: 22px;
}

p {
  margin-bottom: 1.2em;
  max-width: 680px;
}

p:last-child {
  margin-bottom: 0;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--off-white);
}

.section-dark p,
.section-dark li {
  color: var(--off-white);
}

/* --- Section Label (caption style) --- */
.section-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--amber);
}

/* --- Caption / Metadata --- */
.caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--mid-grey);
}

/* --- Layout --- */
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section-light {
  background-color: #FAFBFC;
}

.section-dark {
  background-color: var(--slate);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--slate);
  color: var(--off-white);
  border-bottom: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--charcoal);
  border-bottom-color: var(--amber);
}

.btn-ghost {
  background-color: transparent;
  color: var(--slate);
  border: 1px solid var(--slate);
}

.btn-ghost:hover {
  background-color: var(--slate);
  color: var(--off-white);
}

.btn-ghost-dark {
  background-color: transparent;
  color: var(--off-white);
  border: 1px solid var(--off-white);
}

.btn-ghost-dark:hover {
  background-color: var(--amber);
  color: var(--slate);
  border-color: var(--amber);
}

/* --- Text Links --- */
.text-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--slate);
  position: relative;
  display: inline-block;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber);
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 100%;
}

/* --- Amber Rule --- */
.amber-rule {
  width: 80px;
  height: 2px;
  background-color: var(--amber);
  border: none;
}

.amber-rule-animated {
  width: 0;
  height: 2px;
  background-color: var(--amber);
  border: none;
  transition: width 0.6s ease-out;
}

.amber-rule-animated.revealed {
  width: 80px;
}

/* --- Reveal Animations --- */
.reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-target.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Above-fold content visible immediately — no flash of blank white */
.page-header .reveal-target,
.hero-text .reveal-target {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: #FAFBFC;
  border-bottom: 1px solid var(--light-line);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 8px rgba(53, 67, 82, 0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 140px;
  width: auto;
  margin: -40px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--slate);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
  background-color: var(--amber);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--slate);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--off-white);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--off-white);
}

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--slate);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.nav-overlay.open {
  display: flex;
  transform: translateY(0);
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: var(--off-white);
}

.nav-overlay a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background-color: var(--slate);
  padding-top: 60px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
}

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--off-white);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.5;
}

.footer-brand img {
  height: 120px;
  width: auto;
  margin: -30px 0;
}

.footer-nav a {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--off-white);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--amber);
}

.footer-contact p,
.footer-contact a {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--off-white);
  margin-bottom: 8px;
}

.footer-contact a {
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--amber);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--light-line);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--mid-grey);
}

.footer-address {
  margin-top: 4px;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  padding-top: 192px; /* 120px + 72px nav height */
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 43px;
  line-height: 1.18;
  max-width: 640px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  color: var(--charcoal);
  max-width: 600px;
  margin-top: 24px;
  line-height: 1.55;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-animation {
  position: absolute;
  top: 0;
  right: -30px;
  left: auto;
  transform: none;
  padding-top: 80px;
  width: 65%;
  max-width: 1200px;
  height: 100%;
  pointer-events: none;
  opacity: 0.126;
  z-index: 0;
}

.hero .btn {
  margin-top: 36px;
}

.hero .amber-rule,
.hero .amber-rule-animated {
  margin-top: 48px;
}

/* ===================================================================
   THREE PROBLEMS (Homepage)
   =================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: 48px;
}

.problem-block {
  max-width: 340px;
}

.problem-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  color: var(--warm-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-block h3 {
  margin-bottom: 16px;
}

/* ===================================================================
   HOW WE WORK (Homepage dark section)
   =================================================================== */
.approach-text {
  max-width: 680px;
  margin-top: 20px;
}

.approach-text p {
  margin-bottom: 32px;
}

.approach-text p:last-child {
  margin-bottom: 0;
}

.approach-text .lead-sentence {
  font-weight: 500;
}

/* ===================================================================
   SELECTED WORK PREVIEW (Homepage)
   =================================================================== */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  margin-top: 48px;
}

.preview-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--warm-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.preview-block {
  border-left: 3px solid transparent;
  padding-left: 20px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.preview-block:hover {
  border-left-color: var(--amber);
}

.preview-block h3 {
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.preview-block:hover h3 {
  color: var(--amber);
}

.preview-block:hover .text-link::after {
  width: 100%;
}

.preview-block p {
  margin-bottom: 16px;
}

/* ===================================================================
   CTA SECTION (shared across pages)
   =================================================================== */
.cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.cta-section h2 {
  color: var(--off-white);
}

.cta-section p {
  color: var(--off-white);
  max-width: 540px;
  margin: 20px auto 0;
}

.cta-section .btn {
  margin-top: 32px;
}

/* ===================================================================
   PAGE HEADER (Services, About, Insights, Contact)
   =================================================================== */
.page-header {
  padding-top: 212px;
  padding-bottom: 60px;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  color: var(--charcoal);
  max-width: 640px;
  line-height: 1.55;
}

.page-header .amber-rule,
.page-header .amber-rule-animated {
  margin-top: 32px;
}

/* Page header with background image banner */
.page-header-banner {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  padding-bottom: 40px;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(53, 67, 82, 0.6);
}

.page-header-banner .container {
  position: relative;
  z-index: 1;
}

.page-header-banner h1 {
  color: #FFFFFF;
  margin-bottom: 0;
}

.page-header-banner .page-header-sub {
  color: rgba(255, 255, 255, 0.85);
}

/* Inline content images */
.content-image {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
  display: block;
}

/* ===================================================================
   SERVICES PAGE — Offers
   =================================================================== */
.offer-block {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: var(--gutter);
  padding: 48px 0;
  border-bottom: 1px solid var(--light-line);
}

.offer-block:first-child {
  padding-top: 0;
}

.offer-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  color: var(--warm-orange);
  line-height: 1;
  margin-bottom: 12px;
}

.offer-left h2 {
  font-size: 28px;
}

.offer-right {
  max-width: 560px;
}

.offer-right p + p {
  margin-top: 24px;
}

/* Blended finance callout */
.blended-callout {
  margin-top: 60px;
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  max-width: 600px;
}

/* How we engage */
.engage-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.engage-text p + p {
  margin-top: 24px;
}

/* ===================================================================
   ABOUT PAGE
   =================================================================== */
.about-profile {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: var(--gutter);
}

.about-sidebar h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.about-credentials {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-top: 16px;
}

.about-photo {
  width: 100%;
  max-width: 240px;
  border-radius: 6px;
  margin-bottom: 24px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.credentials-box {
  margin-top: 48px;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  padding: 32px 36px;
  background: #fff;
}

.credentials-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.credentials-box-item {
  display: flex;
  flex-direction: column;
}

.credentials-box-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #2D3142;
  margin-bottom: 4px;
}

.credentials-box-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.5;
}

.about-bio .caption {
  margin-bottom: 24px;
}

.about-bio p + p {
  margin-top: 24px;
}

.about-thinking {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-thinking p + p {
  margin-top: 24px;
}

/* ===================================================================
   INSIGHTS PAGE
   =================================================================== */
.insight-entry {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: var(--gutter);
  padding: 48px 0;
  border-bottom: 1px solid var(--light-line);
}

.insight-entry:first-child {
  padding-top: 0;
}

.insight-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--warm-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.insight-date {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--mid-grey);
}

.insight-right h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.insight-right p {
  max-width: 560px;
  margin-bottom: 16px;
}

.insight-featured {
  padding-bottom: 56px;
}

.insight-featured .insight-right h2 {
  font-size: 32px;
}

.insight-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--mid-grey);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.insight-status {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--mid-grey);
}

.insights-cta {
  margin-top: 80px;
}

.insights-cta p {
  max-width: 600px;
}

/* ===================================================================
   INSIGHT ARTICLE PAGE
   =================================================================== */

/* Framing intro — quiet paragraph above model */
.insight-framing {
  max-width: 720px;
}

/* "Why this matters" callout */
.insight-callout {
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  max-width: 680px;
  margin-bottom: 0;
}

/* Model layers — 3-column grid */
.model-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.model-layer {
  border-top: 3px solid var(--light-line);
  padding-top: 16px;
}

.model-layer.donor { border-top-color: var(--slate); }
.model-layer.program { border-top-color: var(--mid-grey); }
.model-layer.recipient { border-top-color: var(--amber); }

.model-layer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 4px;
}

.model-layer-obj {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 10px;
  line-height: 1.5;
}

.model-layer-body {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
}

/* Flows row */
.model-flows {
  display: flex;
  gap: 28px;
  padding: 12px 0 20px;
  flex-wrap: wrap;
}

.model-flow-item {
  font-size: 13px;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.model-flow-item .arr {
  font-size: 16px;
  color: var(--slate);
}

/* Core rule — dominant section */
.model-core-rule {
  border-left: 3px solid var(--amber);
  padding: 28px 32px;
  margin: 28px 0 32px;
  background: #FAFAFA;
}

.model-core-rule-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.model-core-rule p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: none;
  margin-bottom: 14px;
}

.model-core-rule p:last-child { margin-bottom: 0; }

.model-core-rule p.implication {
  color: #505560;
  font-size: 15px;
}

/* Two-column model sections */
.model-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin: 24px 0;
}

/* Impact conditions */
.model-impact {
  border-top: 2px solid var(--slate);
  padding-top: 18px;
}

.model-impact-header {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 16px;
}

.model-cond {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #6B7280;
}

.model-cond-k {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  min-width: 32px;
  flex-shrink: 0;
  padding-top: 4px;
  color: var(--slate);
}

.model-cond-k.else { color: #9B6A3A; }

.model-cond strong { color: var(--slate); font-weight: 500; }

.model-cond-div {
  border: none;
  border-top: 1px solid var(--light-line);
  margin: 14px 0;
}

/* Side note */
.model-side-note {
  border-top: 2px solid var(--amber);
  padding-top: 18px;
}

.model-side-note-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 12px;
}

.model-side-note p {
  font-size: 15px;
  line-height: 1.65;
  color: #6B7280;
  max-width: none;
}

.model-side-note p strong { color: var(--charcoal); font-weight: 500; }

/* Bottom grid */
.model-bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 28px;
}

.model-bottom-block {
  border-top: 2px solid var(--light-line);
  padding-top: 16px;
}

.model-bottom-block.design { border-top-color: var(--slate); }

.model-bottom-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 14px;
}

.model-b-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #6B7280;
}

.model-b-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  min-width: 20px;
  flex-shrink: 0;
  padding-top: 3px;
  color: var(--mid-grey);
}

.model-bottom-block.design .model-b-num { color: var(--slate); }

.model-b-item strong { color: var(--charcoal); font-weight: 500; }

/* Source attribution */
.model-source {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--light-line);
  font-size: 13px;
  color: var(--mid-grey);
}

/* Soft closing line */
.insight-closing {
  font-size: 16px;
  color: var(--charcoal);
  max-width: 680px;
}

.insight-closing a {
  color: var(--slate);
  font-weight: 500;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
  transition: color 0.25s ease;
}

.insight-closing a:hover {
  color: var(--amber);
}

/* ===================================================================
   CASE NOTE ARTICLE PAGE
   =================================================================== */

.article-meta {
  font-size: 14px;
  color: var(--mid-grey);
  margin-top: 8px;
}

.article-body {
  max-width: 680px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--slate);
  letter-spacing: -0.2px;
  margin: 72px 0 20px;
  padding-top: 24px;
  border-top: 2px solid var(--amber);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  margin: 32px 0 10px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.article-body p strong {
  color: var(--slate);
  font-weight: 500;
}

/* Indicator list */
.cn-indicators {
  margin: 20px 0 24px;
  padding-left: 0;
  list-style: none;
}

.cn-indicators li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
}

.cn-indicators li:first-child {
  border-top: 1px solid var(--light-line);
}

.cn-indicators li strong {
  font-weight: 600;
  color: var(--slate);
}

/* Diagram block — breaks wider than text column on desktop */
.cn-diagram {
  margin-top: 48px;
  margin-bottom: 16px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cn-diagram svg {
  display: block;
  width: 100%;
}

/* Photo block */
.cn-photo {
  margin: 40px 0;
}

.cn-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Shared caption style */
.cn-caption {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* Insight callout box */
.cn-insight-box {
  border-left: 3px solid var(--amber);
  padding: 20px 24px;
  margin: 32px 0;
  background: #FAFBFC;
}

.cn-insight-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

.cn-insight-box p {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* Evidence table */
.cn-evidence-table {
  width: 100%;
  max-width: 680px;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14.5px;
}

.cn-evidence-table thead th {
  background: var(--slate);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 10px 14px;
}

.cn-evidence-table thead th:last-child {
  text-align: right;
  width: 80px;
}

.cn-evidence-table tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--light-line);
  color: var(--mid-grey);
}

.cn-evidence-table tbody tr:nth-child(even) td {
  background: #F4F5F7;
}

.cn-evidence-table tbody td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--slate);
}

/* Closing block */
.cn-closing {
  border-top: 2px solid var(--slate);
  padding-top: 24px;
  margin-top: 56px;
  margin-bottom: 24px;
}

.cn-org-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 12px;
}

.cn-closing p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--mid-grey);
}

.cn-contact {
  margin-top: 16px;
  font-size: 14px;
}

.cn-contact a {
  color: var(--slate);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--light-line);
}

.cn-contact a:hover {
  border-bottom-color: var(--amber);
}

/* Diagram caption — slightly more prominent */
.cn-diagram-caption {
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: var(--mid-grey);
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Article fade-in sections */
.article-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.article-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Findings — left accent + stagger */
.cn-finding {
  padding-left: 16px;
  border-left: 2px solid var(--light-line);
  margin-bottom: 24px;
}

.cn-finding strong {
  font-size: 17px;
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--gutter);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--light-line);
  background-color: #ffffff;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--charcoal);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 2px rgba(53, 67, 82, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.contact-details h3 {
  margin-bottom: 8px;
}

.contact-block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-line);
}

.contact-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-block a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--slate);
  transition: color 0.25s ease;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.contact-block a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.contact-block p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
}

.contact-note {
  margin-top: 48px;
  font-size: 15px;
  color: var(--mid-grey);
}

/* --- Section break (light spacer between dark sections) --- */
.section-break {
  padding: 40px 0;
  background-color: #FAFBFC;
}

/* ===================================================================
   ACCESSIBILITY
   =================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ===================================================================
   RESPONSIVE — Tablet (<=1024px)
   =================================================================== */
@media (max-width: 1024px) {
  :root {
    --side-padding: 48px;
  }

  .hero-animation {
    width: 55%;
    opacity: 0.12;
  }
}

/* ===================================================================
   RESPONSIVE — Mobile (<768px)
   =================================================================== */
@media (max-width: 767px) {
  :root {
    --side-padding: 24px;
    --section-padding: 60px;
  }

  .hero-animation {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 16px;
  }

  .hero-sub,
  .page-header-sub {
    font-size: 17px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  /* Hero */
  .hero {
    padding-top: 172px; /* 100px + 72px */
  }

  .page-header {
    padding-top: 172px;
  }

  .page-header-banner {
    height: 220px;
    padding-bottom: 24px;
  }

  /* Problems grid */
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-block {
    max-width: none;
  }

  .problem-number {
    font-size: 40px;
  }

  /* Preview grid */
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Offers */
  .offer-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .offer-number {
    font-size: 48px;
  }

  .offer-right {
    max-width: none;
  }

  /* Insights */
  .insight-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* About page */
  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-photo {
    display: none;
  }

  .credentials-box-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .credentials-box {
    padding: 24px 20px;
  }

  /* Insight article — model grids */
  .model-layers {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .model-two-col {
    grid-template-columns: 1fr;
  }

  .model-bottom-grid {
    grid-template-columns: 1fr;
  }

  .model-core-rule {
    padding: 20px 20px;
  }

  .model-flows {
    gap: 16px;
  }

  /* Case note article */
  .cn-evidence-table { font-size: 13px; }
  .article-body h2 { font-size: 18px; margin-top: 56px; }

  /* Diagrams stay within content flow on mobile */
  .cn-diagram {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Reduced fade travel on mobile */
  .article-fade {
    transform: translateY(10px);
  }

  /* No stagger on findings on mobile */
  .cn-finding {
    transition-delay: 0s !important;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  /* CTA */
  .cta-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ========== Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1B1E2B;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-inner p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #C0C3CC;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary-small {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  background: #E8C547;
  color: #1B1E2B;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary-small:hover {
  background: #d4b33e;
}

.btn-ghost-small {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  background: transparent;
  color: #8A8F9A;
  border: 1px solid #8A8F9A;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost-small:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner-actions {
    justify-content: center;
  }
}
