/* Chilview LLC — studio design system (dark crystalline) */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #07090f;
  --ink-elevated: #0e121c;
  --panel: rgba(16, 22, 36, 0.72);
  --panel-solid: #121824;
  --text: #eef1f7;
  --muted: #9aa3b8;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #e8c547;
  --gold-soft: #f5d76e;
  --cyan: #5ec8d8;
  --cyan-dim: rgba(94, 200, 216, 0.35);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Syne", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.studio {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.studio a {
  color: inherit;
  text-decoration: none;
}

.studio-shell {
  position: relative;
  z-index: 1;
}

.studio-hero__copy,
.studio-section .studio-wrap > .studio-kicker,
.studio-section .studio-wrap > .studio-display,
.studio-section .studio-wrap > .studio-lead {
  text-shadow: 0 1px 18px rgba(7, 9, 15, 0.75);
}

.studio-hero__headline,
.studio-hero__sub {
  text-shadow: 0 2px 22px rgba(7, 9, 15, 0.85);
}

/* —— Atmosphere —— */
.studio-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 12% -10%, rgba(232, 197, 71, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(94, 200, 216, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(94, 200, 216, 0.06), transparent 55%),
    var(--ink);
}

.studio-atmosphere__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg) translateY(-12%);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
  animation: studioGridDrift 28s linear infinite;
}

.studio-atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: studioOrbFloat 18s var(--ease) infinite alternate;
}

.studio-atmosphere__orb--gold {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: -8%;
  left: -6%;
  background: rgba(232, 197, 71, 0.22);
}

.studio-atmosphere__orb--cyan {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  top: 18%;
  right: -8%;
  background: rgba(94, 200, 216, 0.18);
  animation-delay: -6s;
}

.studio-atmosphere__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  mix-blend-mode: screen;
}

.studio-atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 30% 25%, rgba(7, 9, 15, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.35) 0%, rgba(7, 9, 15, 0.15) 40%, rgba(7, 9, 15, 0.45) 100%);
  pointer-events: none;
}

.studio-atmosphere__code {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.8;
  color: var(--cyan);
  white-space: pre;
  padding: 12vh 6vw;
  animation: studioCodeScroll 40s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* Home: mouse spotlight + cursor */
.studio-atmosphere__spot {
  display: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px circle at var(--spot-x, 50%) var(--spot-y, 30%),
      rgba(94, 200, 216, 0.16),
      rgba(232, 197, 71, 0.07) 28%,
      transparent 58%
    );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

body[data-studio-home] .studio-atmosphere__spot {
  display: block;
}

body[data-studio-home].is-pointer-fine .studio-atmosphere__spot.is-on {
  opacity: 1;
}

/* Company: C-shaped glass tower — large cinematic watermark */
.studio-atmosphere__c-tower-glow {
  display: none;
  position: absolute;
  left: 52%;
  top: 48%;
  width: min(95vw, 1280px);
  height: min(70vw, 820px);
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(94, 200, 216, 0.32), transparent 64%),
    radial-gradient(ellipse at 55% 58%, rgba(232, 197, 71, 0.14), transparent 60%);
  filter: blur(36px);
  pointer-events: none;
}

.studio-atmosphere__c-tower {
  display: none;
  position: absolute;
  left: 52%;
  top: 48%;
  right: auto;
  width: min(88vw, 1120px, calc(78vh * 1.5));
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  filter: saturate(1.2) brightness(1.18) contrast(1.08);
  /* Soften only the outer frame — keep the full C building crisp */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transform: translate3d(-50%, -50%, 0);
  animation: studioTowerDrift 26s var(--ease) infinite alternate;
}

body[data-studio-company] .studio-atmosphere__c-tower,
body[data-studio-company] .studio-atmosphere__c-tower-glow {
  display: block;
}

body[data-studio-company] .studio-hero {
  min-height: clamp(280px, 38vh, 420px);
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

body[data-studio-company] .studio-panel {
  background: rgba(10, 14, 22, 0.52);
  border-color: rgba(94, 200, 216, 0.22);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Mission copy sits over the C-tower — frost panel matches “At a glance”. */
body[data-studio-company] .studio-section--tight .studio-split > .studio-reveal {
  padding: 1.35rem 1.5rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 106, 0.2);
  background:
    linear-gradient(155deg, rgba(12, 16, 26, 0.88) 0%, rgba(8, 11, 18, 0.78) 100%);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-studio-company] .studio-section--tight .studio-split > .studio-reveal .studio-display {
  color: #f3f5f8;
  text-shadow: none;
}

body[data-studio-company] .studio-section--tight .studio-split > .studio-reveal .studio-lead {
  color: rgba(214, 220, 230, 0.96);
  text-shadow: none;
  font-weight: 450;
  line-height: 1.65;
  max-width: none;
}

body[data-studio-company] .studio-hero__headline {
  text-shadow:
    0 2px 28px rgba(7, 9, 15, 0.95),
    0 0 40px rgba(7, 9, 15, 0.55);
}

/* Hero sub crosses the lit C-tower — frost chip for readable contrast. */
body[data-studio-company] .studio-hero__sub {
  display: inline-block;
  max-width: min(36rem, 100%);
  margin-top: 1rem;
  padding: 0.75rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 106, 0.22);
  background:
    linear-gradient(155deg, rgba(10, 13, 22, 0.9) 0%, rgba(7, 9, 15, 0.82) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  color: rgba(236, 240, 246, 0.96);
  font-weight: 450;
  line-height: 1.55;
  text-shadow: none;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-studio-company] .studio-section:not(.studio-section--tight) .studio-display,
body[data-studio-company] .studio-section:not(.studio-section--tight) .studio-lead {
  text-shadow:
    0 2px 28px rgba(7, 9, 15, 0.95),
    0 0 40px rgba(7, 9, 15, 0.55);
}

/* Soften C-tower so body copy stays premium and legible */
body[data-studio-company] .studio-atmosphere__c-tower {
  opacity: 0.55;
  filter: saturate(1.05) brightness(0.92) contrast(1.05);
}
body[data-studio-company] .studio-atmosphere__c-tower-glow {
  opacity: 0.72;
}

/* Leadership intro sits in a frost plate over the tower */
body[data-studio-company] .studio-leadership-head {
  max-width: min(40rem, 100%);
  margin-bottom: 0.25rem;
  padding: 1.25rem 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(212, 175, 106, 0.22);
  background:
    linear-gradient(155deg, rgba(8, 11, 18, 0.94) 0%, rgba(10, 14, 24, 0.88) 100%);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body[data-studio-company] .studio-leadership-head .studio-kicker {
  margin-bottom: 0.55rem;
}
body[data-studio-company] .studio-leadership-head .studio-display {
  color: #f7f8fb;
  text-shadow: none;
  letter-spacing: -0.025em;
}
body[data-studio-company] .studio-leadership-head .studio-lead {
  margin-top: 0.85rem;
  color: rgba(230, 235, 244, 0.94);
  text-shadow: none;
  font-weight: 450;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.65;
  max-width: none;
}

/* Founder cards: opaque bodies, readable bios */
body[data-studio-company] .studio-team-card {
  background: #0b0f18;
  border-color: rgba(212, 175, 106, 0.2);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body[data-studio-company] .studio-team-card__body {
  background:
    linear-gradient(180deg, rgba(12, 16, 26, 0.98) 0%, #0a0e16 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.45rem 1.45rem 1.6rem;
}
body[data-studio-company] .studio-team-card__body .studio-kicker {
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
}
body[data-studio-company] .studio-team-card__body .studio-display {
  color: #ffffff;
  text-shadow: none;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 2vw, 1.45rem) !important;
}
body[data-studio-company] .studio-team-card__bio {
  margin: 0.75rem 0 1.15rem;
  color: rgba(226, 232, 242, 0.92);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 450;
}
body[data-studio-company] .studio-team-card__body .studio-tile-link {
  color: #f0f3f8;
  font-weight: 560;
}

@keyframes studioTowerDrift {
  from {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  to {
    transform: translate3d(-50%, calc(-50% + 10px), 0) scale(1.03);
  }
}

.studio-cursor {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 1px;
  height: 1px;
  pointer-events: none;
  mix-blend-mode: screen;
}

body[data-studio-home].is-pointer-fine .studio-cursor {
  display: block;
}

.studio-cursor__ring,
.studio-cursor__dot {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.studio-cursor__ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(94, 200, 216, 0.55);
  box-shadow: 0 0 18px rgba(94, 200, 216, 0.2);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.studio-cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 197, 71, 0.7);
}

body[data-studio-home].is-pointer-fine.cursor-hover .studio-cursor__ring {
  width: 64px;
  height: 64px;
  border-color: rgba(232, 197, 71, 0.7);
  background: rgba(232, 197, 71, 0.06);
}

body[data-studio-home].is-pointer-fine {
  cursor: none;
}

body[data-studio-home].is-pointer-fine a,
body[data-studio-home].is-pointer-fine button {
  cursor: none;
}

.studio-enter {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}

.studio-enter.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.studio-enter[data-enter="1"] {
  transition-delay: 0.05s;
}
.studio-enter[data-enter="2"] {
  transition-delay: 0.18s;
}
.studio-enter[data-enter="3"] {
  transition-delay: 0.3s;
}
.studio-enter[data-enter="4"] {
  transition-delay: 0.42s;
}

.studio-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.studio-magnetic {
  will-change: transform;
}

.studio-spark {
  position: fixed;
  z-index: 70;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fff 0%, var(--cyan) 45%, transparent 70%);
  opacity: 0.9;
  animation: studioSpark 0.7s var(--ease) forwards;
}

@keyframes studioSpark {
  to {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) scale(0.2);
  }
}

/* —— FAQ chatbot —— */
.studio-chat {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--font-body);
  cursor: auto;
  pointer-events: auto;
}

.studio-chat * {
  cursor: auto;
}

.studio-chat button,
.studio-chat a {
  cursor: pointer;
}

.studio-chat__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.05rem 0.65rem 0.9rem;
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.95), #c9a227);
  color: #14110a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 36px rgba(232, 197, 71, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  z-index: 2;
}

.studio-chat__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232, 197, 71, 0.38);
}

.studio-chat__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #14110a;
}

.studio-chat__toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.studio-chat__panel {
  width: min(360px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 6.5rem));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.studio-chat.is-open .studio-chat__panel {
  display: flex;
}

.studio-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent);
}

.studio-chat__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.studio-chat__mark {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
}

.studio-chat__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.studio-chat__sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.studio-chat__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  position: relative;
  z-index: 3;
  cursor: pointer;
  flex-shrink: 0;
}

.studio-chat__icon-btn svg {
  pointer-events: none;
}

.studio-chat__icon-btn:hover {
  color: var(--text);
  border-color: var(--cyan-dim);
}

.studio-chat__log {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.studio-chat__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 92%;
}

.studio-chat__row--bot {
  align-self: flex-start;
}

.studio-chat__row--user {
  align-self: flex-end;
}

.studio-chat__bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.studio-chat__row--bot .studio-chat__bubble {
  background: rgba(94, 200, 216, 0.1);
  border: 1px solid rgba(94, 200, 216, 0.22);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.studio-chat__row--user .studio-chat__bubble {
  background: rgba(232, 197, 71, 0.14);
  border: 1px solid rgba(232, 197, 71, 0.3);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.studio-chat__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.studio-chat__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
}

.studio-chat__link:hover {
  border-color: var(--cyan-dim);
  color: var(--text);
}

.studio-chat__chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  max-height: 180px;
  overflow: auto;
}

.studio-chat__chip {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.35;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.studio-chat__chip:hover {
  border-color: rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .studio-chat__toggle:hover {
    transform: none;
  }
}

@keyframes studioGridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

@keyframes studioOrbFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 36px, 0) scale(1.08);
  }
}

@keyframes studioCodeScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-18%);
  }
}

/* —— Layout —— */
.studio-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.studio-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.studio-section--tight {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.studio-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.studio-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.studio-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

/* —— Nav —— */
.studio-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.studio-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.95rem 0;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.studio-brand__mark {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(94, 200, 216, 0.35));
}

.studio-brand__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.studio-brand span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.studio-nav__links a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.studio-nav__links a:hover,
.studio-nav__links a[aria-current="page"] {
  color: var(--text);
}

.studio-nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 2px;
}

/* —— Buttons —— */
.studio-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.studio-cta-note {
  margin: 2.35rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.studio-btn:hover {
  transform: translateY(-2px);
}

.studio-btn--primary {
  background: linear-gradient(135deg, var(--gold), #c9a227);
  color: #14110a;
  box-shadow: 0 10px 36px rgba(232, 197, 71, 0.28);
}

/* body.studio a { color: inherit } beats .studio-btn--primary — force dark label on gold */
body.studio a.studio-btn--primary,
body.studio a.studio-btn--primary:visited,
body.studio a.studio-btn--primary:hover,
body.studio a.studio-btn--primary:focus,
body.studio .studio-lead a.studio-btn--primary,
body.studio .studio-tile a.studio-btn--primary {
  color: #14110a !important;
  -webkit-text-fill-color: #14110a !important;
  text-shadow: none !important;
}

.studio-btn--primary:hover {
  box-shadow: 0 14px 42px rgba(232, 197, 71, 0.4);
}

.studio-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

body.studio a.studio-btn--ghost,
body.studio a.studio-btn--ghost:visited {
  color: var(--text);
}

.studio-btn--ghost:hover {
  border-color: var(--cyan-dim);
  box-shadow: 0 0 0 1px var(--cyan-dim);
}

/* YouTube Demo Video CTA — same box as Install Extension, outlined + play mark */
.studio-btn--youtube {
  background: #07090f;
  border: 1px solid #2563eb;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px #ffffff,
    0 10px 36px rgba(37, 99, 235, 0.22);
}

body.studio a.studio-btn--youtube,
body.studio a.studio-btn--youtube:visited,
body.studio a.studio-btn--youtube:hover,
body.studio a.studio-btn--youtube:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.studio-btn--youtube:hover {
  background: #0c1018;
  border-color: #3b82f6;
  box-shadow:
    inset 0 0 0 1px #ffffff,
    0 14px 42px rgba(37, 99, 235, 0.35);
}

.studio-btn--youtube:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

.studio-btn--youtube svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}



/* Home: brand > headline hierarchy (all breakpoints) */
body[data-studio-home] .studio-hero__brand {
  font-size: clamp(2.15rem, 7vw, 3rem);
}

body[data-studio-home] .studio-hero__headline {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 600;
  max-width: 22ch;
}
/* —— Live visitors hero widget —— */
.studio-live-visitors {
  --live-bg: #0c0f14;
  --live-text: #edeff2;
  --live-muted: #8b93a7;
  --live-mint: #3ddc97;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 17.5rem;
  margin: 0.5rem auto 0;
  padding: 1.05rem 1rem 0.95rem;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.92), rgba(12, 15, 20, 0.96));
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: var(--live-text);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

@media (min-width: 960px) {
  body[data-studio-home] .studio-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(15.5rem, 17.5rem);
    gap: clamp(2rem, 4.5vw, 3.25rem);
    align-items: center;
  }

  body[data-studio-home] .studio-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding-right: 0.25rem;
  }

  body[data-studio-home] .studio-hero__brand {
    /* Brand leads the hero — larger than the supporting headline */
    font-size: clamp(2.35rem, 3.6vw, 3.25rem);
    max-width: 100%;
  }

  body[data-studio-home] .studio-hero__headline {
    max-width: 20ch;
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(238, 241, 247, 0.92);
  }

  body[data-studio-home] .studio-hero__sub {
    margin-top: 0.85rem;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  }

  .studio-live-visitors {
    justify-self: end;
    margin: 0;
    width: 100%;
    max-width: 17.5rem;
  }
}

.studio-live-visitors__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(61, 220, 151, 0.25);
  color: var(--live-mint);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.studio-live-visitors__dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--live-mint);
  box-shadow: 0 0 6px rgba(61, 220, 151, 0.55);
  animation: studioLiveBlink 1.6s ease-in-out infinite;
}

@keyframes studioLiveBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.studio-live-visitors__count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.studio-live-visitors__count {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--live-text);
}

.studio-live-visitors__caption {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--live-muted);
}

.studio-live-visitors__ecg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 36px;
  margin-top: 0.15rem;
  overflow: visible;
}

.studio-live-visitors__ecg path {
  fill: none;
  stroke: var(--live-mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(61, 220, 151, 0.45)) drop-shadow(0 0 10px rgba(61, 220, 151, 0.2));
}

/* —— Hero —— */
.studio-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: clamp(1.75rem, 4vh, 2.75rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.studio-hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

@media (min-width: 960px) {
  .studio-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

.studio-hero__copy {
  min-width: 0;
}

@media (min-width: 960px) {
  .studio-hero--media .studio-wrap {
    width: min(100% - 2.5rem, 1280px);
  }

  .studio-hero--media .studio-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
    align-items: start;
    gap: clamp(2.75rem, 6vw, 4.75rem);
  }

  .studio-hero--media .studio-hero__brand {
    font-size: clamp(1.85rem, 3.2vw, 2.7rem);
    max-width: 100%;
  }

  .studio-hero--media .studio-hero-video {
    justify-self: end;
    width: 100%;
    max-width: 30rem;
    margin-top: 3.5rem;
  }
}

.studio-hero-video {
  margin: 0.15rem 0 0;
  min-width: 0;
}

.studio-hero-video__title {
  margin: 0 0 0.7rem;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-hero-video__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #05070c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.studio-hero-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* Hexagonal glow (hero right) */
.studio-hex {
  display: none;
  justify-content: flex-end;
  align-items: center;
  min-height: 380px;
  padding-right: 0;
  margin-right: -2vw;
  overflow: visible;
  pointer-events: none;
}

@media (min-width: 960px) {
  .studio-hex {
    display: flex;
  }
}

.studio-hex__stage {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  transform: translateX(28%);
}

.studio-hex__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  filter: blur(28px);
}

.studio-hex__glow--a {
  background: rgba(94, 200, 216, 0.28);
  animation: studioHexGlowA 6s ease-in-out infinite alternate;
}

.studio-hex__glow--b {
  inset: 22%;
  background: rgba(232, 197, 71, 0.2);
  animation: studioHexGlowB 7.5s ease-in-out infinite alternate;
}

.studio-hex__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linejoin: round;
}

.studio-hex__ring--outer {
  stroke: rgba(94, 200, 216, 0.55);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 10px rgba(94, 200, 216, 0.35));
  animation: studioHexSpin 28s linear infinite;
}

.studio-hex__ring--mid {
  stroke: rgba(232, 197, 71, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 8 10;
  animation: studioHexSpinRev 18s linear infinite;
}

.studio-hex__ring--inner {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
  animation: studioHexPulse 3.8s ease-in-out infinite;
}

.studio-hex__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 22px rgba(94, 200, 216, 0.45));
  animation: studioHexCore 5.5s ease-in-out infinite alternate;
}

.studio-hex__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--cyan) 55%, transparent 70%);
  opacity: 0.7;
}

.studio-hex__spark--1 {
  left: 18%;
  top: 30%;
  animation: studioHexSpark 4.2s ease-in-out infinite;
}
.studio-hex__spark--2 {
  right: 20%;
  top: 42%;
  animation: studioHexSpark 5s ease-in-out infinite 0.8s;
}
.studio-hex__spark--3 {
  left: 46%;
  bottom: 18%;
  animation: studioHexSpark 4.6s ease-in-out infinite 1.4s;
}

@keyframes studioHexSpin {
  to { transform: rotate(360deg); }
}
@keyframes studioHexSpinRev {
  to { transform: rotate(-360deg); }
}
@keyframes studioHexPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes studioHexCore {
  from {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 18px rgba(94, 200, 216, 0.35));
  }
  to {
    transform: translate(-50%, -52%) scale(1.06);
    filter: drop-shadow(0 0 30px rgba(232, 197, 71, 0.45));
  }
}
@keyframes studioHexGlowA {
  from { opacity: 0.45; transform: scale(0.92); }
  to { opacity: 0.9; transform: scale(1.08); }
}
@keyframes studioHexGlowB {
  from { opacity: 0.35; transform: scale(1.05); }
  to { opacity: 0.8; transform: scale(0.9); }
}
@keyframes studioHexSpark {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-hex__ring--outer,
  .studio-hex__ring--mid,
  .studio-hex__ring--inner,
  .studio-hex__core,
  .studio-hex__glow,
  .studio-hex__spark {
    animation: none !important;
  }
}


.studio-hero__brand {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.02em 0.04em;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
}

.studio-hero__brand-c {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(94, 200, 216, 0.4));
  transform: translateY(0.01em);
}

.studio-hero__brand-text {
  background: linear-gradient(115deg, #fff 10%, var(--gold-soft) 48%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}


/* SEO entity pages: force readable display text */
.studio-hero__headline,
.studio-display,
.studio-feature h3,
.studio-tile h3 {
  color: var(--text);
}

body[data-studio-seo] .studio-hero__headline {
  max-width: 22ch;
}

body[data-studio-seo] .studio-feature-list {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.studio-hero__headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.studio-hero__sub {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

/* —— Service / work tiles —— */
.studio-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .studio-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .studio-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 720px) and (max-width: 980px) {
  .studio-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.studio-tile {
  position: relative;
  padding: 1.35rem 1.3rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.studio-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.08), transparent 42%, rgba(94, 200, 216, 0.06));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.studio-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 200, 216, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.studio-tile:hover::before {
  opacity: 1;
}

.studio-tile > * {
  position: relative;
  z-index: 1;
}

.studio-tile__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.studio-tile__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-tile h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.studio-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-tile .studio-compare-line + .studio-compare-line {
  margin-top: 0.7rem;
}

.studio-tile .studio-compare-line strong {
  color: var(--text);
  font-weight: 600;
}

.studio-tile--featured {
  border-color: rgba(232, 197, 71, 0.35);
  background: linear-gradient(160deg, rgba(232, 197, 71, 0.1), rgba(16, 22, 36, 0.85));
}

.studio-tile--featured .studio-tile__meta {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.studio-tile a.studio-tile-link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
}

/* —— Why / split —— */
.studio-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .studio-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.studio-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.studio-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-panel li {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.studio-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.studio-panel li strong {
  color: var(--text);
}

.studio-dot {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

/* —— CTA band —— */
.studio-band {
  margin: 1rem 0 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(232, 197, 71, 0.22);
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(232, 197, 71, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(94, 200, 216, 0.1), transparent 50%),
    var(--panel-solid);
}

/* —— Footer v3 — quiet professional close —— */
.studio-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090f;
  color: #9aa3b8;
  font-size: 0.9rem;
}

.studio-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.studio-footer__grid {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .studio-footer__grid {
    grid-template-columns: minmax(12rem, 1.4fr) repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .studio-footer.is-enhanced .studio-footer__grid {
    grid-template-columns: minmax(12rem, 1.5fr) repeat(2, minmax(0, 1fr)) auto;
  }
}

.studio-footer__brand {
  max-width: 20rem;
}

.studio-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.studio-footer__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101624;
  object-fit: contain;
  padding: 5px;
}

.studio-footer__wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef1f7;
  text-transform: none;
}

.studio-footer__wordmark span {
  margin-left: 0.3rem;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #7f889c;
}

.studio-footer__brand > p,
.studio-footer__grid > div:first-child > p:not(.studio-footer__trust) {
  margin: 0;
  max-width: 20rem;
  color: #8b93a7;
  font-size: 0.875rem;
  line-height: 1.6;
}

.studio-footer__trust {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0 !important;
  color: #7a8499 !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
}

.studio-footer__trust-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #5ec8d8;
}

.studio-footer__cta {
  display: none !important;
}

.studio-footer__pill {
  display: none !important;
}

.studio-footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f788c;
}

.studio-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.studio-footer__col a {
  display: inline-block;
  width: fit-content;
  padding: 0.28rem 0;
  color: #b4bccb;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
}

.studio-footer__col a:hover {
  color: #fff;
  transform: none;
}

.studio-footer__col a[href^="mailto:"] {
  color: #8fd4e0;
  font-size: 0.85rem;
  word-break: break-word;
}

.studio-footer__col a[href*="chromewebstore"] {
  color: #e8c547;
  font-weight: 600;
}

.studio-footer a {
  color: #b4bccb;
  text-decoration: none;
}

.studio-footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.studio-footer__social-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f788c;
}

.studio-footer__social-row {
  display: flex;
  gap: 0.5rem;
}

.studio-footer__social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #c5ccd8 !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease !important;
}

.studio-footer__social-link:hover,
.studio-footer__social-link:focus,
.studio-footer__social-link:focus-visible,
.studio-footer__social-link:active {
  border-color: rgba(232, 197, 71, 0.55) !important;
  color: #f5d76e !important;
  background: rgba(232, 197, 71, 0.08) !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.studio-footer__social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.studio-footer__social-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.studio-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #6f788c;
}

.studio-footer__legal a {
  display: inline;
  padding: 0;
  font-size: 0.75rem;
  color: #7a8499;
}

.studio-footer__legal a:hover {
  color: #e8c547;
  transform: none;
}

.studio-footer__legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

@media (max-width: 767px) {
  .studio-footer__grid {
    gap: 1.75rem;
  }
}

/* —— Extension product page extras —— */
.studio-feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .studio-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.studio-feature {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 22, 36, 0.55);
}

.studio-feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.studio-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.studio-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.studio-chip:hover {
  border-color: var(--cyan-dim);
  color: var(--text);
}

/* —— Reveal —— */
.studio-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.studio-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.studio-reveal-delay-1 {
  transition-delay: 0.08s;
}
.studio-reveal-delay-2 {
  transition-delay: 0.16s;
}
.studio-reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .studio-atmosphere__grid,
  .studio-atmosphere__orb,
  .studio-atmosphere__code,
  .studio-atmosphere__c-tower {
    animation: none !important;
  }

  .studio-atmosphere__c-tower-glow {
    animation: none !important;
  }

  .studio-atmosphere__rain {
    display: none !important;
  }

  .studio-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .studio-btn:hover,
  .studio-tile:hover {
    transform: none;
  }

  .studio-enter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .studio-cursor,
  .studio-atmosphere__spot,
  .studio-spark {
    display: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.page-fade {
  opacity: 0;
  animation: pageFadeIn 0.45s ease-out forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-fade {
    opacity: 1;
    animation: none;
  }
}

/* —— Mobile / small screens: readable type, tap targets, menu —— */
.studio-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(16, 22, 36, 0.85);
  color: var(--text);
  cursor: pointer;
}

.studio-nav__toggle-bars,
.studio-nav__toggle-bars::before,
.studio-nav__toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.studio-nav__toggle-bars {
  position: relative;
}

.studio-nav__toggle-bars::before,
.studio-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.studio-nav__toggle-bars::before {
  top: -6px;
}

.studio-nav__toggle-bars::after {
  top: 6px;
}

.studio-nav.is-open .studio-nav__toggle-bars {
  background: transparent;
}

.studio-nav.is-open .studio-nav__toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.studio-nav.is-open .studio-nav__toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 980px) {
  body.studio {
    font-size: 17px;
    line-height: 1.6;
  }

  body.studio-nav-lock {
    overflow: hidden;
  }

  .studio-wrap {
    width: min(100% - 2rem, var(--max));
  }

  .studio-nav {
    position: sticky;
  }

  .studio-nav__toggle {
    display: inline-flex;
  }

  .studio-nav:has(.studio-nav__toggle) .studio-nav__inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.7rem 3.4rem 0.7rem 0;
  }

  .studio-nav__toggle {
    position: absolute;
    top: 50%;
    right: 0;
    flex-shrink: 0;
    border-color: rgba(232, 197, 71, 0.4);
    transform: translateY(-50%);
  }

  .studio-brand {
    font-size: 1.05rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .studio-brand span {
    font-size: 0.65rem;
  }

  .studio-nav:has(.studio-nav__toggle) .studio-nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    width: 100%;
    max-height: min(78vh, 32rem);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.15rem;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 15, 0.97);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    font-size: 1.05rem;
  }

  .studio-nav:has(.studio-nav__toggle).is-open .studio-nav__links {
    display: flex;
  }

  .studio-nav__links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.35rem 0.15rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

  .studio-nav__links a[aria-current="page"]::after {
    display: none;
  }

  .studio-nav__links a[aria-current="page"] {
    color: var(--gold-soft);
  }

  .studio-hero {
    padding: 1.35rem 0 2.25rem;
  }

  .studio-hero__brand {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    white-space: normal !important;
    max-width: 100% !important;
    font-size: clamp(1.35rem, 6.6vw, 1.85rem) !important;
    line-height: 1.15;
  }

  .studio-hero__brand-c {
    width: 1.8rem;
    height: 1.8rem;
  }

  .studio-hero__brand-text {
    white-space: normal !important;
    min-width: 0;
    flex: 1 1 12rem;
  }

  .studio-hero .studio-wrap,
  .studio-section .studio-wrap,
  .studio-hero__headline,
  .studio-hero__sub,
  .studio-cta-row,
  .studio-btn,
  .studio-hero-video {
    max-width: 100% !important;
  }

  .studio-hero__headline {
    max-width: none !important;
    font-size: clamp(1.22rem, 5.8vw, 1.65rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .studio-hero__sub,
  .studio-lead {
    max-width: none;
    color: #c5ccd9;
    font-size: 1.05rem;
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  body[data-studio-home] .studio-hero__headline {
    max-width: none;
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
  }

  .studio-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .studio-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.4rem;
  }

  .studio-btn,
  body.studio a.studio-btn,
  body.studio a.studio-btn:visited,
  body.studio .cv-live-open,
  body.studio .support-submit {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
  }

  .studio-btn,
  body.studio a.studio-btn {
    width: 100%;
    min-height: 3.05rem;
    padding: 0.85rem 1.15rem;
  }

  .studio-hero__copy .studio-btn,
  .studio-hero__copy a.studio-btn {
    text-shadow: none !important;
  }

  body.studio a.studio-btn--primary,
  body.studio a.studio-btn--primary:visited,
  body.studio .cv-live-open,
  body.studio .support-submit {
    color: #14110a !important;
    -webkit-text-fill-color: #14110a !important;
  }

  body.studio a.studio-btn--ghost,
  body.studio a.studio-btn--ghost:visited {
    color: #eef1f7 !important;
    -webkit-text-fill-color: #eef1f7 !important;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
  }

  body.studio a.studio-btn--youtube,
  body.studio a.studio-btn--youtube:visited {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #ffffff;
    background: #07090f;
  }

  .studio-section {
    padding: 2.5rem 0;
  }

  .studio-display {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem) !important;
    line-height: 1.2;
  }

  .studio-tile,
  .studio-feature,
  .studio-panel {
    padding: 1.15rem 1.1rem;
  }

  .studio-tile h3,
  .studio-feature h3 {
    font-size: 1.12rem;
  }

  .studio-tile p,
  .studio-feature p,
  .studio-panel li {
    font-size: 1rem;
    color: #c5ccd9;
  }

  .studio-band {
    padding: 1.5rem 1.15rem;
    margin-bottom: 1.5rem;
  }

  .studio-footer {
    font-size: 1rem;
  }

  .studio-footer__social-link {
    width: 44px !important;
    height: 44px !important;
  }

  .studio-live-visitors {
    max-width: 100%;
  }

  .cv-live-open {
    width: 100%;
    min-height: 3.05rem;
    font-size: 1.05rem !important;
  }
}
