/*
Theme Name: Advertorial
Theme URI: https://advertorial.in/
Author: Advertorial Media LLP
Author URI: https://advertorial.in/
Description: Custom theme for Advertorial — a founder-led performance marketing studio. Activating it creates every page, menu, case study, job opening and starter blog post automatically. Includes built-in SEO (meta, Open Graph, schema, sitemap), lead and job-application forms with a wp-admin inbox, GA4 and Meta Pixel support, and scroll-driven motion design.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary — for use by Advertorial Media LLP
Text Domain: advertorial
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   Fonts (self-hosted, no Google Fonts request)
   ========================================================================== */
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #0D0D0D;
	--ink-2: #161616;
	--ink-3: #222;
	--red: #E81F1F;
	--red-dark: #B71414;
	--white: #FFFFFF;
	--paper: #F4F1EB;
	--paper-2: #EAE5DC;
	--grey: #6B6B6B;
	--grey-light: #A3A3A3;
	--line: rgba(13, 13, 13, .12);
	--line-light: rgba(255, 255, 255, .12);
	--sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
	--radius: 22px;
	--radius-sm: 12px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 10vw, 140px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, .35);
	--header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 650; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { color: var(--red); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.screen-reader-text, .hp {
	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-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   Wordmark
   ========================================================================== */
.wordmark {
	font-weight: 750; font-size: 26px; letter-spacing: -.045em; line-height: 1;
	display: inline-flex; align-items: baseline; white-space: nowrap;
}
.wm-d {
	position: relative; color: var(--white); z-index: 0; display: inline-block; padding: 0 .02em;
}
.wm-d::before {
	content: ""; position: absolute; z-index: -1; left: 50%; top: 56%;
	width: 1.02em; height: 1.02em; border-radius: 50%; background: var(--red);
	transform: translate(-50%, -50%);
	transition: transform .5s var(--ease-out);
}
.brand:hover .wm-d::before { transform: translate(-50%, -50%) scale(1.15); }
.wm-dot { color: var(--red); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	--bg: var(--red); --fg: var(--white); --bd: var(--red);
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: 15px 18px 15px 24px; border-radius: 999px;
	background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
	font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
	overflow: hidden; isolation: isolate; white-space: nowrap;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease-out);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover-bg, var(--ink));
	transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease-out);
}
.btn:hover { color: var(--hover-fg, var(--white)); }
.btn:hover::before { transform: translateY(0); }
.btn-icon {
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: rgba(255, 255, 255, .18); transition: transform .45s var(--ease-out);
}
.btn-icon .icon { width: 16px; height: 16px; }
.btn:hover .btn-icon { transform: rotate(-45deg); }
.btn:hover .icon-calendar, .btn:hover .icon-whatsapp { transform: rotate(45deg); }
.btn-primary { --hover-bg: var(--ink); }
.btn-dark { --bg: var(--ink); --bd: var(--ink); --hover-bg: var(--red); }
.btn-light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); --hover-bg: var(--ink); }
.btn-light .btn-icon { background: var(--red); color: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); --hover-bg: var(--ink); }
.btn-ghost .btn-icon { background: var(--paper); }
.btn-outline-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.35); --hover-bg: var(--white); --hover-fg: var(--ink); }
.btn-outline-light:hover .btn-icon { background: var(--red); color: #fff; }
.btn-sm { padding: 10px 12px 10px 18px; font-size: 15px; }
.btn-sm .btn-icon { width: 24px; height: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center-row { display: flex; justify-content: center; margin-top: 56px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .35s var(--ease-out); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(5px); }

/* ==========================================================================
   Header
   ========================================================================== */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center; color: var(--white);
	transition: background .4s var(--ease), color .4s var(--ease), transform .45s var(--ease-out), box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(13, 13, 13, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line-light); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; color: inherit; display: inline-flex; }
.brand:hover { color: inherit; }
.custom-logo { max-height: 40px; width: auto; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500;
	color: rgba(255,255,255,.82); transition: color .25s, background .25s;
}
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--white); background: rgba(255,255,255,.08); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px;
	background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 16px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease-out);
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 10px; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; cursor: pointer; position: relative; }
.nav-toggle-lines, .nav-toggle-lines::before { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav-toggle-lines { top: 19px; }
.nav-toggle-lines::before { content: ""; left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle-lines { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle-lines::before { top: 0; transform: rotate(-90deg); }

/* Pages without a dark hero get a solid header from the start. */
body:not(.has-dark-hero) .site-header { background: var(--ink); }

/* ==========================================================================
   Custom cursor (desktop, fine pointers only)
   ========================================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor {
		display: block; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
		width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red);
		mix-blend-mode: difference; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(var(--s, 1));
		transition: transform .18s var(--ease-out), opacity .3s; opacity: 0;
	}
	.has-cursor.cursor-on .cursor { opacity: 1; }
	.has-cursor.cursor-hover .cursor { --s: 3.6; background: #fff; }
}

/* ==========================================================================
   Sections & typography helpers
   ========================================================================== */
.section { padding: var(--section) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--white); }
.section-paper { background: var(--paper); }
.section-red { background: var(--red); color: var(--white); }
.section-dark a:not(.btn):hover { color: var(--red); }

.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
	font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.kicker-light { color: rgba(255,255,255,.7); }
.kicker-light::before { background: var(--red); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(36px, 5.4vw, 72px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.section-title em { font-size: 1.04em; }
.section-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--grey); max-width: 620px; }
.section-dark .section-lead, .section-dark .stats-note { color: var(--grey-light); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.split-head .section-head { margin-bottom: 0; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero, .page-hero {
	position: relative; overflow: hidden; background: var(--ink); color: var(--white);
	padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(56px, 8vw, 100px);
}
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 0; }
.hero-grid-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-orb {
	position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -25vmax; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(232, 31, 31, .55), rgba(232, 31, 31, 0) 62%);
	filter: blur(20px); animation: orb 14s ease-in-out infinite alternate;
}
.hero-orb-2 { left: -30vmax; right: auto; top: auto; bottom: -35vmax; width: 50vmax; height: 50vmax; opacity: .45; animation-duration: 18s; }
@keyframes orb { to { transform: translate3d(-6vmax, 6vmax, 0) scale(1.1); } }
.hero::after, .page-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 28px;
	border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255,255,255,.04);
	font-size: 14px; color: rgba(255,255,255,.8);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2BD46F; box-shadow: 0 0 0 0 rgba(43,212,111,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43,212,111,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,111,0); } }
.hero-title { font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.055em; font-weight: 680; margin: 0; }
.hero-title em { display: inline; font-size: 1.02em; }
.hero-rotator { margin: 26px 0 0; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.65); display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.rotator { position: relative; display: inline-grid; color: var(--white); font-weight: 600; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); transition: opacity .5s var(--ease), transform .6s var(--ease-out); white-space: nowrap; }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-70%); }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform-origin: left; animation: underline 2.6s var(--ease) infinite; }
@keyframes underline { 0% { transform: scaleX(0); } 40%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
.hero-lead { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.72); max-width: 560px; }
.hero-proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--red); }

/* Hero visual — live dashboard */
.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.dash {
	position: relative; width: min(100%, 440px); padding: 22px; border-radius: 24px;
	background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
	border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 120px -30px rgba(232,31,31,.45), inset 0 1px 0 rgba(255,255,255,.12);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	transform-style: preserve-3d; transition: transform .5s var(--ease-out);
}
.dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dash-dots i:first-child { background: var(--red); }
.dash-title { font-weight: 600; }
.dash-tag { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-metrics > div { padding: 14px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.06); }
.dash-metrics small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.dash-metrics strong { font-size: 22px; letter-spacing: -.03em; font-weight: 650; }
.dash-metrics .up { color: #5BE38F; }
.dash-metrics .accent { color: var(--red); }
.dash-chart { width: 100%; height: 120px; margin-top: 16px; overflow: visible; }
.dash-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .6s var(--ease-out) forwards; }
.dash-line-2 { stroke-dasharray: 4 5; stroke-dashoffset: 0; animation: none; opacity: .8; }
.dash-area { opacity: 0; animation: fadeIn 1.2s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.dash-foot { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 6px; }

.toast {
	position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px;
	background: var(--white); color: var(--ink); box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); font-size: 13px; line-height: 1.35;
	opacity: 0; animation: toast 9s var(--ease-out) infinite;
}
.toast strong { display: block; font-size: 13.5px; }
.toast small { color: var(--grey); }
.toast-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 4px rgba(232,31,31,.15); }
.toast-dot.is-green { background: #18B85A; box-shadow: 0 0 0 4px rgba(24,184,90,.15); }
.toast-dot.is-blue { background: #2A6BFF; box-shadow: 0 0 0 4px rgba(42,107,255,.15); }
.toast-1 { top: 4%; left: -6%; animation-delay: 1.4s; }
.toast-2 { bottom: 10%; right: -8%; animation-delay: 4.4s; }
.toast-3 { bottom: -2%; left: 2%; animation-delay: 7.4s; }
@keyframes toast {
	0% { opacity: 0; transform: translateY(16px) scale(.96); }
	6%, 30% { opacity: 1; transform: none; }
	36%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}

/* Marquees */
.logo-marquee { position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line-light); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.section-paper .logo-marquee { border-color: var(--line); margin-top: 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logo-marquee ul { list-style: none; margin: 0; padding: 0; display: flex; }
.logo-marquee li { padding: 0 34px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.5); white-space: nowrap; position: relative; }
.section-paper .logo-marquee li { color: var(--grey); }
.logo-marquee li::after { content: "✦"; position: absolute; right: -6px; color: var(--red); font-size: 12px; top: 50%; transform: translateY(-50%); }
.logo-marquee:hover .marquee-track, .footer-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero .container { position: relative; z-index: 2; }
.page-title { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.05em; font-weight: 680; max-width: 1000px; margin: 0; }
.page-lead { margin: 26px 0 0; font-size: clamp(17px, 1.7vw, 21px); color: rgba(255,255,255,.72); max-width: 680px; }
.page-hero-sm { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-sm .page-title { font-size: clamp(36px, 5vw, 68px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 14px; color: rgba(255,255,255,.5); }
.crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 36px 28px 8px 0; border-right: 1px solid var(--line-light); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(48px, 6.4vw, 96px); font-weight: 650; letter-spacing: -.06em; line-height: 1; margin: 0 0 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-pre, .stat-suf { color: var(--red); }
.stat-label { font-size: 15px; color: var(--grey-light); max-width: 230px; margin: 0; }
.stats-red { border-color: rgba(255,255,255,.3); }
.stats-red .stat { border-color: rgba(255,255,255,.3); }
.stats-red .stat-pre, .stats-red .stat-suf { color: var(--ink); }
.stats-red .stat-label { color: rgba(255,255,255,.85); }
.stats-note { margin: 28px 0 0; font-size: 13px; color: var(--grey); }
.section-red .stats-note { color: rgba(255,255,255,.75); }
.numbers { padding-top: clamp(40px, 6vw, 80px); }

/* ==========================================================================
   Paths (tabs)
   ========================================================================== */
.path-tablist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.path-tab {
	text-align: left; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
	font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.02em; cursor: pointer; display: flex; gap: 14px; align-items: center;
	transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
}
.path-tab:hover { border-color: var(--ink); }
.path-tab.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.path-num { font-size: 13px; color: var(--red); font-variant-numeric: tabular-nums; }
.path-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--radius) + 6px); background: var(--paper); overflow: hidden; }
.path-panel[hidden] { display: none; }
.path-panel.is-active { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.path-panel h3 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.04em; }
.path-panel p { font-size: 18px; color: var(--grey); max-width: 520px; margin-bottom: 28px; }
.path-panel-art { min-height: 240px; display: grid; place-items: center; }
.letters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.letters span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: var(--white); font-size: 30px; font-weight: 700; animation: bob 3s var(--ease) infinite; }
.letters span:nth-child(odd) { background: var(--red); }
.letters span:nth-child(2) { animation-delay: .15s; } .letters span:nth-child(3) { animation-delay: .3s; } .letters span:nth-child(4) { animation-delay: .45s; } .letters span:nth-child(5) { animation-delay: .6s; } .letters span:nth-child(6) { animation-delay: .75s; } .letters span:nth-child(7) { animation-delay: .9s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.funnel { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 320px; }
.funnel span { padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 15px; text-align: center; animation: slideIn .6s var(--ease-out) both; }
.funnel span:nth-child(2) { margin: 0 14px; animation-delay: .1s; } .funnel span:nth-child(3) { margin: 0 28px; animation-delay: .2s; } .funnel span:nth-child(4) { margin: 0 42px; animation-delay: .3s; }
.funnel span:last-child { margin: 0 56px; background: var(--red); color: var(--white); border-color: var(--red); animation-delay: .4s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } }
.flags { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flags span { display: grid; place-items: center; width: 110px; height: 80px; border-radius: 18px; background: var(--ink); color: var(--white); font-size: 26px; font-weight: 700; letter-spacing: .02em; }
.flags span:nth-child(2), .flags span:nth-child(3) { background: var(--red); }

/* ==========================================================================
   Services — sticky stacking cards
   ========================================================================== */
.stack { position: relative; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 14px); padding-bottom: 18px; }
.stack-card-inner {
	display: grid; grid-template-columns: 90px 1.2fr 1fr; gap: 32px; align-items: start;
	padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 4px);
	background: var(--ink-2); border: 1px solid var(--line-light);
	box-shadow: 0 -20px 60px -20px rgba(0,0,0,.6);
	transform-origin: 50% 0; transition: transform .2s linear, background .4s;
}
.stack-card:nth-child(even) .stack-card-inner { background: #1b1b1b; }
.stack-card:hover .stack-card-inner { border-color: rgba(232,31,31,.5); }
.stack-num { font-size: 56px; font-weight: 700; letter-spacing: -.06em; color: var(--red); line-height: .9; }
.stack-tag { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 10px; }
.stack-main h3 { font-size: clamp(28px, 3vw, 42px); }
.stack-main p { color: rgba(255,255,255,.7); margin: 0; }
.stack-list, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack-list li, .check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.stack-list .icon, .check-list .icon { color: var(--red); margin-top: 3px; }
.stack-list li { color: rgba(255,255,255,.82); padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }

/* ==========================================================================
   PROFITS
   ========================================================================== */
.profits-row { display: flex; gap: 10px; min-height: 340px; }
.profit {
	flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; text-align: left;
	padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); cursor: pointer; overflow: hidden;
	transition: flex .7s var(--ease-out), background .5s, color .5s, border-color .5s;
}
.profit-letter { font-size: clamp(56px, 6vw, 96px); font-weight: 750; letter-spacing: -.06em; line-height: .85; color: var(--red); transition: color .5s; }
.profit-body { display: block; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .6s var(--ease-out); max-width: 340px; }
.profit-body strong { display: block; font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.profit-body span { font-size: 15.5px; opacity: .8; line-height: 1.5; }
.profit.is-open { flex: 4.2; background: var(--ink); color: var(--white); border-color: var(--ink); }
.profit.is-open .profit-body { opacity: 1; transform: none; transition-delay: .2s; }
.profits-dark .profit { background: var(--ink-2); border-color: var(--line-light); color: var(--white); }
.profits-dark .profit.is-open { background: var(--red); border-color: var(--red); }
.profits-dark .profit.is-open .profit-letter { color: var(--white); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col { border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); }
.compare-col h3 { font-size: 26px; display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.compare-col h3 .wordmark { font-size: 26px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.compare-old { background: var(--white); color: var(--grey); }
.compare-old li { text-decoration: line-through; text-decoration-color: rgba(232,31,31,.5); }
.compare-old .icon { color: var(--grey-light); margin-top: 3px; }
.compare-new { background: var(--ink); color: var(--white); }
.compare-new li { border-color: var(--line-light); }
.compare-new .icon { color: var(--red); margin-top: 3px; }

/* ==========================================================================
   Work cards
   ========================================================================== */
.work-section { overflow: hidden; }
.hscroll-hint { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--grey-light); }
.hscroll-hint .icon { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.work-scroller { position: relative; }
.work-scroller .work-track {
	display: flex; gap: 18px; padding: 0 var(--gutter) 10px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.work-scroller .work-track::-webkit-scrollbar { display: none; }
.work-scroller .work-card { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; }
/* Pinned horizontal scroll on large screens (enabled by JS). */
.work-scroller.is-pinned { height: var(--pin-h, 300vh); }
.work-scroller.is-pinned .work-sticky { position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; }
.work-scroller.is-pinned .work-track { overflow: visible; transform: translate3d(var(--tx, 0), 0, 0); will-change: transform; scroll-snap-type: none; }

.work-grid .work-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.work-card {
	position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: calc(var(--radius) + 2px); min-height: 440px;
	background: var(--ink-2); color: var(--white); border: 1px solid var(--line-light); overflow: hidden;
	transition: border-color .4s, transform .5s var(--ease-out);
}
.work-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(232,31,31,.35), transparent 70%); transition: transform .8s var(--ease-out); }
.work-card:hover { border-color: rgba(232,31,31,.6); }
.work-card:hover::after { transform: scale(1.6); }
.section-paper .work-card, .section:not(.section-dark) .work-grid .work-card.is-current { background: var(--white); color: var(--ink); border-color: var(--line); }
.section-paper .work-card .work-text, .section:not(.section-dark) .work-grid .work-card.is-current .work-text { color: var(--grey); }
.work-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; position: relative; z-index: 1; }
.work-index { font-size: 13px; color: var(--grey-light); font-variant-numeric: tabular-nums; }
.work-badge { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(232,31,31,.14); color: var(--red); }
.work-card.is-record .work-badge { background: rgba(127,127,127,.15); color: inherit; opacity: .75; }
.work-result { font-size: clamp(30px, 3vw, 40px); font-weight: 680; letter-spacing: -.04em; line-height: 1.05; color: var(--red); margin: 0 0 14px; position: relative; z-index: 1; }
.work-title { font-size: 22px; margin: 0 0 4px; position: relative; z-index: 1; }
.work-sector { font-size: 14px; color: var(--grey-light); margin-bottom: 16px; position: relative; z-index: 1; }
.work-text { font-size: 15.5px; color: rgba(255,255,255,.7); position: relative; z-index: 1; }
.work-text p { margin: 0; }
.tags { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 99px; border: 1px solid currentColor; opacity: .55; }

/* ==========================================================================
   Industries
   ========================================================================== */
.industry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.industry {
	position: relative; display: grid; grid-template-columns: 60px 1fr 1fr 40px; gap: 20px; align-items: center;
	padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; cursor: default;
}
.industry::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.industry:hover::before { transform: scaleY(1); }
.industry:hover { color: var(--white); }
.industry-num { font-size: 14px; color: var(--red); padding-left: 8px; }
.industry-name { font-size: clamp(22px, 2.6vw, 36px); font-weight: 650; letter-spacing: -.035em; transition: transform .5s var(--ease-out); }
.industry:hover .industry-name { transform: translateX(14px); }
.industry-desc { color: var(--grey); font-size: 15.5px; }
.industry:hover .industry-desc { color: rgba(255,255,255,.7); }
.industry-arrow { color: var(--red); transform: translate(-10px, 10px); opacity: 0; transition: all .5s var(--ease-out); }
.industry:hover .industry-arrow { transform: none; opacity: 1; }

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1.5px; background: var(--line); }
.section-dark .timeline::before { background: var(--line-light); }
.timeline-step { position: relative; padding-top: 48px; }
.timeline-step::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(232,31,31,.15); }
.timeline-when { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.timeline-step h3 { font-size: 24px; }
.timeline-step p { color: var(--grey); font-size: 16px; margin: 0; }
.section-dark .timeline-step p { color: var(--grey-light); }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.calc { padding: clamp(24px, 3.5vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.calc-field { margin-bottom: 24px; }
.calc-field label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.calc-field output { font-weight: 650; color: var(--white); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--fill, 50%), rgba(255,255,255,.15) var(--fill, 50%)); outline-offset: 6px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--red); cursor: grab; transition: transform .2s; }
.calc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 5px solid var(--red); cursor: grab; }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); cursor: grabbing; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.calc-results > div { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.calc-results small { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.calc-results strong { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-results > div:first-child strong { color: var(--red); }
.calc-verdict { margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.75); }
.calc-verdict.is-bad { color: #FF8A8A; }

/* ==========================================================================
   Principles, team, perks, story
   ========================================================================== */
.principles, .perks, .team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perks { grid-template-columns: repeat(4, 1fr); }
.principle, .perk, .team-card { padding: clamp(26px, 3vw, 40px); border-radius: calc(var(--radius) + 2px); border: 1px solid var(--line-light); background: var(--ink-2); }
.principles-light .principle, .perk { background: var(--paper); border-color: transparent; }
.principle-num, .perk-num { display: block; font-size: 56px; font-weight: 700; letter-spacing: -.06em; color: var(--red); line-height: 1; margin-bottom: 28px; }
.principle h3, .perk h3, .team-card h3 { font-size: 24px; }
.principle p, .team-card p { color: var(--grey-light); margin: 0; }
.principles-light .principle p, .perk p { color: var(--grey); margin: 0; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 26px; font-weight: 700; margin-bottom: 26px; letter-spacing: -.03em; }
.team-role { color: var(--white) !important; opacity: .85; font-size: 14.5px; margin-bottom: 14px !important; }

.story { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.story-chapter { border-top: 1.5px solid var(--ink); padding-top: 28px; }
.story-num { display: block; font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--red); line-height: 1; margin-bottom: 14px; }
.story-chapter h2 { font-size: clamp(26px, 2.6vw, 34px); }
.story-chapter p { color: var(--grey); font-size: 17.5px; margin: 0; }

/* ==========================================================================
   Services page / verticals
   ========================================================================== */
.service-grid, .deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { padding: clamp(28px, 3vw, 40px); border-radius: calc(var(--radius) + 2px); background: var(--paper); transition: background .4s, color .4s, transform .5s var(--ease-out); }
.service-card:hover { background: var(--ink); color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.72); }
.service-num, .deliver-num { display: block; font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 40px; }
.service-card h2 { font-size: 28px; }
.service-card > p { color: var(--grey); transition: color .4s; }
.service-card .stack-tag { color: var(--grey); }
.check-list { margin-top: 22px; }

.vertical-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.vertical-link { position: relative; display: block; padding: 28px 60px 28px 28px; border-radius: var(--radius); border: 1px solid var(--line-light); text-decoration: none; transition: background .4s, border-color .4s; }
.vertical-link:hover { background: var(--red); border-color: var(--red); color: var(--white) !important; }
.vertical-link-title { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 8px; }
.vertical-link-text { display: block; color: var(--grey-light); font-size: 15px; }
.vertical-link:hover .vertical-link-text { color: rgba(255,255,255,.85); }
.vertical-link .industry-arrow { position: absolute; right: 24px; top: 28px; opacity: 1; transform: none; }
.vertical-link:hover .industry-arrow { color: var(--white); transform: rotate(45deg); }

.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.who-grid .section-head { margin-bottom: 0; }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.who-list li { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--paper); font-weight: 550; line-height: 1.35; }
.who-list .icon { color: var(--red); flex: none; }
.deliver { padding: 32px; border-radius: calc(var(--radius) + 2px); border: 1px solid var(--line-light); background: var(--ink-2); transition: border-color .4s, transform .5s var(--ease-out); }
.section:not(.section-dark) .deliver { background: var(--paper); border-color: transparent; }
.deliver:hover { border-color: var(--red); }
.deliver h3 { font-size: 23px; }
.deliver p { color: var(--grey-light); margin: 0; font-size: 16px; }
.section:not(.section-dark) .deliver p { color: var(--grey); }
.case-feature { max-width: 980px; }
.case-text { font-size: clamp(18px, 2vw, 23px); line-height: 1.55; margin: 28px 0 30px; color: #333; }

/* ==========================================================================
   FAQ / jobs (details)
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item, .job { border-bottom: 1px solid var(--line); }
.faq-item summary, .job summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker, .job summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease-out), border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
details[open] > summary .faq-icon { background: var(--red); border-color: var(--red); color: var(--white); transform: rotate(180deg); }
details[open] > summary .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 60px 26px 0; color: var(--grey); font-size: 17px; animation: panelIn .5s var(--ease-out); }
.faq-answer p { margin: 0; }

.jobs { border-top: 1px solid var(--line-light); }
.job { border-color: var(--line-light); }
.job summary { flex-wrap: wrap; }
.job-title { flex: 1 1 420px; font-size: clamp(20px, 2.2vw, 28px); }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-light); color: var(--grey-light); }
.job .faq-icon { border-color: var(--line-light); }
.job-body { padding: 0 0 36px; max-width: 820px; animation: panelIn .5s var(--ease-out); }
.job-summary { font-size: 19px; color: rgba(255,255,255,.85); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.call-steps { list-style: none; counter-reset: c; margin: 32px 0; padding: 0; display: grid; gap: 18px; }
.call-steps li { counter-increment: c; position: relative; padding-left: 52px; color: var(--grey); }
.call-steps li::before { content: counter(c); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; }
.call-steps strong { color: var(--ink); }
.form-or { color: var(--grey); }
.form-or a { color: var(--red); font-weight: 600; }

.lead-form-wrap { padding: clamp(24px, 3.5vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-title { font-size: 28px; }
.form-text { color: var(--grey); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBFAF7; font-size: 16px;
	transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(232,31,31,.12); }
.field input[type="file"] { padding: 11px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230D0D0D' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-privacy { margin: 0; font-size: 13.5px; color: var(--grey); flex: 1 1 200px; }
.form-notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15.5px; }
.form-notice.is-success { background: #E7F8EE; color: #0E5A2F; }
.form-notice.is-error { background: #FDECEC; color: #8A1414; }
.form-notice a { font-weight: 600; }
.lead-form button[disabled] { opacity: .6; pointer-events: none; }
.section-dark .form-intro .section-title { color: var(--white); }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input { flex: 1; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { display: block; padding: 36px; border-radius: calc(var(--radius) + 2px); background: var(--paper); text-decoration: none; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.contact-card > .icon { width: 36px; height: 36px; color: var(--red); margin-bottom: 40px; }
.contact-card h2 { font-size: 28px; margin-bottom: 6px; }
.contact-card p { color: var(--grey); word-break: break-word; }
.contact-card:hover { background: var(--ink); color: var(--white) !important; }
.contact-card.is-accent { background: var(--red); color: var(--white); }
.contact-card.is-accent > .icon { color: var(--white); }
.contact-card.is-accent p { color: rgba(255,255,255,.85); }
.contact-card.is-accent:hover { background: var(--ink); }
.contact-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-facts li { display: flex; gap: 14px; align-items: flex-start; }
.contact-facts .icon { color: var(--red); margin-top: 3px; }
.contact-facts strong { display: block; }
.contact-facts span { color: var(--grey); }
.contact-facts strong, .contact-facts a { color: var(--ink); }

.prose-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.local-card { position: sticky; top: calc(var(--header-h) + 32px); padding: 36px; border-radius: calc(var(--radius) + 4px); background: var(--paper); }
.local-card .contact-facts { margin-bottom: 28px; }

/* ==========================================================================
   Prose (blog, privacy, jobs)
   ========================================================================== */
.prose { font-size: 18.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.5em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); font-family: var(--serif); font-style: italic; font-size: 1.4em; line-height: 1.4; }
.prose img { border-radius: var(--radius-sm); }
.prose-dark { color: rgba(255,255,255,.82); font-size: 17px; }
.prose-dark h3 { color: var(--white); }
.post-meta { font-size: 14px; color: var(--grey); margin-bottom: 10px; }
.post-meta-light { color: rgba(255,255,255,.6); margin-top: 22px; }
.post-thumb { margin-top: -40px; position: relative; z-index: 3; }
.post-thumb img { border-radius: var(--radius); }
.post-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--ink); color: var(--white); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta p { margin: 0; max-width: 460px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: calc(var(--radius) + 2px); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.post-card-link:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card-link:hover .post-card-media img { transform: scale(1.06); }
.post-card-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, rgba(232,31,31,.6), transparent 60%), var(--ink); }
.post-card-placeholder span { display: block; color: var(--white); line-height: 1; transition: transform .8s var(--ease-out); }
.post-card-placeholder .wordmark { font-size: 64px; }
.post-card-link:hover .post-card-placeholder span { transform: scale(1.15) rotate(-6deg); }
.post-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 22px; letter-spacing: -.025em; }
.post-card-excerpt { color: var(--grey); font-size: 15.5px; }
.post-card-body .link-arrow { margin-top: auto; color: var(--red); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--white); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: var(--white); padding: var(--section) 0; text-align: center; }
.cta-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(0,0,0,.25), transparent 40%); animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-inner { position: relative; }
.cta-band .kicker { justify-content: center; color: rgba(255,255,255,.85); }
.cta-band .kicker::before { background: var(--white); }
.cta-title { font-size: clamp(40px, 6.6vw, 96px); letter-spacing: -.055em; line-height: .98; max-width: 1050px; margin: 0 auto; }
.cta-title em { color: var(--ink); }
.cta-text { margin: 26px auto 0; max-width: 620px; font-size: 19px; color: rgba(255,255,255,.88); }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.footer-marquee { border-bottom: 1px solid var(--line-light); padding: 26px 0; overflow: hidden; }
.footer-marquee span { display: inline-block; padding-right: 32px; font-size: clamp(32px, 5vw, 64px); font-weight: 650; letter-spacing: -.05em; white-space: nowrap; }
.footer-marquee i { font-style: normal; color: var(--red); font-size: .5em; vertical-align: middle; padding: 0 .4em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { color: var(--grey-light); max-width: 340px; margin-top: 20px; font-size: 15.5px; }
.footer-loc { display: flex; gap: 8px; align-items: flex-start; }
.footer-loc .icon { color: var(--red); margin-top: 3px; }
.footer-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-light); font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: rgba(255,255,255,.85); font-size: 15.5px; display: inline-flex; gap: 10px; align-items: center; }
.site-footer ul a:hover { color: var(--red); }
.footer-contact .icon { color: var(--red); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); transition: background .3s, border-color .3s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: var(--grey-light); }
.footer-bottom p { margin: 0; }
.footer-giant { text-align: center; line-height: .78; padding: 10px 0 0; user-select: none; pointer-events: none; opacity: .09; }
.footer-giant .wordmark { font-size: clamp(80px, 20vw, 300px); letter-spacing: -.07em; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px;
	padding: 14px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 16px 40px -10px rgba(0,0,0,.45);
	text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .4s var(--ease-out), padding .4s var(--ease-out);
	transform: translateY(120px);
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.wa-float:hover .wa-float-label { max-width: 200px; padding-right: 6px; }

/* 404 */
.not-found { min-height: 90vh; display: flex; align-items: center; }
.giant-404 { font-size: clamp(120px, 26vw, 360px); font-weight: 800; letter-spacing: -.08em; line-height: .8; margin: 0 0 24px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }
.giant-404 span { color: var(--red); -webkit-text-stroke: 0; display: inline-block; animation: wobble 3s var(--ease) infinite; }
@keyframes wobble { 50% { transform: rotate(14deg) scale(.92); } }

/* ==========================================================================
   Motion: reveals & split text (only when JS is running)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms + 100ms); }
.js [data-split].is-in .w > span { transform: none; }
.timeline-step[data-reveal] { --rd: calc(var(--d, 0) * .12s); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.main-nav .menu a { padding: 10px 10px; font-size: 14.5px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.perks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: block; color: inherit; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1; background: var(--ink); padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		display: flex; flex-direction: column; overflow-y: auto;
		clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .7s var(--ease-out); visibility: hidden;
	}
	.nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line-light); }
	.main-nav .menu a { font-size: 28px; font-weight: 600; letter-spacing: -.03em; padding: 16px 0; border-radius: 0; background: none !important; color: var(--white); }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px 0; min-width: 0; }
	.main-nav .sub-menu a { font-size: 17px; padding: 8px 0; color: rgba(255,255,255,.7); }
	.nav-mobile-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
	.nav-mobile-extra .btn { justify-content: space-between; }
	.nav-open .main-nav .menu > li { animation: slideIn .6s var(--ease-out) both; }
	.nav-open .main-nav .menu > li:nth-child(2) { animation-delay: .05s; } .nav-open .main-nav .menu > li:nth-child(3) { animation-delay: .1s; } .nav-open .main-nav .menu > li:nth-child(4) { animation-delay: .15s; } .nav-open .main-nav .menu > li:nth-child(5) { animation-delay: .2s; } .nav-open .main-nav .menu > li:nth-child(6) { animation-delay: .25s; }

	.hero-inner, .path-panel, .calc-grid, .form-grid, .who-grid, .faq-grid, .prose-grid { grid-template-columns: 1fr; }
	.hero { min-height: 0; }
	.hero-visual { min-height: 400px; margin-top: 12px; }
	.form-intro, .faq-grid .section-head, .local-card { position: static; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(3) { padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
	.stats-red .stat:nth-child(n+3) { border-color: rgba(255,255,255,.3); }
	.path-tablist { grid-template-columns: 1fr; }
	.stack-card-inner { grid-template-columns: 1fr; gap: 20px; }
	.stack-num { font-size: 40px; }
	.profits-row { flex-direction: column; min-height: 0; }
	.profit { flex: none !important; padding: 18px 22px; flex-direction: row; align-items: center; gap: 20px; justify-content: flex-start; }
	.profit-letter { font-size: 44px; }
	.profit-body { display: none; }
	.profit.is-open .profit-body { display: block; }
	.compare, .principles, .team, .service-grid, .deliver-grid, .contact-cards, .post-grid, .story { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.timeline::before { display: none; }
	.industry { grid-template-columns: 40px 1fr 30px; }
	.industry-desc { grid-column: 2; grid-row: 2; }
	.industry-arrow { grid-column: 3; grid-row: 1; opacity: 1; transform: none; }
	.who-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.field-grid, .timeline, .perks, .calc-results, .dash-metrics { grid-template-columns: 1fr 1fr; }
	.field-grid, .timeline, .perks { grid-template-columns: 1fr; }
	.stat { padding: 26px 14px 6px 0; }
	.stat + .stat { padding-left: 14px; }
	.stat:nth-child(3) { padding-left: 0; }
	.stat-num { font-size: 42px; }
	.toast-1 { left: 0; } .toast-2 { right: 0; }
	.hero-visual { min-height: 380px; }
	.btn { padding: 14px 16px 14px 20px; }
	.btn-row .btn { width: 100%; justify-content: space-between; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.faq-answer { padding-right: 0; }
	.wa-float { right: 14px; bottom: 14px; }
	.flags span { width: 84px; height: 64px; font-size: 20px; }
	.letters span { width: 48px; height: 48px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
	.marquee-track { animation: none !important; }
	.toast { opacity: 1; animation: none; }
	.toast-2, .toast-3 { display: none; }
	.dash-line { stroke-dashoffset: 0; }
	.dash-area { opacity: 1; }
}

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--grey); }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }
