:root {
    --bg: #090a0d;
    --panel: #181922;
    --panel-2: #111218;
    --text: #f3efe7;
    --muted: #b8b8c3;
    --faint: #858795;
    --line: rgba(244,240,232,.19);
    --line-soft: rgba(244,240,232,.11);
    --red: #ff5a4e;
    --blue: #536fff;
    --max: 1014px;
    --panel-max: clamp(1014px, 78vw, 1320px);
    --wide: 1090px;
    --header-h: 78px;
}
html[data-theme="light"] {
    --bg: #f3f1ec;
    --panel: #e8e8ee;
    --panel-2: #ffffff;
    --text: #111217;
    --muted: #50515d;
    --faint: #777986;
    --line: rgba(17,18,23,.23);
    --line-soft: rgba(17,18,23,.11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: "Syne", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.studio-skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--text); color: var(--bg); padding: 10px 14px; text-decoration: none; border-radius: 99px; }
.studio-skip:focus { top: 12px; }
.studio-progress { position: fixed; inset: 0 0 auto 0; z-index: 80; height: 2px; pointer-events: none; }
.studio-progress span { display: block; width: 0; height: 100%; background: var(--red); }

.studio-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.studio-header.is-scrolled { border-bottom-color: var(--line-soft); }
.studio-header-inner { width: min(1310px, calc(100% - 48px)); height: var(--header-h); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; }
.studio-brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; text-decoration: none; min-width: 0; }
.studio-brand-mark { width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.studio-brand-mark svg { width: 18px; height: 18px; }
.studio-brand-copy { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; min-width: 0; }
.studio-brand-copy strong { font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.studio-brand-copy small { color: var(--red); font: 500 7px/1 "DM Mono", monospace; letter-spacing: .18em; }
.studio-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.studio-nav a { color: var(--muted); text-decoration: none; font-size: 10px; font-weight: 700; transition: color .2s ease; white-space: nowrap; }
.studio-nav a:hover { color: var(--text); }
.studio-header-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.studio-lang { display: inline-flex; align-items: center; gap: 1px; border: 1px solid var(--line-soft); border-radius: 99px; padding: 2px; }
.studio-lang button { min-width: 26px; height: 26px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; font: 500 7px/1 "DM Mono", monospace; }
.studio-lang button.active { background: var(--text); color: var(--bg); }
.studio-icon-button { width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line-soft); background: transparent; color: var(--text); display: grid; place-items: center; text-decoration: none; cursor: pointer; font-size: 11px; }
.studio-header-cta { min-height: 32px; padding: 0 15px; border-radius: 99px; background: var(--text); color: var(--bg); display: inline-flex; align-items: center; text-decoration: none; font-size: 10px; font-weight: 800; white-space: nowrap; }
.studio-menu-button { display: none; width: 36px; height: 36px; border: 1px solid var(--line-soft); border-radius: 50%; background: transparent; padding: 0; cursor: pointer; place-items: center; }
.studio-menu-button span { display: block; width: 14px; height: 1px; background: var(--text); }
.studio-menu-button span + span { margin-top: 4px; }
.studio-mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 59; background: var(--bg); border-bottom: 1px solid var(--line); }
.studio-mobile-nav-inner { width: min(var(--max), calc(100% - 32px)); margin: auto; padding: 22px 0 28px; display: grid; gap: 14px; }
.studio-mobile-nav a { text-decoration: none; font-size: 18px; font-weight: 700; }
.studio-mobile-tools { display: flex; align-items: center; gap: 8px; padding-top: 8px; }

main { overflow: clip; }
#work, #showreel, #capabilities, #method, #contact { scroll-margin-top: calc(var(--header-h) + 18px); }
.studio-hero { width: min(1310px, calc(100% - 48px)); min-height: calc(100vh - var(--header-h)); margin: 0 auto; padding: 64px 0 88px; display: grid; grid-template-columns: minmax(0,.84fr) minmax(520px,1.16fr); align-items: center; gap: 76px; }
.studio-hero-copy { max-width: 520px; justify-self: end; }
.studio-kicker { margin: 0 0 18px; color: var(--red); font: 500 8px/1.3 "DM Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }
.studio-hero h1, .studio-section h2, .studio-contact h2 { margin: 0; color: var(--text); font-weight: 800; letter-spacing: -.055em; }
.studio-hero h1 { font-size: clamp(52px, 4.7vw, 76px); line-height: .93; }
.studio-hero h1 span, .studio-hero h1 em { display: block; }
.studio-hero h1 em { color: var(--blue); font-style: normal; }
.studio-lead { max-width: 500px; margin: 27px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.studio-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.studio-button { min-height: 37px; padding: 0 15px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; border: 1px solid var(--line); font-size: 10px; font-weight: 800; cursor: pointer; }
.studio-button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.studio-button-primary span[aria-hidden] { color: var(--red); }
.studio-button-quiet { background: transparent; color: var(--text); }
.studio-hero-meta { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font: 500 7px/1.2 "DM Mono", monospace; letter-spacing: .12em; }
.studio-hero-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-inline-end: 8px; border-radius: 50%; background: var(--blue); vertical-align: 1px; }
.studio-hero-art { position: relative; justify-self: start; width: min(100%, 700px); }
.studio-hero-frame { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #14151a; box-shadow: 0 28px 80px rgba(0,0,0,.34); }
/* The supplied hero asset contains an obsolete 04 / 01 label baked into the image. Mask only that label; the live 01 / 04 counter remains HTML. */
.studio-hero-frame::before { content: ""; position: absolute; z-index: 1; left: 7.5%; top: 6.3%; width: 11.5%; height: 4.1%; background: linear-gradient(90deg, rgb(96 67 49), rgb(75 53 40) 24%, rgb(51 39 32) 56%, rgb(31 27 24)); pointer-events: none; }
.studio-hero-frame img { width: 100%; aspect-ratio: 705 / 785; object-fit: cover; }
.studio-frame-caption { position: absolute; z-index: 2; inset: auto auto 17px 18px; display: grid; gap: 2px; color: white; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.studio-frame-caption span, .studio-frame-caption small { font: 500 7px/1.25 "DM Mono", monospace; letter-spacing: .10em; }
.studio-frame-caption strong { font-size: 12px; }
.studio-frame-index { position: absolute; z-index: 2; top: 17px; right: 18px; color: #fff; font: 500 7px/1 "DM Mono", monospace; letter-spacing: .08em; }
.studio-orbit-note { position: absolute; z-index: 2; padding: 6px 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: rgba(10,10,12,.74); color: #fff; font: 500 6px/1 "DM Mono", monospace; letter-spacing: .11em; }
.studio-orbit-note-a { left: -16px; top: 80px; }
.studio-orbit-note-b { right: -18px; bottom: 78px; }

.studio-scene-rail { width: min(var(--panel-max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-scene-rail a { min-height: 72px; padding: 0 16px; display: flex; align-items: center; gap: 15px; text-decoration: none; border-inline-start: 1px solid var(--line); }
.studio-scene-rail a:first-child { border-inline-start: 0; }
.studio-scene-rail span, .studio-cap-number, .studio-method-step > span { color: var(--red); font: 500 7px/1 "DM Mono", monospace; }
.studio-scene-rail strong { font-size: 10px; }

.studio-section { width: min(var(--panel-max), calc(100% - 48px)); margin: 0 auto; padding: 92px 0 68px; }
.studio-section-head { display: grid; grid-template-columns: minmax(0,610px) minmax(290px,410px); justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 34px; }
.studio-section-head h2 { max-width: 610px; font-size: clamp(38px,4.2vw,58px); line-height: .96; }
.studio-section-head > p { margin: 0; max-width: 410px; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Compact Business House card: intentionally smaller than a full-screen panel. */
.studio-work { padding-top: 82px; }
.studio-project-card { width: min(940px,100%); min-height: 350px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: var(--panel-2); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.studio-project-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.studio-project-copy { padding: 38px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.studio-project-copy h3 { margin: 9px 0 0; font-size: clamp(42px,4.2vw,62px); line-height: .88; letter-spacing: -.055em; }
.studio-project-copy > p { margin: 24px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.studio-project-link { font-size: 10px; font-weight: 800; }
.studio-project-media { position: relative; margin: 0; min-width: 0; min-height: 350px; overflow: hidden; background: #e8d2c6; }
.studio-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.studio-project-card:hover img { transform: scale(1.018); }
.studio-project-number, .studio-project-pill { position: absolute; top: 14px; padding: 6px 9px; border-radius: 99px; background: rgba(9,10,13,.85); color: #fff; font: 500 6px/1 "DM Mono", monospace; letter-spacing: .09em; }
.studio-project-number { left: 14px; }
.studio-project-pill { right: 14px; }

.studio-showreel-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,330px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-showreel-image { position: relative; margin: 0; min-height: 610px; overflow: hidden; border-inline-end: 1px solid var(--line); background: #131419; }
.studio-showreel-image img { width: 100%; height: 100%; object-fit: cover; }
.studio-showreel-notes { display: grid; grid-template-rows: repeat(3,1fr); }
.studio-showreel-notes article { padding: 34px 18px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-content: center; border-top: 1px solid var(--line); }
.studio-showreel-notes article:first-child { border-top: 0; }
.studio-showreel-notes article > span { color: var(--blue); font: 500 7px/1 "DM Mono", monospace; }
.studio-showreel-notes h3 { margin: 0 0 8px; font-size: 12px; }
.studio-showreel-notes p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.studio-capabilities { padding-bottom: 92px; }
.studio-capability-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-capability { min-height: 88px; display: grid; grid-template-columns: 44px 300px minmax(0,1fr) 118px; gap: 14px; align-items: center; border-top: 1px solid var(--line); }
.studio-capability:first-child { border-top: 0; }
.studio-capability h3 { margin: 0; font-size: 18px; }
.studio-capability p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.studio-cap-token { justify-self: end; color: var(--blue); font: 500 7px/1 "DM Mono", monospace; letter-spacing: .08em; }

.studio-method { display: grid; grid-template-columns: minmax(320px,360px) minmax(0,1fr); gap: 70px; padding-top: 104px; padding-bottom: 96px; border-bottom: 1px solid var(--line); }
.studio-method-intro h2 { font-size: clamp(40px,4.4vw,58px); line-height: .96; }
.studio-method-intro > p:last-child { max-width: 350px; margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.studio-method-track { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-method-step { min-height: 89px; padding: 0; display: grid; grid-template-columns: 34px 170px 1fr; gap: 14px; align-items: center; border-top: 1px solid var(--line); }
.studio-method-step:first-child { border-top: 0; }
.studio-method-step h3 { margin: 0; font-size: 12px; }
.studio-method-step p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.studio-delivery { padding-top: 92px; }
.studio-delivery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); }
.studio-delivery-item { min-height: 86px; padding: 22px 18px; display: flex; align-items: center; gap: 26px; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
.studio-delivery-item:nth-child(1), .studio-delivery-item:nth-child(2) { border-top: 0; }
.studio-delivery-item:nth-child(odd) { border-inline-start: 0; }
.studio-delivery-item > span { color: var(--red); font: 500 13px/1 "DM Mono", monospace; }
.studio-delivery-item p { margin: 0; font-size: 10px; line-height: 1.5; }

.studio-contact { width: min(var(--panel-max), calc(100% - 48px)); margin: 28px auto 22px; min-height: 420px; padding: 56px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); position: relative; overflow: hidden; }
.studio-contact::after { content: ""; position: absolute; width: 150px; height: 150px; right: -52px; top: -73px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.studio-contact-copy { align-self: center; max-width: 500px; }
.studio-contact h2 { max-width: 460px; font-size: clamp(40px,4.3vw,58px); line-height: .96; }
.studio-contact-copy > p:not(.studio-kicker) { max-width: 500px; margin: 18px 0 25px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.studio-home-link { color: var(--faint); font-size: 8px; text-decoration: none; }
.studio-contact-form { width: 100%; max-width: 560px; justify-self: end; display: grid; gap: 14px; position: relative; z-index: 1; }
.studio-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio-field { display: grid; gap: 7px; }
.studio-field > span { color: var(--faint); font: 500 7px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.studio-field input, .studio-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--text); outline: 0; padding: 11px 12px; font-size: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.studio-field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.studio-field input:focus, .studio-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.studio-form-footer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.studio-form-note { margin: 0; max-width: 230px; color: var(--faint); font-size: 7px; line-height: 1.45; }
.studio-form-status { min-height: 14px; margin: 0; color: var(--red); font-size: 9px; }
.studio-footer { width: min(var(--panel-max), calc(100% - 48px)); margin: 0 auto; padding: 20px 0 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 8px; }
.studio-footer > div:first-child { display: grid; gap: 5px; }
.studio-footer > div:first-child span { color: var(--faint); }
.studio-footer-links { display: flex; gap: 18px; align-items: center; color: var(--muted); }
.studio-footer a { text-decoration: none; }

.studio-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.studio-reveal.is-visible { opacity: 1; transform: none; }

[dir="rtl"] .studio-brand { justify-self: end; }
[dir="rtl"] .studio-header-actions { justify-self: start; }
[dir="rtl"] .studio-hero-copy { justify-self: start; text-align: right; }
[dir="rtl"] .studio-hero { direction: rtl; }
[dir="rtl"] .studio-frame-caption { left: auto; right: 18px; }
[dir="rtl"] .studio-frame-index { right: auto; left: 18px; }
[dir="rtl"] .studio-project-card { direction: rtl; }
[dir="rtl"] .studio-project-number { left: auto; right: 14px; }
[dir="rtl"] .studio-project-pill { right: auto; left: 14px; }
[dir="rtl"] .studio-section-head, [dir="rtl"] .studio-contact, [dir="rtl"] .studio-method { direction: rtl; }
[dir="rtl"] .studio-cap-token { justify-self: start; }
[dir="rtl"] .studio-contact-form { justify-self: start; }

@media (max-width: 1120px) {
    :root { --panel-max: 1014px; }
    .studio-header-inner { grid-template-columns: 1fr auto; }
    .studio-nav { display: none; }
    .studio-menu-button { display: grid; justify-self: end; }
    .studio-header-actions { display: none; }
    .studio-hero { grid-template-columns: minmax(0,.9fr) minmax(430px,1.1fr); gap: 44px; }
    .studio-capability { grid-template-columns: 38px 230px minmax(0,1fr) 105px; }
    .studio-section-head { grid-template-columns: minmax(0,1.2fr) minmax(290px,.8fr); justify-content: initial; }
    .studio-method { grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr); }
}
@media (max-width: 760px) {
    :root { --header-h: 66px; }
    .studio-header-inner { width: calc(100% - 32px); height: var(--header-h); }
    .studio-brand-copy strong { font-size: 11px; }
    .studio-brand-copy small { display: none; }
    .studio-hero { width: calc(100% - 32px); min-height: auto; padding: 34px 0 60px; grid-template-columns: 1fr; gap: 34px; }
    .studio-hero-copy { order: 1; justify-self: stretch; max-width: none; }
    .studio-hero-art { order: 2; width: 100%; }
    .studio-hero h1 { font-size: clamp(46px,14vw,62px); }
    .studio-lead { font-size: 13px; }
    .studio-orbit-note { display: none; }
    .studio-scene-rail { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; }
    .studio-scene-rail a:nth-child(3), .studio-scene-rail a:nth-child(4) { border-top: 1px solid var(--line); }
    .studio-scene-rail a:nth-child(3) { border-inline-start: 0; }
    .studio-section, .studio-contact, .studio-footer { width: calc(100% - 32px); }
    .studio-section { padding: 70px 0 52px; }
    .studio-section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
    .studio-section-head h2 { font-size: clamp(36px,11vw,50px); }
    .studio-section-head > p { font-size: 11px; }
    .studio-project-card { width: 100%; grid-template-columns: 1fr; min-height: 0; }
    .studio-project-copy { order: 2; padding: 28px; min-height: 270px; }
    .studio-project-media { order: 1; min-height: 0; aspect-ratio: 16 / 10; }
    .studio-showreel-stage { grid-template-columns: 1fr; }
    .studio-showreel-image { min-height: 0; aspect-ratio: 1.08 / 1; border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .studio-showreel-notes article { min-height: 132px; }
    .studio-capability { min-height: 0; padding: 22px 0; grid-template-columns: 28px 1fr; gap: 10px 12px; }
    .studio-capability h3 { font-size: 16px; }
    .studio-capability p { grid-column: 2; font-size: 10px; }
    .studio-cap-token { grid-column: 2; justify-self: start; margin-top: 4px; }
    .studio-method { grid-template-columns: 1fr; gap: 38px; padding-top: 70px; }
    .studio-method-intro h2 { font-size: clamp(38px,11vw,50px); }
    .studio-method-step { min-height: 0; padding: 22px 0; grid-template-columns: 28px 85px 1fr; }
    .studio-delivery-grid { grid-template-columns: 1fr; }
    .studio-delivery-item, .studio-delivery-item:nth-child(2) { border-inline-start: 0; border-top: 1px solid var(--line); }
    .studio-delivery-item:first-child { border-top: 0; }
    .studio-contact { margin-top: 20px; padding: 32px 24px; grid-template-columns: 1fr; gap: 36px; }
    .studio-contact h2 { font-size: clamp(38px,11vw,50px); }
    .studio-form-row { grid-template-columns: 1fr; }
    .studio-contact-form { max-width: none; justify-self: stretch; }
    .studio-footer { align-items: flex-start; flex-direction: column; }
    .studio-footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .studio-reveal, .studio-project-card, .studio-project-media img { transition: none; }
}
