/* ==========================================================================
   Northbeam — main stylesheet
   Fonts: Big Shoulders Display (display) + Manrope (body)
   ========================================================================== */

:root {
	--ink: #14123a;          /* deep indigo */
	--ink-2: #1e1b52;
	--ink-3: #0c0a26;        /* footer */
	--accent: #c6f432;       /* electric lime */
	--accent-dk: #a9d417;
	--violet: #6b4cf6;       /* secondary accent (labels on light) */
	--text: #26243a;
	--muted: #6a6880;
	--paper: #f4f2ec;
	--line: #e3e0d6;
	--white: #fff;

	--f-display: 'Big Shoulders Display', 'Impact', 'Arial Narrow', sans-serif;
	--f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--max: 1360px;
	--gutter: 48px;
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 999; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* Prevent grid/flex children from forcing horizontal overflow */
.hero__grid > *, .split > *, .dept__head > *, .dept__grid > *, .results__grid > *, .faq__grid > *, .contact__grid > *, .work__grid > *, .services__grid > * { min-width: 0; }
.hero__subhead, .hero__body, .h2, .lead { overflow-wrap: break-word; }

/* ---------- Type helpers ---------- */
.label {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-display);
	font-size: 18px; font-weight: 800;
	letter-spacing: 2.5px; text-transform: uppercase;
	color: var(--violet);
	margin-bottom: 14px;
}
.label::before { content: ''; width: 28px; height: 3px; background: currentColor; }
.section--ink .label, .hero .label { color: var(--accent); }

.h2 {
	font-size: clamp(40px, 5.2vw, 72px);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.5px;
	line-height: .95;
	color: var(--ink);
	margin-bottom: 24px;
}
.h2--xl { font-size: clamp(48px, 7vw, 104px); }
.section--ink .h2 { color: var(--white); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.section--ink .lead { color: rgba(255, 255, 255, .7); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 17px 30px;
	font-family: var(--f-display);
	font-size: 18px; font-weight: 800;
	letter-spacing: 1.8px; text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
	white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--white); box-shadow: 6px 6px 0 var(--violet); transform: translate(-3px, -3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--violet); box-shadow: 6px 6px 0 var(--accent); transform: translate(-3px, -3px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 20px; font-size: 16px; }
.btn--lg { padding: 20px 38px; font-size: 20px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 56px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	display: flex; align-items: center;
	transition: background .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(20, 18, 58, .94); backdrop-filter: blur(10px); height: 70px; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
body:not(.home) .site-header { background: var(--ink); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 32px; width: 100%; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.logo img { max-height: 44px; width: auto; }
.logo__mark {
	width: 30px; height: 30px; background: var(--accent);
	clip-path: polygon(0 100%, 50% 0, 100% 100%, 50% 72%);
}
.logo__text { font-family: var(--f-display); font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: 1; }
.logo__text b { color: var(--accent); font-weight: 900; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; align-items: center; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 10px 14px;
	font-family: var(--f-display); font-size: 19px; font-weight: 700;
	letter-spacing: 1.2px; text-transform: uppercase;
	color: rgba(255, 255, 255, .85); text-decoration: none;
	transition: color .2s;
}
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--accent); }
.nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: var(--ink); padding: 10px 0; border-top: 3px solid var(--accent);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s var(--ease); box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { font-size: 17px; padding: 8px 20px; }
.nav__cta-mobile { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 46px; height: 46px; background: transparent; border: 2px solid rgba(255, 255, 255, .3); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 130px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .85); }
.section-head { margin-bottom: 64px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--row .h2 { margin-bottom: 0; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin: 0 auto; }
.section-head--center .label::after { content: ''; width: 28px; height: 3px; background: currentColor; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--ink);
	color: var(--white);
	min-height: min(100vh, 1000px);
	display: flex; flex-direction: column;
	padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .13; filter: grayscale(1); transform: scale(1.05); }
.hero__glow {
	position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(107, 76, 246, .45), transparent 65%);
	pointer-events: none;
}
.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 60px; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.hero__badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 18px; margin-bottom: 28px;
	background: rgba(198, 244, 50, .12); border: 1px solid rgba(198, 244, 50, .45);
	font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
}
.hero__badge .icon { width: 16px; height: 16px; }
.hero__subhead { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: rgba(255, 255, 255, .7); letter-spacing: .5px; margin: 0; }
.hero__headline {
	font-size: clamp(58px, 8.4vw, 132px);
	font-weight: 900;
	line-height: .88;
	text-transform: uppercase;
	letter-spacing: -1.5px;
	margin: 22px 0 30px;
}
.hero__headline .accent { display: block; color: var(--accent); position: relative; }
.hero__body { font-size: 19px; color: rgba(255, 255, 255, .72); max-width: 600px; margin-bottom: 38px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__video { display: block; text-decoration: none; color: var(--white); }
.hero__video-frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid rgba(255, 255, 255, .12); }
.hero__video-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 58, .85)); }
.hero__video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__video:hover img { transform: scale(1.06); }
.hero__play {
	position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 96px; height: 96px; border-radius: 50%;
	background: var(--accent); color: var(--ink);
	display: grid; place-items: center;
	box-shadow: 0 0 0 0 rgba(198, 244, 50, .55);
	animation: pulse 2.2s infinite;
}
.hero__play .icon { width: 34px; height: 34px; margin-left: 4px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(198, 244, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0); } }
.hero__video-label {
	display: flex; align-items: center; gap: 10px; margin-top: 18px;
	font-family: var(--f-display); font-size: 20px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero__video-label .icon { width: 20px; color: var(--accent); transition: transform .25s; }
.hero__video:hover .hero__video-label .icon { transform: translateX(6px); }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 30px 28px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat__num { font-family: var(--f-display); font-size: clamp(52px, 6vw, 84px); font-weight: 900; line-height: 1; color: var(--white); }
.stat__suffix { color: var(--accent); }
.stat__label { font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, .6); font-weight: 600; }

/* ---------- Hand-drawn connector arrows ---------- */
.scribble-wrap { position: absolute; left: 50%; transform: translateX(-50%); width: min(80%, 940px); pointer-events: none; z-index: 2; }
.scribble-wrap--top { top: -70px; }
.scribble-wrap--services { top: 30px; opacity: .55; }
.scribble { width: 100%; height: auto; overflow: visible; }
.scribble path { stroke: var(--violet); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.section--ink .scribble path { stroke: var(--accent); }
.scribble__line { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.8s var(--ease); }
.scribble__head { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .5s var(--ease) 1.5s; }
.scribble-wrap.is-visible .scribble__line, .scribble-wrap.is-visible .scribble__head { stroke-dashoffset: 0; }

/* ---------- Problem ---------- */
.problem { padding-top: 170px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.framed { position: relative; }
.framed::before { content: ''; position: absolute; inset: 28px -28px -28px 28px; background: var(--accent); z-index: -1; }
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media { position: relative; z-index: 1; }
.pain-list { margin-top: 10px; }
.pain-list li {
	display: flex; gap: 18px; align-items: flex-start;
	padding: 20px 0; border-bottom: 1px solid var(--line);
	font-size: 18px; font-weight: 600; color: var(--ink);
}
.pain-list__icon { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.pain-list__icon .icon { width: 18px; height: 18px; }

/* ---------- Department ---------- */
.dept__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.dept__head .h2 { margin-bottom: 0; }
.dept__head .lead { margin: 0; }
.dept__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.dept__image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.dept__features { display: flex; flex-direction: column; gap: 18px; }
.feature {
	display: flex; gap: 22px; padding: 28px;
	background: var(--white); border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateX(8px); border-color: var(--ink); box-shadow: -8px 8px 0 var(--accent); }
.feature__icon { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.feature__title { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; letter-spacing: .3px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.dept__features .btn { margin-top: 10px; }

/* ---------- Results ---------- */
.results { overflow: hidden; }
.results__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 44px; }
.tags li {
	padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25);
	font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white);
	transition: background .2s, color .2s, border-color .2s;
}
.tags li:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.results__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(.3); }
.proud { background: var(--accent); color: var(--ink); padding: 52px 48px; position: sticky; top: 110px; }
.proud__title { font-size: 40px; font-weight: 900; text-transform: uppercase; margin-bottom: 28px; line-height: .95; }
.proud__list { counter-reset: proud; }
.proud__list li { counter-increment: proud; position: relative; padding: 20px 0 20px 64px; border-top: 2px solid rgba(20, 18, 58, .15); font-weight: 600; font-size: 17px; }
.proud__list li::before { content: counter(proud, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--f-display); font-size: 36px; font-weight: 900; }

/* ---------- Testimonials ---------- */
.rating { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border: 2px solid var(--ink); }
.rating__num { font-family: var(--f-display); font-size: 54px; font-weight: 900; color: var(--ink); line-height: 1; }
.rating__stars { display: flex; gap: 2px; color: #f5b301; }
.rating__stars .icon { width: 18px; height: 18px; }
.rating__label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }

.slider { overflow: hidden; }
.slider__track { display: flex; gap: 28px; transition: transform .6s var(--ease); will-change: transform; }
.quote {
	margin: 0; flex: 0 0 calc((100% - 56px) / 3);
	background: var(--paper); padding: 44px 38px 36px; position: relative;
	display: flex; flex-direction: column;
	border-bottom: 4px solid transparent; transition: border-color .3s;
}
.quote:hover { border-color: var(--violet); }
.quote__mark { font-family: Georgia, serif; font-size: 120px; line-height: .6; color: var(--violet); height: 46px; }
.quote blockquote { margin: 0 0 30px; font-size: 18px; font-weight: 500; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.quote strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--ink); letter-spacing: .5px; line-height: 1.1; }
.quote em { font-style: normal; font-size: 14px; color: var(--muted); }
.slider__controls { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.slider__btn { width: 54px; height: 54px; display: grid; place-items: center; background: var(--ink); color: var(--white); border: 0; cursor: pointer; transition: background .2s, color .2s; }
.slider__btn:hover { background: var(--accent); color: var(--ink); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 28px; height: 4px; padding: 0; border: 0; background: var(--line); cursor: pointer; transition: background .2s, width .3s; }
.slider__dots button.is-active { background: var(--violet); width: 48px; }

/* ---------- Work ---------- */
.work__grid, .post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post-grid { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 18, 58, .14); }
.card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.card:hover .card__img img { transform: scale(1.08); opacity: .85; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 24px; }
.card__industry { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--violet); }
.card__client { font-family: var(--f-display); font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; }
.card__more .icon { width: 18px; transition: transform .25s; }
.card:hover .card__more .icon { transform: translateX(5px); }

/* ---------- Logos ---------- */
.logos { padding: 70px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__title { text-align: center; font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { padding: 0 44px; display: flex; align-items: center; }
.marquee__item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.wordmark { font-family: var(--f-display); font-size: 34px; font-weight: 900; color: #b7b4c4; letter-spacing: 1px; white-space: nowrap; transition: color .3s; }
.marquee__item:nth-child(3n+2) .wordmark { font-family: var(--f-body); font-weight: 800; font-size: 28px; letter-spacing: -1px; }
.marquee__item:nth-child(3n) .wordmark { font-style: italic; }
.marquee__item:hover .wordmark { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { padding-top: 170px; overflow: hidden; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.service { padding: 44px 32px 20px; position: relative; transition: background .3s; }
.service + .service { border-left: 1px solid rgba(255, 255, 255, .14); }
.service::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { background: var(--ink-2); }
.service:hover::before { transform: scaleX(1); }
.service__num { font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--accent); letter-spacing: 2px; }
.service__title { font-size: 46px; font-weight: 900; text-transform: uppercase; color: var(--white); margin: 8px 0 24px; }
.service li { padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); font-weight: 500; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 64px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 22px); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__num {
	display: inline-grid; place-items: center; width: 128px; height: 128px;
	font-family: var(--f-display); font-size: 64px; font-weight: 900; color: var(--ink);
	background: var(--accent); margin-bottom: 30px;
	transition: transform .4s var(--ease), background .3s, color .3s;
}
.step:hover .step__num { transform: rotate(-6deg) scale(1.04); background: var(--ink); color: var(--accent); }
.step__title { font-size: 48px; font-weight: 900; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 380px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.accordion__item { border-bottom: 2px solid var(--ink); }
.accordion__item:first-child { border-top: 2px solid var(--ink); }
.accordion summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 26px 0;
	font-family: var(--f-display); font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--ink); line-height: 1.1;
	transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--violet); }
.accordion__icon { flex-shrink: 0; width: 40px; height: 40px; position: relative; background: var(--ink); transition: background .2s, transform .3s var(--ease); }
.accordion__icon::before, .accordion__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--white); transform: translate(-50%, -50%); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
details[open] .accordion__icon { background: var(--accent); }
details[open] .accordion__icon::before, details[open] .accordion__icon::after { background: var(--ink); }
details[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__body { padding: 0 60px 28px 0; color: var(--muted); }
.accordion__body ul { list-style: none; margin: 0 0 1em; }
.accordion__body li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.accordion__body li::before { content: ''; position: absolute; left: 0; top: 11px; width: 10px; height: 3px; background: var(--violet); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent); padding: 140px 0; text-align: center; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; mix-blend-mode: multiply; opacity: .16; filter: grayscale(1); }
.cta__inner { position: relative; }
.cta__title { font-size: clamp(48px, 7.5vw, 116px); font-weight: 900; text-transform: uppercase; color: var(--ink); line-height: .9; max-width: 1150px; margin: 0 auto 22px; letter-spacing: -1px; }
.cta__text { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 40px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 18px; font-size: 18px; color: var(--white); font-weight: 600; }
.contact__list a { text-decoration: none; transition: color .2s; }
.contact__list a:hover { color: var(--accent); }
.contact__icon { flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: var(--accent); }
.form { background: var(--white); padding: 48px; color: var(--text); box-shadow: 14px 14px 0 var(--violet); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 15px 16px; font: inherit; font-size: 16px; color: var(--ink);
	background: var(--paper); border: 2px solid transparent; border-radius: 0; outline: none;
	transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; }
.form__hp { position: absolute; left: -9999px; }
.form__notice { padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.form__notice--ok { background: var(--accent); color: var(--ink); }
.form__notice--err { background: #ffe1e1; color: #8a1010; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-3); color: rgba(255, 255, 255, .65); padding: 100px 0 36px; font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.5fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__tagline { margin: 22px 0; max-width: 360px; }
.badges { display: grid; gap: 8px; }
.badges li { display: flex; gap: 10px; align-items: center; color: var(--white); font-weight: 600; font-size: 14px; }
.badges .icon { width: 18px; height: 18px; color: var(--accent); }
.site-footer h4 { font-size: 20px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-contact .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.newsletter { display: flex; margin-top: 16px; position: relative; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); border-right: 0; color: var(--white); outline: none; }
.newsletter input:focus { border-color: var(--accent); }
.newsletter .btn { padding: 12px 16px; }
.newsletter__done { display: none; width: 100%; margin-top: 10px; color: var(--accent); font-weight: 600; }
.newsletter.is-done .newsletter__done { display: block; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: var(--white); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.socials .icon { width: 18px; height: 18px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 90px) 0 90px; }
.page-hero__title { font-size: clamp(48px, 7vw, 100px); font-weight: 900; text-transform: uppercase; line-height: .92; }
.prose-wrap { max-width: 1100px; }
.prose { max-width: 760px; font-size: 18px; }
.prose h2, .prose h3 { text-transform: uppercase; color: var(--ink); margin: 1.4em 0 .5em; }
.prose h2 { font-size: 44px; } .prose h3 { font-size: 32px; }
.prose a { color: var(--violet); }
.pagination { margin-top: 48px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	.scribble path { stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.work__grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__news { grid-column: span 3; max-width: 460px; }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.service:nth-child(3) { border-left: 0; }
	.service:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

@media (max-width: 1024px) {
	:root { --gutter: 32px; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(400px, 100%);
		background: var(--ink); padding: 110px 32px 32px;
		transform: translateX(100%); transition: transform .4s var(--ease);
		overflow-y: auto; z-index: -1;
	}
	.nav-open .nav { transform: none; box-shadow: -30px 0 60px rgba(0, 0, 0, .35); }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { font-size: 30px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; }
	.nav__list .sub-menu a { font-size: 20px; }
	.nav__cta-mobile { display: block; margin-top: 28px; }
	.site-header__cta { display: none; }
	.burger { display: block; }
	.hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.hero__video { max-width: 520px; }
	.hero__video-frame { aspect-ratio: 16 / 10; }
	.split, .dept__head, .dept__grid, .results__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
	.split__media { max-width: 560px; }
	.proud, .faq__head { position: static; }
	.quote { flex-basis: calc((100% - 28px) / 2); }
	.steps { grid-template-columns: 1fr; gap: 48px; }
	.steps::before { top: 0; bottom: 0; left: 63px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 12px, transparent 12px 22px); }
	.step { display: grid; grid-template-columns: 128px 1fr; column-gap: 32px; }
	.step__num { grid-row: span 2; margin: 0; }
	.section { padding: 100px 0; }
	.problem, .services { padding-top: 140px; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 720px) {
	:root { --gutter: 16px; --header-h: 70px; }
	body { font-size: 16px; }
	.section { padding: 80px 0; }
	.problem, .services { padding-top: 110px; }
	.scribble-wrap { width: 92%; }
	.scribble-wrap--top { top: -40px; }
	.logo__text { font-size: 26px; }
	.hero__headline { letter-spacing: -.5px; }
	.hero__body, .lead { font-size: 17px; }
	.hero__btns .btn { flex: 1 1 100%; }
	.hero__stats { grid-template-columns: 1fr; margin-top: 48px; }
	.stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); flex-direction: row; align-items: baseline; gap: 16px; }
	.stat__num { font-size: 52px; min-width: 120px; }
	.framed::before { inset: 16px -12px -16px 16px; }
	.feature { padding: 22px; gap: 16px; }
	.feature__icon { width: 46px; height: 46px; }
	.feature__title { font-size: 24px; }
	.proud { padding: 36px 24px; }
	.quote { flex-basis: 100%; padding: 36px 24px 28px; }
	.work__grid, .post-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.card__body { padding: 16px; }
	.card__client { font-size: 22px; }
	.services__grid { grid-template-columns: 1fr; }
	.service, .service + .service { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 32px 4px 16px; }
	.service__title { font-size: 40px; }
	.step { grid-template-columns: 80px 1fr; column-gap: 20px; }
	.step__num { width: 80px; height: 80px; font-size: 40px; }
	.steps::before { left: 39px; }
	.step__title { font-size: 36px; }
	.accordion summary { font-size: 22px; padding: 22px 0; }
	.accordion__icon { width: 34px; height: 34px; }
	.accordion__body { padding-right: 0; }
	.cta { padding: 100px 0; }
	.form { padding: 28px 20px; box-shadow: 8px 8px 0 var(--violet); }
	.form__row { grid-template-columns: 1fr; gap: 0; }
	.btn { white-space: normal; text-align: center; }
	.site-footer { padding-top: 70px; }
	.site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
	.site-footer__news { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
	.work__grid, .post-grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__news { grid-column: auto; }
	.rating { width: 100%; }
}
