/**
 * Mind Boot Studios — software company site.
 * Hook names (studio-nav-fixed, reveal, data-tilt, studio-particles…) are kept
 * so /js/studio.js keeps working without changes.
 */

:root {
  --ink: #0a1526;
  --ink-2: #10203a;
  --ink-3: #1b2f4d;
  --slate: #5b6b82;
  --slate-2: #7c8ba1;
  --line: #e4e9f0;
  --line-dark: rgba(255, 255, 255, .11);
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  /* Palette follows the logo: blue badge, green + violet panels, amber gear. */
  --brand: #2563eb;
  --brand-2: #22c58b;
  --brand-soft: #e8f0fb;
  --green: #0f9d6e;
  --green-soft: #e6f6f0;
  --blue: #2f6fd0;
  --blue-soft: #e8f0fb;
  --violet: #7c3aed;
  --violet-soft: #f1eafe;
  --amber: #c07f1f;
  --amber-soft: #fbf0dc;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 26, 46, .05);
  --shadow: 0 14px 40px rgba(11, 26, 46, .09);
  --shadow-lg: 0 30px 70px rgba(6, 17, 33, .18);
  --maxw: 1600px;
  --nav-h: 74px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.studio-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }

.studio-container { margin: 0 auto; max-width: var(--maxw); padding: 0 clamp(18px, 3vw, 60px); width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Loader ───────────────────────────────────────────── */
.studio-loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--ink);
  transition: opacity .5s ease, visibility .5s ease;
}
.studio-loader.is-hidden { opacity: 0; visibility: hidden; }
.studio-loader-mark { height: 92px; width: auto; }
.studio-loader-logo { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.studio-loader-bar-wrap { background: rgba(255,255,255,.12); border-radius: 99px; height: 3px; overflow: hidden; width: 190px; }
.studio-loader-bar { background: linear-gradient(90deg, var(--brand), #6fe3c0); height: 100%; width: 40%; border-radius: inherit; animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(310%); } }

.studio-scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--blue));
}

/* The canvas sits above the hero backdrop but below every opaque section that
   follows it in the DOM, so particles only ever read over the dark hero. */
#studio-particles { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .45; }

/* ── Navigation ───────────────────────────────────────── */
.studio-nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.studio-nav-fixed.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(11, 26, 46, .06);
}
.studio-nav-inner { align-items: center; display: flex; gap: 22px; height: var(--nav-h); justify-content: space-between; }
.studio-nav-logo { align-items: center; display: flex; gap: 11px; }
.studio-nav-logo-mark { height: 48px; width: auto; }
.studio-nav-logo-text { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.studio-nav-fixed.is-scrolled .studio-nav-logo-text { color: var(--ink); }
.studio-nav-logo-studios { color: var(--brand-2); }
.studio-nav-fixed.is-scrolled .studio-nav-logo-studios { color: var(--brand); }

.studio-nav-links { align-items: center; display: flex; gap: 6px; }
.studio-nav-links a {
  border-radius: 9px; color: rgba(255,255,255,.82); font-size: 14.5px; font-weight: 500;
  padding: 9px 13px; transition: color .18s ease, background .18s ease;
}
.studio-nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.studio-nav-fixed.is-scrolled .studio-nav-links a { color: var(--slate); }
.studio-nav-fixed.is-scrolled .studio-nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.studio-nav-links a.studio-nav-cta,
.studio-nav-fixed.is-scrolled .studio-nav-links a.studio-nav-cta {
  background: var(--brand); color: #fff; font-weight: 600; margin-left: 8px; padding: 10px 18px;
}
.studio-nav-links a.studio-nav-cta:hover,
.studio-nav-fixed.is-scrolled .studio-nav-links a.studio-nav-cta:hover { background: #1d4ed8; color: #fff; }

.studio-menu-btn {
  display: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; color: #fff; font-size: 18px; height: 42px; width: 42px;
}
.studio-nav-fixed.is-scrolled .studio-menu-btn { background: #fff; border-color: var(--line); color: var(--ink); }
.studio-mobile-menu { display: none; }

/* ── Buttons ──────────────────────────────────────────── */
.studio-btn {
  align-items: center; border: 1px solid transparent; border-radius: 11px; display: inline-flex; gap: 9px;
  font-size: 15px; font-weight: 600; justify-content: center; padding: 13px 22px;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.studio-btn:hover { transform: translateY(-2px); }
.studio-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 28px rgba(37, 99, 235, .32); }
.studio-btn-primary:hover { background: #1d4ed8; }
.studio-btn-ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); color: #fff; }
.studio-btn-ghost:hover { background: rgba(255,255,255,.14); }
.studio-btn-outline { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.studio-btn-outline:hover { border-color: #c9d4e2; }
.studio-btn-lg { font-size: 16px; padding: 15px 26px; }

/* ── Hero ─────────────────────────────────────────────── */
.studio-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 620px at 78% -10%, #1c3b63 0%, transparent 60%), linear-gradient(170deg, #0a1526 0%, #0d1c31 55%, #0a1526 100%);
  color: #fff;
  padding: calc(var(--nav-h) + 74px) 0 86px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; top: -140px; right: -80px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,139,.22) 0%, transparent 65%); transition: transform .4s ease-out; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 54px; grid-template-columns: 1.08fr .92fr; align-items: center; }

.hero-badge {
  align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; display: inline-flex; font-size: 13px; gap: 9px; color: #cfe0dc;
  margin-bottom: 26px; padding: 8px 15px;
}
.hero-badge-dot { background: var(--brand-2); border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,197,139,.18); height: 8px; width: 8px; }

.hero-title { font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin-bottom: 22px; }
.hero-title-line { display: block; }
.hero-title-accent { display: block; background: linear-gradient(95deg, var(--brand-2), #5ad1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: #b8c7d9; font-size: 19px; max-width: 640px; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 30px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); }
.hero-proof li { color: #93a6bc; font-size: 13.5px; }
.hero-proof b { color: #fff; display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }

/* Hero code panel */
.hero-panel { position: relative; }
.hero-window {
  background: linear-gradient(180deg, #13243c 0%, #0e1c30 100%);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transition: transform .25s ease;
}
.hero-window-bar { align-items: center; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); display: flex; gap: 8px; padding: 13px 16px; }
.hero-window-dot { border-radius: 50%; height: 10px; width: 10px; }
.hero-window-dot.r { background: #e5695f; } .hero-window-dot.y { background: #e0b04a; } .hero-window-dot.g { background: #56c07f; }
.hero-window-title { color: #7f93aa; font-size: 12px; margin-left: 8px; }
.hero-window-body { padding: 20px 22px 24px; }

.hero-flow { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.hero-flow li { align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; display: grid; gap: 12px; grid-template-columns: 30px 1fr auto; padding: 11px 13px; }
.hero-flow span.step { align-items: center; background: rgba(34,197,139,.14); border-radius: 8px; color: var(--brand-2); display: flex; font-size: 12px; font-weight: 700; height: 30px; justify-content: center; }
.hero-flow b { color: #e7eef7; display: block; font-size: 13.5px; font-weight: 600; }
.hero-flow small { color: #8298b1; font-size: 11.5px; }
.hero-flow .tick { color: var(--brand-2); font-size: 14px; }

.hero-window-foot { align-items: center; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; padding-top: 15px; }
.hero-window-foot span { color: #8298b1; font-size: 12px; }
.hero-window-foot b { color: var(--brand-2); font-size: 12.5px; }

.hero-scroll-hint { background: none; border: 0; color: #7f93aa; display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; margin-top: 46px; padding: 0; position: relative; z-index: 2; }
.hero-scroll-arrow { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; display: inline-block; height: 8px; transform: rotate(45deg); width: 8px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(3px,3px); } }

/* ── Marquee ──────────────────────────────────────────── */
.studio-marquee-wrap { position: relative; z-index: 2; background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 15px 0; }
.studio-marquee { display: flex; gap: 46px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.studio-marquee span { color: #8ba0b8; font-size: 13px; letter-spacing: .04em; }
.studio-marquee em { color: #fff; font-style: normal; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────── */
.studio-section { padding: 92px 0; position: relative; z-index: 2; background: var(--bg); }
.studio-section-alt { background: var(--bg-soft); }
.studio-section-dark { background: var(--ink); color: #fff; }

.section-header { display: flex; align-items: flex-end; gap: 28px; justify-content: space-between; margin-bottom: 44px; }
.section-label { color: var(--brand); display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; text-transform: uppercase; }
.studio-section-dark .section-label { color: var(--brand-2); }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0; }
.section-desc { color: var(--slate); font-size: 17px; margin: 14px 0 0; max-width: 700px; }
.studio-section-dark .section-desc { color: #9fb2c8; }
.section-link { color: var(--brand); font-size: 15px; font-weight: 600; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ── Services ─────────────────────────────────────────── */
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { border-color: #cfdae7; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { align-items: center; background: var(--brand-soft); border-radius: 12px; color: var(--brand); display: flex; font-size: 20px; font-weight: 800; height: 46px; justify-content: center; margin-bottom: 20px; width: 46px; }
.service-icon.green { background: var(--green-soft); color: var(--green); }
.service-icon.violet { background: var(--violet-soft); color: var(--violet); }
.service-icon.amber { background: var(--amber-soft); color: var(--amber); }
.service-card h3 { font-size: 19px; margin-bottom: 9px; }
.service-card p { color: var(--slate); font-size: 15px; margin: 0 0 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.service-tags li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; color: var(--slate); font-size: 11.5px; font-weight: 500; padding: 5px 9px; }

.service-icon svg, .hw-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── Robotics & electronics (dark) ────────────────────── */
.hw-layout { display: grid; gap: 46px; grid-template-columns: .82fr 1.18fr; align-items: start; }
.hw-intro p { color: #9fb2c8; font-size: 16.5px; }
.hw-points { display: grid; gap: 12px; list-style: none; margin: 26px 0 0; padding: 0; }
.hw-points li { color: #cbd8e6; font-size: 14.5px; padding-left: 26px; position: relative; }
.hw-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; height: 8px; width: 8px;
  border-radius: 2px; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(34,197,139,.13);
}
.hw-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.hw-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hw-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.hw-icon {
  align-items: center; background: rgba(34,197,139,.13); border-radius: 12px; color: var(--brand-2);
  display: flex; height: 46px; justify-content: center; margin-bottom: 18px; width: 46px;
}
.hw-icon.blue { background: rgba(90,164,255,.14); color: #7cb8ff; }
.hw-icon.violet { background: rgba(168,85,247,.16); color: #c4a2fb; }
.hw-icon.amber { background: rgba(251,191,36,.15); color: #f0b849; }
.hw-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.hw-card p { color: #9fb2c8; font-size: 14.5px; margin: 0 0 14px; }
.hw-card ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.hw-card li { background: rgba(255,255,255,.06); border-radius: 7px; color: #a9bccf; font-size: 11.5px; padding: 5px 9px; }

/* ── Work ─────────────────────────────────────────────── */
.work-grid { display: grid; gap: 22px; grid-template-columns: 1.35fr 1fr; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.work-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.work-visual { position: relative; height: 290px; overflow: hidden; background: linear-gradient(140deg, #123152, #0d2138); }
.work-visual.mint { background: linear-gradient(140deg, #10402f, #0c2c22); }
.work-visual.plum { background: linear-gradient(140deg, #2d2350, #1a1533); }
.work-chip { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(8,20,34,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #fff; font-size: 11px; font-weight: 600; padding: 6px 11px; }
.work-visual.shot img { position: absolute; top: 46px; left: 26px; right: -1px; width: calc(100% - 26px); border-radius: 10px 0 0 0; border: 1px solid rgba(255,255,255,.14); border-right: 0; box-shadow: -10px -10px 40px rgba(0,0,0,.35); display: block; height: auto; }
.work-mock { position: absolute; inset: 44px 22px -10px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -8px 34px rgba(0,0,0,.28); overflow: hidden; }
.work-mock-bar { background: var(--ink); height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.work-mock-bar i { background: rgba(255,255,255,.32); border-radius: 50%; height: 6px; width: 6px; }
.work-mock-body { display: grid; gap: 7px; grid-template-columns: 52px 1fr; padding: 11px; }
.work-mock-side { background: var(--bg-soft); border-radius: 5px; height: 100%; min-height: 96px; }
.work-mock-main { display: grid; gap: 7px; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 26px; }
.work-mock-main i { background: var(--bg-soft); border-radius: 5px; display: block; }
.work-mock-main i.wide { grid-column: span 3; }
.work-mock-main i.brand { background: var(--brand-soft); }
.work-mock-main i.blue { background: var(--blue-soft); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.work-body h3 { font-size: 21px; margin-bottom: 8px; }
.work-body p { color: var(--slate); font-size: 15px; }
.work-highlights { display: grid; gap: 9px; list-style: none; margin: 4px 0 4px; padding: 0; }
.work-highlights li { color: var(--ink-3); font-size: 14.5px; padding-left: 24px; position: relative; }
.work-highlights li::before { content: "✓"; color: var(--brand); font-weight: 700; left: 0; position: absolute; }
.work-meta { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: auto 0 16px; padding: 16px 0 0; }
.work-meta li { color: var(--slate-2); font-size: 12px; }
.work-meta li + li::before { color: var(--line); content: "·"; margin-right: 8px; }
.work-side { display: grid; gap: 22px; }
.work-card.compact .work-visual { height: 132px; }
.work-card.compact .work-body { padding: 20px 22px 22px; }
.work-card.compact h3 { font-size: 18px; }
.work-card.compact p { font-size: 14px; }

/* ── Process ──────────────────────────────────────────── */
.process-grid { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.process-step { border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em;
}
.process-step h3 { font-size: 18px; margin: 10px 0 8px; }
.process-step p { color: var(--slate); font-size: 14.5px; margin: 0; }
.process-step.is-active { border-top-color: var(--brand); }

/* ── Stack ────────────────────────────────────────────── */
.stack-band { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.stack-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px 14px; text-align: center; }
.stack-item b { display: block; font-size: 14px; }
.stack-item small { color: var(--slate-2); font-size: 11.5px; }

/* ── Stats ────────────────────────────────────────────── */
.studio-stats { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.stat-card { border-left: 3px solid rgba(255,255,255,.14); padding: 6px 0 6px 20px; }
.stat-value { color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-label { color: #92a6bd; font-size: 13.5px; margin-top: 9px; }

/* ── Games (hobby) ────────────────────────────────────── */
.hobby-note { align-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 12px; color: #9fb2c8; display: flex; font-size: 14px; gap: 11px; margin-bottom: 32px; padding: 14px 18px; }
.hobby-note b { color: #fff; }
.game-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.game-tile {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius);
  display: block; padding: 24px; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.game-tile:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.game-tile-icon { font-size: 26px; margin-bottom: 16px; }
.game-tile h3 { color: #fff; font-size: 18px; margin-bottom: 7px; }
.game-tile p { color: #9fb2c8; font-size: 14px; margin: 0 0 15px; }
.studio-pill { border-radius: 99px; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 5px 11px; text-transform: uppercase; background: rgba(255,255,255,.1); color: #cbd8e6; }
.studio-pill.live { background: rgba(34,197,139,.16); color: var(--brand-2); }
.studio-pill.soon { background: rgba(224,176,74,.16); color: #e0b04a; }

/* ── CTA ──────────────────────────────────────────────── */
.studio-cta-band { position: relative; z-index: 2; background: linear-gradient(120deg, #0f2a45, #113a30); color: #fff; padding: 70px 0; }
.studio-cta-inner { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
.studio-cta-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.studio-cta-copy p { color: #a9c0d3; margin: 0; }

/* ── Footer ───────────────────────────────────────────── */
.studio-footer-full { position: relative; z-index: 2; background: var(--ink); color: #90a4bb; padding: 62px 0 0; }
.studio-footer-inner { display: grid; gap: 34px; grid-template-columns: 2fr 1fr 1fr 1fr; padding-bottom: 42px; }
.studio-footer-logo-row { align-items: center; display: flex; gap: 11px; margin-bottom: 14px; }
.studio-footer-logo-row img { height: 52px; width: auto; }
.studio-footer-brand { color: #fff; font-size: 17px; font-weight: 700; }
.studio-footer-tagline { font-size: 14px; max-width: 320px; }
.studio-footer-tagline a { color: var(--brand-2); }
.studio-footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .08em; margin-bottom: 15px; text-transform: uppercase; }
.studio-footer-col a { color: #90a4bb; display: block; font-size: 14.5px; margin-bottom: 10px; }
.studio-footer-col a:hover { color: #fff; }
.studio-footer-bottom { border-top: 1px solid var(--line-dark); color: #6d829a; font-size: 13px; padding: 22px 0 28px; display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }

/* ── Reveal animation ─────────────────────────────────── */
.reveal, .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible, .reveal-stagger > .is-visible { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .studio-marquee { animation: none; }
  .hero-scroll-arrow { animation: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (min-width: 2100px) {
  :root { --maxw: 1860px; }
}

@media (max-width: 1280px) {
  .stack-band { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .studio-stats { grid-template-columns: repeat(2, 1fr); }
  .hw-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { max-width: none; }
  .hero-panel { max-width: 620px; }
}

@media (max-width: 900px) {
  .studio-nav-links { display: none; }
  .studio-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .studio-mobile-menu {
    display: block; max-height: 0; overflow: hidden; background: #fff;
    border-bottom: 1px solid transparent; transition: max-height .3s ease;
  }
  .studio-mobile-menu.is-open { max-height: 460px; border-bottom-color: var(--line); box-shadow: var(--shadow); }
  .studio-mobile-menu a { border-bottom: 1px solid var(--line); color: var(--ink); display: block; font-size: 15px; font-weight: 500; padding: 15px 28px; }
  .studio-mobile-menu a:last-child { border-bottom: 0; color: var(--brand); font-weight: 700; }
  .studio-hero { padding: calc(var(--nav-h) + 52px) 0 68px; }
  .studio-section { padding: 68px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .studio-cta-inner { flex-direction: column; align-items: flex-start; }
  .studio-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .service-grid, .game-grid, .hw-grid { grid-template-columns: 1fr; }
  .stack-band { grid-template-columns: repeat(2, 1fr); }
  .work-visual { height: 230px; }
}

@media (max-width: 640px) {
  body.studio-body { font-size: 16px; }
  .studio-mobile-menu a { padding-left: 18px; padding-right: 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .studio-stats { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(28px, 8.4vw, 36px); }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .studio-btn { flex: 1 1 100%; }
  .hero-proof { gap: 18px; }
  .hero-proof li { flex: 1 1 40%; }
  .studio-footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .work-visual { height: 190px; }
  .studio-section { padding: 56px 0; }
  .hero-window-body { padding: 16px 14px 18px; }
  .hero-flow li { grid-template-columns: 26px 1fr auto; gap: 9px; padding: 10px; }
}

@media (max-width: 400px) {
  .stack-band { grid-template-columns: 1fr; }
  .studio-stats { grid-template-columns: 1fr; }
  .hero-badge { font-size: 12px; padding: 7px 12px; }
  .service-card, .hw-card, .game-tile { padding: 20px; }
  .work-body { padding: 20px 18px 22px; }
  .work-visual { height: 165px; }
}
