/* Tech Action – site styles. Light + dark theme via tokens. */

/* ---------- tokens ---------- */
:root {
  --yellow: #f9c80e;
  --yellow-600: #e0b100;
  --wa: #25d366;
  --wa-ink: #07361b;

  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --surface: #ffffff;
  --surface-2: #f5f4ef;
  --text: #141416;
  --text-2: #4a4a52;
  --muted: #6b6b73;
  --line: rgba(20, 20, 22, 0.12);
  --line-strong: rgba(20, 20, 22, 0.22);
  --accent: var(--yellow);
  --accent-ink: #141416;
  --accent-text: #8a6a00;           /* yellow that passes contrast on light bg */
  --focus: #1f6feb;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
  --header-bg: rgba(250, 249, 246, 0.86);

  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --font-display: "Space Grotesk", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0e; --bg-alt: #121215; --surface: #17171b; --surface-2: #1e1e23;
    --text: #f3f2ee; --text-2: #c9c8c3; --muted: #9a9aa2;
    --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2);
    --accent-text: var(--yellow); --focus: #7cb4ff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
    --header-bg: rgba(12, 12, 14, 0.82);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0c0e; --bg-alt: #121215; --surface: #17171b; --surface-2: #1e1e23;
  --text: #f3f2ee; --text-2: #c9c8c3; --muted: #9a9aa2;
  --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2);
  --accent-text: var(--yellow); --focus: #7cb4ff;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
  --header-bg: rgba(12, 12, 14, 0.82);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="zh-Hans"] body { line-height: 1.8; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
html[lang="zh-Hans"] :is(h1, h2, h3) { letter-spacing: .01em; line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-stretch: 112%; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-stretch: 108%; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .9rem; display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.eyebrow a { text-decoration: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 46em; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-lead { color: var(--text-2); font-size: 1.1rem; max-width: 44em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(3px); }
.link-arrow:hover { color: var(--accent-text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.03rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--yellow-600); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(249,200,14,.28); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1fbe5a; color: var(--wa-ink); box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost.on-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.badge { display: inline-flex; align-items: center; gap: .35em; font: 600 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.badge .ico { width: 1.1em; height: 1.1em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: block; flex: none; }
.logo img { height: 29px; width: auto; }
.logo-on-dark { display: none !important; }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block !important; }
}
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--text-2); }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .when-dark { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .when-light { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; overflow-y: auto; margin: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 1.35rem; font-family: var(--font-display); font-weight: 650; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .main-nav a:hover { background: none; color: var(--accent-text); }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--accent-text); }
  .nav-extra { display: block; margin-top: 24px; }
  .nav-extra .btn { width: 100%; min-height: 54px; }
  .header-tools { margin-left: auto; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .logo img { height: 24px; } .header-tools { gap: 6px; } .icon-btn { width: 40px; height: 40px; min-width: 40px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0c0c0e; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.72) 42%, rgba(8,8,10,.25) 100%), linear-gradient(0deg, rgba(8,8,10,.85) 0%, rgba(8,8,10,0) 45%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 84px); }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { max-width: 15em; color: #fff; }
.hero .lead { color: rgba(255,255,255,.84); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-award { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); text-decoration: none; font-size: .92rem; backdrop-filter: blur(8px); }
.hero-award .ico { color: var(--yellow); width: 1.5em; height: 1.5em; }
.hero-award strong { color: #fff; }
.hero-award:hover { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 640px) { .hero { min-height: 92vh; } .hero-media::after { background: linear-gradient(0deg, rgba(8,8,10,.95) 10%, rgba(8,8,10,.6) 60%, rgba(8,8,10,.35) 100%); } .hero-actions .btn { width: 100%; } .hero-award { border-radius: 16px; } }

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding: 0 var(--gutter); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { list-style: none; display: flex; gap: 56px; margin: 0; padding: 0 28px; }
.marquee li { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 1.15rem; color: var(--text-2); white-space: nowrap; opacity: .8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-family: var(--font-display); font-stretch: 115%; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; font-weight: 800; }
.stats li > span { color: var(--muted); font-size: .95rem; }
.stats strong.is-text { font-size: clamp(1.4rem, 2.4vw, 1.9rem); white-space: nowrap; line-height: 1.25; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-play { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: translateY(6px); transition: .25s; }
.card:hover .card-play, .card-link:focus-visible .card-play { opacity: 1; transform: none; }
.card-media .badge-award { position: absolute; left: 12px; top: 12px; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.card-meta { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.card-title { margin: 0; font-size: 1.08rem; line-height: 1.3; font-stretch: 100%; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-client { margin: 0; color: var(--muted); font-size: .92rem; }

/* services / features */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--accent); color: inherit; transform: translateY(-2px); }
.service-card p { color: var(--text-2); flex: 1; }
.service-num { font-family: var(--font-display); font-weight: 800; color: var(--accent-text); font-size: .95rem; }
.feature-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 36px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.feature:hover { border-color: var(--accent); color: inherit; }
.feature p { color: var(--text-2); flex: 1; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.ph { width: 100%; border-radius: var(--radius); border: 2px dashed var(--line-strong); background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--bg-alt) 14px 28px); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; }
.ph-ico { width: 44px; height: 44px; margin-bottom: 4px; }
.ph-title { font-weight: 600; color: var(--text-2); }
.ph-label { font-size: .9rem; max-width: 22em; }
.studio-ph { margin-top: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--accent-text); margin-top: .25em; }
.callout { margin-top: 40px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--surface); }

/* award band */
.award-band { background: #0c0c0e; color: #f3f2ee; border-block: 1px solid rgba(255,255,255,.08); }
:root[data-theme="dark"] .award-band { background: #050506; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .award-band { background: #050506; } }
.award-band .eyebrow { color: var(--yellow); }
.award-band p { color: #c9c8c3; }
.award-band strong { color: #fff; }
.award-inner { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.award-media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .award-inner { grid-template-columns: 1fr; } .award-media { max-width: 420px; } }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 28px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--text-2); }
.compare .hl { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); }
.compare td.hl { display: table-cell; }
.compare td.hl .ico { color: var(--accent-text); margin-right: 8px; vertical-align: -3px; }
.compare tr:last-child > * { border-bottom: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { padding: 24px; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps p { color: var(--text-2); margin: 0; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-text); display: block; line-height: 1; margin-bottom: 12px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: clamp(44px, 6vw, 72px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 36em; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(20,20,22,.4); color: var(--accent-ink); }
.cta-band .btn-ghost:hover { border-color: var(--accent-ink); background: rgba(20,20,22,.06); color: var(--accent-ink); }
.cta-band .btn-wa { background: #141416; color: #fff; }
.cta-band .btn-wa .ico { color: var(--wa); }
.cta-band .btn-wa:hover { background: #000; color: #fff; }
@media (max-width: 640px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- page hero / crumbs ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.page-hero h1 { max-width: 18em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--text-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subnav { position: sticky; top: 72px; z-index: 20; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.subnav a:hover { border-color: var(--accent); color: var(--text); }

/* ---------- portfolio filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 .92rem/1 var(--font-body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.chip span { font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .7; }

/* ---------- project page ---------- */
.project-head { padding: clamp(32px, 5vw, 64px) 0 28px; }
.project-head h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); max-width: 22em; }
.project-facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.project-facts li { display: flex; flex-direction: column; font-weight: 500; }
.project-facts span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.player { margin-bottom: 40px; }
.player-cap { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr; } }
.prose { font-size: 1.08rem; color: var(--text-2); max-width: 42em; }
.prose h2 { font-size: 1.5rem; color: var(--text); margin-top: 1.6em; font-stretch: 105%; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent-text); }
.project-side { display: grid; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 900px) { .project-side { position: static; } }
.side-block { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; }
.credits { margin: 0; display: grid; gap: 12px; }
.credits div { display: grid; gap: 2px; }
.credits dt { font-size: .82rem; color: var(--muted); }
.credits dd { margin: 0; font-weight: 500; }
.side-cta { border-color: var(--accent); display: grid; gap: 10px; }
.side-cta p { margin: 0 0 4px; color: var(--text-2); font-size: .98rem; }
.side-cta .side-h { color: var(--text); font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }
.more-videos { margin-top: 56px; }
.more-videos h2 { font-size: 1.5rem; }
.grid.videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid.videos figure { margin: 0; }
.grid.videos figcaption { margin-top: 10px; color: var(--text-2); font-size: .95rem; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 56px 0 clamp(48px, 7vw, 88px); }
.prev-next a { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; line-height: 1.35; display: flex; flex-direction: column; gap: 6px; }
.prev-next a:last-child { text-align: right; }
.prev-next a span { font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.prev-next a:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 640px) { .prev-next { grid-template-columns: 1fr; } .prev-next a:last-child { text-align: left; } }

/* YouTube facade */
.yt { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.yt:hover img { transform: scale(1.02); opacity: .9; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.yt-play .ico { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-main { box-shadow: var(--shadow-lg); }
.grid.two .yt { margin-top: 12px; }

/* before/after */
.ba-list { display: grid; gap: 40px; margin-top: 36px; }
.ba-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.ba-row:nth-child(even) { grid-template-columns: .8fr 1.2fr; }
.ba-row:nth-child(even) > .ba { order: 2; }
@media (max-width: 860px) { .ba-row, .ba-row:nth-child(even) { grid-template-columns: 1fr; } .ba-row:nth-child(even) > .ba { order: 0; } }
.ba { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--accent); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible + .ba-handle, .ba:focus-within .ba-handle { box-shadow: 0 0 0 3px var(--focus); }
.ba-tag { position: absolute; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none; }
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; background: var(--accent); color: var(--accent-ink); }

/* team / cities */
.grid.team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 32px; }
.person img { border-radius: var(--radius); width: 100%; object-fit: cover; margin-bottom: 18px; }
.person h3 { margin-bottom: 2px; font-size: 1.35rem; }
.person-role { color: var(--accent-text); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.person p:last-child { color: var(--text-2); }
.city { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.city img { width: 100%; object-fit: cover; aspect-ratio: 16/10 !important; }
.city > div { padding: 20px 22px 8px; }
.city p:last-child { color: var(--text-2); }

/* pricing */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.spec-list li { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.spec-list strong { font-family: var(--font-display); font-size: 1.2rem; }
.spec-list span { color: var(--muted); font-size: .92rem; }
.grid.pricing { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); margin-top: 28px; align-items: stretch; }
.price-card { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.price-card.is-popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: -12px; left: 24px; }
.price-card h3 { font-size: 1.5rem; }
.price { margin: 0; font-size: 1.05rem; color: var(--text-2); }
.price strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--text); font-stretch: 112%; }
.price-alt { color: var(--muted); margin: 2px 0 14px; }
.price-best { font-weight: 600; margin-bottom: 18px; }
.price-card .ticks { flex: 1; }
.price-card .btn { width: 100%; margin-top: 8px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 28px; margin: 24px 0 0; }
.rules div { padding: 18px 0; border-top: 1px solid var(--line); }
.rules dt { font-weight: 700; margin-bottom: 4px; }
.rules dd { margin: 0; color: var(--text-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; }
.contact-card .ico { width: 24px; height: 24px; color: var(--accent-text); }
.contact-card div { display: flex; flex-direction: column; min-width: 0; }
.contact-card span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
a.contact-card:hover { border-color: var(--accent); color: inherit; }
.contact-card.is-wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.contact-card.is-wa .ico, .contact-card.is-wa span { color: var(--wa-ink); }
.contact-card.is-wa:hover { background: #1fbe5a; color: var(--wa-ink); }
.quote-form { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 16px; }
.quote-form h2 { margin: 0; }
.form-note { color: var(--muted); margin: -6px 0 4px; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .92rem; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #d93025; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--yellow-600); flex: none; }
.check:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.consent { border: 0; padding: 0; color: var(--text-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 500; }
.form-status.is-ok { padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--text); }
.form-status.is-err { padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, #d93025 14%, transparent); }
.quote-form button[disabled] { opacity: .6; pointer-events: none; }
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { color: var(--text-2); padding-bottom: 6px; }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }
:root[data-theme="dark"] .map-section iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-section iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg); } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 24px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-2); margin: 16px 0; max-width: 28em; }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--accent-text); }
.footer-contact { list-style: none; padding: 0; margin: 0; font-style: normal; display: grid; gap: 10px; }
.footer-contact p, .footer-contact li { display: flex; gap: 10px; margin: 0; color: var(--text-2); }
.footer-contact .ico { margin-top: .3em; color: var(--accent-text); }
.footer-contact a { text-decoration: none; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); }
.social a:hover { color: var(--text); border-color: var(--line-strong); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.tagline { font-style: italic; letter-spacing: .04em; }

/* ---------- floating WhatsApp ---------- */
.wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.wa-fab .ico { width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-2px); color: var(--wa-ink); }
@media (max-width: 640px) { .wa-fab { width: 56px; padding: 0; justify-content: center; } .wa-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.not-found { min-height: 60vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-track { transform: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
}
@media print { .site-header, .wa-fab, .cta-band, .site-footer, .map-section { display: none; } }


/* =========================================================
   Hi-tech layer: mono labels, grid backgrounds, animation
   ========================================================= */
.eyebrow::before { content: "//"; opacity: .55; margin-right: .1em; }
.mono { font-family: var(--font-mono); }
.card-meta, .service-num, .step-n, .chip, .project-facts span, .side-h, .footer-h, .marquee-label, .ba-tag, .badge, .stats li > span, .player-cap, .price-alt { font-family: var(--font-mono); letter-spacing: .02em; }
.stats li > span { font-size: .85rem; }
.card-title, .service-card h3, .feature h3 { letter-spacing: -.01em; }

/* language menu */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary { border-color: var(--accent); color: var(--accent-text); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; list-style: none; margin: 0; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 60; animation: pop .16s ease-out; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current] { color: var(--accent-text); font-weight: 600; }
.lang-menu a .ico { color: var(--accent-text); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* header shrink on scroll */
.site-header { transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.12); }

/* hero: slow zoom, tech grid, scan line, gradient headline */
.hero-media img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 65% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(249,200,14,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(249,200,14,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 60%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 60%, #000 20%, transparent 75%); animation: grid-drift 30s linear infinite; }
.hero-grid::after { content: ""; position: absolute; left: 0; right: 0; height: 140px; background: linear-gradient(180deg, transparent, rgba(249,200,14,.10), transparent); animation: scan 7s ease-in-out infinite; }
@keyframes grid-drift { to { background-position: 56px 56px, 56px 56px; } }
@keyframes scan { 0% { top: -140px; } 100% { top: 100%; } }
.hl-text { background: linear-gradient(90deg, var(--yellow) 0%, #fff3b8 35%, var(--yellow) 65%, #ffb800 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.hero-rotator { font-size: clamp(1.1rem, 2.1vw, 1.5rem); margin: -.2em 0 1em; color: #fff; display: flex; align-items: center; gap: .5em; flex-wrap: wrap; min-height: 1.6em; }
.hero-rotator .mono { color: rgba(255,255,255,.6); font-size: .8em; }
.rotator { font-family: var(--font-display); font-weight: 600; color: var(--yellow); }
.caret { display: inline-block; width: .55em; height: 1.1em; background: var(--yellow); margin-left: -.3em; animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

/* grid texture on page heroes */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%); opacity: .8; }
.page-hero .wrap { position: relative; }

/* glowing borders */
.card, .service-card, .feature { position: relative; }
.card::after, .service-card::after, a.feature::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--yellow), transparent 40%, transparent 60%, var(--yellow)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::after, .service-card:hover::after, a.feature:hover::after { opacity: 1; }
.service-num { letter-spacing: .06em; font-size: .75rem; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-primary:hover::after { left: 130%; }

/* stats */
.stats strong span[data-count] { font-variant-numeric: tabular-nums; }

/* scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card.is-in:hover { transform: translateY(-3px); }

/* productions page note + AI case */
.nda-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 36px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--text-2); }
.nda-note p { margin: 0; }
.nda-note .ico { color: var(--accent-text); margin-top: .25em; }
.ai-case { margin-top: 44px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.feature .service-num { display: block; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-media img, .hero-grid, .hero-grid::after, .hl-text, .caret { animation: none !important; }
}

/* studio rental gallery */
.studio-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.studio-gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.studio-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.studio-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform .5s; }
.studio-gallery figure:hover img { transform: scale(1.03); }
.studio-gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-family: var(--font-mono); font-size: .75rem; }
@media (max-width: 760px) { .studio-gallery { grid-template-columns: 1fr 1fr; } .studio-gallery figure:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 460px) { .studio-gallery { grid-template-columns: 1fr; } .studio-gallery figure:first-child { grid-column: auto; } }

/* captioned concept image */
figure.concept { margin: 0; display: grid; gap: 8px; }
figure.concept figcaption { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }

/* =========================================================
   Interactive layer: neural canvas, viewfinder HUD, spotlight,
   magnetic buttons, scroll progress
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 80; background: linear-gradient(90deg, var(--yellow), #ffe58a); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; box-shadow: 0 0 12px rgba(249,200,14,.6); }

.hero-media { translate: var(--hx, 0) var(--hy, 0); transition: translate .6s cubic-bezier(.2,.7,.2,1); }
.hero-media img { scale: 1.06; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .9; }

/* camera viewfinder */
.hud { position: absolute; inset: clamp(14px, 3vw, 28px); top: calc(clamp(14px, 3vw, 28px) + 6px); pointer-events: none; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.hud-c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(249,200,14,.85); }
.hud-c.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud-c.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud-c.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud-c.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud-top { position: absolute; top: 6px; right: 40px; display: flex; gap: 16px; align-items: center; }
.hud-rec { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.hud-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blink 1.2s steps(1) infinite; }
.hud-tc { font-variant-numeric: tabular-nums; color: var(--yellow); }
.hud-bottom { position: absolute; bottom: 6px; right: 40px; display: flex; gap: 18px; }
.hud-focus { color: #5fd394; }
@media (max-width: 640px) { .hud-bottom { display: none; } .hud-top { right: 34px; } }

/* cursor spotlight on cards */
.card, .service-card, .feature, .price-card, .contact-card:not(.is-wa), .side-block {
  background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(249,200,14,.11), transparent 45%);
}

/* magnetic buttons */
.btn-lg, .header-cta { translate: var(--tx, 0) var(--ty, 0); transition: translate .25s cubic-bezier(.2,.7,.2,1), transform .15s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; }

/* decoding labels */
.eyebrow.is-decoding { color: var(--accent-text); text-shadow: 0 0 10px rgba(249,200,14,.35); }

/* viewfinder brackets on project thumbnails */
.card-media::before { content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s, inset .3s;
  background:
    linear-gradient(var(--yellow), var(--yellow)) top left / 18px 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) top left / 2px 18px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) top right / 18px 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) top right / 2px 18px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) bottom left / 18px 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) bottom right / 18px 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) bottom right / 2px 18px no-repeat; }
.card:hover .card-media::before, .card-link:focus-visible .card-media::before { opacity: 1; inset: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hero-net { display: none; }
  .hud-rec i { animation: none; }
  .hero-media, .btn-lg, .header-cta { translate: none !important; }
}

/* footer logo keeps its original size */
.site-footer .logo img { height: 36px; }

/* Mobile menu: the header's backdrop-filter traps position:fixed children, so size the panel explicitly */
@media (max-width: 1020px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; height: calc(100vh - 72px); height: calc(100dvh - 72px); border-top: 1px solid var(--line); }
}
@media (max-width: 1020px) {
  .main-nav .nav-extra .btn { display: flex; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 999px; font: 600 1.05rem/1 var(--font-body); color: var(--accent-ink); }
}

/* service landing cards on /services/ use h2 for structure, h3 size for looks */
.service-card h2.h3 { font-size: 1.2rem; margin: 0 0 .5em; }

/* highlight the card or section a link jumped to */
.feature:target, section:target > .wrap { animation: target-flash 2.4s ease-out 1; }
.feature:target { border-color: var(--accent); }
@keyframes target-flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgba(249,200,14,.35); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .feature:target, section:target > .wrap { animation: none; } }
