:root {
  --bg-deep: #08090d;
  --bg-surface: #0f1117;
  --bg-card: #161821;
  --bg-card-hover: #1c1f2b;
  --border: #252838;
  --border-hover: #3a3e54;
  --text-primary: #e4e5ec;
  --text-secondary: #8e92a8;
  --text-dim: #555770;
  --accent: #00cec9;
  --accent-dim: rgba(0, 206, 201, 0.10);
  --accent-glow: rgba(0, 206, 201, 0.25);
  --accent-blue: #0984e3;
  --accent-mint: #55efc4;
  --accent-amber: #fdcb6e;
  --accent-violet: #a29bfe;
  --white: #ffffff;
  --font-primary: 'Space Mono', 'DM Mono', 'SF Mono', monospace;
  --font-heading: 'Syne', var(--font-primary);
  --max-w: 1120px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --space-2xl: 140px;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Noise texture ────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Typography ───────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.5px; }
h2 { font-size: clamp(22px, 3.5vw, 36px); letter-spacing: -0.3px; }
h3 { font-size: clamp(16px, 2vw, 22px); }

p { color: var(--text-secondary); max-width: 640px; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-primary); }

.mono {
  font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 2.5px; color: var(--text-dim);
}

/* ambivalence brand colour — distinctive cyan to match ambivalence.app */
.ambivalence-brand { color: #00cec9 !important; }

/* ── Layout ───────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-md); position: relative; z-index: 1; }

section { padding: var(--space-xl) 0; }

/* ── Navigation ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}
nav.scrolled {
  padding: 14px 0;
  border-bottom-color: var(--border);
}

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

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 700;
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.5px;
}
.nav-brand img {
  height: 48px; width: auto;
  filter: invert(1);
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 400;
  text-transform: lowercase; letter-spacing: 1.5px;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

.nav-links a.nav-cta {
  color: var(--accent); border: 1px solid var(--accent);
  padding: 8px 16px; border-radius: 6px;
  font-weight: 500;
}
.nav-links a.nav-cta:hover { background: var(--accent-dim); color: var(--accent); }

/* Nav social icon (Instagram) */
.nav-icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-icon:hover { color: var(--text-primary); }
.nav-icon svg { flex-shrink: 0; }

/* Licensing CTA bar — above footer */
.cta-bar {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.cta-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-sm);
}
.cta-bar-text { font-size: 14px; color: var(--text-secondary); }
.cta-bar-text strong { color: var(--text-primary); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 101;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px; background: var(--text-primary);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Theme toggle — matches nav links, subtle border, no icon */
.theme-toggle {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 6px;
  background: transparent; cursor: pointer; margin-left: 16px;
  font-size: 12px; font-weight: 400; text-transform: lowercase; letter-spacing: 1.5px;
  font-family: var(--font-primary);
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--border-hover); }
.theme-toggle::before { display: none !important; }
.theme-label-dark { display: none; }
body.theme-light .theme-label-light { display: none; }
body.theme-light .theme-label-dark { display: inline; }

/* ── Light theme ─────────────────────────────────────────────────── */
body.theme-light {
  --bg-deep: #f5f6f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f1f4;
  --border: #d8dce4;
  --border-hover: #b8bfcc;
  --text-primary: #1a1d26;
  --text-secondary: #4a5066;
  --text-dim: #6e7589;
  --accent: #00796b;
  --accent-dim: rgba(0, 121, 107, 0.12);
}
body.theme-light::before { opacity: 0.04; }
body.theme-light nav {
  background: rgba(245, 246, 248, 0.9);
  border-bottom-color: transparent;
}
body.theme-light nav.scrolled { border-bottom-color: var(--border); }
body.theme-light .nav-brand img { filter: invert(0); }
body.theme-light .nav-toggle span { background: var(--text-primary); }
body.theme-light .ambivalence-brand { color: #00796b !important; }
body.theme-light a { color: #00796b; }
body.theme-light a:hover { color: var(--text-primary); }
body.theme-light .nav-links a.nav-cta { color: #00796b; border-color: #00796b; }
body.theme-light .nav-links a.nav-cta:hover { background: var(--accent-dim); color: #00796b; }
body.theme-light .btn-primary { color: #00796b; border-color: #00796b; }
body.theme-light .btn-primary:hover { color: #00695c; background: var(--accent-dim); }
body.theme-light .bg-pointcloud .hero-cta .btn-primary {
  color: #004d40; border-color: #004d40;
  background: rgba(255, 255, 255, 0.95);
}
body.theme-light .bg-pointcloud .hero-cta .btn-primary:hover {
  color: #003d33; border-color: #003d33;
  background: rgba(255, 255, 255, 1);
}
body.theme-light .bg-pointcloud .hero-cta .btn-ghost {
  color: #1a1d26; border-color: #4a5066;
  background: rgba(255, 255, 255, 0.9);
}
body.theme-light .bg-pointcloud .hero-cta .btn-ghost:hover {
  color: #004d40; border-color: #004d40;
  background: rgba(255, 255, 255, 1);
}
body.theme-light .bg-pointcloud::before {
  opacity: 0.35;
  mix-blend-mode: multiply;
  filter: brightness(0.9);
}
body.theme-light .bg-pointcloud::after {
  background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(0, 121, 107, 0.06) 0%, transparent 65%);
}
body.theme-light .bg-pointcloud .hero p { color: var(--text-secondary); }
body.theme-light .bg-pointcloud .hero .hero-eyebrow { color: var(--text-dim); }
body.theme-light .bg-pointcloud .hero-cta .btn-ghost { color: var(--text-primary); }
body.theme-light .bg-pointcloud .hero-cta .btn-ghost:hover { color: var(--accent); }
body.theme-light .bg-pointcloud .hero p,
body.theme-light .bg-pointcloud .hero .hero-eyebrow,
body.theme-light .bg-pointcloud .hero-lead { color: var(--text-secondary); }
body.theme-light .bg-pointcloud .hero-cta .btn-ghost { color: var(--text-primary); }
body.theme-light .bg-pointcloud .hero-cta .btn-ghost:hover { color: var(--accent); }
body.theme-light .bg-pointcloud .hero p { color: var(--text-secondary); }
body.theme-light .bg-pointcloud .hero .hero-eyebrow { color: var(--text-dim); }
body.theme-light .bg-pointcloud .hero-cta .btn-ghost { color: var(--text-primary); }
body.theme-light .ambivalence-brand { color: #00796b !important; }
body.theme-light .bg-pointcloud .hero h1 em { color: #00796b; }
body.theme-light a { color: #00796b; }
body.theme-light .nav-links a.nav-cta { color: #00796b; border-color: #00796b; }
body.theme-light .nav-links a.nav-cta:hover { background: rgba(0, 121, 107, 0.12); color: #00796b; }
body.theme-light .btn-primary { color: #00796b; border-color: #00796b; background: rgba(0, 121, 107, 0.1); }
body.theme-light .btn-primary:hover { color: #00695c; border-color: #00695c; background: rgba(0, 121, 107, 0.18); }
/* Pedagogy tile axonometric SVG — white-on-dark, invert for light mode */
body.theme-light .mode-tile-pedagogy .mode-tile-visual img,
body.theme-light .mode-tile-pedagogy .mode-tile-visual .system-axo-inline {
  filter: invert(1);
}

/* Light mode: hero eyebrow over point cloud — solid background, dark text for readability */
body.theme-light .bg-pointcloud .hero .hero-eyebrow {
  color: #1a1d26;
  border-color: #4a5066;
  background: #ffffff;
}

/* Light mode: hero CTA over point cloud — solid backgrounds for readability */
body.theme-light .bg-pointcloud .hero-cta .btn-primary {
  color: #004d40; border-color: #004d40; background: rgba(255, 255, 255, 0.95);
}
body.theme-light .bg-pointcloud .hero-cta .btn-primary:hover {
  color: #003d33; border-color: #003d33; background: rgba(255, 255, 255, 1);
}
body.theme-light .bg-pointcloud .hero-cta .btn-ghost {
  color: #1a1d26; border-color: #4a5066; background: rgba(255, 255, 255, 0.9);
}
body.theme-light .bg-pointcloud .hero-cta .btn-ghost:hover {
  color: #00796b; border-color: #00796b; background: rgba(255, 255, 255, 1);
}

/* Light mode: hero eyebrow — solid background, dark text for visibility over point cloud */
body.theme-light .bg-pointcloud .hero .hero-eyebrow {
  color: #1a1d26;
  border-color: #4a5066;
  background: #ffffff;
}

/* Light mode: scrim behind hero content to reduce point cloud busy-ness */
body.theme-light .bg-pointcloud .hero-content {
  position: relative;
}
body.theme-light .bg-pointcloud .hero-content::before {
  content: '';
  position: absolute;
  inset: -15% -10%;
  z-index: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(255,255,255,0.5) 0%, transparent 65%);
  pointer-events: none;
}
body.theme-light .bg-pointcloud .hero-content > * { position: relative; z-index: 1; }
/* Hero eyebrow — solid background, dark text for light-mode visibility */
body.theme-light .bg-pointcloud .hero .hero-eyebrow {
  color: #1a1d26; border-color: #4a5066;
  background: #ffffff;
}

/* ── Point Cloud Background ──────────────────────────────────────── */
.bg-pointcloud {
  position: relative;
  overflow: hidden;
}
.bg-pointcloud::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: url('../assets/images/point-cloud-bg.jpg') center/cover no-repeat;
  background-size: 110%;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 85%, transparent 100%);
  pointer-events: none;
  will-change: transform;
  animation: pointcloud-drift 45s ease-in-out infinite;
}
.bg-pointcloud::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(0, 206, 201, 0.08) 0%, transparent 65%);
  pointer-events: none;
  animation: pointcloud-glow 12s ease-in-out infinite alternate;
}
@keyframes pointcloud-drift {
  0%, 100% { background-position: 50% 50%; transform: scale(1); }
  25% { background-position: 52% 48%; transform: scale(1.03); }
  50% { background-position: 48% 52%; transform: scale(0.97); }
  75% { background-position: 51% 50%; transform: scale(1.02); }
}
@keyframes pointcloud-glow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.bg-pointcloud > .container { position: relative; z-index: 1; }

/* Hero glass frame over point cloud backgrounds */
.bg-pointcloud .hero-content {
  background: rgba(8, 9, 13, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.theme-light .bg-pointcloud .hero-content {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(26, 29, 38, 0.22);
  box-shadow: 0 14px 36px rgba(26, 29, 38, 0.16);
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px;
}

.hero-content { max-width: 780px; }
.hero-content-home { margin-top: 24px; }

.hero-eyebrow {
  display: inline-block; margin-bottom: var(--space-md);
  padding: 6px 16px; border: 1px solid var(--border);
  border-radius: 100px;
}

.hero h1 { margin-bottom: var(--space-md); }
.hero h1 em {
  font-style: normal; color: var(--accent);
}
.hero h1 em.ambivalence-brand {
  color: #00cec9;
}

.hero p {
  font-size: 18px; line-height: 1.8; margin-bottom: var(--space-lg);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero text over point cloud — lighter for contrast */
.bg-pointcloud .hero p { color: #fcfdfe; }
.bg-pointcloud .hero .hero-eyebrow { color: #f8f9fc; }
.bg-pointcloud .hero-cta .btn-ghost { color: #fcfdfe; }
.bg-pointcloud .hero-cta .btn-ghost:hover { color: var(--text-primary); }
.bg-pointcloud .hero-cta .btn-primary { color: #00cec9; }

/* Hero intro with screenshots (ambivalence page) */
.hero-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  align-items: start;
}
.hero-intro-grid .hero-content { max-width: 520px; }
.hero-intro-screenshots {
  display: flex; flex-direction: column; gap: 16px;
}
.hero-intro-screenshots img {
  width: 100%; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 400;
  text-transform: lowercase; letter-spacing: 1.5px;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; transition: all 0.25s;
  cursor: pointer; border: none;
}

.btn-primary {
  background: var(--accent-dim); border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-glow); color: var(--accent);
  box-shadow: 0 0 24px var(--accent-dim);
}

.btn-ghost {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-ghost:hover {
  border-color: var(--border-hover); color: var(--text-primary);
}

/* ── Product Card ─────────────────────────────────────────────────── */
.product-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  align-items: center;
}

.product-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: var(--space-lg);
  display: flex; align-items: center; justify-content: center;
  min-height: 360px; position: relative; overflow: hidden;
}

.product-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--accent-dim) 0%, transparent 60%);
}

.product-name {
  font-size: 48px; font-weight: 700;
  color: var(--text-primary); position: relative; z-index: 1;
  letter-spacing: -1px;
}
.product-name .sub {
  display: block; font-size: 11px;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--text-dim); margin-top: 8px;
}

.product-info h2 { margin-bottom: var(--space-sm); }
.product-info p { margin-bottom: var(--space-md); }

/* ── Flagship statement (single portrait image aligned with stats) ─── */
.flagship-statement { max-width: 100%; }
.flagship-header { margin-bottom: var(--space-md); }
.flagship-header .mono { margin-bottom: 8px; display: block; }
.flagship-header h2 { margin-bottom: 12px; }
.flagship-header p { margin-bottom: 0; }

.flagship-visual-row {
  display: flex; align-items: stretch; gap: var(--space-md);
}
.flagship-statement-image {
  flex: 0 0 240px; min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--border); align-self: stretch;
}
.flagship-statement-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Isometric image — overlay elements moving across */
.flagship-statement-image.flagship-image-animated {
  position: relative;
}
.flagship-overlay {
  position: absolute; pointer-events: none;
  z-index: 2; border-radius: inherit;
}
.flagship-overlay svg {
  display: block; width: 100%; height: 100%;
}
.flagship-overlay-cloud {
  width: 28%; top: 8%; left: 0;
  animation: flagship-overlay-drift 18s linear infinite;
}
@keyframes flagship-overlay-drift {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}
@media (prefers-reduced-motion: reduce) {
  .flagship-overlay { animation: none; opacity: 0; }
}

/* Characteristic overlays — one per black-and-white image */
.image-animated { position: relative; }
.img-overlay {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 2; border-radius: inherit; overflow: hidden;
}
.img-overlay svg { display: block; width: 100%; height: 100%; }

/* Cloud drift — civic ecosystem (What We Do, same as flagship) */
.what-we-do-image .img-overlay-cloud {
  width: 28%; top: 8%; left: 0;
  animation: img-overlay-drift 18s linear infinite;
}
.what-we-do-image .img-overlay-cloud svg {
  width: 100%; height: auto; aspect-ratio: 2/1;
}

/* Pulse/glow — ep3 (machinery/electronics) */
.mode-image-cell .img-overlay-pulse,
.episode-tile-image-wrap .img-overlay-pulse {
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(255,255,255,0.08) 0%, transparent 70%);
  animation: img-overlay-pulse 4s ease-in-out infinite;
}

/* Mist/shimmer — ep1 rivers (atmospheric flow) */
.episode-tile-image-wrap .img-overlay-mist {
  background: linear-gradient(180deg, transparent 20%, rgba(255,255,255,0.03) 50%, transparent 80%);
  animation: img-overlay-mist 6s ease-in-out infinite;
}

/* Dust in light beam — ep2 queue (corridor) */
.episode-tile-image-wrap .img-overlay-dust-beam {
  top: 0; right: 0; width: 45%; height: 100%; left: auto;
  animation: img-overlay-dust-beam 12s ease-in-out infinite;
}
.episode-tile-image-wrap .img-overlay-dust-beam svg {
  opacity: 0.5;
}

@keyframes img-overlay-drift {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}
@keyframes img-overlay-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes img-overlay-mist {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-2%); }
}
@keyframes img-overlay-dust-beam {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3%); }
}

@media (prefers-reduced-motion: reduce) {
  .img-overlay { animation: none !important; opacity: 0; }
}

/* Episode tile image wrap — contains img + overlay */
.episode-tile-image-wrap {
  position: relative; overflow: hidden; flex-shrink: 0;
}
.episode-tile-image-wrap img {
  width: 100%; height: 72px; object-fit: cover; display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.85);
}
.episode-tile:hover .episode-tile-image-wrap img {
  transform: scale(1.03); filter: saturate(1);
}

/* Flagship flip cards — click to reveal back */
.flagship-flip-card {
  cursor: pointer; perspective: 800px;
  position: relative; overflow: hidden;
}
.flagship-flip-inner {
  position: relative; width: 100%; height: 100%; min-height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.flagship-flip-card[data-revealed="true"] .flagship-flip-inner {
  transform: rotateY(180deg);
}
.flagship-flip-front,
.flagship-flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding: 10px 12px 12px; gap: 3px;
  text-align: center;
}
.flagship-flip-back {
  transform: rotateY(180deg);
  align-items: center; text-align: center; overflow: hidden;
}
.flagship-flip-card.flagship-craft .flagship-flip-front,
.flagship-flip-card.flagship-craft .flagship-flip-back {
  text-align: left; align-items: flex-start;
  padding: 5px 10px 8px; gap: 2px;
}
.flagship-flip-icon {
  display: flex; align-items: center; justify-content: center;
  height: 22px; margin-bottom: 0; flex-shrink: 0;
}
.flagship-flip-icon svg {
  width: 18px; height: 18px; color: inherit;
}
.flagship-flip-desc {
  font-size: 14px; line-height: 1.45; color: var(--text-secondary);
  margin: 0; flex: 1;
}
.flagship-flip-card .infographic-copy {
  font-size: 14px; line-height: 1.45;
}
.flagship-flip-card.flagship-stats .infographic-value { margin: 0; }
.flagship-flip-card.flagship-stats .infographic-label { margin: 0; }

.flagship-stats-wrap {
  flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column;
}
.flagship-tiles-hint {
  font-size: 11px; letter-spacing: 1.5px; color: var(--text-dim);
  opacity: 0.85; margin: 0 0 8px; flex-shrink: 0;
}
.flagship-tiles-grid {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: minmax(160px, 1fr);
  gap: 12px; align-content: stretch;
}
.flagship-tiles-grid .infographic-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  justify-content: flex-start; min-height: 0; align-self: stretch;
  padding: 6px 12px 10px; gap: 4px;
}
.flagship-tiles-grid .infographic-card.flagship-craft {
  text-align: left; align-items: flex-start; justify-content: flex-start;
  padding: 5px 10px 8px; gap: 2px;
}
.flagship-tiles-grid .infographic-card.flagship-craft .infographic-value { display: none; }
.flagship-tiles-grid .infographic-card.flagship-craft .infographic-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-primary); margin-bottom: 0;
}
.flagship-tiles-grid .infographic-card.flagship-craft .infographic-copy {
  font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0; flex: 1;
}
.flagship-tiles-grid .infographic-visual { margin-bottom: 0; flex-shrink: 0; }
.flagship-tiles-grid .infographic-visual svg { width: 44px; height: 44px; }
.flagship-tiles-grid .infographic-card.flagship-craft .infographic-visual { margin-bottom: 0; }
.flagship-tiles-grid .infographic-card.flagship-craft .infographic-visual svg { width: 36px; height: 36px; }
.infographic-card.infographic-human { color: var(--accent); }
.infographic-card.infographic-ai { color: var(--accent-blue); }
.infographic-card.infographic-multidisciplinary { color: var(--accent-amber); }
.infographic-card.infographic-research { color: var(--accent-violet); }
.infographic-card.infographic-human .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(0, 206, 201, 0.2)); }
.infographic-card.infographic-ai .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(9, 132, 227, 0.2)); }
.infographic-card.infographic-multidisciplinary .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(253, 203, 110, 0.2)); }
.infographic-card.infographic-research .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(162, 155, 254, 0.2)); }
.flagship-header .btn-primary { display: inline-block; }

/* Flagship flip cards — click to reveal back */
.flagship-flip-card {
  cursor: pointer; perspective: 800px;
  position: relative; overflow: hidden;
}
.flagship-flip-inner {
  position: relative; width: 100%; height: 100%; min-height: 160px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.flagship-flip-card[data-revealed="true"] .flagship-flip-inner {
  transform: rotateY(180deg);
}
.flagship-flip-front,
.flagship-flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  padding: 14px 16px; gap: 4px;
}
.flagship-flip-front {
  transform: rotateY(0deg);
  align-items: center; text-align: center; justify-content: flex-start;
}
.flagship-flip-card.flagship-craft .flagship-flip-front,
.flagship-flip-card.flagship-craft .flagship-flip-back {
  padding: 12px 14px; gap: 3px;
  text-align: left; align-items: flex-start;
}
.flagship-flip-back {
  transform: rotateY(180deg);
  align-items: flex-start; text-align: left;
  overflow: hidden;
}
.flagship-flip-icon {
  display: flex; align-items: center; justify-content: center;
  height: 22px; margin-bottom: 0; flex-shrink: 0;
}
.flagship-flip-icon svg {
  width: 18px; height: 18px; color: inherit;
}
.flagship-flip-desc {
  font-size: 14px; line-height: 1.45; color: var(--text-secondary);
  margin: 0; flex: 1;
}
.flagship-flip-card .infographic-copy {
  font-size: 14px; line-height: 1.45;
}
.flagship-flip-card.flagship-stats .flagship-flip-front .infographic-copy {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .flagship-flip-inner { transition: none; }
  .flagship-flip-card[data-revealed="true"] .flagship-flip-front { opacity: 0; visibility: hidden; }
  .flagship-flip-card[data-revealed="true"] .flagship-flip-back { position: relative; transform: none; opacity: 1; }
}

/* Homepage flagship tiles: equal portrait rectangles */
.flagship-tiles-grid .flagship-flip-card {
  aspect-ratio: 0.85 / 1;
}
.flagship-tiles-grid {
  grid-template-rows: auto;
}
.flagship-tiles-grid .flagship-flip-inner {
  min-height: 0;
  height: 100%;
}
.flagship-tiles-grid .flagship-flip-front,
.flagship-tiles-grid .flagship-flip-back {
  padding: 12px 12px;
}
.flagship-tiles-grid .flagship-flip-desc,
.flagship-tiles-grid .infographic-copy {
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .flagship-tiles-grid .flagship-flip-card {
    aspect-ratio: auto;
  }
  .flagship-tiles-grid .flagship-flip-inner {
    min-height: 160px;
  }
}

@media (max-width: 1100px) {
  .flagship-tiles-grid {
    grid-template-columns: 1fr; grid-template-rows: auto;
  }
}

/* ── What We Do (image aligned with text height) ────────────────────── */
.what-we-do-row {
  display: flex; align-items: stretch; gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.what-we-do-image {
  flex: 0 0 400px; min-width: 0; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--border); align-self: stretch;
}
.what-we-do-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.what-we-do-content { flex: 1; min-width: 0; }
.what-we-do-content .section-header { margin-bottom: 0; }

.product-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: var(--space-md);
}

.stat {
  padding: 16px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
}
.stat-num {
  font-size: 24px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.stat-desc {
  font-size: 14px; color: var(--text-dim); margin-top: 4px;
}

/* ── Feature Grid ─────────────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
/* Ambivalence page: two subjects per row */
.features-grid.ambivalence-two-col {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid rgba(0,206,201,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 18px;
}

.feature-card h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; line-height: 1.6; }

/* What We Do feature cards — isometric icons, accent colours */
.features-grid-what-we-do .feature-card {
  position: relative; overflow: hidden;
}
.features-grid-what-we-do .feature-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: currentColor; opacity: 0.85;
}
.features-grid-what-we-do .feature-card-learning { color: var(--accent); }
.features-grid-what-we-do .feature-card-narrative { color: var(--accent-violet); }
.features-grid-what-we-do .feature-card-civic { color: var(--accent-blue); }
.features-grid-what-we-do .feature-icon-iso {
  width: 48px; height: 48px; margin-bottom: 18px;
  background: none; border: none; border-radius: 0;
  display: flex; align-items: center; justify-content: flex-start;
}
.features-grid-what-we-do .feature-icon-iso svg {
  width: 44px; height: 40px; color: inherit;
  filter: drop-shadow(0 2px 6px rgba(0, 206, 201, 0.2));
}
.features-grid-what-we-do .feature-card-narrative .feature-icon-iso svg { filter: drop-shadow(0 2px 6px rgba(162, 155, 254, 0.2)); }
.features-grid-what-we-do .feature-card-civic .feature-icon-iso svg { filter: drop-shadow(0 2px 6px rgba(9, 132, 227, 0.2)); }

/* ── Isometric illustrations (tighter, wrap with content) ──────────── */
.isometric-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm);
  margin-bottom: var(--space-md); align-items: start;
}
.isometric-pair .iso-img { border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.isometric-pair .iso-img img { width: 100%; height: auto; display: block; }
.isometric-pair .iso-large { grid-column: span 1; }
.isometric-pair .iso-small { max-width: 200px; }

.isometric-inline {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.isometric-inline .iso-block { flex: 0 0 auto; }
.isometric-inline .iso-block img { border-radius: 10px; border: 1px solid var(--border); display: block; }
.isometric-inline .iso-200 { max-width: 200px; }
.isometric-inline .iso-280 { max-width: 280px; }
.isometric-inline .iso-360 { max-width: 360px; }

.isometric-accent {
  margin: var(--space-sm) 0; border-radius: 10px; border: 1px solid var(--border);
  overflow: hidden; max-width: 240px;
}
.isometric-accent img { width: 100%; height: auto; display: block; }

/* Tighter section spacing when using isometric blocks */
section.compact { padding: var(--space-md) 0; }
.product-showcase.compact { gap: var(--space-md); align-items: start; }
.product-showcase .product-visual.compact { min-height: 0; padding: var(--space-sm); }

/* ── Section headers ──────────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-lg); max-width: 600px;
}
.section-header .mono { margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 16px; }

/* ── Two Modes: 3 equal images + compact cards ─────────────────────── */
.mode-images-three {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.mode-image-cell {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--border);
}
.mode-image-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Dual Mode (LOOK + LEARN) ─────────────────────────────────────── */
.dual-mode {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.mode-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: border-color 0.25s;
  position: relative; overflow: hidden;
}
.mode-card:hover { border-color: var(--border-hover); }

.mode-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.mode-card.look::before { background: linear-gradient(90deg, #00cec9, #0984e3); }
.mode-card.learn::before { background: linear-gradient(90deg, var(--accent), #55efc4); }

.mode-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 16px;
}
.mode-card.look .mode-label { color: #00cec9; }
.mode-card.learn .mode-label { color: var(--accent); }

.mode-card h3 { margin-bottom: 12px; }
.mode-card p { font-size: 14px; }

.mode-features {
  list-style: none; margin-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.mode-features li {
  font-size: 14px; color: var(--text-secondary);
  padding-left: 20px; position: relative;
}
.mode-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-hover);
}

/* ── Mode Tiles Three (LOOK | Pedagogy | LEARN) — match tiles above ─── */
.mode-tiles-three {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.mode-tiles-two {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.mode-tile {
  min-height: 240px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 18px 16px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s;
}
.mode-tile:hover { border-color: var(--border-hover); }
.mode-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.mode-tile-look::before { background: linear-gradient(90deg, #00cec9, #0984e3); }
.mode-tile-pedagogy::before { background: linear-gradient(90deg, var(--text-dim), var(--border-hover)); }
.mode-tile-learn::before { background: linear-gradient(90deg, var(--accent), #55efc4); }
.mode-tile-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px;
}
.mode-tile-look .mode-tile-label { color: #00cec9; }
.mode-tile-learn .mode-tile-label { color: var(--accent); }
.mode-tile-pedagogy .mode-tile-label { color: var(--text-dim); }
.mode-tile h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 6px;
  line-height: 1.3;
}
.mode-tile p {
  font-size: 14px; line-height: 1.5; color: var(--text-secondary);
  margin: 0; flex: 1;
}
.mode-tile-features {
  list-style: none; margin-top: 10px; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.mode-tile-features li {
  font-size: 11px; color: var(--text-dim);
  padding-left: 14px; position: relative;
}
.mode-tile-features li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--border-hover);
}
/* Pedagogy tile — visual-first, SVG illustration */
.mode-tile-pedagogy {
  position: relative;
}
.mode-tile-pedagogy .mode-tile-visual {
  flex: 1; min-height: 80px; display: flex; align-items: center; justify-content: center;
  margin: 6px 0;
}
.mode-tile-pedagogy .mode-tile-visual img {
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0.9;
}
.mode-tile-pedagogy .mode-tile-visual svg {
  width: 100%; height: auto; max-height: 120px;
  color: rgba(255,255,255,0.88);
  flex-shrink: 0;
}
.mode-tile-pedagogy p {
  font-size: 14px; line-height: 1.5;
}

/* Two Modes: 3 equal images + compact cards */
.mode-images-three {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.mode-image-cell {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--border);
}
.mode-image-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.section-two-modes .section-header { margin-bottom: var(--space-md); }
.section-two-modes .dual-mode { gap: var(--space-sm); }
.section-two-modes .mode-card { padding: 28px 24px; }
.section-two-modes .mode-features { margin-top: 14px; gap: 6px; }

/* ── Mode Tiles (LOOK | LEARN) ── */
.mode-tiles-three {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
}
.mode-tiles-two {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm);
}
.mode-tile {
  min-height: 240px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 18px 16px; display: flex; flex-direction: column;
  transition: border-color 0.25s; position: relative;
}
.mode-tile:hover { border-color: var(--border-hover); }
.mode-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.mode-tile-look::before { background: linear-gradient(90deg, #00cec9, #0984e3); }
.mode-tile-pedagogy::before { background: linear-gradient(90deg, var(--text-dim), var(--border-hover)); }
.mode-tile-learn::before { background: linear-gradient(90deg, var(--accent), #55efc4); }
.mode-tile-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 8px;
}
.mode-tile-look .mode-tile-label { color: #00cec9; }
.mode-tile-learn .mode-tile-label { color: var(--accent); }
.mode-tile-pedagogy .mode-tile-label { color: var(--text-dim); }
.mode-tile h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3;
}
.mode-tile p {
  font-size: 14px; line-height: 1.5; color: var(--text-secondary);
  margin: 0; flex: 1; min-height: 0;
}
.mode-tile-look p,
.mode-tile-learn p {
  font-size: 14px; line-height: 1.5;
}
.mode-tile-features {
  list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px;
}
.mode-tile-features li {
  font-size: 11px; color: var(--text-dim); padding-left: 14px; position: relative;
}
.mode-tile-features li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 3px; height: 3px; border-radius: 50%; background: var(--border-hover);
}
.mode-tile-pedagogy {
  padding: 14px 12px; justify-content: flex-start;
}
.mode-tile-pedagogy .mode-tile-visual {
  flex: 1; min-height: 80px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.mode-tile-pedagogy .mode-tile-visual img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.mode-tile-pedagogy .mode-tile-visual svg,
.mode-tile-pedagogy .mode-tile-visual .system-axo-inline {
  width: 100%; height: auto; min-height: 80px; max-height: 160px;
  color: rgba(255,255,255,0.88);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}
.mode-tile-pedagogy p {
  font-size: 14px; line-height: 1.5; flex: none;
}

/* ── About / Team ─────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-lg);
  align-items: start;
}

.about-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 40px; position: sticky; top: 120px;
}

.about-card .mono { margin-bottom: 16px; display: block; }
.about-card h3 { margin-bottom: 16px; }
.about-card p { font-size: 14px; margin-bottom: 12px; }

.about-content h2 { margin-bottom: var(--space-md); }

/* ── Isometric illustrations (tighter, wrap with content) ───────────── */
.isometric-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm);
  align-items: center; margin-bottom: var(--space-md);
}
.isometric-pair .iso-img { border-radius: 12px; border: 1px solid var(--border); width: 100%; object-fit: cover; }
.isometric-pair .iso-large { min-height: 200px; }
.isometric-pair .iso-small { max-height: 160px; object-fit: contain; }

.isometric-inline {
  display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: flex-start; margin-bottom: var(--space-md);
}
.isometric-inline .iso-wrap { flex-shrink: 0; }
.isometric-inline .iso-wrap.sm { max-width: 200px; }
.isometric-inline .iso-wrap.md { max-width: 280px; }
.isometric-inline .iso-wrap.lg { max-width: 360px; }
.isometric-inline img { border-radius: 10px; border: 1px solid var(--border); width: 100%; display: block; }

.section-compact { padding: var(--space-md) 0; }
.product-showcase { gap: var(--space-md); }
.product-visual { min-height: 280px; padding: var(--space-sm) !important; }
.dual-mode { gap: var(--space-sm); }
.mode-card { padding: var(--space-md) var(--space-sm); }
.about-content p { margin-bottom: var(--space-sm); font-size: 15px; }

.contact-list {
  list-style: none; margin-top: var(--space-md);
  display: flex; flex-direction: column; gap: 12px;
}
.contact-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.contact-list li a { color: var(--accent); }

/* ── Isometric illustrations — tighter layouts ─────────────────────── */
.isometric-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm);
  align-items: center; margin-bottom: var(--space-md);
}
.isometric-pair .iso-img { border-radius: 12px; border: 1px solid var(--border); width: 100%; height: auto; object-fit: cover; }
.isometric-pair .iso-large { min-height: 200px; }
.isometric-pair .iso-small { min-height: 140px; }

.isometric-inline {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.isometric-inline .iso-img {
  flex-shrink: 0; border-radius: 10px; border: 1px solid var(--border);
  object-fit: cover;
}
.isometric-inline .iso-sm { max-width: 200px; }
.isometric-inline .iso-md { max-width: 280px; }
.isometric-inline .iso-lg { max-width: 360px; }

.section-compact { padding: var(--space-md) 0; }
.product-showcase.compact { gap: var(--space-md); align-items: start; }
.product-showcase.compact .product-visual { min-height: 240px; padding: var(--space-sm); }

/* ── Licensing CTA bar ─────────────────────────────────────────────── */
.cta-bar {
  background: var(--accent-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.cta-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-sm);
}
.cta-bar-text {
  font-size: 14px; color: var(--text-secondary);
}
.cta-bar-text strong { color: var(--text-primary); }
.cta-bar .btn { flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}

.footer-brand {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 11px;
  text-transform: lowercase; letter-spacing: 1.5px;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

/* ── Divider ──────────────────────────────────────────────────────── */
.divider {
  width: 100%; height: 1px; background: var(--border);
  margin: 0;
}

/* ── Scroll Animations ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Badge row ────────────────────────────────────────────────────── */
.badge-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-sm);
}
.badge {
  font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--text-dim);
}

/* ── Infographic Stats ────────────────────────────────────────────── */
.infographic-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.infographic-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.infographic-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

/* Homepage infographics — content-matching isometric icons */
.infographic-card.infographic-domains,
.infographic-card.infographic-cells,
.infographic-card.infographic-badges,
.infographic-card.infographic-languages,
.infographic-card.infographic-human,
.infographic-card.infographic-ai,
.infographic-card.infographic-multidisciplinary,
.infographic-card.infographic-research {
  position: relative; overflow: hidden;
}
.infographic-card.infographic-domains::before,
.infographic-card.infographic-cells::before,
.infographic-card.infographic-badges::before,
.infographic-card.infographic-languages::before,
.infographic-card.infographic-human::before,
.infographic-card.infographic-ai::before,
.infographic-card.infographic-multidisciplinary::before,
.infographic-card.infographic-research::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: currentColor; opacity: 0.85;
}
.infographic-card.infographic-domains { color: var(--accent); }
.infographic-card.infographic-cells { color: var(--accent-blue); }
.infographic-card.infographic-badges { color: var(--accent-violet); }
.infographic-card.infographic-languages { color: var(--accent-mint); }
.infographic-visual {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.infographic-visual svg {
  width: 100%; height: 100%; color: inherit;
  filter: drop-shadow(0 2px 6px rgba(0, 206, 201, 0.2));
}
.infographic-card.infographic-cells .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(9, 132, 227, 0.2)); }
.infographic-card.infographic-badges .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(162, 155, 254, 0.2)); }
.infographic-card.infographic-languages .infographic-visual svg { filter: drop-shadow(0 2px 6px rgba(85, 239, 196, 0.2)); }
.flagship-stats .infographic-value {
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  line-height: 1; margin: 0;
}
.flagship-stats .infographic-label {
  font-size: 11px; color: var(--text-dim); letter-spacing: 1.2px;
  text-transform: uppercase; line-height: 1.3;
}

.ring-container {
  position: relative; width: 96px; height: 96px;
}
.ring-container svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 6; }
.ring-fill {
  fill: none; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: var(--dash); stroke-dashoffset: var(--dash);
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-container.visible .ring-fill { stroke-dashoffset: var(--offset); }

.ring-value {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--text-primary);
}

.bar-container {
  width: 100%; display: flex; flex-direction: column; gap: 6px;
}
.bar-track {
  height: 8px; border-radius: 4px; background: var(--border);
  overflow: hidden; width: 100%;
}
.bar-fill {
  height: 100%; border-radius: 4px; width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-container.visible .bar-fill { width: var(--bar-width); }

.infographic-label {
  font-size: 11px; color: var(--text-dim); letter-spacing: 1px;
  text-transform: uppercase; line-height: 1.4;
}

/* Separation between infographic grid and CTA button */
.infographic-grid + .btn {
  margin-top: var(--space-md);
}

.infographic-value {
  font-size: 28px; font-weight: 700; color: var(--text-primary);
  line-height: 1;
}

.ring-color-gold { stroke: var(--accent); }
.ring-color-teal { stroke: #00cec9; }
.ring-color-pink { stroke: #e17055; }
.ring-color-blue { stroke: #74b9ff; }
.bar-color-gold { background: linear-gradient(90deg, var(--accent), #55efc4); }
.bar-color-teal { background: linear-gradient(90deg, #00cec9, #55efc4); }
.bar-color-pink { background: linear-gradient(90deg, #e17055, #fab1a0); }
.bar-color-blue { background: linear-gradient(90deg, #74b9ff, #a29bfe); }

/* Compact infographics — smaller, for inline use */
.infographic-grid.compact {
  grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.infographic-card.compact {
  padding: 16px 14px; gap: 10px;
}
.infographic-card.compact .ring-container {
  width: 64px; height: 64px;
}
.infographic-card.compact .ring-value { font-size: 14px; }
.infographic-card.compact .infographic-label { font-size: 11px; }
.infographic-card.compact .bar-container { display: none; }

/* Inline stat — single value beside content */
.stat-inline {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 14px; color: var(--text-secondary);
}
.stat-inline .stat-value {
  font-weight: 700; color: var(--accent); font-size: 16px;
}

/* Waveform / signal visual */
.waveform-visual {
  display: flex; align-items: flex-end; gap: 2px; height: 32px;
  margin: 12px 0;
}
.waveform-bar {
  width: 4px; min-height: 4px; border-radius: 2px;
  background: linear-gradient(to top, var(--accent), #00cec9);
  animation: waveform-pulse 2s ease-in-out infinite;
}
.waveform-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.waveform-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { height: 85%; animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { height: 45%; animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { height: 75%; animation-delay: 0.7s; }
.waveform-bar:nth-child(9) { height: 65%; animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { height: 50%; animation-delay: 0.9s; }
@keyframes waveform-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Domain matrix — 9×4 grid */
.domain-matrix {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px;
  margin: 12px 0; max-width: 280px;
}
.domain-cell {
  aspect-ratio: 1; border-radius: 4px;
  background: var(--border); transition: background 0.3s;
}
.domain-cell.filled { background: linear-gradient(135deg, var(--accent), #00cec9); }

/* Asymmetric flow diagram */
.flow-asymmetric {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 0; flex-wrap: wrap;
}
.flow-node {
  padding: 8px 14px; border-radius: 8px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-secondary);
}
.flow-node.highlight { border-color: var(--accent); color: var(--accent); }
.flow-arrow {
  font-size: 11px; color: var(--text-dim);
}

/* ── Image Grid ───────────────────────────────────────────────────── */
.image-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  border-radius: 12px; overflow: hidden;
}
.image-grid img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.7);
}
.image-grid img:hover { transform: scale(1.04); filter: saturate(1); }

.image-grid.two-col { grid-template-columns: 1fr 1fr; }
.image-grid.two-col img { height: 280px; }

.hero-image {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--border);
  margin-top: var(--space-md);
}

/* Hero with intro + screenshots side-by-side */
.hero-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  align-items: start; max-width: 100%;
}
.hero-intro-grid .hero-content { max-width: none; }
.hero-intro-screenshots {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 120px;
}
.hero-intro-screenshots img {
  width: 100%; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ambivalence.html hero — nav clearance matches approach/licensing (160px desktop) */
.hero.bg-pointcloud.hero-ambivalence {
  display: block;
  min-height: 0;
  padding-top: 160px;
  padding-bottom: var(--space-xl);
}
.hero.bg-pointcloud.hero-ambivalence .container {
  padding-left: clamp(6px, 0.9vw, 14px);
  padding-right: clamp(8px, 1.2vw, 18px);
}

/* Ambivalence hero — glass + screenshot share one grid row. Desktop: .hero-ambivalence-shot
   fills the cell height; img uses object-fit:cover so it always matches the text
   column height (contain cannot reach that height without an impossibly wide column). */
.hero-intro-grid-ambivalence {
  display: grid;
  grid-template-columns: minmax(420px, 0.5fr) minmax(260px, 1.5fr);
  gap: clamp(20px, 2.8vw, 40px);
  align-items: stretch;
}
.hero-content-ambivalence {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-width: 0;
  width: 100%;
}
.bg-pointcloud .hero-content-ambivalence {
  padding: clamp(18px, 2.2vw, 30px) clamp(22px, 3.6vw, 44px);
}
.hero-content-ambivalence h1 {
  margin: 0 0 clamp(10px, 1.4vw, 16px);
  line-height: 1.08;
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.35rem);
  /* Italic Syne can overshoot the glyph box; keeps “ambivalence” inside the glass */
  padding-inline: 0.12em 0.35em;
  box-sizing: border-box;
}
.hero-content-ambivalence > p {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-size: clamp(15.5px, 0.75vw + 0.62rem, 17.5px);
  line-height: 1.58;
  max-width: none;
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: manual;
}
.hero-content-ambivalence .hero-cta {
  margin-top: 2px;
  gap: 10px 14px;
  flex-shrink: 0;
}
.hero-intro-screenshots-ambivalence {
  position: relative;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  margin-right: 0;
}
.hero-ambivalence-media {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
}
/* Fills the grid cell (same stretched height as text column). Wide PNG cannot
   reach that height with object-fit:contain in a typical column — cover + clip. */
.hero-ambivalence-shot {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}
.hero-ambivalence-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
@media (min-width: 1100px) {
  .hero-intro-grid-ambivalence {
    grid-template-columns: minmax(440px, 0.48fr) minmax(280px, 1.52fr);
    gap: clamp(24px, 3.2vw, 44px);
  }
}
@media (max-width: 900px) {
  .hero.bg-pointcloud.hero-ambivalence .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  .hero-intro-grid { grid-template-columns: 1fr; }
  .hero-intro-screenshots { position: static; }
  .hero-intro-grid-ambivalence {
    grid-template-columns: 1fr;
  }
  .hero-content-ambivalence > p {
    max-width: none;
  }
  .hero-intro-screenshots-ambivalence {
    position: static;
    min-height: min(52vh, 420px);
    margin-right: 0;
  }
  .hero-ambivalence-media {
    position: static;
    pointer-events: auto;
    min-height: inherit;
    padding-block: var(--space-sm);
  }
  .hero-ambivalence-shot {
    height: auto;
    min-height: 0;
    max-height: min(52vh, 440px);
  }
  .hero-ambivalence-shot img {
    height: auto;
    max-height: min(50vh, 420px);
    width: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.concept-image {
  max-width: 360px; border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Ambivalence page: dual-column sections ─────────────────────────── */
.ambivalence-section-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  align-items: start; margin-bottom: var(--space-lg);
}
.ambivalence-section-row .section-header { margin-bottom: var(--space-md); max-width: none; }
.features-grid.ambivalence-two-col {
  grid-template-columns: repeat(2, 1fr); gap: 20px;
}

/* For Organisations: compact row, 3 tiles in a single row to the right of text */
.ambivalence-section-row.for-org-compact {
  margin-bottom: var(--space-md); gap: var(--space-md);
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
}
.features-grid.for-org-tiles {
  grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: stretch; min-width: 0;
}
.for-org-tiles .feature-card {
  padding: 22px 18px;
  position: relative; overflow: hidden;
}
.for-org-tiles .feature-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: currentColor; opacity: 0.85;
}
.for-org-tiles .feature-card-tenant { color: var(--accent); }
.for-org-tiles .feature-card-analytics { color: var(--accent-blue); }
.for-org-tiles .feature-card-i18n { color: var(--accent-mint); }
.for-org-tiles .feature-icon-iso {
  width: 44px; height: 44px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: flex-start;
  background: none; border: none; border-radius: 0;
}
.for-org-tiles .feature-icon-iso svg {
  width: 40px; height: 36px; color: inherit;
  filter: drop-shadow(0 2px 4px rgba(0, 206, 201, 0.15));
}
.for-org-tiles .feature-card-analytics .feature-icon-iso svg { filter: drop-shadow(0 2px 4px rgba(9, 132, 227, 0.15)); }
.for-org-tiles .feature-card-i18n .feature-icon-iso svg { filter: drop-shadow(0 2px 4px rgba(85, 239, 196, 0.15)); }
.for-org-tiles .feature-card h3 { font-size: 14px; }
.for-org-tiles .feature-card p { font-size: 14px; line-height: 1.5; }

/* For-org tiles — isometric icons, accent colours */
.for-org-tiles .feature-icon-iso {
  background: transparent; border: none;
  width: 44px; height: 36px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: flex-start;
}
.for-org-tiles .feature-icon-iso svg {
  width: 100%; height: 100%; color: inherit;
}
.for-org-tiles .feature-card-tenant { color: var(--accent); }
.for-org-tiles .feature-card-tenant .feature-icon-iso svg { filter: drop-shadow(0 2px 4px rgba(0, 206, 201, 0.2)); }
.for-org-tiles .feature-card-analytics { color: var(--accent-blue); }
.for-org-tiles .feature-card-analytics .feature-icon-iso svg { filter: drop-shadow(0 2px 4px rgba(9, 132, 227, 0.2)); }
.for-org-tiles .feature-card-i18n { color: var(--accent-mint); }
.for-org-tiles .feature-card-i18n .feature-icon-iso svg { filter: drop-shadow(0 2px 4px rgba(85, 239, 196, 0.2)); }

.ambivalence-section-row.for-org-compact {
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.5fr);
  gap: var(--space-md); margin-bottom: var(--space-md);
}

/* Storytelling blended: left = framework, right = info tiles + episode samples */
.storytelling-blended { margin-bottom: 0; }
.storytelling-left { max-width: 280px; }
.domain-caption { font-size: 11px; color: var(--text-dim); margin-top: 8px; margin-bottom: 0; }

/* Value infographics — product differentiation, innovation, talent, culture */
.value-infographics {
  margin-top: var(--space-md); display: flex; flex-direction: column; gap: 12px;
}
.value-infographic {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  border-left: 3px solid var(--accent);
  transition: border-color 0.25s;
}
.value-infographic:hover { border-color: var(--border-hover); border-left-color: var(--accent); }
.value-infographic-visual {
  margin-bottom: 10px; min-height: 28px;
  display: flex; align-items: flex-end; gap: 6px;
}
.value-stat {
  font-size: 24px; font-weight: 800; color: var(--accent);
  line-height: 1; letter-spacing: -0.5px;
}
/* Value infographic variants — variety and polish */
.value-stat-glow {
  text-shadow: 0 0 20px var(--accent-glow);
  animation: value-stat-pulse 2.5s ease-in-out infinite;
}
@keyframes value-stat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.value-bar-chart {
  display: flex; gap: 14px; align-items: flex-end; height: 36px;
}
.value-bar-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.value-bar {
  width: 28px; border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--accent), #55efc4);
  transition: height 0.5s ease, opacity 0.3s;
  box-shadow: 0 -2px 12px rgba(0, 206, 201, 0.3);
}
.value-bar-tall { height: 85%; min-height: 12px; }
.value-bar-short { height: 28%; min-height: 8px; opacity: 0.6; }
.value-bar-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-dim);
}
.value-trend-line {
  min-height: 0; width: 100%; max-width: 56px;
}
.value-trend-line svg {
  width: 100%; height: 28px; display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 206, 201, 0.25));
}
.value-nodes {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 0;
}
.value-node {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all 0.3s ease;
}
.value-node-center {
  width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--accent), #55efc4);
  box-shadow: 0 0 12px var(--accent-glow);
}
.value-infographic-nodes:hover .value-node {
  background: rgba(0, 206, 201, 0.3);
}
.value-infographic-nodes:hover .value-node-center {
  transform: scale(1.15);
  box-shadow: 0 0 18px var(--accent-glow);
}
.value-speed-bolt {
  font-size: 24px; line-height: 1; min-height: 0;
  color: var(--accent); filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: value-bolt-pulse 2s ease-in-out infinite;
}
@keyframes value-bolt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
.value-infographic:hover .value-stat-glow { text-shadow: 0 0 28px var(--accent-glow); }
.value-infographic:hover .value-bar-tall { box-shadow: 0 0 16px rgba(0, 206, 201, 0.4); }
.value-infographic h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.value-infographic p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-secondary); }

/* Tiles layer — varied structure, breaks, flow */
.tiles-layer {
  margin-bottom: var(--space-md);
}
.tiles-layer-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent);
  margin-bottom: 12px; margin-top: 0;
}
.tiles-break {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: var(--space-sm) 0; max-width: 60%; margin-left: 0;
}
.tiles-break-wide {
  max-width: 85%; margin: var(--space-md) 0 var(--space-sm);
}
.usp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-top: 0;
}
.usp-grid-three { grid-template-columns: repeat(3, 1fr); }
.usp-grid-compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.usp-tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  transition: border-color 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.usp-tile::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: currentColor;
  opacity: 0.9;
}
.usp-tile:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.usp-tile-featured { padding: 14px 16px; }
.usp-tile-compact { padding: 10px 12px; }
.usp-tile-visual {
  margin-bottom: 8px; min-height: 24px;
  display: flex; align-items: center;
}
.usp-tile-visual svg {
  width: 36px; height: 36px; color: inherit;
}
.usp-tile-featured .usp-tile-visual svg { width: 40px; height: 40px; }
.usp-tile-compact .usp-tile-visual svg { width: 28px; height: 28px; }
.usp-tile h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.usp-tile p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-secondary); }
.usp-tile-compact h4 { font-size: 14px; }
.usp-tile-compact p { font-size: 14px; }
.usp-accent-teal { color: var(--accent); }
.usp-accent-blue { color: var(--accent-blue); }
.usp-accent-mint { color: var(--accent-mint); }
.usp-accent-violet { color: var(--accent-violet); }
.usp-accent-amber { color: var(--accent-amber); }
/* Isometric icon treatments */
.iso-cube svg { filter: drop-shadow(0 2px 4px rgba(0, 206, 201, 0.2)); }
.iso-chart svg { filter: drop-shadow(0 2px 4px rgba(9, 132, 227, 0.2)); }
.iso-stairs svg { filter: drop-shadow(0 2px 4px rgba(85, 239, 196, 0.2)); }
.iso-nodes svg { filter: drop-shadow(0 2px 4px rgba(162, 155, 254, 0.2)); }
.iso-bolt svg { filter: drop-shadow(0 2px 4px rgba(253, 203, 110, 0.2)); }
.iso-crystal svg { filter: drop-shadow(0 2px 4px rgba(85, 239, 196, 0.2)); }

/* USP section — legacy, kept for compatibility */
.usp-section { margin-bottom: var(--space-lg); }
.usp-section-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px; margin-top: 0; }
.value-infographics-two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 0; }

/* Storytelling section layout — heart of the page */
section.storytelling-heart .section-header { max-width: 720px; margin-bottom: var(--space-lg); }
section.storytelling-heart .section-header p { font-size: 15px; line-height: 1.7; }
.ambivalence-section-row.storytelling-blended {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--space-lg); align-items: start;
}

.storytelling-right-col {
  display: flex; flex-direction: column; gap: var(--space-md);
  margin-top: 0;
}
section.storytelling-heart .storytelling-right-col {
  margin-top: 0;
}

/* Subsection headers — distinct labels for USP vs episode content */
.storytelling-subsection {
  margin-bottom: var(--space-md);
}
.storytelling-subsection:last-child { margin-bottom: 0; }
.storytelling-subheader {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent);
  margin-bottom: 12px; margin-top: 0;
}

/* Competency / info tiles — compact, colour-differentiated, isometric icons */
.info-tiles-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.info-tiles-compact .info-tile { padding: 10px 12px; }
.info-tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  transition: border-color 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.info-tile::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: currentColor; opacity: 0.85;
}
.info-tile:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.info-tile-icon, .info-tile-visual {
  display: block; margin-bottom: 6px;
}
.info-tile-icon { font-size: 12px; color: var(--accent); }
.info-tile-visual svg {
  width: 28px; height: 28px; color: inherit;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}
.info-tile-domains { color: var(--accent-blue); }
.info-tile-cells { color: var(--accent-mint); }
.info-tile-badge { color: var(--accent-violet); }
.info-tile h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.info-tile p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-secondary); }

/* Compact episode tiles — civic narrative samples */
.episode-tiles-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.episode-tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
  display: flex; flex-direction: column;
}
.episode-tile:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.episode-tile img {
  width: 100%; height: 72px; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.85);
}
.episode-tile:hover img { transform: scale(1.03); filter: saturate(1); }
.episode-tile-body { padding: 10px 12px; flex: 1; }
.episode-tile-body .mono { font-size: 11px; margin-bottom: 3px; display: block; }
.episode-tile-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.episode-tile-body p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-secondary); }

/* Episode cards — 2-col grid with imagery and teasers */
.episode-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md);
}
.episode-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.episode-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.episode-card-image {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.85);
}
.episode-card:hover .episode-card-image { transform: scale(1.03); filter: saturate(1); }
.episode-card-body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.episode-card-body .mono { font-size: 11px; margin-bottom: 6px; }
.episode-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.episode-card-body p { font-size: 14px; margin: 0; line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-showcase { grid-template-columns: 1fr; }
  .product-visual { min-height: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .dual-mode { grid-template-columns: 1fr; }
  .mode-images-three { grid-template-columns: 1fr; }
  .mode-tiles-three, .mode-tiles-two { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .image-grid { grid-template-columns: 1fr 1fr; }
  .image-grid img { height: 160px; }
  .image-grid.two-col img { height: 200px; }
  .infographic-grid { grid-template-columns: 1fr 1fr; }
  .isometric-pair { grid-template-columns: 1fr; }
  .isometric-inline { flex-direction: column; }
  .flagship-visual-row { flex-direction: column; align-items: stretch; }
  .flagship-statement-image { flex: 0 0 auto; width: 100%; max-width: 320px; max-height: 360px; }
  .what-we-do-row { flex-direction: column; align-items: stretch; }
  .what-we-do-image { flex: 0 0 auto; width: 100%; max-width: 400px; max-height: 360px; }
  .what-we-do-image img { height: auto; max-height: 360px; object-fit: cover; object-position: center top; }
  .what-we-do-row { flex-direction: column; align-items: stretch; }
  .what-we-do-image { flex: 0 0 auto; width: 100%; max-width: 400px; max-height: 360px; }
  .what-we-do-image img { height: auto; max-height: 360px; object-fit: cover; object-position: center top; }
  .what-we-do-row { flex-direction: column; align-items: stretch; }
  .what-we-do-image { flex: 0 0 auto; width: 100%; max-width: 400px; max-height: 360px; }
  .what-we-do-image img { height: auto; max-height: 360px; object-fit: cover; object-position: center top; }
  .flagship-statement-image img { height: auto; max-height: 360px; object-fit: cover; object-position: center top; }
  .what-we-do-row { flex-direction: column; }
  .what-we-do-image { flex: 0 0 auto; width: 100%; max-width: 400px; max-height: 360px; }
  .what-we-do-image img { height: auto; max-height: 360px; object-fit: cover; object-position: center top; }
  .ambivalence-section-row { grid-template-columns: 1fr; }
  .storytelling-left { max-width: none; }
  .value-infographics-two-col { grid-template-columns: 1fr; }
  .usp-grid, .usp-grid-three { grid-template-columns: 1fr; }
  .usp-grid-compact { grid-template-columns: 1fr; }
  .info-tiles-row { grid-template-columns: 1fr; }
  .episode-tiles-row { grid-template-columns: 1fr; }
  .features-grid.ambivalence-two-col { grid-template-columns: 1fr; }
  .episode-cards { grid-template-columns: 1fr; }
  .about-content [style*="float"] { float: none; margin: 0 0 var(--space-md) 0; max-width: 100%; }
}

@media (max-width: 640px) {
  :root { --space-xl: 64px; --space-lg: 40px; --space-md: 24px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; background: var(--bg-deep);
    justify-content: center; align-items: center; gap: 28px;
    z-index: 100;
  }
  .nav-links.open a { font-size: 14px; letter-spacing: 3px; }
  .nav-toggle { display: block; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: var(--space-xl); }
  .hero.bg-pointcloud.hero-ambivalence {
    padding-top: 140px;
    padding-bottom: var(--space-xl);
  }
  .hero.bg-pointcloud.hero-ambivalence .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-stats { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .image-grid { grid-template-columns: 1fr; }
  .image-grid img { height: 180px; }
  .image-grid.two-col { grid-template-columns: 1fr; }
  .image-grid.two-col img { height: 200px; }
}

/* Theme toggle — matches nav links, no icon */
.theme-toggle {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 6px;
  background: transparent; cursor: pointer; margin-left: 16px;
  font-size: 12px; font-weight: 400; text-transform: lowercase; letter-spacing: 1.5px;
  font-family: var(--font-primary);
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--border-hover); }
.theme-toggle::before { display: none !important; }

/* Light theme overrides */
body.theme-light {
  --bg-deep: #f5f6f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f1f4;
  --border: #d8dae5;
  --border-hover: #b8bccf;
  --text-primary: #1a1c24;
  --text-secondary: #4a4d5c;
  --text-dim: #6e7280;
  --accent-dim: rgba(0, 132, 128, 0.12);
  --accent-glow: rgba(0, 132, 128, 0.2);
}
body.theme-light { background: var(--bg-deep); color: var(--text-primary); }
body.theme-light::before { opacity: 0.04; }
body.theme-light nav {
  background: rgba(245, 246, 248, 0.9);
  border-bottom-color: transparent;
}
body.theme-light nav.scrolled { border-bottom-color: var(--border); }
body.theme-light .nav-brand img { filter: invert(0); }
body.theme-light .nav-links a { color: var(--text-secondary); }
body.theme-light .nav-links a:hover,
body.theme-light .nav-links a.active { color: var(--text-primary); }
body.theme-light .nav-toggle span { background: var(--text-primary); }
body.theme-light .bg-pointcloud::before { opacity: 0.5; mix-blend-mode: multiply; filter: brightness(0.85); }
body.theme-light .divider { border-color: var(--border); }
@media (max-width: 640px) {
  body.theme-light .nav-links.open { background: var(--bg-deep); }
}

/* ══════════════════════════════════════════════════════════════════
   Theory Diagram (static SVG pentagon)
══════════════════════════════════════════════════════════════════ */
.theory-diagram-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: var(--space-md);
  line-height: 0; /* remove inline-block gap */
}
.theory-diagram-wrap svg { display: block; }

/* ── Theory Reference Grid (concepts + links below diagram) ── */
.theory-ref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: var(--space-md);
}
.theory-ref-col {
  padding-top: 14px;
}
.theory-ref-col.theory-pillar-cognition  { border-top: 2px solid rgba(0,206,201,0.4); }
.theory-ref-col.theory-pillar-futures    { border-top: 2px solid rgba(162,155,254,0.4); }
.theory-ref-col.theory-pillar-narrative  { border-top: 2px solid rgba(253,203,110,0.4); }
.theory-ref-col.theory-pillar-competency { border-top: 2px solid rgba(9,132,227,0.4); }
.theory-ref-col.theory-pillar-civic      { border-top: 2px solid rgba(85,239,196,0.4); }

.theory-ref-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: currentColor;
  margin-bottom: 10px;
}
.theory-ref-concepts {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.theory-ref-concepts li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 0 3px 13px;
  position: relative;
  line-height: 1.35;
}
.theory-ref-concepts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.theory-ref-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theory-ref-links a {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  transition: color 0.2s;
  line-height: 1.45;
}
.theory-ref-links a:hover { color: currentColor; }

@media (max-width: 1000px) {
  .theory-ref-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .theory-ref-grid { grid-template-columns: repeat(2, 1fr); }
  .theory-diagram-wrap { display: none; } /* SVG too small to read on mobile — reference grid carries content */
}

/* ══════════════════════════════════════════════════════════════════
   Theory Pillars Section
══════════════════════════════════════════════════════════════════ */
.theory-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: var(--space-md);
}

.theory-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 18px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.theory-pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.theory-pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: currentColor;
  opacity: 0.85;
}

.theory-pillar-cognition  { color: var(--accent); }
.theory-pillar-futures    { color: var(--accent-violet); }
.theory-pillar-narrative  { color: var(--accent-amber); }
.theory-pillar-competency { color: var(--accent-blue); }
.theory-pillar-civic      { color: var(--accent-mint); }

.theory-pillar-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.95;
  margin-bottom: 6px;
  display: block;
}

.theory-pillar-theorists {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.55;
}

.theory-pillar-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: none;
  margin-bottom: 16px;
}

.theory-pillar-concepts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
}
.theory-pillar-concepts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}
.theory-pillar-concepts li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.65;
}

.theory-synthesis {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 40px;
  text-align: center;
}
.theory-synthesis p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto;
}
.theory-synthesis strong { color: var(--text-primary); }

@media (max-width: 1100px) {
  .theory-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .theory-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .theory-synthesis { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .theory-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Approach crosslink (ambivalence.html → approach.html) ── */
.approach-crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 28px 32px;
}
.approach-crosslink-text .mono {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.approach-crosslink-text h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: var(--font-heading);
}
.approach-crosslink-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
}
.approach-crosslink .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 700px) {
  .approach-crosslink {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Episode Catalogue (episodes.html) ─────────────────────────────── */
.episode-catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.episode-card-full {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.episode-card-full:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.episode-card-full.accent-teal    { border-left-color: #00cec9; }
.episode-card-full.accent-blue    { border-left-color: #0984e3; }
.episode-card-full.accent-mint    { border-left-color: #55efc4; }
.episode-card-full.accent-amber   { border-left-color: #fdcb6e; }
.episode-card-full.accent-violet  { border-left-color: #a29bfe; }
.episode-card-full.accent-coral   { border-left-color: #e17055; }
.episode-card-full.accent-rose    { border-left-color: #fd79a8; }
.episode-card-full.accent-lime    { border-left-color: #badc58; }
.episode-card-full-media {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.episode-card-full-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.episode-card-full:hover .episode-card-full-media img {
  transform: scale(1.04);
  filter: saturate(1);
}
.episode-card-full-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 46px;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -1px;
  user-select: none;
}
.episode-card-full-body {
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-card-full-body .episode-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.episode-card-full-body .episode-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.episode-card-full-body .episode-status-live {
  color: #55efc4;
  border-color: rgba(85, 239, 196, 0.3);
  background: rgba(85, 239, 196, 0.05);
}
.episode-card-full-body .episode-status-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #55efc4;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(85, 239, 196, 0.6);
}
.episode-card-full-body .episode-status-production {
  color: var(--accent-amber);
  border-color: rgba(253, 203, 110, 0.3);
  background: rgba(253, 203, 110, 0.05);
}
.episode-card-full-body .episode-status-demo {
  color: #a29bfe;
  border-color: rgba(162, 155, 254, 0.35);
  background: rgba(162, 155, 254, 0.08);
}
.episode-card-full-body .episode-status-demo::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #a29bfe;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(162, 155, 254, 0.5);
}
.episode-card-full-body .episode-status-licensed {
  color: #74b9ff;
  border-color: rgba(116, 185, 255, 0.35);
  background: rgba(116, 185, 255, 0.07);
}
.episode-card-full-body .episode-status-licensed::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #74b9ff;
  border-radius: 50%;
  opacity: 0.9;
}
.episode-card-full-body .episode-status-authored {
  color: var(--accent-violet);
  border-color: rgba(162, 155, 254, 0.3);
  background: rgba(162, 155, 254, 0.05);
}
.episode-card-full-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}
.episode-card-full-body h3 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.episode-card-full-body .episode-logline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.episode-card-full-body .episode-stats {
  display: flex;
  gap: 14px;
  font-family: var(--font-primary);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 4px;
}
.episode-card-full-body .episode-stats span strong {
  color: var(--text-secondary);
  font-weight: 700;
}
@media (max-width: 900px) {
  .episode-catalog { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .episode-card-full { grid-template-columns: 1fr; }
  .episode-card-full-media { min-height: 200px; }
  .episode-card-full-body { padding: 0 20px 20px; }
}

/* ── Season summary strip ── */
.season-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: var(--space-lg);
}
.season-summary-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.season-summary-stat .value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
}
.season-summary-stat .label {
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (max-width: 700px) {
  .season-summary { grid-template-columns: repeat(2, 1fr); }
}

/* ── Book-a-demo picker (licensing.html) ────────────────────────────── */
.booking-picker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--space-md);
}
.booking-picker-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.booking-picker-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0;
}
.booking-picker-header .mono {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.booking-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.booking-slot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.booking-slot:hover,
.booking-slot:focus-visible {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  outline: none;
}
.booking-slot-day {
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.booking-slot-date {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.booking-slot-time {
  font-family: var(--font-primary);
  font-size: 13px;
  color: var(--accent);
  margin-top: 2px;
}
.booking-picker-note {
  margin-top: var(--space-md);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.booking-picker-note a { color: var(--accent); }
.booking-picker-empty {
  padding: var(--space-md);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}
@media (max-width: 540px) {
  .booking-picker-grid { grid-template-columns: repeat(2, 1fr); }
}
