/* ============================================
   CERES STRATEGY — ceresstrategy.co.uk
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-dark: #0c1829;
  --color-dark-mid: #132238;
  --color-primary: #1a365d;
  --color-primary-light: #2b5797;
  --color-accent: #3b82f6;
  --color-accent-soft: #60a5fa;
  --color-warm: #d97706;
  --color-warm-light: #f59e0b;
  --color-success: #059669;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-on-dark: #e2e8f0;
  --color-text-muted-on-dark: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-bg-warm: #fffbeb;
  --color-border: #e2e8f0;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 72px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  max-width: 65ch;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.lead--on-dark {
  color: var(--color-text-muted-on-dark);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.eyebrow--warm {
  color: var(--color-warm);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: 5rem 0;
}

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

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--warm {
  background: var(--color-bg-warm);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(12, 24, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  height: 100%;
  padding: 0.4rem 0;
}

/* Bordered logo block — single-line wordmark */
.nav__brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  border: 1.5px solid var(--color-accent);
  border-radius: 3px;
  padding: 0.35rem 0.85rem;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav__brand:hover .nav__brand-logo {
  border-color: var(--color-accent-soft);
  color: var(--color-accent-soft);
}

.nav__brand-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-accent-soft);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.4;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--color-text-muted-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: #fff;
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav__brand-sub {
    display: none;
  }
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.4rem;
    padding: 0.5rem;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(12, 24, 41, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 100;
  }
  .nav__links.open {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  padding: 10rem 0 6rem;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 45%);
  pointer-events: none;
  animation: auroraShift 20s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: var(--color-text-muted-on-dark);
  margin-bottom: 2.5rem;
  max-width: 55ch;
}

.hero--page {
  padding: 1.6rem 0 0.4rem;
}

.hero--page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent-soft);
  border: 1.5px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn--warm {
  background: var(--color-warm);
  color: #fff;
}

.btn--warm:hover {
  background: var(--color-warm-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card--dark {
  background: rgba(19, 34, 56, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.08);
}

.card--dark h3 {
  color: #fff;
}

.card--dark p {
  color: var(--color-text-muted-on-dark);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
}

.card--dark .card__icon {
  background: rgba(59, 130, 246, 0.15);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--color-text-muted-on-dark);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Session/Feature List --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-item__marker {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-item__content h4 {
  margin-bottom: 0.25rem;
}

.feature-item__content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Two-Column Layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--wide-left {
  grid-template-columns: 1.2fr 0.8fr;
}

.split--wide-right {
  grid-template-columns: 0.8fr 1.2fr;
}

@media (max-width: 768px) {
  .split, .split--wide-left, .split--wide-right {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Hero with background photo --- */
.hero--photo {
  background-image:
    linear-gradient(to right, rgba(5, 10, 25, 0.92) 30%, rgba(5, 10, 25, 0.60) 100%),
    url('../images/problem-speaker.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* --- Portrait photo (About page) --- */
.photo-portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 2rem;
  border: 3px solid rgba(96, 165, 250, 0.25);
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.12);
}

/* --- Photo Placeholder --- */
.photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

/* --- Quote/Callout --- */
.callout {
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 2rem;
  background: rgba(59, 130, 246, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.callout--warm {
  border-left-color: var(--color-warm);
  background: rgba(217, 119, 6, 0.04);
}

.callout--stat {
  border-left-color: var(--color-accent);
  background: rgba(59, 130, 246, 0.06);
  text-align: center;
}

.callout--stat .stat__number {
  font-family: var(--font-display);
  color: var(--color-accent);
  line-height: 1.1;
}

.callout--stat p {
  font-style: normal;
  font-size: 0.95rem;
}

.callout--stat small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.6;
  font-style: normal;
}

/* stat callouts inside dark sections */
.section--dark .callout--stat {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: var(--color-accent-soft);
}

.section--dark .callout--stat p,
.section--dark .callout--stat small {
  color: var(--color-text-on-dark);
}

.section--dark .callout--warm {
  background: rgba(217, 119, 6, 0.08);
}

.section--dark .callout--warm p,
.section--dark .callout--warm small {
  color: var(--color-text-on-dark);
}

.callout p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  max-width: 100%;
}

/* --- Workshop Sessions --- */
.session-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-primary-light));
}

.session-card__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.session-card h3 {
  margin-bottom: 0.5rem;
}

.session-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.session-card ul {
  list-style: none;
  padding: 0;
}

.session-card ul li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.session-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.5;
}

/* --- Coming Soon Banner --- */
.coming-soon {
  display: inline-block;
  background: var(--color-warm);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-muted-on-dark);
  margin: 0 auto 2rem;
  max-width: 50ch;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: var(--color-text-muted-on-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  color: var(--color-text-muted-on-dark);
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: #fff;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-white { color: #fff; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Page-specific: Research division accent --- */
.section--research {
  background: #faf7f2;
}

.section--research .eyebrow {
  color: var(--color-warm);
}

.section--research .card__icon {
  background: rgba(217, 119, 6, 0.1);
  color: var(--color-warm);
}

/* --- Contrast Section --- */
.contrast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.contrast__panel {
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.contrast__panel--left {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.contrast__panel--right {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.contrast__divider {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.contrast__divider span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contrast__panel h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contrast__panel--left h3 {
  color: var(--color-accent-soft);
}

.contrast__panel--right h3 {
  color: var(--color-warm-light);
}

.contrast__panel .stat__number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.25rem;
}

.contrast__panel--left .stat__number {
  color: var(--color-accent-soft);
}

.contrast__panel--right .stat__number {
  color: var(--color-warm-light);
}

.contrast__panel p,
.contrast__panel .stat__label {
  color: var(--color-text-muted-on-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contrast__bridge {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.contrast__bridge h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contrast__bridge p {
  color: var(--color-text-muted-on-dark);
  max-width: 100%;
}

@media (max-width: 768px) {
  .contrast {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contrast__divider {
    padding: 0.5rem 0;
    justify-content: center;
  }
}

/* --- Print --- */
@media print {
  .nav, .footer, .btn { display: none; }
  .hero { padding-top: 2rem; background: #fff; color: #000; }
  .section { padding: 2rem 0; }
}

/* ============================================
   VISUAL EFFECTS & ANIMATIONS
   ============================================ */

/* --- Aurora Gradient Keyframes --- */
@keyframes auroraShift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -1%) scale(1.02); }
  66% { transform: translate(-1%, 2%) scale(0.98); }
  100% { transform: translate(1%, -1%) scale(1.01); }
}

@keyframes auroraShift2 {
  0% { transform: translate(0, 0) scale(1.02); }
  50% { transform: translate(-3%, 1%) scale(0.98); }
  100% { transform: translate(1%, -2%) scale(1.02); }
}

/* --- Dark Section Aurora Blobs --- */
.section--dark,
.cta-section {
  position: relative;
  overflow: hidden;
}

.section--dark::before,
.cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
  pointer-events: none;
  animation: auroraShift2 25s ease-in-out infinite alternate;
}

.section--dark > .container,
.cta-section > .container {
  position: relative;
  z-index: 1;
}

/* --- Glow Effects (wide spread) --- */
.hero h1 {
  text-shadow: 0 0 120px rgba(59, 130, 246, 0.25), 0 0 50px rgba(59, 130, 246, 0.15), 0 0 10px rgba(59, 130, 246, 0.05);
}

.stat__number {
  text-shadow: 0 0 60px currentColor, 0 0 20px currentColor;
}

.btn--primary {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.35), 0 0 60px rgba(59, 130, 246, 0.12), 0 0 100px rgba(59, 130, 246, 0.05);
}

.btn--primary:hover {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.2), 0 0 120px rgba(59, 130, 246, 0.08);
}

.card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(59, 130, 246, 0.08);
}

.card--dark:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

/* --- Glassmorphism Enhancement --- */
.contrast__panel {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 30px rgba(0, 0, 0, 0.2);
}

.card--dark {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.15);
}

.callout {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- CSS Scroll-Driven Animations --- */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .section > .container,
  .callout,
  .feature-item,
  .contrast__panel,
  .contrast__bridge,
  .narrative-row,
  .nr-proof,
  .ceres-solution {
    animation: revealUp 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .card,
  .session-card {
    animation: revealScale 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}

/* JS-triggered fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: view()) {
  .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(2px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  }

  .reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* --- Text Reveal Animation --- */
.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
  filter: blur(4px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 0.018s);
}

.text-reveal.revealed .char {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Each word is an unbreakable unit; words themselves wrap at line boundaries */
.text-reveal .word {
  display: inline-block;
  white-space: nowrap;
}

/* Hide desktop-only line breaks on mobile; hide mobile-only breaks on desktop */
@media (max-width: 768px) {
  br.desktop-only { display: none; }
}
@media (min-width: 769px) {
  br.mobile-only { display: none; }
}

/* --- Custom Cursor (ring style) --- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
  will-change: transform;
  opacity: 0;
}

.cursor.active {
  opacity: 1;
}

.cursor.hover {
  width: 52px;
  height: 52px;
  margin-left: -26px;
  margin-top: -26px;
  border-width: 1.5px;
}

@media (pointer: coarse) {
  .cursor { display: none !important; }
}

@media (pointer: fine) {
  .has-custom-cursor,
  .has-custom-cursor * {
    cursor: none !important;
  }
}

/* --- Particle Canvas --- */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ============================================
   EVIDENCE TABLE
   ============================================ */

.evidence-section {
  padding: 5rem 0 4rem;
}

.evidence-table {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(12, 24, 41, 0.4);
}

.evidence-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 0;
  padding: 0;
  transition: background 0.2s ease;
}

.evidence-row:hover {
  background: rgba(59, 130, 246, 0.04);
}

.evidence-row__message {
  padding: 2.25rem 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.evidence-row__message p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  max-width: 100%;
}

.evidence-row__stat {
  padding: 2.25rem 2.5rem;
}

.evidence-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.stat--blue .evidence-num {
  color: var(--color-accent-soft);
  text-shadow: 0 0 50px rgba(96, 165, 250, 0.45), 0 0 18px rgba(96, 165, 250, 0.25);
}

.stat--orange .evidence-num {
  color: var(--color-warm-light);
  text-shadow: 0 0 50px rgba(245, 158, 11, 0.45), 0 0 18px rgba(245, 158, 11, 0.25);
}

.evidence-text {
  color: var(--color-text-muted-on-dark);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
  max-width: 100%;
}

.evidence-text strong {
  color: var(--color-text-on-dark);
  font-weight: 600;
}

.evidence-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
}

/* --- Citation tag --- */
.citation-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted-on-dark);
  cursor: pointer;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.35);
  padding-bottom: 1px;
  position: relative;
  transition: color var(--transition);
  user-select: none;
}

.citation-tag:hover {
  color: var(--color-accent-soft);
  border-bottom-color: var(--color-accent-soft);
}

/* --- Citation Tooltip --- */
.citation-tooltip {
  position: fixed;
  z-index: 5000;
  background: var(--color-dark-mid);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  max-width: 300px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.citation-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.citation-tooltip__text {
  font-size: 0.8rem;
  color: var(--color-text-muted-on-dark);
  line-height: 1.55;
  margin-bottom: 0.65rem;
  max-width: 100%;
}

.citation-tooltip__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color var(--transition);
}

.citation-tooltip__link:hover {
  color: #fff;
}

/* --- Evidence Bridge --- */
.evidence-bridge {
  text-align: center;
  max-width: 620px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-bridge p {
  color: var(--color-text-muted-on-dark);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.evidence-bridge p strong {
  color: #fff;
  font-weight: 600;
}

.evidence-bridge__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.evidence-bridge__link:hover {
  color: #fff;
}

/* --- Evidence Note (medcomms context line) --- */
.evidence-note {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(148, 163, 184, 0.65);
  line-height: 1.55;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

/* --- Hero Opening Stat --- */
.hero__opening-stat {
  display: inline-flex;
  flex-direction: column;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.75rem 1.3rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-accent-soft);
  line-height: 1;
  text-shadow: 0 0 50px rgba(96, 165, 250, 0.45), 0 0 18px rgba(96, 165, 250, 0.25);
  margin-bottom: 0.35rem;
}

.hero__stat-text {
  color: var(--color-text-muted-on-dark);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 42ch;
}

/* --- Responsive: Evidence Table --- */
@media (max-width: 768px) {
  .evidence-row {
    grid-template-columns: 1fr;
  }

  .evidence-row__message {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 1.5rem 1.25rem;
  }

  .evidence-row__stat {
    padding: 1.25rem 1.5rem 1.75rem;
  }

  .evidence-table {
    border-radius: var(--radius-md);
  }
}

/* ============================================
   FULL-PAGE NARRATIVE LAYOUT (index.html)
   ============================================ */

/* Dark body for the narrative page */
body.full-bg-page {
  background: var(--color-dark);
  position: relative;
  overflow-x: hidden;
}

/* Fixed viewport canvas — stays in place as the page scrolls */
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Lift all non-canvas elements above the canvas */
body.full-bg-page .narrative,
body.full-bg-page .narrative-cta,
body.full-bg-page .footer {
  position: relative;
  z-index: 1;
}
/* Nav needs a higher z-index so its mobile dropdown appears above page content */
body.full-bg-page .nav {
  position: relative;
  z-index: 10;
}

/* Narrative wrapper */
.narrative {
  padding-top: var(--nav-height);
}

/* ---- Page header (above narrative rows) ---- */
.narrative-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2.5rem 1rem;
}

.narrative-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.3rem);
  font-weight: 600;
  color: var(--color-accent-soft); /* fallback; overridden by spans below */
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--color-accent);
  opacity: 0.9;
}

/* Two-tone heading spans */
.h1--warm {
  color: var(--color-warm-light);
  text-shadow: 0 0 60px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.15);
}
.h1--cool {
  color: var(--color-accent-soft);
  text-shadow: 0 0 60px rgba(96, 165, 250, 0.3), 0 0 20px rgba(96, 165, 250, 0.15);
}

.narrative-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted-on-dark);
  margin-top: 1rem;
  max-width: 60ch;
  line-height: 1.55;
}

/* ---- Narrative rows ---- */
.narrative-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 1.45rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.narrative-row--hero {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

/* --- Solution-row layout: problem stack on left, glass card on right --- */
.narrative-row--solution {
  align-items: end; /* both columns bottom-align for a consistent baseline */
  padding-top: 2.0rem;
  padding-bottom: 2.0rem;
  gap: 2.5rem;
}

.nr-problem {
  display: flex;
  flex-direction: column;
  gap: 0.85rem; /* tightened from 1.4rem (~40% reduction) */
  justify-content: flex-end; /* push problem stack to the bottom so it bottom-aligns with the Ceres card */
}

.nr-problem__headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin: 0;
  padding-left: 1rem;
  /* Per-char typewriter reveal handled by .text-reveal .char rules */
}

/* Glass "Ceres solution" card — slow pulse + animated edge sheen for that
   "2026 information age" feel. The card is the offering, so it earns the cool. */
.ceres-solution {
  background: rgba(96, 165, 250, 0.055);
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
  color: rgba(255, 255, 255, 0.95);
  padding: 1.7rem 1.7rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.50);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 70px rgba(96, 165, 250, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: end; /* fit content height; bottom-align with the problem column */
  overflow: hidden; /* contain the scanning sheen */
  animation: ceresPulse 6s ease-in-out infinite;
  isolation: isolate; /* keep ::before/::after on top of children */
}

@keyframes ceresPulse {
  0%, 100% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 8px 24px rgba(0, 0, 0, 0.25),
      0 0 60px rgba(96, 165, 250, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.10);
    border-color: rgba(96, 165, 250, 0.45);
  }
  50% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 8px 24px rgba(0, 0, 0, 0.25),
      0 0 100px rgba(96, 165, 250, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(0, 0, 0, 0.10);
    border-color: rgba(96, 165, 250, 0.65);
  }
}

.ceres-solution::before {
  /* Subtle top-left highlight gradient for the glassy edge */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
  z-index: 0;
}

.ceres-solution::after {
  /* Slow diagonal sheen sweeping across the card every 9s — '2026 info age' */
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 35%;
  background: linear-gradient(110deg,
    transparent 0%,
    rgba(96, 165, 250, 0.16) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(96, 165, 250, 0.16) 55%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
  transform: translateX(-180%) skewX(-15deg);
  animation: ceresSheen 9s ease-in-out infinite;
}

@keyframes ceresSheen {
  0%   { transform: translateX(-180%) skewX(-15deg); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(380%) skewX(-15deg); opacity: 0; }
}

/* Make sure children sit on top of the ::before/::after layers */
.ceres-solution > * {
  position: relative;
  z-index: 1;
}

.ceres-solution__eyebrow {
  display: none;
}

.ceres-solution__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
  font-weight: 700;
  color: var(--color-accent-soft);
  text-shadow:
    0 0 50px rgba(96, 165, 250, 0.35),
    0 0 16px rgba(96, 165, 250, 0.18);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.0rem;
  position: relative;
}

.ceres-solution p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.9rem;
  position: relative;
}

.ceres-solution p:last-child {
  margin-bottom: 0;
}

.ceres-solution__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.ceres-solution__list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.ceres-solution__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ceres-solution__list li:first-child {
  padding-top: 0;
}

.ceres-solution__list li strong {
  color: #fff;
  font-weight: 700;
}

/* ---- Narrative close: 2-column summary below the rows ---- */
.narrative-close-row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 4.5rem;
}

.narrative-close-row__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.1rem;
  align-items: center;
}

.narrative-close-row p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.narrative-close-row__warm {
  color: var(--color-warm-light);
  text-shadow:
    0 0 60px rgba(245, 158, 11, 0.32),
    0 0 18px rgba(245, 158, 11, 0.15);
  padding-left: 1.1rem;
}

.narrative-close-row__cool {
  color: var(--color-accent-soft);
  text-shadow:
    0 0 60px rgba(96, 165, 250, 0.32),
    0 0 18px rgba(96, 165, 250, 0.15);
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .narrative-close-row {
    padding: 2.2rem 1.2rem 2rem;
  }
  .narrative-close-row__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .narrative-close-row__warm,
  .narrative-close-row__cool {
    padding-left: 0;
  }
  .nr-problem__headline {
    padding-left: 0;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
}

/* Statement column (left) — all uniform H1 size */
.nr-statement {
  display: flex;
  align-items: center;
}

.nr-statement p,
.nr-statement h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 100%;
  margin: 0;
}

/* Proof column (right) — self-contained card */
.nr-proof {
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nr-proof:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Optional supporting text (smaller stat below the headline) */
.proof-supporting {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0.85rem 0 0;
  letter-spacing: -0.005em;
}

/* Footer row inside the proof box — citation left, arrow right */
.proof-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1rem;
  gap: 1rem;
}

.proof-cite {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
  line-height: 1.3;
  flex: 1;
}

.proof-arrow {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: rgba(148, 163, 184, 0.45);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s ease;
  pointer-events: none;
}

.nr-proof:hover .proof-arrow      { color: rgba(220, 230, 245, 0.95); }
.proof--orange:hover .proof-arrow { color: var(--color-warm-light); }
.proof--blue:hover .proof-arrow   { color: var(--color-accent-soft); }

.nr-proof[aria-expanded="true"] .proof-arrow {
  transform: rotate(180deg);
}

/* Headline that contains the inline highlighted numbers */
.proof-headline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.005em;
}

/* Space between consecutive stat lines (rows 2, 6, 7 which have multiple headlines) */
.proof-headline + .proof-headline {
  margin-top: 0.85rem;
}

/* Inline glowing numbers — used inside .proof-headline / .proof-supporting */
.num {
  font-family: var(--font-display);
  font-size: 2.1em;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.022em;
  display: inline-block;
  vertical-align: -0.2em;
  margin: 0 0.04em;
}

/* Smaller inline variant — used in supporting text or for secondary numbers */
.num--small {
  font-size: 1.45em;
  vertical-align: -0.08em;
}

.num--blue {
  color: var(--color-accent-soft);
  text-shadow:
    0 0 50px rgba(96, 165, 250, 0.55),
    0 0 18px rgba(96, 165, 250, 0.35),
    0 0  5px rgba(96, 165, 250, 0.15);
}

.num--orange {
  color: var(--color-warm-light);
  text-shadow:
    0 0 50px rgba(245, 158, 11, 0.55),
    0 0 18px rgba(245, 158, 11, 0.35),
    0 0  5px rgba(245, 158, 11, 0.15);
}

/* Expandable detail panel */
.proof-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.proof-detail.open {
  max-height: 260px;
  opacity: 1;
}

.proof-detail__inner {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.85rem;
}

.proof-detail__inner p {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.8);
  line-height: 1.65;
  max-width: 100%;
  margin-bottom: 0.65rem;
}

.proof-source {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s ease;
}

.proof--orange .proof-source { color: var(--color-warm-light); }
.proof--blue   .proof-source { color: var(--color-accent-soft); }
.proof-source:hover { color: #fff; }

/* ---- Narrative CTA ---- */
.narrative-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(12, 24, 41, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.narrative-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.narrative-cta p {
  color: var(--color-text-muted-on-dark);
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

/* Footer on full-bg page */
body.full-bg-page .footer {
  background: rgba(7, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---- Next Steps (CTA) ---- */
.next-steps {
  padding: 5rem 2rem 4rem;
  background: rgba(12, 24, 41, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.next-steps__intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.next-steps__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.next-steps__intro p {
  color: var(--color-text-muted-on-dark);
  font-size: 1.05rem;
  max-width: 100%;
  margin: 0 auto;
}

.next-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1300px;
  margin: 0 auto;
}

.ns-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.6rem 1.65rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ns-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-3px);
}

.ns-card__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent-soft);
  margin-bottom: 1.15rem;
  opacity: 0.75;
}

.ns-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
}

.ns-card p {
  color: var(--color-text-muted-on-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.ns-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ns-card:hover .ns-card__link { gap: 0.6rem; color: #fff; }

.ns-card--feature {
  background: rgba(96, 165, 250, 0.06);
  border-color: rgba(96, 165, 250, 0.22);
}

.ns-card--feature .ns-card__num { color: var(--color-accent-soft); }

@media (max-width: 980px) {
  .next-steps__grid { grid-template-columns: repeat(2, 1fr); }
}

.next-steps__close {
  text-align: center;
  margin: 3.25rem auto 0;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 720px;
}

.next-steps__close p {
  color: var(--color-text-muted-on-dark);
  max-width: 60ch;
  margin: 0 auto 1.6rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.next-steps__close p strong { color: #fff; font-weight: 600; }

.btn--large {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

/* ---- Mobile: stack columns ---- */
@media (max-width: 768px) {
  .narrative-header {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .narrative-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }

  .nr-statement p,
  .nr-statement h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .nr-proof {
    padding: 1.2rem 1.2rem 1rem;
  }

  .proof-headline {
    font-size: 1rem;
  }

  .num {
    font-size: 2.2em;
  }

  .next-steps {
    padding: 3.5rem 1.25rem 3rem;
  }
  .next-steps__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Assessment form --- */
.assessment-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.q-block {
  /* Heading uses .q-legend (a div) — semantic <legend> caused cross-browser
     positioning bugs (rendered above the panel). aria-labelledby preserves a11y. */
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem 1.5rem;
  background: var(--color-bg);
  color: var(--color-text); /* dark text inside white panel */
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 30px rgba(15, 23, 42, 0.10);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.q-block:focus-within {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(15, 23, 42, 0.14),
    0 0 0 3px rgba(59, 130, 246, 0.10);
}

.q-legend {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0;
  margin: 0 0 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.35;
}

.q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background: rgba(59, 130, 246, 0.10);
  border-radius: 5px;
}

.q-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  margin-top: 0.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* Defensive: force the option label text dark, win over any cascaded body color */
.q-option,
.q-option > span,
.q-block .q-option,
.q-block .q-option > span {
  color: #1e293b;
}

.q-option:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.18);
}

.q-option input[type="radio"],
.q-option input[type="checkbox"] {
  margin-top: 0.18rem;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  width: 1.05rem;
  height: 1.05rem;
}

.q-option input[type="radio"]:checked ~ span,
.q-option input[type="checkbox"]:checked ~ span {
  color: #0f172a;
  font-weight: 600;
}

.q-option:has(input[type="radio"]:checked),
.q-option:has(input[type="checkbox"]:checked) {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
}

.q-option--input { padding: 0.4rem 0; }

.q-option--input input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 0.15s ease;
}

.q-option--input input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.q-input--invalid {
  border-color: var(--color-warm) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

.q-option--check { font-size: 0.88rem; color: var(--color-text-light); }

.q-error {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  background: #fef3c7;
  border-left: 3px solid var(--color-warm);
  border-radius: 4px;
  font-size: 0.9rem;
  color: #78350f;
}

/* --- Assessment result --- */
.result-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
}

.result-band {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.5rem 0 0.25rem;
  color: var(--color-primary);
}

.result-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
}

.result-meter {
  position: relative;
  margin: 1.75rem 0 2.5rem;
  height: 56px;
}

.result-meter__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.result-meter__band {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.result-meter__band--1 { background: #94a3b8; }
.result-meter__band--2 { background: #f59e0b; }
.result-meter__band--3 { background: #3b82f6; }
.result-meter__band--4 { background: #059669; }

.result-meter__marker {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 50px;
  background: var(--color-text);
  transform: translateX(-50%);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-meter__marker::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-text);
}

.result-summary {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.result-advice h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.result-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.result-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  font-size: 0.97rem;
  color: var(--color-text);
  line-height: 1.55;
  border-bottom: 1px solid var(--color-border);
}

.result-list li:last-child { border-bottom: none; }

.result-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-accent);
  border-radius: 50%;
}

.result-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.result-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .q-block { padding: 1.2rem 1rem 1rem; }
  .q-block legend { font-size: 0.98rem; }
  .result-card { padding: 1.6rem 1.25rem; }
  .result-meter__band { font-size: 0.6rem; padding: 0 0.2rem; }
}

/* === Seven-axis profile result === */
.result-axes { margin: 2rem 0 1rem; }
.result-axes h3 { margin-bottom: 1rem; font-size: 1.15rem; }
.axis-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.axis-row {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.axis-row__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.axis-row__head strong { font-size: 1rem; }
.axis-row__pillar {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
}
.axis-row__band {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}
.axis-row__band--1 { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.axis-row__band--2 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.axis-row__band--3 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.axis-row__band--4 { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.axis-row__bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  margin: 0.5rem 0 0.7rem;
  overflow: hidden;
}
.axis-row__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #f59e0b);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.axis-row__advice {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}
.result-summary { font-size: 1rem; line-height: 1.6; }
.result-link a { font-weight: 600; }

/* === Scale-invariance table === */
.scale-table { background: rgba(255,255,255,0.02); border-radius: 8px; }
.scale-table th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-light); }
.scale-table td { vertical-align: top; line-height: 1.5; }
@media (max-width: 800px) {
  .scale-table { display: block; overflow-x: auto; white-space: nowrap; }
  .scale-table td, .scale-table th { white-space: normal; min-width: 160px; }
}

/* ============================================================
   v3 voice + visuals — applied across all pages
   ============================================================ */

/* --- Particles + transparent hero across all pages ---
   Inner pages get class="full-bg-page" on body and the canvas + script.
   Kill the dark hero fill and gradient so particles show through. */
body.full-bg-page .hero,
body.full-bg-page .hero--page {
  background: transparent;
}
body.full-bg-page .hero::before {
  display: none;
}
body.full-bg-page .section--alt {
  background: rgba(8, 18, 34, 0.55);
}
body.full-bg-page .section--dark {
  background: rgba(4, 10, 22, 0.7);
}

/* --- Bigger nav brand-sub, more breathing room --- */
.nav__brand-sub {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  line-height: 1.55;
  padding-left: 0.15rem;
}

/* --- Right-column body in narrative-row Ceres-solution panels --- */
.ceres-solution p {
  font-size: 1.08rem;
  line-height: 1.5;
}
.ceres-solution__title {
  line-height: 1.25;
}

/* --- Emphasis utilities ---
   .em        = Ceres orange, slightly bolder. Use for landing words.
   .em--blue  = Ceres blue, slightly bolder. Use for cool emphasis. */
.em {
  color: var(--color-accent);
  font-weight: 600;
}
.em--blue {
  color: var(--color-accent-soft);
  font-weight: 600;
}

/* Higher-specificity override: body.full-bg-page .section p sets text to
   var(--color-text-light) which steals these utilities' colour. Win it back. */
body.full-bg-page .section p.em,
body.full-bg-page .em {
  color: var(--color-accent);
}
body.full-bg-page .section p.em--blue,
body.full-bg-page .em--blue {
  color: var(--color-accent-soft);
}

/* Pillar cards (and any card built as "intro / body / Ceres-will closer"):
   make the card a flex column so the .em--blue closer line bottom-aligns
   across cards of differing content height. */
.card {
  display: flex;
  flex-direction: column;
}
.card .em--blue:last-child {
  margin-top: auto;
}

/* --- Inner-page hero-row: same pattern as the home narrative row,
       used at the top of every content page so the layout is consistent.
       The existing .narrative-row classes do all the work — this just
       gives the row a little extra top air on inner pages. --- */
body.full-bg-page main.narrative {
  padding-top: 1rem;
}
body.full-bg-page .hero--page {
  padding: 1rem 0 0;
}
body.full-bg-page .hero--page h1 {
  margin-bottom: 0.4rem;
}

/* --- Quote / pull-out for occasional verbatim --- */
.pullout {
  border-left: 3px solid var(--color-accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-light);
  font-style: italic;
}
.pullout cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted-on-dark);
  margin-top: 0.4rem;
}

/* --- Tighter narrative-close on inner pages, used as Ceres punch --- */
.narrative-close-row + .punch {
  text-align: center;
  padding: 1.5rem 0 4rem;
}
.narrative-close-row + .punch p {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto;
  max-width: 880px;
  color: var(--color-accent-soft);
}

/* ============================================================
   v3.1 — visual fixes following user feedback
   ============================================================ */

/* --- Centre hero content across all pages --- */
body.full-bg-page .hero__content {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 1.4rem;
}
body.full-bg-page .hero__content .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

/* --- Hero H1 colour by page intent ---
   Add `hero--problem` (orange) or `hero--solution` (Ceres blue) to the .hero
   element. Default H1 stays white if no modifier. */
.hero--problem h1 {
  color: var(--color-warm-light);
  text-shadow: 0 0 28px rgba(245, 158, 11, 0.22);
}
.hero--solution h1 {
  color: var(--color-accent-soft);
  text-shadow: 0 0 28px rgba(59, 130, 246, 0.25);
}

/* --- Section H2 / H3 visibility on dark background ---
   Without this, default body text colour fades on the particles bg. */
body.full-bg-page .section h2,
body.full-bg-page .section h3,
body.full-bg-page .cta-section h2,
body.full-bg-page .cta-section p {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page .section p,
body.full-bg-page .section li {
  color: var(--color-text-light, #cbd5e1);
}

/* --- Section sub-headers ("From a single workflow…", "Defined scope.") ---
   Centred section H2s get a Ceres-blue glow treatment so they read like
   benefit headers, not body labels. */
body.full-bg-page .section .text-center h2 {
  color: var(--color-accent-soft);
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.22);
}
body.full-bg-page .section .text-center .lead {
  color: var(--color-text-light);
}

/* --- Eyebrow visibility --- */
body.full-bg-page .eyebrow {
  color: var(--color-accent-soft);
}

/* --- Card text on dark bg --- */
body.full-bg-page .card,
body.full-bg-page .session-card {
  background: rgba(15, 25, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
body.full-bg-page .card h3,
body.full-bg-page .session-card h3,
body.full-bg-page .card h4,
body.full-bg-page .card p,
body.full-bg-page .card li,
body.full-bg-page .session-card p,
body.full-bg-page .session-card li {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page .card p,
body.full-bg-page .session-card p {
  color: var(--color-text-light, #cbd5e1);
}

/* --- About page: ensure photo + bio text read on dark bg --- */
body.full-bg-page .photo-portrait {
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
body.full-bg-page .split p,
body.full-bg-page .split h3,
body.full-bg-page .split h4,
body.full-bg-page .container--narrow p,
body.full-bg-page .container--narrow h2,
body.full-bg-page .container--narrow h3 {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page .container--narrow p {
  color: var(--color-text-light, #cbd5e1);
}

/* --- Feature-list visibility --- */
body.full-bg-page .feature-item__content h4 {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page .feature-item__content p {
  color: var(--color-text-light, #cbd5e1);
}
body.full-bg-page .feature-item__marker {
  color: var(--color-accent-soft);
}

/* --- Form labels on dark bg --- */
body.full-bg-page label,
body.full-bg-page .form-group label {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page input,
body.full-bg-page textarea,
body.full-bg-page select {
  background: rgba(15, 25, 42, 0.5);
  color: var(--color-text-on-dark, #f8fafc);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- Scale table on dark bg --- */
body.full-bg-page .scale-table th,
body.full-bg-page .scale-table td {
  color: var(--color-text-on-dark, #f8fafc);
}
body.full-bg-page .scale-table {
  background: rgba(15, 25, 42, 0.45);
}

/* === Scale-journey diagram (how-we-work) ===
   3 pillar rows × 4 scale columns. Cells are buttons; clicking one fills the
   detail panel below. Mobile collapses to a stacked-by-pillar layout. */
.scale-journey {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px repeat(4, 1fr);
  gap: 0.55rem;
}
.sj-corner { /* top-left empty cell */ }
.sj-scale {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  text-align: center;
  padding: 0.7rem 0.5rem 0.85rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(96, 165, 250, 0.18);
}
.sj-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 0.85rem;
  background: rgba(96, 165, 250, 0.04);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
}
.sj-pillar__icon {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--color-accent-soft);
}
.sj-pillar__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.sj-cell {
  /* unset button defaults */
  font: inherit;
  text-align: left;
  cursor: pointer;
  /* visual */
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 0.95rem 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.4;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  position: relative;
}
.sj-cell:hover,
.sj-cell:focus-visible {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-1px);
  outline: none;
}
.sj-cell.is-active {
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.85);
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.30);
  color: #fff;
}
.sj-cell__title {
  display: block;
  font-weight: 500;
}
.sj-cell::after {
  content: '+';
  position: absolute;
  top: 0.45rem;
  right: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.18s ease, transform 0.18s ease;
}
.sj-cell.is-active::after {
  content: '−';
  color: var(--color-accent-soft);
}

/* Detail panel — fit-content width, shifted horizontally to sit near the clicked
   cell (JS sets --sj-offset and --connector-x). Glowing arrow tail on top points
   at the active cell, with the cell's downward beam reaching toward it. */
.sj-detail {
  width: fit-content;
  width: -moz-fit-content;
  max-width: min(560px, 100%);
  min-width: 280px;
  margin: 2.5rem auto 0;
  position: relative;
  left: var(--sj-offset, 0px);
  background: rgba(96, 165, 250, 0.055);
  backdrop-filter: blur(4px) saturate(150%);
  -webkit-backdrop-filter: blur(4px) saturate(150%);
  border: 1px solid rgba(96, 165, 250, 0.50);
  border-radius: 12px;
  padding: 1.6rem 1.8rem 1.7rem;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(96, 165, 250, 0.22);
  animation: sjFade 0.25s ease;
}
/* Glowing arrow tail on top — positioned by JS at the active cell's X */
.sj-detail::before {
  content: '';
  position: absolute;
  top: -9px;
  left: var(--connector-x, 50%);
  width: 16px;
  height: 16px;
  background: rgba(96, 165, 250, 0.16);
  border-top: 1px solid rgba(96, 165, 250, 0.70);
  border-left: 1px solid rgba(96, 165, 250, 0.70);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: -3px -3px 14px rgba(96, 165, 250, 0.35);
  backdrop-filter: blur(4px) saturate(150%);
  -webkit-backdrop-filter: blur(4px) saturate(150%);
}
@keyframes sjFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sj-detail[hidden] { display: none; }
.sj-detail__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 0.45rem;
}
.sj-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.sj-detail__body {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.90);
  margin: 0 0 0.85rem;
}
.sj-detail__ceres {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sj-detail__ceres strong {
  color: var(--color-accent-soft);
}
.sj-detail__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.sj-detail__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.sj-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light, #cbd5e1);
  margin-top: 1.25rem;
  font-style: italic;
  opacity: 0.7;
}

/* Mobile: single-column stack. DOM order (corner, 4 scales, pillar+4 cells × 3)
   collapses to: each pillar header followed by its 4 cells; scale name shown
   inline on each cell. */
@media (max-width: 820px) {
  .scale-journey {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .sj-corner,
  .sj-scale { display: none; }
  .sj-pillar {
    border-radius: 8px;
    border-left: none;
    border-bottom: 3px solid var(--color-accent);
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .sj-pillar:first-of-type { margin-top: 0; }
  .sj-pillar__icon { margin-bottom: 0; }
  .sj-cell {
    padding-top: 1.7rem;
  }
  .sj-cell[data-scale-label]::before {
    content: attr(data-scale-label);
    position: absolute;
    top: 0.55rem;
    left: 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-soft);
  }
  .sj-detail {
    left: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
  .sj-detail::before {
    left: 50% !important;
  }
}

/* === Assessment form: opt out of scroll-driven reveal animation ===
   The form is interactive and large; the .section > .container scroll-driven
   fade was causing boxes to appear-then-fade on initial paint. */
#assessment-form-section > .container,
#assessment-form-section > .container.reveal-item,
#assessment-form-section > .container.revealed {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* === Pillar card bullet points (how-we-work) === */
.pillar-points {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 1.1rem;
}
.pillar-points li {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-light, #cbd5e1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.pillar-points li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pillar-points li:first-child {
  padding-top: 0;
}

/* === Consulting: engagement-journey diagram ===
   5 numbered nodes on a horizontal line, click to reveal detail.
   Specialty modules sit below as chips. */
.ej-flow {
  position: relative;
  max-width: 1240px;
  margin: 3rem auto 1.5rem;
  padding: 1.75rem 1rem 0.5rem;
}
.ej-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light, #cbd5e1);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}
.ej-axis span:last-child { color: var(--color-accent-soft); }

.ej-nodes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* The connecting line — sits behind the nodes, at the level of the circle centre */
.ej-nodes::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48px; /* matches new circle radius */
  height: 2px;
  background: linear-gradient(to right,
    rgba(96, 165, 250, 0.30) 0%,
    rgba(96, 165, 250, 0.85) 100%);
  z-index: 0;
  animation: ejLineFlow 6s ease-in-out infinite;
}
@keyframes ejLineFlow {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; box-shadow: 0 0 14px rgba(96, 165, 250, 0.35); }
}

.ej-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 0.65rem;
}

.ej-node__button {
  font: inherit;
  width: 96px;     /* up from 64 */
  height: 96px;
  border-radius: 50%;
  background: rgba(15, 25, 42, 0.95);
  border: 2px solid rgba(96, 165, 250, 0.55);
  color: var(--color-accent-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;  /* up from 1.4 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
  box-shadow: 0 0 0 8px rgba(15, 25, 42, 0.85); /* mask line behind node */
  position: relative;
}
.ej-node__button:hover,
.ej-node__button:focus-visible {
  background: rgba(96, 165, 250, 0.18);
  border-color: rgba(96, 165, 250, 0.95);
  transform: scale(1.06);
  box-shadow:
    0 0 0 8px rgba(15, 25, 42, 0.85),
    0 0 36px rgba(96, 165, 250, 0.40);
  outline: none;
  color: #fff;
}
.ej-node__button.is-active {
  background: rgba(96, 165, 250, 0.28);
  border-color: rgba(96, 165, 250, 1);
  color: #fff;
  transform: scale(1.10);
  box-shadow:
    0 0 0 8px rgba(15, 25, 42, 0.85),
    0 0 50px rgba(96, 165, 250, 0.55);
}

/* Glowing downward beam from the active circle — pulses to suggest energy flow */
.ej-node__button.is-active::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  width: 2px;
  height: 22px;
  background: linear-gradient(to bottom,
    rgba(96, 165, 250, 1) 0%,
    rgba(96, 165, 250, 0.20) 100%);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.7);
  border-radius: 1px;
  animation: ejBeamPulse 1.6s ease-in-out infinite;
}
@keyframes ejBeamPulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scaleY(0.9); }
  50%      { opacity: 1;    transform: translateX(-50%) scaleY(1.05); }
}

.ej-node__name {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.12rem;   /* up from 0.92 */
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 180px;
}

.ej-node__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.32rem;
  max-width: 200px;
}
.ej-tag-pill {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.18rem 0.6rem;
  background: rgba(96, 165, 250, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
}

/* Detail panel — fit-content width, shifted horizontally to sit near the clicked
   circle (JS sets --ej-offset and --connector-x). A glowing arrow tail on top
   points at the active circle, with the active circle's downward beam reaching
   toward it. */
.ej-detail {
  width: fit-content;
  width: -moz-fit-content;
  max-width: min(560px, 100%);
  min-width: 280px;
  margin: 2.5rem auto 0;
  position: relative;
  left: var(--ej-offset, 0px);
  background: rgba(96, 165, 250, 0.055);
  backdrop-filter: blur(4px) saturate(150%);
  -webkit-backdrop-filter: blur(4px) saturate(150%);
  border: 1px solid rgba(96, 165, 250, 0.50);
  border-radius: 12px;
  padding: 1.6rem 1.8rem 1.7rem;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(96, 165, 250, 0.22);
  animation: sjFade 0.25s ease;
}
/* Glowing arrow tail on top — positioned by JS at the active circle's X */
.ej-detail::before {
  content: '';
  position: absolute;
  top: -9px;
  left: var(--connector-x, 50%);
  width: 16px;
  height: 16px;
  background: rgba(96, 165, 250, 0.16);
  border-top: 1px solid rgba(96, 165, 250, 0.70);
  border-left: 1px solid rgba(96, 165, 250, 0.70);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: -3px -3px 14px rgba(96, 165, 250, 0.35);
  backdrop-filter: blur(4px) saturate(150%);
  -webkit-backdrop-filter: blur(4px) saturate(150%);
}
.ej-detail[hidden] { display: none; }
.ej-detail__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.ej-detail__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.ej-detail__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 0.45rem;
}
.ej-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.7rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.ej-detail__body {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.85rem;
}
.ej-detail__includes {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0;
}
.ej-detail__includes li {
  padding: 0.4rem 0 0.4rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
}
.ej-detail__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-soft);
}
.ej-detail__timeline {
  font-size: 0.88rem;
  color: var(--color-accent-soft);
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-style: italic;
}

/* Alongside chips */
.ej-alongside {
  max-width: 1080px;
  margin: 2.75rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.13);
  text-align: center;
}
.ej-alongside__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light, #cbd5e1);
  margin-bottom: 1rem;
}
.ej-chips {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ej-chip {
  font: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ej-chip:hover,
.ej-chip:focus-visible {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.55);
  color: #fff;
  outline: none;
}
.ej-chip.is-active {
  background: rgba(96, 165, 250, 0.22);
  border-color: rgba(96, 165, 250, 0.85);
  color: #fff;
}

.ej-cross {
  max-width: 1080px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-light, #cbd5e1);
}
.ej-cross a { color: var(--color-accent-soft); text-decoration: underline; }

/* Mobile: stack nodes vertically with a left-side connecting line */
@media (max-width: 760px) {
  .ej-nodes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ej-nodes::before {
    left: 48px;
    right: auto;
    top: 48px;
    bottom: 48px;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom,
      rgba(96, 165, 250, 0.30) 0%,
      rgba(96, 165, 250, 0.85) 100%);
  }
  .ej-node {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem 1rem;
    text-align: left;
  }
  .ej-node__name {
    margin-top: 0;
    text-align: left;
    max-width: none;
  }
  .ej-node__tags {
    flex-basis: calc(100% - 96px - 1rem);
    justify-content: flex-start;
    margin-left: 0;
    max-width: none;
  }
  .ej-axis { display: none; }
  .ej-detail {
    left: 0 !important;   /* override JS offset on mobile */
    margin-left: auto;
    margin-right: auto;
  }
  .ej-detail::before {
    left: 50% !important; /* arrow stays centered on mobile */
  }
}

/* === Hero photo block: photo spans hero + first narrative row ===
   Photo and overlay sit at negative z-index (behind body's particle canvas at z-index 0)
   while the hero/narrative content sits above particles at z-index 1.
   Layering back-to-front: body bg → photo → overlay → particles → content.
   Photo image set via inline style="background-image: url('...')" on .hpb-photo;
   per-page opacity also via inline style if needed. */
.hero-photo-block {
  position: relative;
  overflow: hidden; /* clip the photo strictly to hero + first narrative row */
}
.hpb-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.hpb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8, 18, 34, 0.35) 0%,
      rgba(8, 18, 34, 0.25) 35%,
      rgba(8, 18, 34, 0.55) 80%,
      rgba(8, 18, 34, 0.75) 100%),
    linear-gradient(180deg,
      rgba(8, 18, 34, 0.10) 0%,
      rgba(8, 18, 34, 0.45) 100%);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 760px) {
  .hpb-photo {
    background-position: 30% center;
    opacity: 0.55 !important;
  }
}

/* === Axes grid (how-we-work) — 7 small numbered cards === */
.axes-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.7rem;
}
.axis-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.axis-card:hover {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-2px);
}
.axis-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  background: rgba(96, 165, 250, 0.15);
  color: var(--color-accent-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 4px;
}
.axis-card__name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.axis-card__desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text-light, #cbd5e1);
}
@media (max-width: 1000px) {
  .axes-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .axes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Contact form: multi-select interest grid === */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.interest-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-size: 0.9rem;
  line-height: 1.35;
}
.interest-option:hover {
  background: rgba(96, 165, 250, 0.07);
  border-color: rgba(96, 165, 250, 0.30);
}
.interest-option input[type="checkbox"] {
  margin-top: 0.20rem;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  width: 0.95rem;
  height: 0.95rem;
}
.interest-option:has(input[type="checkbox"]:checked) {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.55);
}
.interest-option span { display: block; }
.interest-option small {
  color: var(--color-text-light, #cbd5e1);
  font-size: 0.78rem;
  display: block;
  margin-top: 0.2rem;
}
.form-group__label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
}
@media (max-width: 600px) {
  .interest-grid { grid-template-columns: 1fr; }
}

/* === Contact form: success / error banner === */
.contact-message {
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  border: 1px solid;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.contact-message[hidden] { display: none; }
.contact-message strong { display: block; margin-bottom: 0.15rem; font-weight: 700; }
.contact-message a { color: inherit; text-decoration: underline; }
.contact-message--success {
  background: rgba(96, 165, 250, 0.10);
  border-color: rgba(96, 165, 250, 0.50);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.20);
}
.contact-message--error {
  background: rgba(217, 119, 6, 0.10);
  border-color: rgba(217, 119, 6, 0.50);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 30px rgba(217, 119, 6, 0.18);
}

/* =============================================
   REDUCED MOTION — respects OS preference
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  .text-reveal .char,
  .text-reveal.revealed .char {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal-item {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
