/* Adshift site styles. Shared by every page. Design rules: see CLAUDE.md. */
:root {
  --bg: #07080b;
  --bg-2: #0c0e12;
  --surface: #111318;
  --surface-2: #161920;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f5f2ed;
  --muted: #8d919b;
  --dim: #4a4e57;
  --red: #e63946;
  --red-2: #ff5a4e;
  --red-glow: rgba(230,57,70,.35);
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1240px;
  --gutter: 32px;
  --radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.red { color: var(--red); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }

.h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; margin-top: 20px; }
.h2 em { color: var(--red); letter-spacing: -0.02em; }
.section { padding: 140px 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head p { max-width: 380px; color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; padding: 17px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,8,11,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 16px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 490; background: rgba(7,8,11,.97); display: none; flex-direction: column; justify-content: center; padding: 0 28px; gap: 8px; }
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 156px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ''; position: absolute; width: 1100px; height: 800px; left: 50%; top: -360px; transform: translateX(-30%); background: radial-gradient(closest-side, rgba(230,57,70,.22), transparent 70%); filter: blur(10px); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 10%, transparent 75%); opacity: .5; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted); transition: border-color .2s; }
.pill:hover { border-color: rgba(230,57,70,.5); }
.pill b { font-weight: 600; color: #fff; background: var(--red); border-radius: 999px; padding: 3px 9px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.pill span { color: var(--text); }

h1 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; margin-top: 28px; }
h1 .hl { position: relative; display: inline-block; z-index: 0; padding: 0 .16em 0 .1em; margin-left: -.04em; }
h1 .hl em { color: #fff; font-size: 1.12em; }
h1 .hl::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: .14em; bottom: .02em; border-radius: .12em; background: linear-gradient(100deg, var(--red), var(--red-2)); transform: skewX(-8deg) scaleX(0); transform-origin: left; box-shadow: 0 18px 50px -12px var(--red-glow); animation: hl-in .7s .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes hl-in { to { transform: skewX(-8deg) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { h1 .hl::before { animation: none; transform: skewX(-8deg); } }
h1 em { color: var(--red); font-size: 1.08em; letter-spacing: -0.025em; padding-right: .04em; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--muted); max-width: 540px; margin-top: 28px; }
.lede strong { color: var(--text); font-weight: 600; }
.ctas { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.proof-logos { display: flex; flex-shrink: 0; }
.proof-logos img { width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--bg); margin-left: -8px; object-fit: cover; background: #fff; }
.proof-logos img:first-child { margin-left: 0; }
.proof-text { font-size: 14px; color: var(--muted); line-height: 1.4; }
.proof-text b { color: var(--text); font-weight: 600; }

.hero-visual { position: relative; height: 640px; }
.phone { position: absolute; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 7px; background: linear-gradient(160deg, #2a2d35, #0f1115 40%, #1b1e24); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); cursor: pointer; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: linear-gradient(160deg, #1a1d24, #0b0c10); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 861px) { .reel-frame:has(.poster-frame) .phone-play { display: none; } }
.reel-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: radial-gradient(120% 70% at 100% 0%, rgba(230,57,70,.35), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(230,57,70,.18), transparent 60%), linear-gradient(160deg, #1b1e25, #0b0c10); }
.reel-ph span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reel-ph b { font-size: 26px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; position: relative; z-index: 2; }
.reel-frame img, .reel-frame .poster-frame { z-index: 1; }
.reel-frame::after { z-index: 1; }
.poster-frame { position: absolute; left: 0; top: -60px; width: 100%; height: calc(100% + 120px); border: 0; pointer-events: none; }
.phone-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 55%, rgba(0,0,0,.85) 100%); }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.phone-meta { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 2; }
.phone-tag { display: inline-flex; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(230,57,70,.9); color: #fff; }
.phone-line { font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 8px; }
.phone-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s; }
.phone-play svg { width: 18px; height: 18px; margin-left: 3px; fill: #fff; }
.phone:hover .phone-play { transform: scale(1.1); background: var(--red); border-color: var(--red); }
.phone.p-main { width: 290px; left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.phone.p-left { width: 240px; left: 0; top: 90px; transform: rotate(-9deg); z-index: 1; }
.phone.p-right { width: 240px; right: 0; top: 90px; transform: rotate(9deg); z-index: 1; }
.phone.p-left .phone-screen, .phone.p-right .phone-screen { filter: brightness(.55) saturate(.8); }
.phone.p-left:hover { transform: rotate(-6deg) translateY(-8px); }
.phone.p-right:hover { transform: rotate(6deg) translateY(-8px); }

.float { position: absolute; z-index: 4; padding: 14px 18px; border-radius: 18px; background: rgba(20,22,28,.78); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); animation: bob 6s ease-in-out infinite; }
.float-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.float-val { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 4px; }
.float-val small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.float-up { display: inline-flex; align-items: center; gap: 4px; color: #3ddc97; font-size: 12px; font-weight: 600; margin-top: 2px; }
.f1 { left: -14px; top: 64px; }
.f2 { right: -10px; top: 300px; animation-delay: -2s; }
.f3 { left: -6px; bottom: 24px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 40px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-val { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.stat-val span { color: var(--red); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ---------- logos ---------- */
.logos { padding: 110px 0 120px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); text-align: center; }
.logos-title { font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.logos-title em { color: var(--red); }
.marquee { overflow: hidden; margin-top: 56px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }
.brand { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: left; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: #fff; flex-shrink: 0; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-cat { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }


/* ---------- cases ---------- */
.cases { background: var(--bg-2); border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Subgrid keeps the results row and screenshot aligned across both cards */
.case-grid > .case { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
.case-body { position: relative; display: flex; flex-direction: column; }
.case-body .results { margin-top: auto; }
.how { margin-bottom: 34px; }
.case-media { position: relative; padding-top: 36px; }
.shot img { height: auto; }
.case-lead { color: #c9c6c1; font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 540px; }
.how-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 34px; }
.how { list-style: none; display: grid; gap: 18px; margin-top: 16px; }
.how li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.how-n { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.how h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; }
.how p { color: var(--muted); font-size: 15px; margin-top: 3px; max-width: 520px; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.r-val { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.r-val span { color: var(--red); }
.r-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.case { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 44px; overflow: hidden; display: flex; flex-direction: column; }
.case::before { content: ''; position: absolute; width: 480px; height: 480px; right: -180px; top: -220px; background: radial-gradient(closest-side, rgba(230,57,70,.18), transparent); pointer-events: none; }
.case-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.chip img { width: 20px; height: 20px; border-radius: 5px; margin: -3px 0 -3px -5px; }
.case-big { position: relative; font-size: clamp(60px, 6.8vw, 108px); white-space: nowrap; font-weight: 800; letter-spacing: -0.065em; line-height: .9; margin-top: 52px; }
.case-big .from { color: var(--dim); }
.case-big .arrow { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--red); font-size: .7em; margin: 0 .06em 0 .02em; letter-spacing: 0; }
.case-big small { font-size: .3em; font-weight: 600; color: var(--muted); letter-spacing: -0.02em; margin-left: .15em; }
.case-cap { color: var(--muted); font-size: 16px; margin-top: 14px; }
.case-title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; margin-top: 30px; }
.case-title em { color: var(--red); }
.case-desc { color: var(--muted); margin-top: 12px; max-width: 480px; font-size: 15.5px; }

.shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.shot img { width: 100%; height: clamp(220px, 26vw, 340px); object-fit: contain; object-position: center top; background: #fff; }
.shot.dark, .shot.dark img { background: #0d0f13; }
.shot .gp { width: 16px; height: 16px; border-radius: 4px; background: conic-gradient(from 200deg, #00d7fe, #00f076, #ffd500, #ff3a44, #00d7fe); }
.road { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.road li { padding: 14px 16px; position: relative; }
.road li + li { border-left: 1px solid var(--line); }
.road li:not(:last-child)::after { content: '→'; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 12px; color: var(--red); background: var(--surface); line-height: 1; padding: 2px 0; }
.road b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.road span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.road li.goal { background: rgba(230,57,70,.12); }
.road li.goal b { color: var(--red); }
.shot figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-2); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.shot .ig { width: 16px; height: 16px; border-radius: 5px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }



/* ---------- services ---------- */
.strike { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: .07em; }
.services { background: var(--bg-2); border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 40px 40px 36px; overflow: hidden; transition: border-color .3s, transform .3s; }
.svc::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 80%) var(--my, 0%), rgba(230,57,70,.12), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover { border-color: rgba(230,57,70,.35); }
.svc:hover::after { opacity: 1; }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.svc h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: 56px; }
.svc h3 em { color: var(--red); }
.svc p { color: var(--muted); margin-top: 14px; max-width: 460px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reel { cursor: pointer; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #1a1d24, #0b0c10); transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.reel-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); }
.reel:hover .reel-frame { transform: translateY(-6px); border-color: rgba(230,57,70,.5); }
.reel:hover .reel-frame img { transform: scale(1.05); }
.reel .phone-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.reel:hover .phone-play { background: var(--red); border-color: var(--red); transform: scale(1.1); }
.reel-info { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; }
.reel-info b { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.reel-info span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.tat { position: relative; border-radius: var(--radius); padding: 44px; overflow: hidden; background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; }
.tat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px circle at 100% 0%, rgba(255,255,255,.22), transparent 60%), radial-gradient(400px circle at 0% 100%, rgba(0,0,0,.25), transparent 60%); }
.tat > * { position: relative; }
.tat-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.tat-big { font-size: clamp(120px, 15vw, 210px); font-weight: 800; letter-spacing: -0.07em; line-height: .8; }
.tat-big em { font-size: .4em; letter-spacing: -0.02em; }
.tat p { font-size: 18px; line-height: 1.5; max-width: 380px; opacity: .92; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 26px 28px; transition: border-color .3s; }
.step:hover { border-color: var(--line-2); }
.step-n { font-family: var(--mono); font-size: 13px; color: var(--red); padding-top: 4px; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; }
.step p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.step-t { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; white-space: nowrap; margin-top: 2px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 36px; display: flex; flex-direction: column; }
.quote-metric { font-size: 44px; font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.quote-metric span { color: var(--red); }
.quote-metric-l { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.quote blockquote { font-size: 17px; line-height: 1.6; color: #d6d3cf; margin: 32px 0 36px; letter-spacing: -0.01em; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.quote-by img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; background: #fff; }
.quote-by b { display: block; font-weight: 600; font-size: 15px; }
.quote-by span { font-size: 13px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact::before { content: ''; position: absolute; width: 1200px; height: 700px; left: 50%; bottom: -380px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(230,57,70,.25), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact h2 { font-size: clamp(44px, 6vw, 88px); font-weight: 800; letter-spacing: -0.055em; line-height: .95; margin-top: 20px; }
.contact h2 em { color: var(--red); }
.contact-sub { color: var(--muted); font-size: 18px; margin-top: 28px; max-width: 460px; }
.checks { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.checks li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(230,57,70,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e63946' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form { border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(17,19,24,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 36px; display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d919b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(230,57,70,.15); }
.form .btn { justify-content: center; width: 100%; margin-top: 6px; padding: 18px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-logo img { height: 30px; width: auto; }
.foot-tag { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15px; }
.foot-cols { display: flex; gap: 72px; }
.foot-col .foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 15px; padding: 4px 0; color: #cfccc7; transition: color .2s; }
.foot-col a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wordmark { font-size: clamp(80px, 21vw, 330px); font-weight: 800; letter-spacing: -0.075em; line-height: .78; text-align: center; margin-top: 72px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 9000; background: rgba(4,5,7,.94); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-video { width: min(92vw, 400px); aspect-ratio: 9 / 16; max-height: 88vh; position: relative; overflow: hidden; border-radius: 20px; background: #000; }
.modal-video iframe { position: absolute; top: -60px; left: 0; width: 100%; height: calc(100% + 60px); border: 0; }
.modal-close { position: fixed; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .track, .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 600px; max-width: 620px; width: 100%; margin: 20px auto 0; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr; max-width: 680px; }
  .quotes { grid-template-columns: 1fr; max-width: 680px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: 1fr; }
  .tat { min-height: 380px; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --radius: 18px; }
  .nav-links, .nav .btn { display: none; }
  .burger { display: flex; }
  .nav-inner { height: 66px; }
  .nav-logo img { height: 26px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding-top: 116px; }
  .hero-visual { height: 470px; }
  .phone.p-main { width: 220px; }
  .phone.p-left, .phone.p-right { width: 180px; top: 70px; }
  .float { padding: 10px 14px; border-radius: 14px; }
  .float-val { font-size: 20px; }
  .f1 { left: 0; top: 30px; } .f2 { right: 0; top: 250px; } .f3 { left: 6px; bottom: 10px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stat, .stat + .stat { padding: 28px 16px 30px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .logos { padding: 80px 0 88px; }
  .case-grid, .svc-grid { grid-template-columns: 1fr; }
  .r-val { font-size: 26px; }
  .r-label { font-size: 9px; }
  .case { padding: 30px 24px; min-height: 0; }
  .road li { padding: 12px 10px; }
  .road b { font-size: 15px; white-space: nowrap; }
  .road span { font-size: 9px; letter-spacing: .04em; }
  .svc { padding: 30px 24px 28px; }
  .svc h3 { margin-top: 36px; }
  .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 62%; scroll-snap-align: start; }
  .tat { padding: 32px 26px; min-height: 340px; }
  .step { grid-template-columns: 40px 1fr; padding: 22px 20px; gap: 12px; }
  .step-t { display: none; }
  .form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-cols { gap: 48px; }
}
@media (max-width: 420px) {
  .ctas .btn { width: 100%; justify-content: center; }
  .hero-visual { height: 420px; }
  .phone.p-main { width: 196px; }
  .phone.p-left, .phone.p-right { width: 150px; }
  .phone.p-left { left: -10px; } .phone.p-right { right: -10px; }
  .f2 { top: 220px; }
  .stat-val { font-size: 38px; }
  .case-big { font-size: 52px; }
}

/* ---------- homepage: link from each case card to its full story ---------- */
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--text); }
.case-link span { color: var(--red); transition: transform .25s; }
.case-link:hover span { transform: translateX(4px); }

/* ---------- case study pages ---------- */
.cs-hero { position: relative; padding: 148px 0 0; overflow: hidden; }
.cs-hero::before { content: ''; position: absolute; width: 1000px; height: 700px; left: 50%; top: -380px; transform: translateX(-35%); background: radial-gradient(closest-side, rgba(230,57,70,.2), transparent 70%); pointer-events: none; }
.crumbs { position: relative; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 8px; color: var(--dim); }
.cs-hero .case-top { margin-top: 28px; }
.cs-hero h1 { position: relative; font-size: clamp(36px, 5vw, 68px); max-width: 960px; margin-top: 22px; }
.cs-hero h1 em { color: var(--red); }
.cs-summary { position: relative; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #c9c6c1; max-width: 760px; margin-top: 24px; }
.cs-hero .results { max-width: 760px; margin-top: 40px; }
.cs-proof { max-width: 760px; margin: 56px auto 0; padding: 0 var(--gutter); }
.cs-body { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 40px; }
.cs-body h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 72px; }
.cs-body h2 em { color: var(--red); }
.cs-body > p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 16px; }
.cs-body > p strong { color: var(--text); font-weight: 600; }
.how h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; }
.cs-body .how { margin-top: 24px; gap: 26px; }
.cs-body .how p { font-size: 16px; line-height: 1.65; }
.cs-quote { margin-top: 72px; padding: 36px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); background: var(--surface); }
.cs-quote blockquote { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; letter-spacing: -0.015em; color: #e6e3de; }
.cs-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.cs-quote figcaption img { width: 40px; height: 40px; border-radius: 11px; background: #fff; object-fit: cover; }
.cs-quote figcaption b { display: block; font-size: 15px; font-weight: 600; }
.cs-quote figcaption span { font-size: 13px; color: var(--muted); }
.cs-cta { position: relative; margin: 72px auto 120px; max-width: 760px; padding: 48px 40px; border-radius: var(--radius); border: 1px solid rgba(230,57,70,.35); background: radial-gradient(600px circle at 100% 0%, rgba(230,57,70,.18), transparent 60%), var(--surface); text-align: center; }
.cs-cta h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.cs-cta h2 em { color: var(--red); }
.cs-cta p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.cs-cta .ctas { justify-content: center; margin-top: 28px; }
@media (max-width: 860px) {
  .cs-hero { padding-top: 112px; }
  .cs-body h2 { margin-top: 56px; }
  .cs-quote { padding: 26px 22px; }
  .cs-cta { margin: 56px var(--gutter) 88px; padding: 36px 22px; }
}

/* homepage: row of links to further case studies under the two cards */
.more-cases { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.more-cases span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.more-cases a { font-weight: 600; font-size: 15px; }
.more-cases a b { color: var(--red); display: inline-block; transition: transform .25s; }
.more-cases a:hover b { transform: translateX(4px); }

/* ---------- service pages ---------- */
.svc-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.svc-offer { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 24px; }
.svc-offer h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; }
.svc-offer p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 6px; }
.proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.proof-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 26px; transition: border-color .25s, transform .25s; }
.proof-card:hover { border-color: rgba(230,57,70,.45); transform: translateY(-2px); }
.proof-card b { font-size: 44px; font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.proof-card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 10px; }
.proof-card span { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--red); }
.svc-steps { margin-top: 24px; }
.svc-steps .step { padding: 20px 22px; }
.faqs { margin-top: 20px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 24px; font-weight: 400; transition: transform .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); font-size: 16px; line-height: 1.7; padding: 0 0 22px; }
.svc-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.svc-more span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-more a { font-weight: 600; font-size: 15px; }
.svc-more a:hover { color: var(--red); }
/* homepage service cards: link through to the service pages */
.svc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; position: relative; z-index: 1; }
.svc-links a { font-size: 14px; font-weight: 600; }
.svc-links a::after { content: ' →'; color: var(--red); }
@media (max-width: 860px) {
  .svc-offers, .proof-cards { grid-template-columns: 1fr; }
}
.field label .opt { color: var(--dim); font-weight: 400; }
