:root {
  --background: oklch(0 0 0);
  --foreground: oklch(0.9328 0.0025 228.7857);
  --card: oklch(0.2097 0.0080 274.5332);
  --card-foreground: oklch(0.8853 0 0);
  --primary: oklch(0.6084 0.1981 254.9843);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.9622 0.0035 219.5331);
  --muted: oklch(0.2090 0 0);
  --muted-foreground: oklch(0.5637 0.0078 247.9662);
  --accent: oklch(0.1928 0.0331 242.5459);
  --accent-foreground: oklch(0.6084 0.1981 254.9843);
  --border: oklch(0.2674 0.0047 248.0045);
  --ring: oklch(0.6818 0.1584 243.3540);
  --chart-2: oklch(0.6907 0.1554 160.3454);
  --radius: 1.3rem;
  --bg: var(--background);
  --bg-2: var(--card);
  --line: var(--border);
  --text: var(--foreground);
  --muted-text: var(--muted-foreground);
  --blue: var(--primary);
  --cyan: var(--chart-2);
  --pad: 70px;
  --nav-h: 92px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Aldrich", "Vazirmatn", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(22, 119, 255, 0.16), transparent 55%),
    radial-gradient(700px 420px at 0% 30%, rgba(0, 214, 201, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  direction: rtl;
  line-height: 1.7;
}
body.lang-en { direction: ltr; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.en { display: none; }
body.lang-en .en { display: revert; }
body.lang-en .fa { display: none; }
body.lang-en span.en, body.lang-en a.en { display: inline; }
body:not(.lang-en) span.fa, body:not(.lang-en) a.fa { display: inline; }

.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

/* ── cinematic hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  direction: ltr;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.3);
  transform-origin: right center;
  opacity: 1;
  filter: brightness(1.1) contrast(1.1);
  z-index: 0;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0) 85%);
}
.hero-frame {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 214, 201, 0.35));
}
.lockup { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lockup .mark { width: min(210px, 72%); height: auto; }
.lockup .word { width: min(300px, 88%); height: auto; }
.tagline { margin: 0; letter-spacing: .18em; color: rgba(255,255,255,.62); font-size: 13px; }
.brand-name, .kicker, .tag, .eco, .case-index, .tagline, .phone-top, .window-bar {
  font-family: var(--font-display);
}
.brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--foreground);
}
.nav-links {
  margin-left: auto;
  margin-right: 48px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 400;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.lang-btn, .menu-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
}
.menu-btn { display: none; }
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.play-btn svg { width: 16px; height: 16px; fill: currentColor; }

.hero-copy {
  margin-top: auto;
  margin-bottom: auto;
  transform: translateY(-12%);
  max-width: 640px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  margin: 0 0 16px;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-sub {
  margin: 0 0 30px;
  max-width: 430px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26.5px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(40px);
  cursor: pointer;
}
.cta-ring {
  position: absolute;
  inset: -2.5px;
  border-radius: inherit;
  overflow: hidden;
  z-index: -1;
}
.cta-ring i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1000%;
  height: 1000%;
  transform: translate(-50%, -50%);
  background: conic-gradient(#3b82f6, #a855f7, #ec4899, #f8a170, #eab308, #3b82f6);
  animation: orbit 6s linear infinite;
}
.cta-face {
  position: absolute;
  inset: 2.5px;
  border-radius: inherit;
  background: rgba(18, 18, 18, 0.35);
  backdrop-filter: blur(40px);
  z-index: -1;
}
.cta .arrow { transition: transform 0.25s ease; }
.cta:hover .arrow { transform: translateX(5px); }
.ghost {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.hero-foot {
  padding-bottom: 28px;
}
.eco {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}
.ticker { overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  filter: grayscale(1);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tick i {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  display: inline-block;
}

@keyframes orbit { to { transform: translate(-50%, -50%) rotate(1turn); } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── pages ── */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad);
}
.page-nav .nav { height: 74px; }
.wrap { padding: 72px var(--pad); }
.kicker {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.03em; }
.section-title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.lede { max-width: 640px; color: var(--muted-text); margin: 0 0 32px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  background: transparent;
  color: var(--muted-text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button[aria-pressed="true"], .filters button:hover {
  color: #fff;
  border-color: rgba(0, 214, 201, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover { border-color: rgba(22, 119, 255, 0.55); }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 0; color: var(--muted-text); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill, .status {
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: #d5e4ff;
}
.status { color: var(--cyan); border-color: rgba(0, 214, 201, 0.4); }
.empty {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 28px;
  color: var(--muted-text);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--card);
}
.logo-panel {
  display: grid;
  place-items: center;
  background: #07101c;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}
.logo-panel img { width: min(100%, 360px); border-radius: 16px; }

.arch {
  width: 100%;
  height: auto;
  background: #070d18;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.meta { display: grid; gap: 8px; margin: 0; }
.meta div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.meta dt { color: var(--muted-text); }
.meta dd { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted-text); }
input, textarea {
  width: 100%;
  background: #0a1220;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
textarea { min-height: 120px; resize: vertical; }
.note { color: var(--muted-text); font-size: 14px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad) 40px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-text);
  font-size: 14px;
}
footer.site nav { display: flex; gap: 16px; }

.cases { display: grid; gap: 22px; }
.case {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.case:hover { border-color: rgba(22, 119, 255, 0.55); transform: translateY(-2px); }
.case-copy { padding: 36px 34px; display: flex; flex-direction: column; gap: 12px; }
.case-top, .project-top { display: flex; align-items: center; gap: 12px; }
.case-index { margin-inline-start: auto; color: rgba(255,255,255,.28); letter-spacing: .22em; font-size: 13px; }
.case h3 { margin: 8px 0 0; font-size: clamp(34px, 4vw, 52px); }
.case p { margin: 0; color: var(--muted-text); max-width: 36rem; }
.case-go { margin-top: auto; color: var(--cyan); font-weight: 700; }

.stage {
  position: relative;
  background:
    radial-gradient(420px 220px at 70% 20%, rgba(22,119,255,.28), transparent 70%),
    linear-gradient(160deg, #10192e, #070d18 60%);
  padding: 28px;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.stage-wide { border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0 28px; min-height: 380px; }
.window, .phone { width: min(100%, 460px); direction: ltr; }
.window {
  background: #0c1424;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45); font-size: 12px;
}
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); display: block; }
.window-bar span { margin-left: 8px; }
.window-body { display: grid; grid-template-columns: 132px 1fr; min-height: 230px; }
.window-side { padding: 14px 12px; border-right: 1px solid rgba(255,255,255,.08); display: grid; align-content: start; gap: 8px; }
.window-side b { font-size: 12px; color: #fff; }
.window-side span, .chip {
  font-size: 12px; color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.04); border-radius: 8px; padding: 6px 8px;
}
.window-main { padding: 16px; display: grid; gap: 10px; align-content: start; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat {
  border-radius: 12px; padding: 12px;
  background: linear-gradient(180deg, rgba(22,119,255,.28), rgba(0,214,201,.08));
}
.stat small { display: block; color: rgba(255,255,255,.65); font-size: 11px; }
.stat strong { font-size: 18px; }
.line { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); }
.line.short { width: 62%; }

.phone {
  width: 250px; border-radius: 32px; padding: 14px;
  background: #0b1220; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.phone-top { text-align: center; font-weight: 800; letter-spacing: .08em; margin: 8px 0 14px; }
.dish {
  border-radius: 16px; padding: 12px 14px; margin-bottom: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.dish b { display: block; }
.dish small { color: rgba(255,255,255,.55); }
.dish.on { background: linear-gradient(90deg, rgba(22,119,255,.35), rgba(0,214,201,.12)); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.tile {
  min-height: 140px; border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--border);
  background: var(--accent);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.tile em { font-style: normal; color: var(--cyan); font-size: 12px; letter-spacing: .14em; }
.tile strong { font-size: 20px; }
.tile span { color: var(--muted-text); font-size: 14px; }

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .nav-links { display: none; margin: 0; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    background: rgba(8, 12, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    z-index: 6;
  }
  .menu-btn { display: inline-flex; }
  .hero-title { font-size: 42px; }
  .hero-copy { transform: none; }
  .play-btn { width: 44px; height: 44px; }
  .split, .contact-grid, .case, .tiles { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .window-body { grid-template-columns: 1fr; }
  .brand-name { letter-spacing: 0.28em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .ticker-track, .cta-ring i { animation: none; }
}

/* Studio layout — same rhythm as a single-page builder site, Santix colors */
.studio { background: var(--background); color: var(--foreground); }
@media (pointer: fine) {
  .studio, .studio a, .studio button { cursor: none; }
}
.studio .cursor, .studio .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.studio .cursor {
  width: 14px; height: 14px; border: 1px solid var(--primary); border-radius: 50%;
  mix-blend-mode: difference; transition: width .25s, height .25s, background .25s;
}
.studio .cursor.hover { width: 44px; height: 44px; background: var(--primary); }
.studio .cursor-dot { width: 4px; height: 4px; background: var(--primary); border-radius: 50%; }
@media (pointer: coarse) { .studio .cursor, .studio .cursor-dot { display: none; } .studio, .studio a, .studio button { cursor: auto; } }
.studio .boot {
  position: fixed; inset: 0; z-index: 9998; background: var(--background);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--primary); letter-spacing: .12em;
  transition: opacity .8s ease, visibility .8s;
}
.studio .boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
.studio .boot-line { opacity: 0; animation: bootType .08s forwards; margin-bottom: 6px; }
.studio .boot-line::before { content: "> "; color: var(--chart-2); }
.studio .boot-line:nth-child(1) { animation-delay: .1s; }
.studio .boot-line:nth-child(2) { animation-delay: .35s; }
.studio .boot-line:nth-child(3) { animation-delay: .6s; }
.studio .boot-line:nth-child(4) { animation-delay: .85s; }
.studio .boot-line:nth-child(5) { animation-delay: 1.1s; color: var(--chart-2); }
@keyframes bootType { to { opacity: 1; } }
.studio #scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.studio .scene-fade, .studio .noise, .studio .grid-bg { position: fixed; inset: 0; pointer-events: none; }
.studio .scene-fade { z-index: 1; background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 0%, color-mix(in oklch, var(--background) 55%, transparent) 65%, var(--background) 100%); }
.studio .noise { z-index: 2; opacity: .04; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.studio .grid-bg {
  z-index: 0; opacity: .45;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 100%);
}
.studio .mast, .studio main, .studio .band, .studio footer { position: relative; z-index: 10; }
.studio .block, .studio .closer, .studio #runs { scroll-margin-top: 92px; }
.studio .hero-corner, .studio .hero-coords {
  position: absolute; font-family: var(--font-display); letter-spacing: .14em;
  font-size: .72rem; color: var(--muted-foreground); text-transform: uppercase;
}
.studio .hero-corner { top: 28px; inset-inline-end: var(--pad); display: flex; gap: 8px; align-items: center; }
.studio .hero-corner .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.studio .hero-coords { bottom: 28px; inset-inline-end: var(--pad); text-align: end; line-height: 1.8; }
.studio .hero-coords .ok { color: var(--primary); }
.studio .mast-title .word { display: block; overflow: hidden; }
.studio .mast-title .word span { display: inline-block; transform: translateY(110%); animation: wordUp 1s cubic-bezier(.4,0,.1,1) forwards; }
.studio .mast-title .word:nth-child(1) span { animation-delay: 1.3s; }
.studio .mast-title .word:nth-child(2) span { animation-delay: 1.42s; }
.studio .mast-title .word:nth-child(3) span { animation-delay: 1.55s; }
@keyframes wordUp { to { transform: translateY(0); } }
.studio .project { position: relative; overflow: hidden; }
.studio .project::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklch, var(--primary) 22%, transparent), transparent 42%);
}
.studio .topbar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--pad);
  background: color-mix(in oklch, var(--background) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.studio .brand, .page-nav .brand { justify-self: start; }
.studio .top-tools, .page-nav .top-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.page-nav .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.studio .top-links, .page-nav .nav-links { margin: 0; justify-self: center; }
.studio .top-links { display: flex; gap: 22px; }
.studio .top-links a { color: var(--muted-foreground); font-size: .9rem; }
.studio .top-links a:hover { color: var(--foreground); }
.studio .mast {
  min-height: calc(100vh - 74px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8vh var(--pad) 7vh;
  background: transparent;
}
.studio .mast-kicker {
  font-family: var(--font-display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); font-size: .75rem; margin: 0 0 22px;
}
.studio .mast-title {
  margin: 0 0 22px;
  direction: rtl;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 1.05; letter-spacing: -0.04em;
}
body.studio.lang-en .mast-title { direction: ltr; font-size: clamp(4.2rem, 12vw, 8.5rem); line-height: .9; }
.studio .mast-title .fa, .studio .mast-title .en { unicode-bidi: isolate; }
.studio .mast-title .fa { direction: rtl; }
.studio .mast-title .en { direction: ltr; }
body.studio.lang-en .mast-title .fa { display: none; }
body.studio:not(.lang-en) .mast-title .en { display: none; }
.studio .mast-title span { display: block; }
.studio .mast-title em { font-style: normal; color: var(--primary); }
.studio .mast-sub { max-width: 38rem; color: var(--muted-foreground); font-size: 1.05rem; margin: 0 0 28px; }
.studio .mast-actions, .studio .closer .btn { display: inline-flex; }
.studio .mast-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.studio .btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius); padding: 12px 18px;
  border: 1px solid var(--border); font-weight: 700;
}
.studio .btn-primary { background: var(--primary); color: var(--primary-foreground); border-color: transparent; }
.studio .btn-ghost { color: var(--foreground); }
.studio .btn .arrow { transition: transform .2s ease; }
.studio .btn:hover .arrow { transform: translateX(-4px); }
body.studio.lang-en .btn:hover .arrow { transform: translateX(4px); }
.studio .band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.studio .stat { padding: 32px var(--pad); border-inline-start: 1px solid var(--border); }
.studio .stat:first-child { border-inline-start: 0; }
.studio .stat em {
  display: block; font-family: var(--font-display); font-style: normal;
  font-size: clamp(2.4rem, 5vw, 4rem); color: var(--primary); line-height: 1;
}
.studio .stat span { color: var(--muted-foreground); }
.studio .block, .studio .closer { padding: 88px var(--pad); max-width: 1320px; margin: 0 auto; }
.studio .section-head { display: grid; grid-template-columns: 180px 1fr; gap: 28px; margin-bottom: 42px; }
.studio .section-idx { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-size: .75rem; }
.studio .section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 12px;
}
.studio .section-title em { font-style: normal; color: var(--primary); }
.studio .section-lead { margin: 0; max-width: 40rem; color: var(--muted-foreground); }
.studio .pillars, .studio .stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.studio .stack-grid { grid-template-columns: 1fr 1fr; }
.studio .pillar, .studio .project, .studio .stack-cat {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 28px;
}
.studio .pillar-idx, .studio .project-tag {
  font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--chart-2); font-size: .72rem; margin-bottom: 16px;
}
.studio .pillar-title { margin: 0 0 10px; font-size: 1.7rem; font-weight: 600; }
.studio .pillar-title em { font-style: normal; color: var(--primary); }
.studio .pillar p, .studio .project-desc { color: var(--muted-foreground); margin: 0; }
.studio .chips, .studio .project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.studio .chips span, .studio .project-meta span, .studio .stack-cat .chips span {
  border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px;
  color: var(--muted-foreground); font-size: .75rem;
}
.studio .hot { color: var(--foreground) !important; border-color: color-mix(in oklch, var(--primary) 55%, var(--border)) !important; }
.studio .runs { display: grid; }
.studio .run {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.studio .run b { display: block; font-size: 1.25rem; }
.studio .run small, .studio .run > span { color: var(--muted-foreground); }
.studio .projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.studio .size-hero { grid-column: span 6; }
.studio .size-lg { grid-column: span 3; }
.studio .project-name { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.03em; }
.studio .project-links { display: flex; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.studio .project-links a { color: var(--primary); font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.studio .stack-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.studio .stack-head span { color: var(--muted-foreground); }
.studio .closer .section-lead { margin: 12px 0 22px; }
@media (max-width: 900px) {
  .studio .top-links { display: none; }
  .studio .nav-links.open,
  .studio .top-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; inset-inline: 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px;
  }
  .studio .band, .studio .pillars, .studio .stack-grid, .studio .section-head, .studio .projects { grid-template-columns: 1fr; }
  .studio .size-hero, .studio .size-lg { grid-column: auto; }
  .studio .stat { border-inline-start: 0; border-top: 1px solid var(--border); }
}
