/* ==========================================================================
   GREATSOLO.ID — Cinema-Grade Dark Editorial Design System
   Inspired by keyframe.art: obsidian surfaces, 1px lit top-lips,
   Inter Tight display tracking, JetBrains Mono eyebrows, liquid-glass pills.
   ========================================================================== */

:root {
  --bg-void: #050506;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --footer-bg: #0e0e0f;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --line: #262626;
  --line-2: #333333;

  --text: #f5f5f5;
  --text-2: #a8a8a8;
  --muted: #b9b9c0;
  --muted-2: #a3a3a3;
  --dim: #737373;

  --yellow: #ffd426;
  --yellow-wire: #ffcf19;
  --yellow-ink: #1a1500;
  --mint: #5ee6b0;

  /* Category semantic tints */
  --teal-bg: #1f3a33; --teal-bd: #2f6b5b; --teal-hi: #4fd1a5;
  --blue-bg: #172636; --blue-bd: #2a4a6b; --blue-hi: #60a5fa;
  --violet-bg: #211d3d; --violet-bd: #3f3874; --violet-hi: #a78bfa;
  --crimson-bg: #2e1617; --crimson-bd: #5e2a2c; --crimson-hi: #f87171;
  --olive-bg: #1d2a1a; --olive-bd: #3e5a34; --olive-hi: #86efac;
  --amber-bg: #2e2610; --amber-bd: #6b5620; --amber-hi: #fbbf24;

  --card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 24px 60px rgba(0, 0, 0, 0.35);
  --card-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.65),
    0 14px 32px rgba(0, 0, 0, 0.5),
    0 32px 80px rgba(0, 0, 0, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography System */
h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", sans-serif;
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.45rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.036em;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.022em;
}

h4 {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.subhead {
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 580px;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 212, 38, 0.7);
}

.muted-line {
  color: var(--text-2);
}

/* Word-by-word Masked Scroll Reveal */
.sr-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.sr-word {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
  transition: transform 1.05s var(--ease-out), opacity 0.8s var(--ease-out);
  will-change: transform, opacity;
}

.is-visible .sr-word {
  transform: translateY(0%);
  opacity: 1;
}

.sr-rise {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.sr-rise.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Liquid-Glass Capsule Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease-out), filter 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13.5px;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f2 58%, #dcdce0 100%);
  color: #0b0b0c;
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 2px rgba(0, 0, 0, 0.14),
    0 2px 12px rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 4px 18px rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.55);
}

.btn-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-glass:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(255, 212, 38, 0.3);
}

.btn-yellow:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* ==========================================================================
   1. STICKY HEADER & MOBILE DRAWER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-logo-img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(255, 212, 38, 0.16));
  transition: transform 0.25s var(--ease-out), filter 0.25s ease;
}

.brand-lockup:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 16px rgba(255, 212, 38, 0.3));
}

.brand-logo-footer {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffffff 0%, #c8c8ce 100%);
  color: #09090b;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(255, 255, 255, 0.14);
}

.brand-dot {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Full-Screen Drawer (Keyframe Style) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 8, 9, 0.98);
  backdrop-filter: blur(20px);
  padding: 92px 20px 32px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 28px;
}

.drawer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--card-shadow);
}

.drawer-card-title {
  font-weight: 500;
  font-size: 14.5px;
  margin: 8px 0 4px;
}

.drawer-card-sub {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.4;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* ==========================================================================
   2. HERO — 3D ORBITAL COLLAGE STAGE
   ========================================================================== */
.hero-fly {
  position: relative;
  min-height: 92vh;
  padding: 130px 0 96px;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1100px;
}

.hero-still {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  opacity: 0.42;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.hero-still img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 48% at 50% 50%, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.72) 55%, rgba(5, 5, 6, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.85) 0%, rgba(5, 5, 6, 0) 22%, rgba(5, 5, 6, 0) 76%, var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-line {
  display: block;
}

.hero-badge {
  margin-bottom: 24px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-content .subhead {
  margin: 22px auto 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* Quick-Connect Popover (inspired by Keyframe's Connect your agent popover) */
.popover-wrap {
  position: relative;
}

.connect-icons {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.connect-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #141416;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  margin-left: -5px;
}

.connect-dot:first-child { margin-left: 0; background: #25d366; color: #062110; }
.connect-dot:nth-child(2) { background: #e1306c; color: #fff; }
.connect-dot:nth-child(3) { background: var(--yellow); color: var(--yellow-ink); }

.connect-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 248px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  text-align: left;
  z-index: 30;
}

.connect-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.popover-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
  transition: background 0.15s ease;
}

.popover-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.popover-item small {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--dim);
}

.hero-metrics {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  text-align: center;
}

.metric-num {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}

.metric-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION SPACING & HEADERS
   ========================================================================== */
.section {
  padding: 116px 0;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-header h2 {
  margin-top: 12px;
}

.section-header .subhead {
  margin-top: 14px;
}

/* ==========================================================================
   3. STUDIO FEATURES BENTO GRID (12-COL)
   ========================================================================== */
.bento-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
}

.bento-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--card-shadow-hover);
}

/* Full-width Split Feature Card (Quickstart / Flagship) */
.bento-flagship {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 360px;
  margin-bottom: 24px;
}

.bento-flagship-copy {
  padding: 40px;
  background: #0d0d0f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-flagship-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.bento-flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.bento-flagship:hover .bento-flagship-media img {
  transform: scale(1.03);
}

.media-overlay-label {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 15, 0.55) 0%, rgba(13, 13, 15, 0.1) 40%, rgba(13, 13, 15, 0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  width: fit-content;
}

/* 12-Col Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

.bento-pad {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-desc {
  color: var(--muted-2);
  font-size: 14.5px;
  margin: 10px 0 20px;
  line-height: 1.55;
}

/* Multiplayer Event Board Visual */
.collab-preview {
  position: relative;
  flex: 1;
  min-height: 210px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 212, 38, 0.06), transparent 60%), #101012;
  border: 1px solid var(--line);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-shot {
  width: 34%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #17171a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.mini-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini-shot-cap {
  padding: 8px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--muted);
}

.live-cursor {
  position: absolute;
  right: 22%;
  top: 24%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #ff6b2c;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 107, 44, 0.45);
  animation: floatCursor 5.5s ease-in-out infinite;
}

@keyframes floatCursor {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 14px); }
}

/* Vertical Tall Card (Curriculum / Agent-style UI) */
.syllabus-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.syllabus-row {
  background: #101012;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.syllabus-row strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
}

.syllabus-row span {
  font-size: 12px;
  color: var(--dim);
}

.status-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--teal-bg);
  border: 1px solid var(--teal-bd);
  color: var(--teal-hi);
}

/* Miniature Timeline Visual */
.timeline-ui {
  background: #0f0f11;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.tl-track {
  height: 24px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  white-space: nowrap;
}

.tl-1 { width: 82%; background: var(--amber-bg); border: 1px solid var(--amber-bd); color: var(--amber-hi); }
.tl-2 { width: 68%; margin-left: 16%; background: var(--blue-bg); border: 1px solid var(--blue-bd); color: var(--blue-hi); }
.tl-3 { width: 76%; margin-left: 8%; background: var(--violet-bg); border: 1px solid var(--violet-bd); color: var(--violet-hi); margin-bottom: 0; }

.tl-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 1.5px;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
}

/* Atmospheric Full-Width Banner inside Bento */
.bento-banner {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: #0d0d0f;
}

.bento-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.8s var(--ease-out);
}

.bento-banner:hover img {
  transform: scale(1.03);
}

.bento-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 36px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   4. INTERACTIVE DRAGGABLE NODE CANVAS (#canvas)
   ========================================================================== */
.section-dots {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.canvas-board {
  position: relative;
  width: 100%;
  height: 740px;
  border-radius: var(--radius-lg);
  background: rgba(14, 14, 16, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.canvas-toolbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.canvas-hint {
  pointer-events: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  background: rgba(20, 20, 22, 0.85);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.canvas-toolbar .btn {
  pointer-events: auto;
}

.canvas-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.canvas-node {
  position: absolute;
  z-index: 5;
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: grab;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.canvas-node:active {
  cursor: grabbing;
  border-color: var(--yellow);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 212, 38, 0.35);
  z-index: 12;
}

.node-input {
  width: 224px;
}

.node-output {
  width: 390px;
  cursor: default;
}

.node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.node-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.node-foot {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.node-foot strong {
  font-size: 13px;
  font-weight: 500;
}

.node-port {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid #17171a;
  box-shadow: 0 0 8px rgba(255, 212, 38, 0.6);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.port-right { right: -5px; }
.port-left { left: -5px; }

/* ==========================================================================
   5. PRODUCTION WORKFLOWS (TABBED FULL-BLEED SECTION)
   ========================================================================== */
.studios-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.studios-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  transition: background-image 0.55s ease, transform 0.9s var(--ease-out);
  transform: scale(1.03);
}

.studios-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0.48) 25%, rgba(10, 10, 10, 0.65) 75%, var(--bg) 100%);
}

.studios-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 38px;
}

.studio-console {
  background: rgba(18, 18, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workflow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.wf-tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.wf-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.wf-tab.active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
}

.prompt-box {
  background: rgba(8, 8, 10, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  min-height: 136px;
}

.prompt-text {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 10px 0 0;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--yellow);
  margin-left: 3px;
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.meta-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

/* Right Mini-Graph Preview */
.studio-graph {
  background: rgba(14, 14, 16, 0.84);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
  position: relative;
}

.graph-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-node {
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.mini-node img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mini-node-body {
  padding: 10px 12px;
}

.mini-node-body strong {
  font-size: 13px;
  display: block;
}

.mini-node-body span {
  font-size: 11.5px;
  color: var(--dim);
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

/* ==========================================================================
   6. ECOSYSTEM MARQUEE & 7-CARD DISCIPLINE MATRIX
   ========================================================================== */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  margin-bottom: 42px;
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.matrix-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.matrix-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), border-color 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.cat-media {
  height: 124px;
  position: relative;
  overflow: hidden;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.cat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.1) 0%, var(--panel) 100%);
}

.cat-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.cat-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.cat-tag {
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Semantic accent helpers */
.tint-teal { background: var(--teal-bg); border: 1px solid var(--teal-bd); color: var(--teal-hi); }
.tint-blue { background: var(--blue-bg); border: 1px solid var(--blue-bd); color: var(--blue-hi); }
.tint-violet { background: var(--violet-bg); border: 1px solid var(--violet-bd); color: var(--violet-hi); }
.tint-amber { background: var(--amber-bg); border: 1px solid var(--amber-bd); color: var(--amber-hi); }
.tint-crimson { background: var(--crimson-bg); border: 1px solid var(--crimson-bd); color: var(--crimson-hi); }
.tint-olive { background: var(--olive-bg); border: 1px solid var(--olive-bd); color: var(--olive-hi); }

/* ==========================================================================
   7. PEEK-EDGE PORTFOLIO SHOWCASE CAROUSEL (#portfolio)
   ========================================================================== */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.filter-pill.active {
  background: var(--text);
  color: #09090b;
  border-color: var(--text);
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0 28px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.film-card {
  flex: 0 0 min(78vw, 900px);
  aspect-ratio: 16 / 9.2;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--card-shadow);
  opacity: 0.42;
  transform: scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out), border-color 0.3s ease;
  cursor: pointer;
}

.film-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 255, 255, 0.22);
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.film-card.active:hover img {
  transform: scale(1.025);
}

.film-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.1) 0%, rgba(8, 8, 10, 0.32) 48%, rgba(8, 8, 10, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.film-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin: 8px 0 8px;
}

.film-card p {
  margin: 0 0 20px;
  max-width: 600px;
  color: var(--muted);
  font-size: 15px;
}

.film-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--panel);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-circle:hover {
  background: var(--panel-2);
  border-color: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.35s var(--ease-out), background 0.25s ease;
}

.c-dot.active {
  width: 26px;
  background: #ffffff;
}

/* ==========================================================================
   8. TRUST & PRINCIPLES (4-COL GRID)
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: radial-gradient(circle at 0% 0%, rgba(255, 212, 38, 0.06), transparent 55%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--card-shadow);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--yellow);
}

.trust-card p {
  font-size: 14px;
  color: var(--muted-2);
  margin: 8px 0 0;
  line-height: 1.55;
}

/* ==========================================================================
   9. COLLABORATION & E-COURSE PACKAGES (COSMIC HEADER CAPS)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.plan-card.recommended {
  border-color: rgba(255, 212, 38, 0.45);
  box-shadow: var(--card-shadow), 0 0 36px rgba(255, 212, 38, 0.08);
}

.plan-cap {
  height: 82px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.cap-silver { background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), rgba(24, 24, 28, 0.9) 70%); }
.cap-gold { background: radial-gradient(circle at 80% 20%, rgba(255, 212, 38, 0.34), rgba(28, 22, 10, 0.92) 70%); }
.cap-violet { background: radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.32), rgba(22, 18, 36, 0.92) 70%); }
.cap-nebula { background: radial-gradient(circle at 80% 20%, rgba(94, 230, 176, 0.28), rgba(14, 26, 24, 0.92) 70%); }

.rec-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 600;
}

.plan-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-price {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.95rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.plan-sub {
  font-size: 13px;
  color: var(--dim);
  margin: 4px 0 18px;
}

.plan-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 16px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.plan-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-link:hover {
  color: var(--yellow);
}

/* ==========================================================================
   10. FAQ ACCORDION (2-COL ASYMMETRIC)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 48px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--yellow);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-answer {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.65;
}

/* ==========================================================================
   11. CLOSING ATMOSPHERIC BANNER
   ========================================================================== */
.final-banner {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.final-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.final-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0.35) 35%, rgba(10, 10, 10, 0.72) 78%, var(--footer-bg) 100%);
}

.final-banner-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 40px 24px;
}

.final-banner-content h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 24px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 52px;
}

.footer-bio {
  color: var(--dim);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-2);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--dim);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-row a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   MODAL CASE STUDY & FLOATING SCROLL PROGRESS BUTTON
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}

.modal-hero {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-body {
  padding: 28px;
}

.modal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.modal-highlights {
  margin: 14px 0 24px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Floating Scroll Progress Button */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #09090b;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-ring {
  position: absolute;
  inset: -4px;
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-ring circle {
  fill: none;
  stroke-width: 2;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger-btn { display: inline-flex; }
  .bento-flagship { grid-template-columns: 1fr; }
  .col-8, .col-6, .col-4 { grid-column: span 12; }
  .row-2 { grid-row: span 1; }
  .studios-grid { grid-template-columns: 1fr; }
  .matrix-top { grid-template-columns: 1fr; }
  .matrix-bottom { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-actions .btn-glass { display: none; }
  .hero-fly { min-height: auto; padding: 108px 0 68px; }
  .hero-badge { padding: 5px 12px; margin-bottom: 18px; }
  .hero-badge .eyebrow { font-size: 10px; letter-spacing: 0.08em; }
  h1 { font-size: clamp(1.85rem, 7.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.032em; }
  .hero-content .subhead { font-size: 14.5px; margin: 16px auto 26px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .popover-wrap { width: 100%; }
  .hero-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; width: 100%; margin-top: 38px; padding-top: 22px; }
  .section { padding: 84px 0; }
  .matrix-bottom, .trust-grid, .plans-grid, .footer-grid { grid-template-columns: 1fr; }
  .studio-graph { grid-template-columns: 1fr; }
  .film-card { flex: 0 0 88vw; aspect-ratio: 4 / 3.4; }
  .film-scrim { padding: 22px; }
  .canvas-board { height: 520px; }
  .node-input { width: 170px; }
  .node-output { width: 250px; }
}
