/* ============================================================
   MOYNE ROSS — Capital Strategy
   Stylesheet v2.0 | moyneross.com
   ============================================================ */

/* ============ DESIGN TOKENS ============ */
:root {
  --dark: #1a2530;
  --dark-deeper: #141d26;
  --dark-mid: #2E3F4B;
  --dark-accent: #3D5362;
  --teal: #4A9B9B;
  --teal-hover: #5bb0b0;
  --teal-light: rgba(74, 155, 155, 0.15);
  --teal-glow: rgba(74, 155, 155, 0.08);
  --text-primary: #e8e6e1;
  --text-secondary: #c4bfb6;
  --text-muted: #94aab9;
  --text-dim: rgba(148, 170, 185, 0.5);
  --row-alt: rgba(247, 249, 250, 0.04);
  --border: rgba(143, 163, 176, 0.12);
  --border-hover: rgba(74, 155, 155, 0.3);
  --impact-red: #E74C3C;
  --impact-amber: #F39C12;
  --impact-yellow: #F0D264;
  --impact-green: #27AE60;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --max-width: 1200px;
  --nav-height: 68px;
  --transition: 0.3s ease;
  --radius: 6px;
  --radius-lg: 10px;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Safe-area support for newer iPhones */
@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h1 em, h2 em { font-style: italic; color: var(--text-muted); }
.hero h1 em {
  position: relative;
  display: inline;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}
section {
  padding: 120px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
.section-divider { border-top: 1px solid var(--border); }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--dark);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), transform 0.15s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:active { transform: translateY(0); }

/* All hover effects only for devices with a real pointer (prevents double-tap on touch) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--teal-hover); transform: translateY(-1px); }
  .btn-secondary-outline:hover { background: rgba(74, 155, 155, 0.1); color: var(--teal-hover); border-color: var(--teal-hover); transform: translateY(-1px); }
  .orbit-mobile-cta .btn-primary:hover,
  .why .btn-secondary-outline:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: var(--dark); }
}
.btn-secondary-outline {
  display: inline-block;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
  margin-top: 24px;
}
/* btn-secondary-outline hover moved to @media (hover: hover) block */

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  padding: 13px 31px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid var(--teal);
  cursor: pointer;
  text-align: center;
}
.btn-secondary:hover {
  background: var(--teal-light);
  border-color: var(--teal-hover);
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 37, 48, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
nav.scrolled {
  background: rgba(20, 29, 38, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 4px;
}
nav .nav-logo .nav-logo-text {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--dark) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--teal-hover) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO ============ */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.jpg') center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 37, 48, 0.86) 0%,
    rgba(26, 37, 48, 0.73) 40%,
    rgba(26, 37, 48, 0.90) 75%,
    rgba(26, 37, 48, 1) 100%
  );
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 48px 80px;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 72px);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}
.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-insights-link,
.hero-insights-link:link,
.hero-insights-link:visited {
  font-size: 14px;
  font-weight: 500;
  color: #E8EAED;
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.hero-insights-link:hover {
  color: var(--teal);
}

/* ============ PROBLEM ============ */
.problem { padding-top: 80px; padding-bottom: 80px; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}
.problem-text + .problem-text { margin-top: 16px; }
.problem-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============ PROCESS ============ */
.process-header { text-align: center; margin-bottom: 80px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.step:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(74, 155, 155, 0.06);
}
.step-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 12px; }
.step p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ PROCESS FLOW GRAPHIC ============ */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  padding: 0 24px;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.flow-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  transition: all var(--transition);
  overflow: hidden;
  flex-shrink: 0;
}
.flow-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.flow-connector {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(74, 155, 155, 0.3));
  position: relative;
  margin-bottom: 36px;
}
.flow-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0; height: 0;
  border-left: 6px solid var(--teal);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.5;
}

/* ============ ORBIT SECTION ============ */
.orbit-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}
.orbit-header { text-align: center; margin-bottom: 28px; padding: 0 24px; box-sizing: border-box; }
.orbit-header p {
  font-size: 14px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}
.orbit-container {
  position: relative;
  width: 720px;
  height: 720px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 580px; height: 580px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border);
  border-radius: 50%;
}

/* Register graphic */
.centre {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.register-graphic {
  width: 220px;
  background: rgba(20, 32, 42, 0.95);
  border: 1px solid rgba(143, 163, 176, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
}
.reg-title-bar {
  background: var(--dark-mid);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.reg-title-bar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.reg-title-bar span {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reg-headers {
  display: grid;
  grid-template-columns: 2.5fr 2fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  padding: 4px 6px;
  background: var(--dark-accent);
}
.reg-headers span {
  font-size: 5px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px;
}
.reg-section {
  background: var(--dark-mid);
  padding: 3px 6px;
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reg-row {
  display: grid;
  grid-template-columns: 2.5fr 2fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  padding: 3px 6px;
}
.reg-row.alt { background: var(--row-alt); }
.reg-row .element {
  font-size: 5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 0;
}
.impact-dot { width: 6px; height: 6px; border-radius: 50%; margin: 1px auto; }
.impact-4 { background: var(--impact-red); }
.impact-3 { background: var(--impact-amber); }
.impact-2 { background: var(--impact-yellow); }
.impact-1 { background: var(--impact-green); }
.cost-bar { height: 4px; border-radius: 1px; margin: 3px 2px; }
.cost-short { background: rgba(74, 155, 155, 0.6); }
.cost-med { background: rgba(74, 155, 155, 0.45); }
.cost-long { background: rgba(74, 155, 155, 0.3); }
.reg-footer {
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}
.reg-footer span {
  font-size: 6px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.reg-total { font-size: 9px !important; color: var(--text-primary) !important; font-weight: 600 !important; }
/* Mini charts in register graphic */
.reg-charts { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--border); align-items: center; }
.reg-mini-bars { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 40px; }
.reg-bar { flex: 1; background: linear-gradient(180deg, var(--teal), rgba(74,155,155,0.4)); border-radius: 1px 1px 0 0; min-height: 2px; }
.reg-bar-peak { background: linear-gradient(180deg, var(--impact-amber), rgba(243,156,18,0.4)); }
.reg-mini-donut { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--teal) 0deg 130deg, var(--impact-amber) 130deg 220deg, rgba(74,155,155,0.3) 220deg 300deg, var(--impact-yellow) 300deg 360deg); position: relative; flex-shrink: 0; }
.reg-mini-donut::after { content: ''; position: absolute; inset: 10px; background: rgba(20, 32, 42, 0.95); border-radius: 50%; }

/* Register graphic link wrapper */
.register-graphic-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}
.register-graphic-link:hover {
  transform: scale(1.02);
}
.register-graphic-link:hover .register-graphic {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(74, 155, 155, 0.15);
}
.reg-explore-hint {
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--teal);
  padding: 6px 0 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.register-graphic-link:hover .reg-explore-hint {
  opacity: 1;
}
.centre-label { margin-top: 20px; text-align: center; }
.centre-label .main { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
.centre-label .sub { font-size: 12px; font-weight: 300; color: var(--text-muted); margin-top: 4px; }

/* Persona nodes */
.persona {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 5;
}
.persona-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  margin: 0 auto 8px;
  transition: all var(--transition);
}
.persona-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
  transition: all var(--transition);
}
.persona:hover .persona-dot,
.persona.active .persona-dot {
  background: var(--text-primary);
  width: 10px; height: 10px;
  box-shadow: 0 0 20px rgba(74, 155, 155, 0.4);
}
.persona:hover .persona-label,
.persona.active .persona-label {
  color: var(--text-primary);
  font-weight: 500;
}
.connection-line {
  position: absolute;
  top: 50%; left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(74,155,155,0), rgba(74,155,155,0.12), rgba(74,155,155,0));
  transform-origin: left center;
  z-index: 1;
  transition: all var(--transition);
}
.connection-line.active {
  background: linear-gradient(90deg, rgba(74,155,155,0), rgba(74,155,155,0.35), rgba(74,155,155,0));
  height: 2px;
}
.copy-panel {
  margin-top: 16px;
  text-align: center;
  max-width: 520px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.copy-panel p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.copy-panel p.visible { opacity: 1; }
.copy-panel p strong { color: var(--text-primary); font-weight: 500; }

/* ============ 12 LAYERS ============ */
.layers-header { margin-bottom: 64px; }
.layers-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 12px;
}
.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.layer-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.layer-group:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
/* Colour-coded top accent bar */
.layer-group-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.layer-group--structure { border-color: rgba(74, 155, 155, 0.25); }
.layer-group--structure .layer-group-accent { background: var(--teal); }
.layer-group--structure .layer-group-icon { color: var(--teal); background: rgba(74, 155, 155, 0.08); border-color: rgba(74, 155, 155, 0.2); }
.layer-group--structure .layer-item-marker { background: var(--teal); }

.layer-group--systems { border-color: rgba(243, 156, 18, 0.2); }
.layer-group--systems .layer-group-accent { background: #D4944C; }
.layer-group--systems .layer-group-icon { color: #D4944C; background: rgba(212, 148, 76, 0.08); border-color: rgba(212, 148, 76, 0.2); }
.layer-group--systems .layer-item-marker { background: #D4944C; }

.layer-group--space { border-color: rgba(155, 135, 195, 0.2); }
.layer-group--space .layer-group-accent { background: #9B87C3; }
.layer-group--space .layer-group-icon { color: #9B87C3; background: rgba(155, 135, 195, 0.08); border-color: rgba(155, 135, 195, 0.2); }
.layer-group--space .layer-item-marker { background: #9B87C3; }

.layer-group-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.layer-group h3 { margin-bottom: 8px; }
.layer-group-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.layer-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.layer-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.layer-item-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 7px;
  transition: opacity var(--transition);
}
.layer-item:hover .layer-item-marker {
  opacity: 1;
}
.layer-item-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-primary);
}
.layer-item-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Layers mobile accordion */
.layers-mobile {
  display: none;
}
.layers-mobile-item {
  border: 1px solid var(--border);
  margin-bottom: -1px;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}
.layers-mobile-item:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.layers-mobile-item:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.layers-mobile-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.layers-mobile-item.active .layers-mobile-accent { opacity: 1; }
.layers-mobile-item--structure .layers-mobile-accent { background: var(--teal); }
.layers-mobile-item--systems .layers-mobile-accent { background: #D4944C; }
.layers-mobile-item--space .layers-mobile-accent { background: #9B87C3; }
.layers-mobile-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.layers-mobile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.layers-mobile-item--structure .layers-mobile-icon { color: var(--teal); background: rgba(74, 155, 155, 0.08); border-color: rgba(74, 155, 155, 0.2); }
.layers-mobile-item--systems .layers-mobile-icon { color: #D4944C; background: rgba(212, 148, 76, 0.08); border-color: rgba(212, 148, 76, 0.2); }
.layers-mobile-item--space .layers-mobile-icon { color: #9B87C3; background: rgba(155, 135, 195, 0.08); border-color: rgba(155, 135, 195, 0.2); }
.layers-mobile-icon svg { width: 18px; height: 18px; }
.layers-mobile-title {
  flex: 1;
}
.layers-mobile-title h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}
.layers-mobile-title p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 2px;
}
.layers-mobile-toggle {
  font-size: 16px;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}
.layers-mobile-item.active .layers-mobile-toggle {
  transform: rotate(45deg);
}
.layers-mobile-item--structure.active .layers-mobile-toggle { color: var(--teal); }
.layers-mobile-item--systems.active .layers-mobile-toggle { color: #D4944C; }
.layers-mobile-item--space.active .layers-mobile-toggle { color: #9B87C3; }
.layers-mobile-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.layers-mobile-item.active .layers-mobile-content {
  max-height: 400px;
}
.layers-mobile-content-inner {
  padding: 0 24px 20px;
}
.layers-mobile-layer {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.layers-mobile-layer-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.layers-mobile-layer-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
}

/* ============ WHY ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why h2 { margin-bottom: 24px; }
.why-text {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.why-text strong { color: var(--text-primary); font-weight: 500; }
.why-sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.why-sig-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.why-sig-title { font-size: 13px; color: var(--text-muted); font-weight: 300; }
.why-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 32px;
  overflow: hidden;
}
.why-image svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ PRICING ============ */
.pricing { text-align: center; }
.pricing-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 48px;
  margin-top: 8px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 40px;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(74, 155, 155, 0.06);
}
.pricing-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.pricing-card-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 4px;
}
.pricing-card-unit {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}
.pricing-card-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.pricing-card-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: var(--teal-glow);
  border: 1px solid rgba(74, 155, 155, 0.15);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}
.deliverable-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn-primary,
.pricing-card .btn-secondary { width: 100%; display: block; }
.pricing-portfolio {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}
.pricing-portfolio a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.pricing-portfolio a:hover { color: var(--teal-hover); }

/* ============ FAQ ============ */
.faq { max-width: 720px; }
.faq h2 { margin-bottom: 48px; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-question {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-toggle {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 16px;
}
.faq-answer p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ FOOTER ============ */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ COOKIE CONSENT (GDPR) ============ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cookie-overlay.show { display: block; }
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark-deeper);
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  z-index: 1000;
  display: none;
  animation: slideUp 0.4s ease forwards;
}
.cookie-banner.show { display: block; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.cookie-content { flex: 1; }
.cookie-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cookie-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cookie-text a { color: var(--teal); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.cookie-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.cookie-accept {
  background: var(--teal);
  color: var(--dark);
  border: none;
}
.cookie-accept:hover { background: var(--teal-hover); }
.cookie-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-reject:hover { border-color: var(--text-muted); color: var(--text-primary); }
.cookie-settings-btn {
  background: transparent;
  color: var(--teal);
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition);
  white-space: nowrap;
}
.cookie-settings-btn:hover { color: var(--teal-hover); }
/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1001;
  display: none;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-modal.show { display: block; }
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
}
.cookie-modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  background: transparent;
  border: none;
  font-family: inherit;
}
.cookie-modal-close:hover { background: var(--dark-mid); color: var(--text-primary); }
.cookie-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cookie-modal-desc a { color: var(--teal); text-decoration: underline; }
.cookie-category {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
}
.cookie-category-info { flex: 1; }
.cookie-category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.cookie-category-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.cookie-always {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 10px;
  background: var(--teal-glow);
  border-radius: 20px;
  flex-shrink: 0;
}
/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--teal);
  border-color: var(--teal);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(20px);
  background: var(--dark);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* ============ LEGAL / CONTENT PAGES ============ */
.page-header {
  padding: calc(var(--nav-height) + 80px) 48px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 { font-size: clamp(28px, 4vw, 42px); }
.page-header .page-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.page-content {
  padding: 0 48px 120px;
  max-width: 800px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.page-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.page-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-content p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.page-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.page-content ul li {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
}
.page-content a { color: var(--teal); text-decoration: underline; transition: color var(--transition); }
.page-content a:hover { color: var(--teal-hover); }
.page-content .callout {
  background: var(--teal-glow);
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.page-content .callout p { color: var(--text-secondary); margin-bottom: 0; }

/* Legal page enhancements */
.page-content h3 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.page-content h4 {
  font-size: 15px;
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.page-content .doc-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.page-content .doc-nav a {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.page-content .doc-nav a:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
}
.page-content .doc-separator {
  margin: 80px 0 48px;
  padding-top: 48px;
  border-top: 2px solid var(--border);
}
.page-content .doc-separator h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  font-size: clamp(24px, 3vw, 32px);
}
.page-content .doc-separator .page-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 24px;
}
.page-content .checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.page-content .checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.page-content .checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}

/* ============ CONTACT FORM ============ */
.contact-section {
  padding: 0 48px 120px;
  max-width: 720px;
  margin: 0 auto;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238fa3b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-submit { margin-top: 8px; }

/* ============ RECENT THINKING ============ */
.recent-thinking {
  max-width: var(--max-width);
}
.recent-thinking-header {
  margin-bottom: 48px;
}
.recent-thinking-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.recent-thinking-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.recent-thinking-article {
  background: var(--dark-deeper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
  position: relative;
}
.recent-thinking-article:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(74, 155, 155, 0.06);
  transform: translateY(-2px);
}
.recent-thinking-article a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.recent-thinking-article-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--dark-mid);
}
.recent-thinking-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.85;
}
.recent-thinking-article:hover .recent-thinking-article-img img {
  transform: scale(1.03);
  opacity: 1;
}
.recent-thinking-article-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 16px;
  opacity: 0.6;
}
.recent-thinking-article-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.recent-thinking-article a:hover .recent-thinking-article-title {
  color: var(--teal);
}
.recent-thinking-article-excerpt {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.recent-thinking-article-meta {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recent-thinking-article-read {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  opacity: 0;
  transition: opacity var(--transition);
}
.recent-thinking-article:hover .recent-thinking-article-read {
  opacity: 1;
}
.recent-thinking-bridge {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  max-width: 640px;
}
.recent-thinking-bridge p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Recent Thinking: loading state */
.recent-thinking-loading {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 40px 0;
}
.loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.3;
  animation: loadPulse 1.2s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes loadPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Recent Thinking: fallback state */
.recent-thinking-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 0;
}
.recent-thinking-fallback p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.recent-thinking-fallback a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.recent-thinking-fallback a:hover {
  color: var(--teal-hover);
}

/* ============ PRICING THREE-COLUMN ============ */
.pricing-cards-three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
}

/* ============ MOBILE ORBIT FALLBACK ============ */
.orbit-mobile {
  display: none;
  padding: 0 24px;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}
.orbit-mobile-register {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.orbit-mobile-register .register-graphic {
  width: 100%;
}
.orbit-mobile-register .reg-title-bar {
  padding: 12px 14px;
  gap: 8px;
}
.orbit-mobile-register .reg-title-bar .dot { width: 7px; height: 7px; }
.orbit-mobile-register .reg-title-bar span { font-size: 9px; letter-spacing: 1.5px; }
.orbit-mobile-register .reg-headers {
  padding: 6px 10px;
}
.orbit-mobile-register .reg-headers span { font-size: 7px; }
.orbit-mobile-register .reg-section { padding: 5px 10px; font-size: 7.5px; }
.orbit-mobile-register .reg-row { padding: 5px 10px; }
.orbit-mobile-register .reg-row .element { font-size: 7px; padding: 3px 0; }
.orbit-mobile-register .impact-dot { width: 8px; height: 8px; }
.orbit-mobile-register .cost-bar { height: 5px; }
.orbit-mobile-register .reg-footer { padding: 8px 10px; }
.orbit-mobile-register .reg-footer span { font-size: 7px; }
.orbit-mobile-register .reg-total { font-size: 14px; }
.orbit-mobile-personas {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.orbit-mobile-item {
  background: var(--dark-mid);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.orbit-mobile-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.orbit-mobile-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.orbit-mobile-item.active,
.orbit-mobile-item:active {
  background: var(--dark-accent);
  border-left-color: var(--teal);
}
.orbit-mobile-item-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.orbit-mobile-item-label::after {
  content: '+';
  font-size: 16px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.orbit-mobile-item.active .orbit-mobile-item-label::after {
  transform: rotate(45deg);
  color: var(--teal);
}
.orbit-mobile-item-copy {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.orbit-mobile-item.active .orbit-mobile-item-copy {
  max-height: 200px;
  padding-top: 12px;
}
.orbit-mobile-item-copy p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}
.orbit-mobile-item-copy p strong {
  color: var(--text-primary);
  font-weight: 500;
}
/* --- Mobile carousel --- */
.orbit-mobile-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius);
}
.orbit-mobile-carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
}
.orbit-mobile-carousel-card {
  min-width: 100%;
  max-width: 100%;
  padding: 28px 20px;
  background: var(--dark-mid);
  text-align: center;
  box-sizing: border-box;
}
.orbit-mobile-carousel-label {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.orbit-mobile-carousel-line {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  font-style: italic;
}
.orbit-mobile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.orbit-mobile-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s ease;
}
.orbit-mobile-carousel-dot.active {
  background: var(--teal);
}

.orbit-mobile-cta {
  display: none;
  text-align: center;
  padding: 24px 24px 0;
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .orbit-mobile-cta {
    display: block;
    margin-bottom: 64px;
  }
}


/* ============ MOBILE DEPTH LAYER ============ */
.bg-depth-layer {
  display: none;
}
/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .layers-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards-three { grid-template-columns: 1fr 1fr; }
  .recent-thinking-articles { grid-template-columns: 1fr 1fr; }
  .recent-thinking-articles .recent-thinking-article:nth-child(3) { display: none; }
  .layers-grid { grid-template-columns: 1fr 1fr; }
  .layers-grid .layer-group:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  section { padding: 60px 24px; }
  nav { padding: 0 24px; }
  footer { padding: 32px 24px; }
  .page-header { padding: calc(var(--nav-height) + 40px) 24px 32px; }
  .page-content { padding: 0 24px 60px; }
  .contact-section { padding: 0 24px 60px; }
  /* Mobile font-size reductions */
  .problem-text { font-size: 15px; }
  .step p { font-size: 15px; }
  .why-text { font-size: 15px; }
  .faq-question { font-size: 16px; }
  .faq-answer p { font-size: 14px; }
  .copy-panel p { font-size: 15px; }
  .viewer-callout p { font-size: 15px; }
  .recent-thinking-bridge p { font-size: 15px; }
  .recent-thinking-article-excerpt { font-size: 14px; }
  .recent-thinking-article-title { font-size: 18px; }
  .stage-description { font-size: 0.88rem; }
  .page-content p { font-size: 14px; }
  .page-content ul li { font-size: 13px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--dark-deeper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 99;
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; }
  .nav-cta { padding: 12px 28px !important; font-size: 16px !important; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero {
    padding: calc(var(--nav-height) + 20px) 24px 60px;
    text-align: left;
    align-items: flex-start;
  }
  .hero h1,
  .hero .hero-sub {
    text-align: left;
    width: 100%;
  }
  .hero .hero-cta-row {
    align-items: flex-start;
    width: 100%;
  }
  .hero .btn-primary {
    text-align: center;
  }

  .layers-grid { display: none; }
  .layers-mobile { display: block; }
  .layers-header { margin-bottom: 32px; }

  .process-header { margin-bottom: 32px; }
  .process-flow {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 40px;
    padding: 0;
  }
  .flow-node {
    gap: 8px;
  }
  .flow-connector {
    width: 2px;
    height: 24px;
    max-width: none;
    margin-bottom: 0;
    background: var(--teal);
    opacity: 0.4;
  }
  .flow-connector::after {
    display: none;
  }
  .flow-circle { width: 48px; height: 48px; }
  .flow-circle svg { width: 18px; height: 18px; }
  .flow-label { font-size: 11px; letter-spacing: 1px; }
  .process-steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 24px; }

  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-cards-three { grid-template-columns: 1fr; }
  .layers-grid { grid-template-columns: 1fr; }
  .layers-header { margin-bottom: 32px; }

  .recent-thinking-articles { grid-template-columns: 1fr; gap: 16px; }
  .recent-thinking-articles .recent-thinking-article:nth-child(3) { display: block; }
  .recent-thinking-article { padding: 24px 20px; }
  .recent-thinking-header { margin-bottom: 24px; }
  .recent-thinking-article-img { height: 140px; }
  .form-row { grid-template-columns: 1fr; }

  /* Hide circular orbit, show mobile version */
  .orbit-section { padding-top: 60px; padding-bottom: 60px; }
  .orbit-container { display: none; }
  .copy-panel { display: none; }
  .orbit-mobile { display: block; }

  .pricing { padding-top: 60px; }
  .pricing-sub { margin-bottom: 32px; }
  .pricing-card { padding: 32px 24px; }

  .faq { padding-top: 60px; padding-bottom: 60px; }
  .faq h2 { margin-bottom: 32px; }

  .why { padding-top: 60px; padding-bottom: 60px; }
  /* Kill reveal animations on mobile — sections appear instantly */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* --- Mobile depth: fixed hero image behind transparent sections --- */
  .bg-depth-layer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../images/hero-bg.jpg') center / cover no-repeat;
  }
  .bg-depth-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(26, 37, 48, 0.86) 0%,
      rgba(26, 37, 48, 0.73) 40%,
      rgba(26, 37, 48, 0.90) 75%,
      rgba(26, 37, 48, 1) 100%
    );
  }
  /* Solid sections over the depth layer */
  .problem,
  .orbit-section,
  .layers,
  .viewer-callout,
  .why,
  .faq,
  footer {
    background: var(--dark);
  }
  /* Transparent sections — hero image shows through */
  .process,
  .engage,
  .recent-thinking {
    background: transparent;
  }
  /* Insight cards — slight transparency for depth */
  .recent-thinking .recent-thinking-article {
    background: rgba(20, 29, 38, 0.82);
  }
  .recent-thinking .recent-thinking-bridge {
    background: rgba(20, 29, 38, 0.82);
    padding: 24px;
    border-radius: var(--radius);
  }
  /* Centre insights header on mobile */
  .recent-thinking-header {
    text-align: center;
  }
  /* Process step boxes — slight transparency for depth */
  .process .step {
    background: rgba(20, 29, 38, 0.82);
  }
  /* Engage stage cards — slight transparency for depth */
  .engage .stage-card {
    background: rgba(20, 29, 38, 0.82);
  }
  .orbit-mobile-cta .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--teal);
    color: var(--dark);
    border: 1px solid var(--teal);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    letter-spacing: 0.3px;
  }
  .why .btn-secondary-outline {
    display: inline-block;
    width: auto;
    text-align: center;
    background: var(--teal);
    color: var(--dark);
    border: 1px solid var(--teal);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    letter-spacing: 0.3px;
  }
  /* hover styles moved to @media (hover: hover) block above */
  .recent-thinking-bridge { text-align: center; }
  .recent-thinking-bridge .btn-secondary-outline { display: inline-block; }

  .cookie-inner { flex-direction: column; }
  .cookie-banner { padding: 20px 24px; }
  .cookie-buttons { width: 100%; flex-wrap: wrap; }
  .cookie-btn { flex: 1; text-align: center; min-width: 120px; }
  .cookie-settings-btn { flex-basis: 100%; text-align: center; }
  .cookie-modal { padding: 24px; width: 95%; }
  .cookie-modal-actions { flex-direction: column; }
  .cookie-modal-actions .cookie-btn { width: 100%; text-align: center; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }

  /* Legal pages */
  .page-content h2 { margin-top: 32px; font-size: 20px; }
  .page-content h3 { margin-top: 24px; font-size: 16px; }
  .page-content .doc-nav { gap: 8px; }
  .page-content .doc-nav a { padding: 8px 14px; font-size: 12px; }
  .page-content .doc-separator { margin: 48px 0 32px; padding-top: 32px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  section { padding: 48px 16px; }
  /* Further mobile font-size reductions */
  .problem-text { font-size: 14px; }
  .step p { font-size: 14px; }
  .why-text { font-size: 14px; }
  .faq-question { font-size: 15px; }
  .faq-answer p { font-size: 13px; }
  .copy-panel p { font-size: 14px; }
  .recent-thinking-bridge p { font-size: 14px; }
  .recent-thinking-article-excerpt { font-size: 13px; }
  .recent-thinking-article-title { font-size: 17px; }
  .stage-description { font-size: 0.84rem; }
  .page-content p { font-size: 13px; }
  .page-content ul li { font-size: 12px; }
  nav { padding: 0 16px; }
  .hero { padding: calc(var(--nav-height) + 16px) 16px 48px; }
  .hero-sub { font-size: 15px; }
  .page-header { padding: calc(var(--nav-height) + 32px) 16px 24px; }
  .page-content { padding: 0 16px 48px; }
  .contact-section { padding: 0 16px 48px; }
  footer { padding: 24px 16px; }
  .footer-links { gap: 16px; }
  .cookie-banner { padding: 16px; }
  .cookie-text { font-size: 12px; }
  .cookie-modal { padding: 20px 16px; }
  .orbit-mobile { padding: 0 16px; }
  .orbit-mobile-register .register-graphic { width: 100%; max-width: 100%; box-sizing: border-box; }
  .orbit-header { padding: 0 16px; }
  .layers-mobile-header { padding: 16px; }
  .layers-mobile-content-inner { padding: 0 16px 16px; }
  .recent-thinking-article { padding: 20px 16px; }
}

/* ============================================================
   DASHBOARD / CAPITAL INTELLIGENCE ADDITIONS
   (Paste this at the bottom of your styles.css)
   ============================================================ */

/* 1. Layout Container
   Wraps the dashboard to stop the table from getting too wide/naff */
.dashboard-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  width: 100%;
}

/* 2. Dashboard Header */
.dashboard-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 32px;
  padding-top: 40px;
}
.header-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.dashboard-header h1 { font-family: var(--font-serif); font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; }
.header-meta { font-size: 13px; font-weight: 300; color: var(--text-muted); }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* 3. Metrics Cards */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.metric { background: var(--dark-deeper); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.metric-value { font-family: var(--font-serif); font-size: 28px; color: var(--teal); line-height: 1.1; margin-bottom: 4px; }
.metric-label { font-size: 10px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-dim); }
.metric-value.warn { color: var(--impact-amber); }
.metric-value.crit { color: var(--impact-red); }

/* 4. Charts Container */
.charts { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 32px; }
.chart-box { background: var(--dark-deeper); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.chart-title { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }

/* 5. Bar Chart (FIXED: Prevents collapsing bars) */
.bar-chart {
  display: flex;
  gap: 12px;
  height: 280px; /* Explicit height */
  padding-top: 30px;
  padding-bottom: 10px;
  /* Note: align-items is NOT set to flex-end here, to allow columns to fill height */
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Pushes content to the bottom */
  height: 100%; /* Forces the column to stand up straight */
  position: relative;
}
.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(74,155,155,0.6));
  min-height: 2px;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar:hover { background: linear-gradient(180deg, var(--teal-hover), rgba(74,155,155,0.8)); }
.bar-val { font-size: 11px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.bar-yr { font-size: 11px; font-weight: 500; color: var(--text-muted); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.bar-peak .bar { background: linear-gradient(180deg, var(--impact-amber), rgba(243,156,18,.45)); }

/* 6. Donut Chart */
.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 32px; height: 100%; }
.donut { width: 160px; height: 160px; border-radius: 50%; position: relative; flex-shrink: 0; }
.donut::after { content: ''; position: absolute; inset: 30px; background: var(--dark-deeper); border-radius: 50%; }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.donut-value { font-family: var(--font-serif); font-size: 22px; color: var(--text-primary); display: block; }
.donut-label { font-size: 9px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-dim); }
.donut-legend { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.legend-row { display: flex; align-items: center; gap: 10px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend-label { font-size: 11px; font-weight: 500; color: var(--text-muted); flex: 1; }
.legend-val { font-size: 11px; font-weight: 600; color: var(--text-secondary); }

/* 7. Category Bars */
.cat-row { display: flex; align-items: center; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--row-alt); }
.cat-name { font-size: 12px; font-weight: 500; color: var(--text-muted); width: 160px; flex-shrink: 0; }
.cat-bar-track { flex: 1; height: 8px; background: var(--row-alt); border-radius: 4px; overflow: hidden; display: flex; }
.cat-bar-short { background: var(--teal); height: 100%; transition: width .8s cubic-bezier(.22,1,.36,1); }
.cat-bar-medium { background: rgba(74,155,155,0.45); height: 100%; transition: width .8s cubic-bezier(.22,1,.36,1); }
.cat-bar-long { background: rgba(74,155,155,0.25); height: 100%; transition: width .8s cubic-bezier(.22,1,.36,1); }
.cat-total { font-size: 12px; font-weight: 600; color: var(--text-secondary); width: 80px; text-align: right; }

/* 8. Filters */
.filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.filters-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-right: 8px; }
.filter-btn { font-size: 11px; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-muted); background: transparent; transition: all var(--transition); }
.filter-btn:hover { border-color: var(--text-muted); }
.filter-btn.on { background: var(--teal-glow); border-color: var(--teal); color: var(--teal); }
.filter-sep { width: 1px; height: 16px; background: var(--border); margin: 0 8px; }

/* 9. Register Table */
.register { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; background: var(--dark-deeper); }
.register table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.register thead { background: var(--dark-mid); }
.register th { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-dim); padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--border); cursor: pointer; transition: color var(--transition); }
.register th:hover { color: var(--teal); }
.register th:first-child { padding-left: 20px; }
.register th.align-right { text-align: right; }
.register th.align-center { text-align: center; }
.register th .arrow { opacity: .3; margin-left: 2px; font-size: 7px; }
.register th.sorted .arrow { opacity: 1; color: var(--teal); }

.section-header td { background: var(--teal-glow); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); padding: 10px 20px; border-bottom: 1px solid rgba(74,155,155,0.15); border-top: 1px solid rgba(74,155,155,0.15); }

tr.data-row { border-bottom: 1px solid var(--row-alt); transition: background 0.15s; }
tr.data-row:hover { background: rgba(74,155,155,0.03); }
tr.data-row.alt { background: rgba(255,255,255,.012); }
tr.data-row td { padding: 10px 12px; font-size: 13px; vertical-align: top; color: var(--text-secondary); }
tr.data-row td:first-child { padding-left: 20px; color: var(--text-dim); font-size: 12px; font-weight: 500; }

.cell-element { font-weight: 600; color: var(--text-primary); line-height: 1.4; min-width: 120px; }
.cell-condition, .cell-action { font-size: 12px; color: var(--text-muted); line-height: 1.5; max-width: 260px; }
.cell-code { text-align: center; font-size: 10px; font-weight: 600; color: var(--text-muted); }
.cell-impact { text-align: center; }
.cell-cost { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-cost.zero { color: var(--text-dim); opacity: 0.5; font-weight: 300; }
.cell-conf { text-align: center; font-size: 9px; font-weight: 700; letter-spacing: .4px; }
.conf-high { color: var(--impact-green); }
.conf-medium { color: var(--impact-amber); }
.conf-low { color: var(--impact-red); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-4 { background: var(--impact-red); }
.dot-3 { background: var(--impact-amber); }
.dot-2 { background: var(--impact-yellow); }
.dot-1 { background: var(--impact-green); }

tr.subtotal-row td { background: rgba(26,37,48,0.5); font-size: 11px; font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border); padding: 10px 12px; text-transform: uppercase; }
tr.subtotal-row td:first-child { padding-left: 20px; }
tr.subtotal-row td.cell-cost { color: var(--teal); font-family: var(--font-serif); font-size: 14px; letter-spacing: 0; }

tr.grand-total-row td { background: var(--dark-mid); border-top: 2px solid var(--teal); padding: 16px 12px; font-weight: 600; color: var(--text-primary); }
tr.grand-total-row td.cell-cost { color: var(--teal); font-family: var(--font-serif); font-size: 18px; }

/* 10. Helper Buttons */
.btn-sm {
  font-size: 10px; font-weight: 600; letter-spacing: .3px;
  padding: 7px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 5px;
}
.btn-sm:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm svg { width: 12px; height: 12px; }
.btn-sm.btn-primary { background: var(--teal); color: var(--dark); border-color: var(--teal); }
.btn-sm.btn-primary:hover { background: var(--teal-hover); }

/* 11. Print & Responsive Overrides */
@media print {
  body { background: #fff; color: #000; }
  .nav, .filters, .header-actions, .cta, .privacy, .drop-overlay { display: none !important; }
  .dashboard-container { max-width: none; padding: 0; margin: 0; }
  .metrics { grid-template-columns: repeat(6, 1fr); gap: 10px; display: grid; }
  .metric { border: 1px solid #ccc; padding: 10px; }
  .charts { display: grid; grid-template-columns: 1.5fr 1fr; page-break-inside: avoid; }
  .bar-chart { height: 200px; }
  .bar { background: #4A9B9B !important; -webkit-print-color-adjust: exact; }
  .register { border: none; overflow: visible; }
  .register table { min-width: 0; }
  .register th { background: #f0f0f0; color: #333; border-bottom: 2px solid #999; }
  tr.data-row td { border-bottom: 1px solid #ddd; color: #333; }
  tr.subtotal-row td { background: #f9f9f9; color: #000; font-weight: bold; }
  @page { size: A3 landscape; margin: 1cm; }
}

@media (max-width: 1024px) {
  .charts { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dashboard-container { padding: 80px 16px 40px; }
  .metrics { grid-template-columns: 1fr; }
  .donut-wrap { flex-direction: column; }
  .register { overflow-x: auto; }
}