/* SP7 Studios design tokens v1.1. Generated by build.mjs; edit values there. */
:root {
  --sp7-night: #0B0D16;
  --sp7-deep: #12151F;
  --sp7-surface: #1A1E2B;
  --sp7-line: #262B3B;
  --sp7-mist: #9AA0C3;
  --sp7-dim: #5C6285;
  --sp7-white: #F2F4F7;
  --sp7-blue: #1A7CFF;
  --sp7-blue-deep: #1766E6;
  --sp7-blue-soft: #6FA8FF;
  --sp7-violet: #7A3CFF;
  --sp7-paper: #F5F6FA;
  --sp7-ink: #12151F;
  --sp7-slate: #5A607A;
  --sp7-spectrum: linear-gradient(100deg, #1A7CFF, #7A3CFF);      /* gradient words, glows, lines */
  --sp7-spectrum-btn: linear-gradient(100deg, #1766E6, #7A3CFF); /* behind white text */
  --sp7-glow-blue: radial-gradient(circle, rgba(26,124,255,.45), transparent 70%);
  --sp7-glow-violet: radial-gradient(circle, rgba(122,60,255,.36), transparent 70%);
  --sp7-dots: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px;

  --sp7-bg: var(--sp7-night);
  --sp7-text: var(--sp7-white);
  --sp7-text-muted: var(--sp7-mist);

  --sp7-font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sp7-font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sp7-font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --sp7-font-logo: "Jost", "Futura", sans-serif; /* only if you must set the name as live text; use the logo file where you can */
  --sp7-type-display: 800 6rem/0.98 var(--sp7-font-display);
  --sp7-track-display: -0.03em;
  --sp7-type-h1: 800 4rem/1.02 var(--sp7-font-display);
  --sp7-track-h1: -0.03em;
  --sp7-type-h2: 800 2.75rem/1.08 var(--sp7-font-display);
  --sp7-track-h2: -0.025em;
  --sp7-type-h3: 700 1.5rem/1.25 var(--sp7-font-display);
  --sp7-track-h3: -0.01em;
  --sp7-type-lead: 400 1.25rem/1.6 var(--sp7-font-body);
  --sp7-track-lead: 0;
  --sp7-type-body: 400 1rem/1.65 var(--sp7-font-body);
  --sp7-track-body: 0;
  --sp7-type-small: 400 0.875rem/1.5 var(--sp7-font-body);
  --sp7-track-small: 0;
  --sp7-type-label: 500 0.75rem/1.3 var(--sp7-font-mono);
  --sp7-track-label: 0.14em;
  --sp7-space-0: 0px;
  --sp7-space-1: 4px;
  --sp7-space-2: 8px;
  --sp7-space-3: 12px;
  --sp7-space-4: 16px;
  --sp7-space-5: 24px;
  --sp7-space-6: 32px;
  --sp7-space-7: 48px;
  --sp7-space-8: 64px;
  --sp7-space-9: 96px;
  --sp7-space-10: 128px;
  --sp7-space-11: 192px;
  --sp7-radius-card: 16px;
  --sp7-radius-media: 20px;
  --sp7-radius-pill: 999px;
  --sp7-border: 1px solid rgba(255,255,255,.08);
  --sp7-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sp7-dur: 480ms;
}
/* The gradient word: wrap one word per headline. */
.sp7-grad { background: var(--sp7-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Night ground with the two lights and the dot grid. */
.sp7-night { position: relative; background: var(--sp7-night); isolation: isolate; overflow: hidden; }
.sp7-night::before, .sp7-night::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.sp7-night::before { width: 70vmax; height: 70vmax; left: -20vmax; top: -30vmax; background: var(--sp7-glow-blue); }
.sp7-night::after { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -30vmax; background: var(--sp7-glow-violet); }
.sp7-label { font: var(--sp7-type-label); letter-spacing: var(--sp7-track-label); text-transform: uppercase; color: var(--sp7-blue); display: inline-flex; align-items: center; gap: 12px; }
.sp7-label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.sp7-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--sp7-radius-pill); background: var(--sp7-spectrum-btn); color: #fff; font: 600 15px var(--sp7-font-body); text-decoration: none; box-shadow: 0 8px 30px rgba(26,124,255,.35); }
.sp7-btn.ghost { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.sp7-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: var(--sp7-radius-pill); border: var(--sp7-border); background: rgba(255,255,255,.03); font: 400 12px var(--sp7-font-mono); color: var(--sp7-mist); }
.sp7-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sp7-blue); box-shadow: 0 0 10px var(--sp7-blue); }
.sp7-card { background: rgba(20,23,33,.5); border: var(--sp7-border); border-radius: var(--sp7-radius-card); }

/* SP7 Studios site. Tokens come from the brand kit (sp7-brand/tokens/sp7.css), prepended at build. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sp7-night); color: var(--sp7-white); font: 400 17px/1.65 var(--sp7-font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sp7-font-display); margin: 0; letter-spacing: -0.03em; }
h1 { font-weight: 800; font-size: clamp(2.75rem, 6vw, 5.6rem); line-height: 0.98; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.02; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 16px; color: var(--sp7-mist); }
.grad { background: var(--sp7-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 36ch; }
.label { font: 500 12px/1.3 var(--sp7-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sp7-blue); display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: none; }
.num { font: 500 12px var(--sp7-font-mono); letter-spacing: 0.1em; color: var(--sp7-blue); margin: 0 0 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: var(--sp7-night); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sp7-blue-soft); outline-offset: 3px; border-radius: 6px; }

/* background: the two lights + dot grid, fixed behind everything */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg .orb { position: absolute; border-radius: 50%; will-change: transform; }
.bg .orb.b { width: 75vmax; height: 75vmax; left: -28vmax; top: -38vmax; background: radial-gradient(circle, rgba(26,124,255,.42), transparent 68%); animation: drift 24s ease-in-out infinite alternate; }
.bg .orb.v { width: 65vmax; height: 65vmax; right: -28vmax; bottom: -34vmax; background: radial-gradient(circle, rgba(122,60,255,.34), transparent 68%); animation: drift 30s ease-in-out infinite alternate-reverse; }
.bg .dots { position: absolute; inset: 0; background: var(--sp7-dots); -webkit-mask: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%); mask: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%); }
@keyframes drift { to { transform: translate(5vmax, 4vmax) scale(1.08); } }

/* buttons, pills, tags, cards */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; background: var(--sp7-spectrum-btn); color: #fff; font: 600 15px/1 var(--sp7-font-body); text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 10px 34px rgba(26,124,255,.32); transition: transform var(--sp7-dur) var(--sp7-ease), box-shadow var(--sp7-dur) var(--sp7-ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(26,124,255,.45); }
.btn.ghost { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.arr { width: 16px; height: 16px; flex: none; transition: transform var(--sp7-dur) var(--sp7-ease); }
a:hover > .arr, button:hover > .arr { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(11,13,22,.5); font: 400 12.5px var(--sp7-font-mono); color: var(--sp7-mist); margin: 0 0 28px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sp7-blue); box-shadow: 0 0 12px var(--sp7-blue); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(11,13,22,.7); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); font: 400 12px var(--sp7-font-mono); color: #fff; }
.card { background: rgba(20,23,33,.55); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; backdrop-filter: blur(6px); }
.link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.link:hover { color: var(--sp7-blue-soft); }

/* header */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 32px; padding: 18px clamp(16px, 5vw, 72px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11,13,22,.78); backdrop-filter: blur(16px); border-color: rgba(255,255,255,.07); }
.brand { color: #fff; flex: none; }
.brand .wm { height: 14px; width: auto; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { color: var(--sp7-mist); text-decoration: none; font-size: 15px; transition: color .2s; }
.links a:hover, .links a[aria-current] { color: #fff; }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.menu span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--sp7-ease); }
.menu span:nth-child(1) { top: 17px; } .menu span:nth-child(2) { top: 25px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mnav { position: absolute; left: 12px; right: 12px; top: 72px; padding: 20px; border-radius: 20px; background: rgba(18,21,31,.96); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); display: grid; gap: 6px; }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { color: #fff; text-decoration: none; font: 700 1.4rem var(--sp7-font-display); padding: 8px 4px; }
.mnav .btn { justify-content: center; margin-top: 10px; }
@media (max-width: 900px) { .links, .nav > .btn { display: none; } .menu { display: block; } }

main > .sec, main > section, main > article > .sec { padding-left: clamp(16px, 5vw, 72px); padding-right: clamp(16px, 5vw, 72px); }
.sec { padding-top: clamp(80px, 11vw, 150px); max-width: 1440px; margin: 0 auto; }
.sec.tight { padding-top: 40px; }
.sec-head { margin-bottom: 48px; max-width: 900px; }
.sec-head.row { max-width: none; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; }
.sec-head.row .label { grid-column: 1 / -1; }
.sec-head.row .link { margin-bottom: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 7vw, 100px) clamp(16px, 5vw, 72px) 56px; max-width: 1440px; margin: 0 auto; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 120px rgba(26,124,255,.22), 0 0 0 1px rgba(255,255,255,.08); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: slowzoom 22s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.07); } }
.play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(11,13,22,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font: 600 14px var(--sp7-font-body); }
.play .ic { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--sp7-spectrum-btn); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-media { aspect-ratio: 4 / 3; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 clamp(16px, 5vw, 72px); max-width: 1440px; margin: 0 auto; }
.fact { padding: 22px 24px; }
.fact b { display: block; white-space: nowrap; font: 800 clamp(1.45rem, 3vw, 2.5rem)/1 var(--sp7-font-display); letter-spacing: -0.03em; margin-bottom: 8px; }
.fact span { color: var(--sp7-mist); font-size: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.clients { margin-top: clamp(64px, 8vw, 110px); padding: 36px 0 !important; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); text-align: center; max-width: none !important; }
.clients .label { justify-content: center; color: var(--sp7-dim); }
.clients .label::before { display: none; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.track span { font: 700 clamp(1.3rem, 2.4vw, 1.9rem) var(--sp7-font-display); letter-spacing: -0.02em; color: var(--sp7-mist); white-space: nowrap; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* studio */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.studio-media picture, .studio-media img { width: 100%; height: 100%; object-fit: cover; }
.studio h2 { margin-bottom: 24px; }
.studio p { max-width: 52ch; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } .studio-media { aspect-ratio: 16 / 10; order: 2; } }

/* services */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { padding: 30px 28px 32px; position: relative; overflow: hidden; transition: border-color .3s, transform var(--sp7-dur) var(--sp7-ease); }
.svc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(26,124,255,.14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover { border-color: rgba(26,124,255,.35); transform: translateY(-3px); }
.svc:hover::after { opacity: 1; }
.svc .ic { width: 28px; height: 28px; color: var(--sp7-blue-soft); margin-bottom: 26px; }
.svc h3 { margin: 4px 0 10px; }
.svc p:last-child { margin: 0; font-size: 15.5px; }
@media (max-width: 1000px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }

/* work cards: home alternates big/small on a 5-column grid; the index uses full-width features + pairs */
.works { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.works > .wcard { grid-column: span 2; }
.works > .wcard.big { grid-column: span 3; }
.works.all { grid-template-columns: 1fr 1fr; }
.works.all > .wcard { grid-column: auto; }
.works.all > .wcard.big { grid-column: 1 / -1; }
.works.all .wcard.big .wmedia { aspect-ratio: 21 / 9; }
.wcard { display: flex; flex-direction: column; text-decoration: none; color: #fff; border-radius: 22px; overflow: hidden; background: rgba(20,23,33,.55); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, transform var(--sp7-dur) var(--sp7-ease); }
.wcard:hover { border-color: rgba(26,124,255,.4); transform: translateY(-4px); }
.wmedia { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.wcard.big .wmedia { aspect-ratio: 16 / 10; }
.wmedia picture, .wmedia img { width: 100%; height: 100%; object-fit: cover; }
.wmedia img { transition: transform 1.2s var(--sp7-ease); }
.wcard:hover .wmedia img { transform: scale(1.05); }
.wtags { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.wbody { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wclient { font: 500 12px var(--sp7-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sp7-blue-soft); margin: 0; }
.wbody h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -0.025em; }
.more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sp7-mist); }
.wcard:hover .more { color: #fff; }
@media (max-width: 900px) { .works, .works.all { grid-template-columns: 1fr; } .works > .wcard, .works > .wcard.big, .works.all > .wcard.big { grid-column: auto; } .works.all .wcard.big .wmedia { aspect-ratio: 16 / 10; } }

/* process */
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.phases > li { padding-top: 0; }
.phases h3 { font-size: 1.6rem; font-weight: 800; margin: 6px 0 16px; }
.phases h3::after { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--sp7-spectrum); margin-top: 16px; width: 64px; transition: width .8s var(--sp7-ease); }
.phases > li.in h3::after { width: 100%; }
.phases ul { list-style: none; padding: 0; margin: 0; }
.phases ul li { color: var(--sp7-mist); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15.5px; }
@media (max-width: 1000px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* pricing band */
.pricing { position: relative; margin-top: clamp(80px, 11vw, 150px); padding-top: 0 !important; }
.pricing-media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 420px; }
.pricing-media picture, .pricing-media img { width: 100%; height: 100%; object-fit: cover; }
.pricing-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,22,.94) 0%, rgba(11,13,22,.7) 45%, rgba(11,13,22,.1) 100%); }
.pricing-copy { position: absolute; left: clamp(40px, 9vw, 140px); top: 50%; transform: translateY(-50%); max-width: min(560px, 70%); }
.pricing-copy h2 { margin-bottom: 20px; }
.pricing-copy p { color: #D5D8E6; }
@media (max-width: 760px) { .pricing-media { aspect-ratio: auto; height: 560px; } .pricing-media::after { background: linear-gradient(0deg, rgba(11,13,22,.96) 20%, rgba(11,13,22,.4) 100%); } .pricing-copy { top: auto; bottom: 32px; transform: none; left: 28px; right: 28px; max-width: none; } }

/* faq */
.faq .sec-head { margin-bottom: 36px; }
.qs { display: grid; gap: 12px; max-width: 900px; }
.q { padding: 0; overflow: hidden; }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font: 600 1.1rem var(--sp7-font-body); color: #fff; }
.q summary::-webkit-details-marker { display: none; }
.q summary i { width: 14px; height: 14px; position: relative; flex: none; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--sp7-blue-soft); border-radius: 2px; transition: transform .3s var(--sp7-ease); }
.q summary i::after { transform: rotate(90deg); }
.q[open] summary i::after { transform: rotate(0); }
.q p { padding: 0 26px 24px; margin: 0; max-width: 70ch; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: 40px; }
.contact h2 { margin-bottom: 20px; }
.direct { display: grid; gap: 14px; margin-top: 36px; }
.direct a, .direct p { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; margin: 0; font-size: 16px; }
.direct .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--sp7-blue-soft); }
.direct a:hover span { color: var(--sp7-blue-soft); }
.form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--sp7-mist); }
.form input, .form select, .form textarea { font: 400 16px var(--sp7-font-body); color: #fff; background: rgba(11,13,22,.6); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA0C3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sp7-blue); box-shadow: 0 0 0 3px rgba(26,124,255,.25); }
.form [aria-invalid="true"] { border-color: #FF8A7A; }
.form .btn { justify-self: start; }
.form .hp { display: none; }
.status { margin: 0; font-size: 14px; min-height: 1.4em; }
.status.ok { color: #7EE2A8; } .status.err { color: #FF8A7A; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }

/* work index + case pages */
.page-head { padding-bottom: 24px; }
.page-head h1 { margin-bottom: 24px; }
.page-head .lead { max-width: 52ch; }
.nf { min-height: 60vh; }
.case-head { padding-bottom: 36px; }
.back { display: inline-flex; align-items: center; gap: 10px; color: var(--sp7-mist); text-decoration: none; font-size: 14px; margin-bottom: 36px; }
.back .arr { transform: rotate(180deg); }
.back:hover { color: #fff; }
.case-head .wclient { margin-bottom: 16px; }
.case-head h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); max-width: 18ch; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.meta div { padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(20,23,33,.55); }
.meta dt { font: 500 11px var(--sp7-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sp7-dim); margin-bottom: 4px; }
.meta dd { margin: 0; color: #fff; font-weight: 500; }
.case-hero { padding-top: 0 !important; }
.case-hero picture { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 40px 120px rgba(26,124,255,.18), 0 0 0 1px rgba(255,255,255,.08); }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.case-body .big { font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.3 var(--sp7-font-display); letter-spacing: -0.02em; color: #fff; max-width: 30ch; }
.what { padding: 26px 28px; }
.what ul { list-style: none; padding: 0; margin: 0; }
.what li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; }
.what li:last-child { border: 0; }
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr; } }
.film { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sp7-deep); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.film iframe { width: 100%; height: 100%; border: 0; }
.film.poster picture, .film.poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); }
.film.poster .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.film.poster .btn:hover { transform: translate(-50%, calc(-50% - 2px)); }
.next { display: flex !important; flex-direction: column; gap: 10px; text-decoration: none; color: #fff; padding-bottom: 20px; }
.next-title { display: inline-flex; align-items: center; gap: 16px; font: 800 clamp(2.2rem, 6vw, 5rem)/1 var(--sp7-font-display); letter-spacing: -0.035em; transition: color .3s; }
.next-title .arr { width: .6em; height: .6em; }
.next:hover .next-title { color: var(--sp7-blue-soft); }

/* footer */
.foot { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid rgba(255,255,255,.07); padding: 56px clamp(16px, 5vw, 72px) 32px; background: rgba(11,13,22,.6); }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; max-width: 1440px; margin: 0 auto; }
.foot .wm.lg { height: 18px; width: auto; color: #fff; margin-bottom: 16px; }
.foot-top p { max-width: 36ch; font-size: 15px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols a { color: var(--sp7-mist); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1440px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); font: 400 12px var(--sp7-font-mono); letter-spacing: .08em; color: var(--sp7-dim); }

/* reveal (only when JS runs; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--sp7-ease), transform .9s var(--sp7-ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bg .orb, .hero-media img, .track, .pill::before { animation: none; }
}

/* ═══════════════ v3 motion layout ═══════════════ */
/* masked word reveal (motion.js splits headings into .w > i) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > i { display: inline-block; font-style: normal; will-change: transform; }
.grad .w > i, .w > i.grad { background: inherit; }
h1 .grad .w, h2 .grad .w, .cap .grad .w { background: var(--sp7-spectrum); -webkit-background-clip: text; background-clip: text; }

/* intro */
#intro { position: fixed; inset: 0; z-index: 100; background: var(--sp7-night); display: grid; place-items: center; overflow: hidden; cursor: pointer; }
#intro[hidden] { display: none; }
#intro .intro-glow { position: absolute; inset: -20%; background: radial-gradient(circle at 25% 20%, rgba(26,124,255,.55), transparent 45%), radial-gradient(circle at 80% 85%, rgba(122,60,255,.5), transparent 45%); opacity: 0; transform: scale(.85); }
#intro .draw { position: relative; width: min(78vw, 1100px); height: auto; color: #fff; overflow: visible; }
#intro .intro-line { position: absolute; bottom: 18vh; left: 0; right: 0; text-align: center; font: 800 clamp(1.1rem, 2.2vw, 1.8rem) var(--sp7-font-display); letter-spacing: -0.02em; color: #fff; opacity: 0; transform: translateY(20px); margin: 0; }

/* hero stage: card grows to full screen (desktop, motion only) */
.hero-stage { position: relative; }
.hero-stage .hero { min-height: calc(100svh - 80px); }
.hero-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 72svh; justify-self: end; width: 100%; box-shadow: 0 40px 120px rgba(26,124,255,.22), 0 0 0 1px rgba(255,255,255,.08); }
.hero-card picture, .hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-full { display: none; }
@media (min-width: 901px) {
  .motion .hero-full { display: block; position: absolute; inset: 0; z-index: 2; visibility: hidden; pointer-events: none; overflow: hidden; }
  .motion .hero-full picture, .motion .hero-full img { width: 100%; height: 100%; object-fit: cover; }
  .motion .hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,22,.85) 0%, rgba(11,13,22,.15) 55%, rgba(11,13,22,.35) 100%); }
  .motion .hero-card { visibility: hidden; }
  .motion .hero-stage { height: 100svh; }
  .motion .hero-stage .hero { height: 100svh; min-height: 0; padding-top: 110px; }
}
.hero-caption { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(40px, 8vh, 90px); z-index: 1; opacity: 0; }
.hero-caption .cap { font: 800 clamp(2.5rem, 6vw, 6rem)/0.98 var(--sp7-font-display); letter-spacing: -0.035em; color: #fff; margin: 0; max-width: 14ch; }
.hero-caption .label { color: var(--sp7-blue-soft); }
.nav { position: fixed; left: 0; right: 0; }
main { padding-top: 80px; }

/* statement */
.statement { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(16px, 5vw, 72px) !important; max-width: 1440px; margin: 0 auto; }
.statement .big { font: 800 clamp(2.4rem, 7vw, 7rem)/1.0 var(--sp7-font-display); letter-spacing: -0.04em; color: #fff; margin: 0; max-width: 16ch; }
.statement .who { margin-top: 36px; font: 500 13px var(--sp7-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sp7-blue-soft); }
.statement .who::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }

/* parallax masks */
.pmask { position: absolute; inset: 0; overflow: hidden; }
.studio-media { position: relative; }
.pricing-media .pmask { border-radius: inherit; }

/* horizontal work reel */
.hwork { padding: clamp(80px, 11vw, 150px) 0 40px; overflow: hidden; }
.hwork-head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 32px; padding: 0 clamp(16px, 5vw, 72px); margin-bottom: 32px; }
.hwork-head .label { width: 100%; margin: 0; }
.hbar { flex: 1; min-width: 120px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.hbar i { display: block; height: 100%; background: var(--sp7-spectrum); transform-origin: left; transform: scaleX(0); }
.htrack { display: flex; gap: 24px; padding: 0 clamp(16px, 5vw, 72px) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.htrack::-webkit-scrollbar { display: none; }
.motion .htrack { overflow: visible; }
@media (min-width: 901px) { .motion .hwork { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; } .motion .htrack { width: max-content; } }
.hpanel { flex: none; width: min(50vw, 780px); scroll-snap-align: start; text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: 22px; }
.hmedia { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.hmedia picture { position: absolute; inset: 0 -10%; }
.hmedia img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; }
.hpanel:hover .hmedia img { filter: brightness(1.1) saturate(1.1); }
.hmeta { display: flex; gap: 22px; align-items: flex-start; }
.hnum { font: 500 13px var(--sp7-font-mono); color: var(--sp7-dim); padding-top: 4px; }
.hmeta h3 { font: 800 clamp(1.4rem, 2.4vw, 2.2rem)/1.08 var(--sp7-font-display); letter-spacing: -0.03em; margin-top: 6px; max-width: 22ch; }
.hall { width: min(40vw, 420px); justify-content: center; align-items: center; flex-direction: row; border-radius: 24px; border: 1px dashed rgba(255,255,255,.2); font: 800 clamp(1.6rem, 3vw, 2.6rem) var(--sp7-font-display); letter-spacing: -0.03em; aspect-ratio: 1 / 1.2; align-self: flex-start; }
.hall .arr { width: 1em; height: 1em; }
.hall:hover { border-color: var(--sp7-blue); color: var(--sp7-blue-soft); }
@media (max-width: 900px) { .hpanel { width: 84vw; } .hall { width: 60vw; } }

/* process */
.proc { padding: clamp(80px, 11vw, 150px) clamp(16px, 5vw, 72px) 40px; }
.proc-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 110px); }
.proc-lead { font-size: 1.1rem; max-width: 36ch; margin-top: 20px; }
.proc-num { display: none; }
.proc-right { position: relative; display: grid; gap: 20px; }
.proc-bar { display: none; }
.proc-item { padding: 30px 32px; border-radius: 20px; background: rgba(20,23,33,.55); border: 1px solid rgba(255,255,255,.08); }
.proc-item h3 { font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--sp7-font-display); letter-spacing: -0.03em; margin: 6px 0 16px; }
.proc-item p:not(.num) { font-size: 1.05rem; line-height: 1.65; }
.proc-item ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proc-item li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #fff; }
@media (min-width: 901px) {
  .motion .proc { height: 100svh; display: flex; align-items: center; padding-top: 90px; padding-bottom: 40px; }
  .motion .proc-inner { width: 100%; align-items: center; }
  .motion .proc-num { display: flex; align-items: baseline; gap: 14px; margin-top: 48px; overflow: hidden; }
  .motion .proc-num b { font: 800 clamp(6rem, 13vw, 12rem)/0.9 var(--sp7-font-display); letter-spacing: -0.05em; background: var(--sp7-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
  .motion .proc-num span { font: 500 16px var(--sp7-font-mono); color: var(--sp7-dim); }
  .motion .proc-right { min-height: 420px; padding-left: 40px; }
  .motion .proc-bar { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.1); border-radius: 2px; }
  .motion .proc-bar i { display: block; height: 100%; background: var(--sp7-spectrum); transform-origin: top; transform: scaleY(0); }
  .motion .proc-item { position: absolute; left: 40px; right: 0; top: 50%; transform: translateY(-40%); opacity: 0; visibility: hidden; transition: opacity .6s var(--sp7-ease), transform .8s var(--sp7-ease), visibility 0s .6s; }
  .motion .proc-item.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .6s var(--sp7-ease), transform .8s var(--sp7-ease); }
}

/* stories */
.story { padding: 30px 28px 32px; position: relative; overflow: hidden; }
.story::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sp7-spectrum); }
.story h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 12px; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; transition: width .35s var(--sp7-ease), height .35s var(--sp7-ease), margin .35s var(--sp7-ease), background .3s; display: grid; place-items: center; }
.cursor span { font: 600 13px var(--sp7-font-body); color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(255,255,255,.9); }
.cursor.view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--sp7-spectrum-btn); mix-blend-mode: normal; }
.cursor.view span { opacity: 1; }
@media (pointer: fine) { .motion, .motion a, .motion button, .motion summary { cursor: none; } .motion input, .motion textarea, .motion select { cursor: text; } }

/* footer wordmark */
.foot-draw { max-width: 1440px; margin: 64px auto 0; color: #fff; opacity: .95; }
.foot-draw .draw { width: 100%; height: auto; }
.js:not(.motion) .foot-draw path, .foot-draw path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) { .cursor { display: none; } }
@media (max-width: 900px) { .proc-inner { grid-template-columns: 1fr; } .proc-item { padding: 24px 22px; } }
