/* === Clara Futura — Our Approach === */

/* Hide nav when inside iframe */
body.in-iframe .nav { display: none; }
/* CRITICAL: In a scrolling="no" iframe with large fixed height, vh units
   reference the iframe height (e.g. 6800px), not the user's viewport.
   Use fixed px values instead of vh for hero sizing in iframe mode. */
body.in-iframe .hero { padding-top: 1rem; min-height: 500px; max-height: 650px; padding-bottom: 2rem; }
body.in-iframe .hero h1 { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.5rem); margin-bottom: 1rem; }
body.in-iframe .hero-sub { font-size: clamp(0.95rem, 0.8rem + 0.4vw, 1.125rem); }
body.in-iframe .scroll-indicator { position: relative; bottom: auto; margin-top: 1.5rem; }
body.in-iframe { overflow-x: hidden; overflow-y: auto; }
/* In iframe: IntersectionObserver is unreliable — force all cards and SVG elements visible */
body.in-iframe .lit-label-card,
body.in-iframe .lir-card,
body.in-iframe .da-card,
body.in-iframe .practice-card,
body.in-iframe .service-card {
  opacity: 1 !important;
  transform: none !important;
}
/* In iframe mode, JS converts SVG opacity="0" attributes to CSS style.opacity
   and uses transitions for smooth fading. This works in all browsers. */
body.in-iframe .lit-svg *,
body.in-iframe .lir-svg * {
  transition: opacity 0.6s ease-out;
}
/* Exclude pulse/glow elements from CSS transition — GSAP controls their ongoing loops */
body.in-iframe .lit-core-pulse,
body.in-iframe .lir-pulse-actual,
body.in-iframe .lir-pulse-potential {
  transition: none;
}

:root {
  --deep-navy: #0C2137;
  --surface: #122C45;
  --surface-2: #183552;
  --amber: #F2B54D;
  --silver: #A4AEB7;
  --cream: #E8E5DD;
  --muted: #B5BEC6;
  --faint: #7A8A98;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--deep-navy);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(12, 33, 55, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(164, 174, 183, 0.1);
}
.nav-logo img {
  height: 45px;
  width: auto;
}
.nav-back {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: color 180ms var(--ease-out);
}
.nav-back:hover { color: var(--amber); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,33,55,0.25) 0%, rgba(12,33,55,0.55) 100%);
  pointer-events: none;
}
.cf-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
  opacity: 1;
}
/* === Full-body constellation canvas (shared with homepage) === */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .cf-particle-canvas { display: none; }
  #particleCanvas { display: none; }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
/* Hero text starts hidden, JS adds .hero-ready to reveal */
.hero .label,
.hero h1,
.hero-sub,
.scroll-indicator {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hero-ready .label,
.hero-ready h1,
.hero-ready .hero-sub,
.hero-ready .scroll-indicator {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.hero h1 {
  font-size: clamp(3rem, 1.5rem + 5vw, 5.5rem);
  font-weight: 500;
  color: var(--amber);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  color: var(--cream);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--amber) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* === Labels === */
.label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
/* Hero eyebrow "How We Work" — white per request */
.hero .label {
  color: #FFFFFF;
}

/* === Sections === */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.section-dark {
  position: relative;
  z-index: 1;
  background: var(--deep-navy);
}
.section-surface {
  background: var(--surface);
}
.section h2 {
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.prose p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}
.prose p.lead {
  font-size: 1.1875rem;
  color: var(--cream);
  line-height: 1.75;
}

/* === Paper reference === */
.paper-ref {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(242, 181, 77, 0.06);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  color: var(--silver) !important;
  font-size: 0.9375rem !important;
  font-style: italic;
}
.paper-ref em {
  color: var(--cream);
  font-style: italic;
}

/* === LIT Diagram === */
.lit-diagram-wrap {
  margin: 3rem 0;
}
.lit-diagram {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.lit-svg {
  width: 100%;
  height: auto;
}
.lit-ring-label {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.lit-ring-sublabel {
  fill: var(--silver);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}
/* Labels inside each ring band — curved gold text + icons */
.lit-inner-label {
  transition: opacity 400ms ease;
}
.lit-label-text {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Size scale: outer rings get larger text, inner rings smaller — enlarged diagram */
.lit-label-ring5 { font-size: 22px; letter-spacing: 0.28em; }
.lit-label-ring4 { font-size: 18px; letter-spacing: 0.24em; }
.lit-label-ring3 { font-size: 15px; letter-spacing: 0.20em; }
.lit-label-ring2 { font-size: 13px; letter-spacing: 0.18em; }
.lit-label-ring1 { font-size: 11px; letter-spacing: 0.14em; }
/* Core Ethics label */
.lit-core-label {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.lit-core-sub {
  fill: var(--silver);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}
/* Wave dividers for Our Approach */
.wave-divider-oa {
  width: 100%;
  height: 60px;
  overflow: hidden;
  margin: -1px 0;
  position: relative;
  z-index: 1;
}
.wave-divider-oa svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* LIT Label Cards */
.lit-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.lit-label-card {
  background: var(--surface-2);
  border: 1px solid rgba(164, 174, 183, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.lit-label-card:hover {
  border-color: rgba(242, 181, 77, 0.6);
  background: rgba(24, 53, 82, 0.85);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.25), 0 10px 32px rgba(242, 181, 77, 0.18), 0 0 40px rgba(242, 181, 77, 0.12);
  transform: translateY(-2px);
}
.lit-label-card:last-child {
  grid-column: 1 / -1;
}
.lit-label-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.lit-num {
  font-size: 0.6875rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.lit-label-card h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0.25rem 0 0.375rem;
}
.lit-label-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* === LIR Diagram === */
.lir-diagram-wrap {
  margin: 3rem 0 2rem;
}
.lir-diagram {
  max-width: 700px;
  margin: 0 auto;
}
.lir-svg {
  width: 100%;
  height: auto;
}
.lir-pole-label {
  fill: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lir-pole-sub {
  fill: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
}
.lir-centre-label {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* LIR Cards */
.lir-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.lir-card {
  background: var(--surface-2);
  border: 1px solid rgba(164, 174, 183, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.lir-card:hover {
  border-color: rgba(242, 181, 77, 0.6);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.25), 0 10px 32px rgba(242, 181, 77, 0.18), 0 0 40px rgba(242, 181, 77, 0.12);
  transform: translateY(-2px);
}
.lir-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.lir-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.lir-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === Dynamic Alignment Diagram === */
.da-diagram-wrap {
  margin: 3rem 0 2rem;
}
.da-diagram {
  max-width: 700px;
  margin: 0 auto;
}
.da-svg {
  width: 100%;
  height: auto;
}
.da-quad-title {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.da-quad-desc {
  fill: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}
.da-centre-label {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.da-pulse {
  animation: daPulse 3s ease-in-out infinite;
}
@keyframes daPulse {
  0%, 100% { r: 45; opacity: 0.4; }
  50% { r: 60; opacity: 0; }
}

/* Centre aura — bright radial breathing glow */
.da-aura-breath {
  transform-origin: 350px 250px;
  transform-box: fill-box;
  animation: daAuraBreath 3.4s ease-in-out infinite;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
@keyframes daAuraBreath {
  0%, 100% { transform: scale(0.85); opacity: 0.75; }
  50%      { transform: scale(1.45); opacity: 1; }
}

/* Inner bright core — tight hot-spot that pulses a touch faster */
.da-aura-core {
  transform-origin: 350px 250px;
  transform-box: fill-box;
  animation: daAuraCore 3.4s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.9;
  will-change: transform, opacity;
}
@keyframes daAuraCore {
  0%, 100% { transform: scale(0.75); opacity: 0.7; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* Centre disc — brighter inner pulse in sync with aura */
.da-centre-disc {
  animation: daDiscGlow 3.4s ease-in-out infinite;
}
@keyframes daDiscGlow {
  0%, 100% { fill: rgba(242,181,77,0.18); stroke-width: 1.8; }
  50%      { fill: rgba(255,220,140,0.45); stroke-width: 2.8; }
}

/* Expanding ripple rings — brighter, more visible outward waves */
.da-ripple {
  transform-origin: 350px 250px;
  transform-box: fill-box;
  animation: daRipple 3.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  will-change: transform, opacity;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(242,181,77,0.6));
}
.da-ripple-1 { animation-delay: 0s; }
.da-ripple-2 { animation-delay: 0.85s; }
.da-ripple-3 { animation-delay: 1.7s; }
.da-ripple-4 { animation-delay: 2.55s; }
@keyframes daRipple {
  0%   { transform: scale(1);   opacity: 1; }
  60%  {                         opacity: 0.35; }
  100% { transform: scale(2.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .da-aura-breath, .da-aura-core, .da-centre-disc, .da-ripple { animation: none !important; }
  .da-ripple { opacity: 0 !important; }
}

/* DA Cards */
.da-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.da-card {
  background: var(--surface);
  border: 1px solid rgba(164, 174, 183, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.da-card:hover {
  border-color: rgba(242, 181, 77, 0.6);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.25), 0 10px 32px rgba(242, 181, 77, 0.18), 0 0 40px rgba(242, 181, 77, 0.12);
  transform: translateY(-2px);
}
.da-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.da-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.da-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === Practice Grid === */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.practice-card {
  background: var(--surface-2);
  border: 1px solid rgba(164, 174, 183, 0.12);
  border-radius: 14px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.practice-card:hover {
  border-color: rgba(242, 181, 77, 0.6);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.25), 0 10px 32px rgba(242, 181, 77, 0.18), 0 0 48px rgba(242, 181, 77, 0.14);
  transform: translateY(-3px);
}
.practice-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.practice-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.practice-icon svg {
  width: 100%;
  height: 100%;
}
.practice-card h4 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.practice-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === CTA Block === */
.cta-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(164, 174, 183, 0.15);
  text-align: center;
}
.tagline {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--silver);
  margin-bottom: 1rem;
}
.cta-link {
  display: inline-block;
  color: var(--amber);
  font-size: 1.0625rem;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(242, 181, 77, 0.4);
  border-radius: 8px;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.cta-link:hover {
  background: rgba(242, 181, 77, 0.1);
  border-color: var(--amber);
}

/* === Footer === */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(164, 174, 183, 0.1);
  background: var(--deep-navy);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  font-size: 0.8125rem;
  color: var(--faint);
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--faint);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.footer-links a:hover { color: var(--amber); }

/* === Responsive === */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .lit-labels { grid-template-columns: 1fr; }
  .lit-label-card:last-child { grid-column: auto; }
  .lir-cards { grid-template-columns: 1fr; }
  .da-cards { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
  .nav { padding: 0.75rem 1.25rem; }
  .nav-logo img { height: 36px; }
}

@media (max-width: 480px) {
  .hero { min-height: 80vh; padding: 5rem 1.25rem 3rem; }
  body.in-iframe .hero { min-height: 400px; max-height: 550px; padding: 0.5rem 1.25rem 2rem; }
  .hero h1 { font-size: 2.5rem; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-line { animation: none; opacity: 0.5; }
  .da-pulse { animation: none; }
  .lit-label-card, .lir-card, .da-card, .practice-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   === Ambient Music Button (bottom-right)
   ============================================================ */
.ambient-music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(242,181,77,0.5);
  background: rgba(12,33,55,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  outline: none;
}
.ambient-music-btn:hover {
  border-color: #F2B54D;
  background: rgba(242,181,77,0.15);
  transform: scale(1.08);
}
.ambient-music-btn:active { transform: scale(0.95); }
.ambient-icon { width: 18px; height: 18px; }
.ambient-icon-play { margin-left: 2px; }

.ambient-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(242,181,77,0.4);
  transform: translate(-50%, -50%) scale(1);
  animation: ambientPulse 2.5s ease-out infinite;
  pointer-events: none;
}
.ambient-pulse-ring-2 { animation-delay: 1.25s; }
.ambient-music-btn.is-playing .ambient-pulse-ring { border-color: rgba(242,181,77,0.6); }
@keyframes ambientPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Adjust slightly in iframe embed */
body.in-iframe .ambient-music-btn {
  bottom: 16px;
  right: 16px;
}

@media (max-width: 600px) {
  .ambient-music-btn {
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
  body.in-iframe .ambient-music-btn {
    bottom: 10px;
    right: 10px;
  }
  .ambient-icon { width: 14px; height: 14px; }
}

/* ============================================================
   === Custom Amber Cursor (circle + dot)
   ============================================================ */
.cf-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: #F2B54D;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity .3s, background .3s, width .25s, height .25s;
  box-shadow: 0 0 12px rgba(242, 181, 77, 0.7);
  opacity: 0;
}
.cf-cursor-outer {
  position: fixed;
  top: 0; left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 181, 77, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s, opacity .3s, width .25s, height .25s, background .25s;
  opacity: 0;
}
body.cf-cursor-ready .cf-cursor,
body.cf-cursor-ready .cf-cursor-outer { opacity: 1; }
body.cf-cursor-hover .cf-cursor-outer {
  border-color: rgba(242, 181, 77, 0.8);
  background: rgba(242, 181, 77, 0.08);
  width: 52px;
  height: 52px;
}
body.cf-cursor-hover .cf-cursor {
  background: #F5C870;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 18px rgba(242, 181, 77, 0.9);
}
@media (pointer: fine) {
  body.cf-cursor-ready,
  body.cf-cursor-ready a,
  body.cf-cursor-ready button,
  body.cf-cursor-ready [role="button"] {
    cursor: none;
  }
}
@media (pointer: coarse) {
  .cf-cursor, .cf-cursor-outer { display: none; }
}

/* ============================================================
   === RESTRAINT PASS (Apr 2026) — quiet music button on first screen
   ============================================================ */
.ambient-music-btn {
  opacity: 0.42;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, background 0.3s, transform 0.2s;
}
body.cf-scrolled .ambient-music-btn,
.ambient-music-btn:hover,
.ambient-music-btn:focus-visible {
  opacity: 1;
}
body:not(.cf-scrolled) .ambient-pulse-ring {
  animation-play-state: paused;
  opacity: 0;
}

/* ============================================================
   === Our Approach — Diagram Upgrades (Apr 2026)
   Block 1: Failure modes · Block 3: LIR pendulum
   Block 4: Human↔AI mirror · Block 5: Three-move loop
   Plus: method-bridge, da-three-moves, practice-tag support
   ============================================================ */

/* --- Method-bridge callout (used by LIT and LIR sections) --- */
.method-bridge {
  margin: 2rem auto 1.5rem;
  max-width: 760px;
  padding: 1.5rem 1.75rem;
  background: rgba(242, 181, 77, 0.04);
  border: 1px solid rgba(242, 181, 77, 0.22);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
}
.method-bridge--surface {
  background: rgba(164, 174, 183, 0.05);
  border-color: rgba(164, 174, 183, 0.25);
  border-left-color: var(--amber);
}
.method-bridge p { color: var(--cream); font-size: 0.97rem; margin-bottom: 0.6rem; }
.method-bridge p:last-child { margin-bottom: 0; }
.method-bridge-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem !important;
}
.method-bridge strong { color: var(--amber); font-weight: 600; }

/* --- Practice tags (in-practice grid back-reference) --- */
.practice-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(242, 181, 77, 0.08);
  border: 1px solid rgba(242, 181, 77, 0.25);
  border-radius: 4px;
  font-style: normal;
}

/* --- Block 1: Failure modes tri-card --- */
.failure-modes {
  margin: 3rem auto 0;
  max-width: 960px;
}
.failure-modes-label {
  text-align: center;
  margin-bottom: 1.75rem;
}
.failure-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fm-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--surface-2);
  border: 1px solid rgba(164, 174, 183, 0.18);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.fm-card {
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), opacity 500ms var(--ease-out);
}
.fm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 181, 77, 0.6);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.25), 0 10px 32px rgba(242, 181, 77, 0.18), 0 0 40px rgba(242, 181, 77, 0.12);
}
.fm-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.2rem;
}
.fm-card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0;
  line-height: 1.35;
}
.fm-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.fm-card[data-status="partial"] .fm-card-dot {
  background: #E8B04A;
  color: rgba(232, 176, 74, 0.5);
}
.fm-card[data-status="resolved"] .fm-card-dot {
  background: #F2B54D;
  color: rgba(242, 181, 77, 0.75);
}
.fm-card-claim {
  font-size: 0.88rem;
  color: var(--cream);
  line-height: 1.55;
  margin: 0;
}
.fm-card-gap {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.fm-card-gap em { color: var(--amber); font-style: normal; }
.fm-card-tag {
  margin: 0.5rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
}
.fm-card--lit {
  background: linear-gradient(180deg, rgba(242,181,77,0.06) 0%, var(--surface-2) 60%);
  border-color: rgba(242, 181, 77, 0.35);
}
.fm-card--lit:hover {
  border-color: rgba(242, 181, 77, 0.85);
  box-shadow: 0 0 0 1px rgba(242, 181, 77, 0.35), 0 12px 36px rgba(242, 181, 77, 0.25), 0 0 48px rgba(242, 181, 77, 0.18);
}
.fm-card--lit .fm-card-tag { color: var(--amber); }

/* --- Block 3: LIR pendulum tidal text --- */
.lir-pendulum-tick {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Block 4: Human↔AI mirror diagram --- */
.mirror-diagram-wrap { margin: 2.5rem 0 1.5rem; }
.mirror-diagram {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(164,174,183,0.14);
  background: rgba(18,44,69,0.35);
  transition: border-color 320ms ease, box-shadow 320ms ease, background-color 320ms ease, transform 320ms ease;
}
.mirror-diagram:hover,
.mirror-diagram:focus-within {
  border-color: rgba(242,181,77,0.6);
  background: rgba(24,53,82,0.55);
  box-shadow:
    0 0 0 1px rgba(242,181,77,0.28),
    0 14px 44px rgba(242,181,77,0.22),
    0 0 64px rgba(242,181,77,0.18);
  transform: translateY(-2px);
}
.mirror-diagram:hover .mirror-svg,
.mirror-diagram:focus-within .mirror-svg {
  filter: drop-shadow(0 0 10px rgba(242,181,77,0.35));
}
.mirror-svg {
  width: 100%;
  height: auto;
  transition: filter 320ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .mirror-diagram,
  .mirror-svg { transition: none; }
  .mirror-diagram:hover { transform: none; }
}
.mirror-col-head {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.mirror-col-human { fill: #C8D0D8; }
.mirror-col-ai { fill: var(--amber); }
.mirror-col-spine-head {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.mirror-cell-h, .mirror-cell-a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.mirror-cell-h { fill: var(--cream); }
.mirror-cell-a { fill: var(--cream); }
.mirror-cell-sub {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-style: italic;
}
.mirror-cell-ethical { fill: var(--amber); }
.mirror-spine-label {
  fill: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.mirror-spine-ethical { fill: var(--amber); }
.mirror-caption {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* In iframe mode, force SVG rows visible (pattern matches lit/lir) */
body.in-iframe .mirror-svg * { transition: opacity 0.6s ease-out; }

/* Mirror mobile fallback: stack as row list */
.mirror-fallback {
  display: none;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.mirror-fallback-row {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(164,174,183,0.18);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--surface-2);
}
.mirror-fallback-row--ethical {
  border-color: rgba(242,181,77,0.5);
  background: rgba(242,181,77,0.05);
}
.mfr-layer {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.55rem;
}
.mirror-fallback-row--ethical .mfr-layer { color: var(--amber); }
.mfr-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.mfr-side {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--cream);
}
.mfr-side em {
  display: inline-block;
  min-width: 3.25rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 0.5rem;
}
.mfr-human em { color: #C8D0D8; }
.mfr-ai em { color: var(--amber); }
.mirror-fallback-row--ethical .mfr-side { color: var(--cream); }
.mirror-fallback-caption {
  list-style: none;
  margin-top: 0.75rem;
  padding: 0;
  text-align: center;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--faint);
}

/* --- Block 5: Three-move loop diagram --- */
.da-three-moves {
  margin-top: 3rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(164,174,183,0.12);
}
.da-three-moves h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0.5rem 0 1.5rem;
}
.da-three-moves-close {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}
.da-three-moves-close strong { color: var(--amber); font-weight: 600; }
.loop-diagram-wrap { margin: 1.5rem 0 1rem; }
.loop-diagram {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(164,174,183,0.14);
  background: rgba(18,44,69,0.28);
  transition: border-color 320ms ease, box-shadow 320ms ease, background-color 320ms ease;
  position: relative;
}

/* Interactive nodes: pointer + focus ring */
.loop-node {
  cursor: pointer;
  transition: transform 260ms ease, filter 260ms ease;
  transform-origin: center;
  transform-box: fill-box;
  outline: none;
}
.loop-node:hover,
.loop-node:focus-visible {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(242,181,77,0.65));
}
.loop-node:focus-visible .loop-node-ring {
  stroke: #FFD98A;
  stroke-width: 2.4;
}

/* When any node is hovered/focused — pause waves, particles, return march */
.loop-diagram:has(.loop-node:hover) .loop-wave-main,
.loop-diagram:has(.loop-node:hover) .loop-wave-top,
.loop-diagram:has(.loop-node:hover) .loop-wave-bg,
.loop-diagram:has(.loop-node:hover) .loop-return-path,
.loop-diagram:has(.loop-node:hover) .loop-node-ring,
.loop-diagram:has(.loop-node:focus-visible) .loop-wave-main,
.loop-diagram:has(.loop-node:focus-visible) .loop-wave-top,
.loop-diagram:has(.loop-node:focus-visible) .loop-wave-bg,
.loop-diagram:has(.loop-node:focus-visible) .loop-return-path,
.loop-diagram:has(.loop-node:focus-visible) .loop-node-ring {
  animation-play-state: paused;
}
/* JS-controlled fallback class (for browsers without :has + for SMIL particles) */
.loop-diagram.is-paused .loop-wave-main,
.loop-diagram.is-paused .loop-wave-top,
.loop-diagram.is-paused .loop-wave-bg,
.loop-diagram.is-paused .loop-return-path,
.loop-diagram.is-paused .loop-node-ring {
  animation-play-state: paused;
}

/* Tooltip styling */
.loop-tooltip {
  position: absolute;
  top: 0;
  transform: translate(-50%, calc(-100% - 14px));
  min-width: 220px;
  max-width: 300px;
  padding: 0.75rem 0.95rem;
  background: rgba(12,33,55,0.97);
  border: 1px solid rgba(242,181,77,0.55);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.55), 0 0 24px rgba(242,181,77,0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 5;
}
.loop-tooltip::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(12,33,55,0.97);
  border-right: 1px solid rgba(242,181,77,0.55);
  border-bottom: 1px solid rgba(242,181,77,0.55);
}
/* Position each tooltip above its node centre.
   Positions are set in pixels by JS (positionTooltip) on the element’s
   `left` and `bottom`. We use transform to center horizontally and to nudge
   edge tooltips (#1 and #3) so they stay inside the diagram. */
.loop-tooltip { left: 50%; transform: translateX(-50%); }
.loop-tooltip-1 { transform: translateX(-20%); }
.loop-tooltip-3 { transform: translateX(-80%); }
.loop-tooltip-1::after { left: 20%; }
.loop-tooltip-3::after { left: 80%; }

.loop-tooltip .loop-tt-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 0.35rem;
}
.loop-tooltip .loop-tt-body {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--cream);
}
.loop-tooltip .loop-tt-body strong {
  color: var(--amber);
  font-weight: 600;
}

.loop-diagram:has(.loop-node-1:hover) .loop-tooltip-1,
.loop-diagram:has(.loop-node-1:focus-visible) .loop-tooltip-1,
.loop-diagram:has(.loop-node-2:hover) .loop-tooltip-2,
.loop-diagram:has(.loop-node-2:focus-visible) .loop-tooltip-2,
.loop-diagram:has(.loop-node-3:hover) .loop-tooltip-3,
.loop-diagram:has(.loop-node-3:focus-visible) .loop-tooltip-3 {
  opacity: 1;
  visibility: visible;
}
/* JS fallback */
.loop-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}
.loop-diagram:hover,
.loop-diagram:focus-within {
  border-color: rgba(242,181,77,0.45);
  background: rgba(24,53,82,0.45);
  box-shadow: 0 0 0 1px rgba(242,181,77,0.22), 0 12px 40px rgba(242,181,77,0.16);
}
.loop-svg { width: 100%; height: auto; overflow: visible; }
.loop-num {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.loop-title {
  fill: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Wave frequency animation ---- */
.loop-wave-main,
.loop-wave-top {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: loopWaveDraw 3.6s linear infinite;
}
.loop-wave-top { animation-delay: 0.9s; opacity: 0.85; }
.loop-wave-bg {
  animation: loopWaveBreath 3.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.loop-wave-2 .loop-wave-main { animation-delay: 0.6s; }
.loop-wave-2 .loop-wave-top  { animation-delay: 1.5s; }
.loop-wave-2 .loop-wave-bg   { animation-delay: 0.6s; }

@keyframes loopWaveDraw {
  0%   { stroke-dashoffset: 520; opacity: 0.2; }
  15%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { stroke-dashoffset: -520; opacity: 0.2; }
}
@keyframes loopWaveBreath {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}

/* Particles — soft glow */
.loop-particle {
  filter: drop-shadow(0 0 6px rgba(242,181,77,0.85));
}

/* Return arc: dashed line marching */
.loop-return-path {
  animation: loopReturnMarch 8s linear infinite;
}
@keyframes loopReturnMarch {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -200; }
}

/* Node ring: soft breathing pulse */
.loop-node-ring {
  animation: loopNodeBreath 4.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.loop-node-2 .loop-node-ring { animation-delay: 1.4s; }
.loop-node-3 .loop-node-ring { animation-delay: 2.8s; }
@keyframes loopNodeBreath {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(242,181,77,0)); }
  50%      { filter: drop-shadow(0 0 14px rgba(242,181,77,0.55)); }
}

@media (prefers-reduced-motion: reduce) {
  .loop-wave-main, .loop-wave-top, .loop-wave-bg,
  .loop-return-path, .loop-node-ring { animation: none !important; }
  .loop-wave-main, .loop-wave-top { stroke-dashoffset: 0; }
  .loop-particle animateMotion { display: none; }
}
.loop-badge-label {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.loop-badge-name {
  fill: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
}
.loop-src {
  fill: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.loop-eri-label {
  fill: var(--faint);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.05em;
}
body.in-iframe .loop-svg * { transition: opacity 0.6s ease-out; }

/* Loop mobile fallback: vertical list, hidden on desktop */
.loop-fallback {
  display: none;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.loop-fallback li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(164,174,183,0.12);
}
.loop-fallback li:first-child { border-top: 0; }
.loop-fallback-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.12em;
}
.loop-fallback h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 0.35rem;
}
.loop-fallback p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.loop-fallback-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(242,181,77,0.08);
  border: 1px solid rgba(242,181,77,0.3);
  border-radius: 20px;
}

/* --- Responsive: Block 1 + Block 4 + Block 5 --- */
@media (max-width: 768px) {
  .failure-modes-grid { grid-template-columns: 1fr; }
  .mirror-svg { font-size: 10px; }
}

@media (max-width: 640px) {
  /* Block 5: switch to vertical fallback, hide SVG */
  .loop-diagram { display: none; }
  .loop-fallback { display: block; }

  /* Block 4: swap mirror SVG for vertical stacked row list */
  .mirror-diagram { display: none; }
  .mirror-fallback { display: block; }
  .mirror-diagram-wrap { margin: 1.5rem 0 0; }

  .method-bridge { padding: 1.25rem 1.15rem; }
  .fm-card { padding: 1.25rem 1.15rem; }
}

@media (max-width: 480px) {
  .fm-card h4 { font-size: 0.88rem; }
}

/* Reduced motion: freeze pendulum */
@media (prefers-reduced-motion: reduce) {
  .lir-pendulum-bob animateTransform,
  .loop-arrow-return,
  .mirror-row { animation: none !important; }
  .lir-pendulum-bob { transform: translate(350px, 340px); }
}

/* ===== Preprint intro note (exec summary) ===== */
.preprint-note {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--amber);
  background: rgba(242, 181, 77, 0.06);
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.65;
  border-radius: 0 6px 6px 0;
}
.preprint-note em {
  color: #fff;
  font-style: italic;
  font-weight: 500;
}
.preprint-note a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 181, 77, 0.35);
  transition: border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.preprint-note a:hover {
  color: #fff;
  border-bottom-color: var(--amber);
}
@media (max-width: 640px) {
  .preprint-note { font-size: 0.9rem; padding: 0.9rem 1rem; }
  .preprint-note a { white-space: normal; }
}

/* ===== Mid-page paper callout ===== */
.paper-callout-section { padding: 3rem 0; }
.paper-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(24, 53, 82, 0.55), rgba(18, 44, 69, 0.75));
  border: 1px solid rgba(242, 181, 77, 0.28);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}
.paper-callout-mark {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--amber);
  border: 1px solid rgba(242, 181, 77, 0.4);
  border-radius: 8px;
  background: rgba(242, 181, 77, 0.05);
}
.paper-callout-body .label {
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.paper-callout-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.paper-callout-body p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
}
.paper-callout-meta {
  font-size: 0.88rem !important;
  color: var(--silver) !important;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(181, 190, 198, 0.15);
}
.paper-callout-meta em { color: var(--cream); font-style: italic; }
.paper-callout-cta,
a.paper-callout-cta {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem !important;
  padding: 1rem 1.75rem !important;
  color: #0C2137 !important;
  background-color: #F2B54D !important;
  background-image: linear-gradient(135deg, #F5C870 0%, #F2B54D 55%, #E8A437 100%) !important;
  border: 1px solid #F5C870 !important;
  border-radius: 6px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow:
    0 0 0 1px rgba(242, 181, 77, 0.35),
    0 6px 20px rgba(242, 181, 77, 0.38),
    0 0 44px rgba(242, 181, 77, 0.22) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-image 0.3s ease, letter-spacing 0.3s ease;
  animation: paperCtaPulse 3.2s ease-in-out infinite;
}
.paper-callout-cta::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  border: 1px solid rgba(242, 181, 77, 0.28);
  opacity: 0.6;
  pointer-events: none;
}
.paper-callout-cta:hover,
a.paper-callout-cta:hover,
.paper-callout-cta:focus,
a.paper-callout-cta:focus {
  background-image: linear-gradient(135deg, #FFD585 0%, #F7C46A 55%, #F2B54D 100%) !important;
  color: #0C2137 !important;
  transform: translateY(-2px);
  letter-spacing: 0.04em !important;
  box-shadow:
    0 0 0 1px rgba(242, 181, 77, 0.6),
    0 10px 28px rgba(242, 181, 77, 0.5),
    0 0 60px rgba(242, 181, 77, 0.35) !important;
  text-decoration: none !important;
  animation-play-state: paused;
}
@keyframes paperCtaPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(242, 181, 77, 0.35),
      0 6px 20px rgba(242, 181, 77, 0.38),
      0 0 44px rgba(242, 181, 77, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(242, 181, 77, 0.55),
      0 8px 28px rgba(242, 181, 77, 0.48),
      0 0 72px rgba(242, 181, 77, 0.36);
  }
}
@media (prefers-reduced-motion: reduce) {
  .paper-callout-cta { animation: none !important; }
}
@media (max-width: 640px) {
  .paper-callout-cta,
  a.paper-callout-cta {
    display: flex !important;
    justify-content: center;
    width: 100%;
    padding: 1.05rem 1.25rem !important;
    font-size: 1rem !important;
  }
}
@media (max-width: 640px) {
  .paper-callout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }
  .paper-callout-mark { width: 48px; height: 48px; }
  .paper-callout-title { font-size: 1.15rem; }
  .paper-callout-body p { font-size: 0.92rem; }
}

/* === Layered Intelligence credo (founder statement) === */
.lit-credo-section {
  padding: 7rem 0;
  position: relative;
}
.lit-credo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--amber);
  opacity: 0.55;
}
.lit-credo {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.lit-credo .label {
  text-align: left;
  margin-bottom: 1.25rem;
}
.section.lit-credo-section h2.lit-credo-heading,
.lit-credo-heading {
  font-size: clamp(1.85rem, 1.2rem + 1.6vw, 2.65rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  max-width: 640px;
}
.lit-credo-prose p {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.lit-credo-prose p:last-child { margin-bottom: 0; }

/* Pulled-out standout block: "speed vs safety" tensions */
.lit-credo-pull {
  margin: 2.25rem 0 2.25rem;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--amber);
}
.lit-credo-tensions {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.lit-credo-tensions li {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.05rem);
  line-height: 1.2;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.lit-credo-tensions .t-a,
.lit-credo-tensions .t-b {
  color: var(--cream);
}
.lit-credo-tensions .t-vs {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.lit-credo-pull-coda {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
  font-weight: 400;
  font-style: italic;
  opacity: 0.92;
}

.lit-credo-coda {
  margin-top: 3.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(242, 181, 77, 0.35);
}
.lit-credo-coda-line {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-style: italic;
  font-weight: 400;
}
.lit-credo-coda-emph {
  color: var(--amber);
  font-style: normal;
  font-weight: 500;
  font-size: 1.55rem;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .lit-credo-section { padding: 4.5rem 0; }
  .lit-credo-heading { font-size: 1.7rem; margin-bottom: 1.75rem; }
  .lit-credo-prose p { font-size: 1.1rem; line-height: 1.6; }
  .lit-credo-coda-line { font-size: 1.2rem; }
  .lit-credo-coda-emph { font-size: 1.3rem; }
  .lit-credo-pull { padding-left: 1.1rem; margin: 1.6rem 0; }
  .lit-credo-tensions li { font-size: 1.4rem; gap: 0.6rem; }
  .lit-credo-pull-coda { font-size: 1.05rem; }
}
