/*
 * Tactical Marketing v3 — main stylesheet.
 * Mobile-first. Brand: ink #0B0D12 on white, Poppins.
 */

/* ------------------------------------------------------------------
 * 1. Tokens
 * ---------------------------------------------------------------- */
:root {
	--ink: #0B0D12;
	--ink-2: #12151C;
	--ink-3: #1E232E;
	--text: #0F172A;
	--muted: #64748B;
	--line: #E5E9F0;
	--tint: #F7F9FC;
	--white: #FFFFFF;
	--on-dark: #FFFFFF;
	--on-dark-muted: #A7B0BF;
	--on-dark-line: rgba(255, 255, 255, .12);
	--ok: #3ECF8E;
	--warn: #F5B544;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px rgba(15, 23, 42, .12);
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(18px, 4.5vw, 32px);
	--sec-y: clamp(64px, 9vw, 120px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------
 * 2. Base
 * ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--white); }
.dark ::selection { background: var(--white); color: var(--ink); }
s { text-decoration-thickness: 1.5px; }

.skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px;
	text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.muted { color: var(--muted); }
.micro { font-size: 13px; line-height: 1.5; }
.dark .muted, .dark .micro { color: var(--on-dark-muted); }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }
@media (max-width: 479px) { .hide-sm { display: none; } }

/* Dark surfaces */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .sec-lead, .dark p { color: var(--on-dark-muted); }
.dark h1, .dark h2, .dark h3, .dark .sec-title { color: var(--on-dark); }

/* ------------------------------------------------------------------
 * 3. Type helpers
 * ---------------------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow--light, .dark .eyebrow { color: var(--on-dark-muted); }
.sec-title { font-size: clamp(28px, 4.6vw, 48px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 16px; text-wrap: balance; }
.sec-lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 640px; text-wrap: pretty; }
.lead-lg { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--text); font-weight: 500; letter-spacing: -.01em; }
.dark .lead-lg { color: var(--on-dark); }

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }
.sec-head--center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.split-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: clamp(32px, 5vw, 56px); }
.split-head .sec-head { margin-bottom: 0; }
.split-head > .btn { align-self: flex-start; margin-top: 16px; }
@media (min-width: 860px) {
	.split-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
	.split-head > .btn { align-self: auto; margin-top: 0; flex: none; }
}

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
	border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico, a:hover .link-arrow .ico { transform: translateX(4px); }

/* ------------------------------------------------------------------
 * 4. Buttons
 * ---------------------------------------------------------------- */
.btn {
	--b-bg: var(--ink); --b-fg: var(--white); --b-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px; border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
	font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ico { flex: none; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary:hover { --b-bg: var(--ink-3); --b-bd: var(--ink-3); box-shadow: 0 8px 22px rgba(11, 13, 18, .22); }
.btn--light { --b-bg: var(--white); --b-fg: var(--ink); --b-bd: var(--white); }
.btn--light:hover { --b-bg: #EEF1F6; --b-bd: #EEF1F6; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --b-bd: var(--white); --b-bg: rgba(255, 255, 255, .06); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--outline:hover { --b-bg: var(--ink); --b-fg: var(--white); }
.dark .btn--outline { --b-fg: var(--white); --b-bd: rgba(255, 255, 255, .4); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn-badge {
	display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; background: var(--ok); color: #05241A;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
	.hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; white-space: normal; text-align: center; }
	.btn--lg { padding: 14px 20px; font-size: 15px; }
}

/* ------------------------------------------------------------------
 * 5. Header
 * ---------------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	color: var(--white);
	transition: background .3s, box-shadow .3s, color .3s;
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand-logo { width: auto; height: 38px; }
.brand-logo--dark { display: none; }
.menu { display: none; margin-left: auto; }
.menu ul { list-style: none; display: flex; gap: 4px; }
.menu a {
	display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
	font-size: 14.5px; font-weight: 500; opacity: .82; transition: opacity .2s, background .2s;
}
.menu a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.menu a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .12); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1180px) { .menu + .nav-cta { margin-left: 8px; } }
.site-header .nav-cta .btn--primary { --b-bg: var(--white); --b-fg: var(--ink); --b-bd: var(--white); }
.site-header .nav-cta .btn { display: inline-block; line-height: 22px; }
.site-header .nav-cta .btn .ico { display: none; }
.burger {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	background: transparent; border: 1.5px solid rgba(255, 255, 255, .3); cursor: pointer;
}

/* Scrolled / drawer open: solid white bar */
.site-header.is-solid, .site-header.is-open {
	background: rgba(255, 255, 255, .96); color: var(--ink);
	box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15, 23, 42, .06);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.is-solid .brand-logo--light, .is-open .brand-logo--light { display: none; }
.is-solid .brand-logo--dark, .is-open .brand-logo--dark { display: block; }
.is-solid .menu a:hover, .is-solid .menu a[aria-current="page"] { background: var(--tint); }
.is-solid .nav-cta .btn--primary, .is-open .nav-cta .btn--primary { --b-bg: var(--ink); --b-fg: var(--white); --b-bd: var(--ink); }
.is-solid .burger, .is-open .burger { border-color: var(--line); }

.drawer {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow-y: auto;
	background: var(--white); color: var(--ink); padding: 12px var(--gutter) 32px;
	border-top: 1px solid var(--line);
}
.admin-bar .drawer { top: calc(var(--header-h) + 46px); }
.drawer ul { list-style: none; margin-bottom: 24px; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: block; padding: 16px 2px; font-size: 20px; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.drawer-note { text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 419px) {
	.nav { gap: 10px; }
	.brand-logo { height: 32px; }
	.site-header .nav-cta .btn--sm { min-height: 38px; padding: 6px 14px; font-size: 13px; }
	.burger { width: 40px; height: 40px; }
}
@media (min-width: 1024px) {
	:root { --header-h: 84px; }
	.brand-logo { height: 44px; }
}
@media (min-width: 1180px) {
	.menu { display: block; }
	.burger, .drawer { display: none !important; }
}
@media (min-width: 1180px) and (max-width: 1279px) {
	.menu a { padding: 8px 8px; font-size: 14px; }
	.lang-switch { padding: 0 10px; font-size: 13px; }
}
@media (min-width: 1180px) { .menu a { white-space: nowrap; } }

/* ------------------------------------------------------------------
 * 6. Sections
 * ---------------------------------------------------------------- */
.section { padding: var(--sec-y) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.dark + .dark { border-top: 1px solid var(--on-dark-line); }

/* Grid backdrop for dark heroes */
.hero-grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%);
}
.hero-grid-bg::after {
	content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
	right: -10%; top: -20%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(120, 140, 190, .18), transparent);
}

/* ------------------------------------------------------------------
 * 7. Home hero
 * ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
.hero-inner > *, .booking-grid > *, .founder-grid > *, .intro-grid > *, .svc-row-grid > *, .cs-layout > * { min-width: 0; }
.hero-eyebrow { text-transform: none; letter-spacing: .01em; font-size: 14px; font-weight: 500; padding: 7px 14px 7px 12px; border: 1px solid var(--on-dark-line); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.hero-eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 207, 142, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62, 207, 142, 0); } }
.hero-title { font-size: clamp(42px, 8.4vw, 88px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 8px 0 22px; text-wrap: balance; }
.hero-lead { font-size: clamp(16.5px, 1.8vw, 19px); max-width: 580px; color: var(--on-dark-muted); }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; line-height: 1.5; }
.hero-note .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.hero-for { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); font-size: 14px; color: var(--on-dark); }
.hero-for li { display: inline-flex; align-items: center; gap: 8px; opacity: .85; }

/* Illustrative dashboard */
.hero-board { position: relative; display: grid; gap: 14px; max-width: 520px; width: 100%; justify-self: center; }
.board-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
	border: 1px solid var(--on-dark-line); border-radius: var(--radius);
	padding: 18px; color: var(--on-dark);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.board-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.board-head em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px solid var(--on-dark-line); padding: 3px 8px; border-radius: 999px; }
.board-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.board-kpis div { background: rgba(255, 255, 255, .05); border-radius: var(--radius-sm); padding: 10px; }
.board-kpis small { display: block; font-size: 11px; color: var(--on-dark-muted); line-height: 1.3; }
.board-kpis b { display: block; margin-top: 4px; font-size: 18px; color: var(--ok); }
.board-kpis b.down { color: var(--ok); }
.board-chart { width: 100%; height: 120px; }
.board-chart .draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.board-channels { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.board-channels span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--on-dark-line); }
.board-step small { display: block; font-size: 12px; color: var(--on-dark-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; }
.board-step ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.board-step li { display: flex; align-items: center; gap: 10px; }
.board-step li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--on-dark-muted); flex: none; }
.board-step li.ok::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305241A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 599px) { .board-step { display: none; } }
@media (min-width: 1024px) {
	.hero-inner { grid-template-columns: 1.15fr .85fr; gap: 64px; }
	.hero-board { grid-template-columns: 1fr 1fr; }
	.board-main { grid-column: 1 / -1; transform: rotate(-1.2deg); }
	.board-channels { transform: translateY(-4px) rotate(1deg); }
	.board-step { transform: translateY(10px); }
	.hero-board .board-card { animation: float 7s ease-in-out infinite; }
	.hero-board .board-channels { animation-delay: -2s; }
	.hero-board .board-step { animation-delay: -4s; }
}
@keyframes float { 50% { translate: 0 -8px; } }

/* ------------------------------------------------------------------
 * 8. Stats
 * ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(48px, 7vw, 80px) 0 0; border-radius: var(--radius); overflow: hidden; gap: 1px; }
.stats--dark { background: var(--on-dark-line); border: 1px solid var(--on-dark-line); }
.stats--light { background: var(--line); border: 1px solid var(--line); margin-top: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: clamp(18px, 3vw, 32px); }
.stats--dark .stat { background: var(--ink); }
.stats--light .stat { background: var(--white); }
.stat dt { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.stats--dark .stat dt { color: var(--on-dark-muted); }
.stat dd { margin: 0; font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------
 * 9. Logos marquee + generic marquee
 * ---------------------------------------------------------------- */
.logos { padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.logos-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--mq-dur, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee--slow { --mq-dur: 80s; padding: 8px 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { flex: none; display: grid; place-items: center; padding: 0 clamp(22px, 3vw, 40px); height: 64px; }
.marquee-item img { max-height: 44px; max-width: 140px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee-item a:hover img, .marquee-item img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.marquee-track { animation: none; }
}

/* ------------------------------------------------------------------
 * 10. Intro / story / generic two-column
 * ---------------------------------------------------------------- */
.intro-grid, .story-grid { display: grid; gap: 24px; }
.intro-grid .sec-head { margin-bottom: 0; }
.intro-copy > p:not(.lead-lg), .story-copy p { color: var(--muted); }
.intro-copy .link-arrow { margin-top: 24px; }
@media (min-width: 960px) {
	.intro-grid, .story-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
	.intro-grid .sec-head, .story-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ------------------------------------------------------------------
 * 11. Cards
 * ---------------------------------------------------------------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(22px, 3vw, 30px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 19px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card-ico {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
	background: var(--ink); color: var(--white);
}
.card-ico--lg { width: 60px; height: 60px; border-radius: 16px; }
.cards--dark .card { background: var(--ink-2); border-color: var(--on-dark-line); }
.cards--dark .card:hover { border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.cards--dark .card-ico, .dark .card-ico { background: rgba(255, 255, 255, .08); border: 1px solid var(--on-dark-line); }
.cards--dark .card p { color: var(--on-dark-muted); }

/* ------------------------------------------------------------------
 * 12. Services grid (home)
 * ---------------------------------------------------------------- */
.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	padding: 26px 24px 28px; background: var(--white); text-decoration: none; min-height: 210px;
	transition: background .3s, color .3s;
}
.svc-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--ink); margin-bottom: 8px; transition: background .3s, color .3s; }
.svc-title { font-weight: 600; font-size: 17px; letter-spacing: -.01em; line-height: 1.3; padding-right: 28px; }
.svc-text { font-size: 14.5px; color: var(--muted); line-height: 1.55; transition: color .3s; }
.svc-go { position: absolute; top: 24px; right: 22px; opacity: .35; transition: opacity .3s, transform .3s var(--ease); }
.svc:hover { background: var(--ink); color: var(--white); }
.svc:hover .svc-ico { background: rgba(255, 255, 255, .1); color: var(--white); }
.svc:hover .svc-text { color: var(--on-dark-muted); }
.svc:hover .svc-go { opacity: 1; transform: translate(3px, -3px); }

/* ------------------------------------------------------------------
 * 13. Case studies
 * ---------------------------------------------------------------- */
.cases { display: grid; gap: 20px; }
@media (min-width: 720px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case-card { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.case-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.case-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-media > img { transform: scale(1.04); }
.case-media .tag { position: absolute; top: 14px; left: 14px; }
.case-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.case-body h3 { font-size: 20px; margin-bottom: 16px; }
.case-meta { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.case-kpis { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.case-kpis li { background: var(--tint); border-radius: var(--radius-sm); padding: 12px; }
.case-kpis strong { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.case-kpis span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.case-body .link-arrow { margin-top: auto; padding-top: 14px; align-self: flex-start; border: 0; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; line-height: 1.2; }
.tag--demo { background: var(--warn); color: #2B1B00; }
.tag--sample { background: var(--tint); color: var(--muted); border: 1px solid var(--line); }
.dark .tag--sample { background: rgba(255, 255, 255, .06); color: var(--on-dark-muted); border-color: var(--on-dark-line); }

/* Generated visual for cases without an image */
.viz { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px 18px; color: var(--white); background: radial-gradient(120% 100% at 100% 0%, #252B38, var(--ink) 60%); }
.viz-top { display: flex; align-items: center; gap: 5px; }
.viz-top span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.case-media:has(.tag) .viz-top em { display: none; }
.viz-top em { margin-left: auto; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.viz-chart { flex: 1; width: 100%; height: auto; margin-top: 18px; }
.viz-bars { display: flex; align-items: flex-end; gap: 6px; height: 28%; margin-top: 10px; }
.viz-bars i { flex: 1; background: rgba(255, 255, 255, .16); border-radius: 3px 3px 0 0; }
.viz-bars i:last-child { background: rgba(255, 255, 255, .55); }
.case-media .tag + .viz, .case-media .viz + .tag { z-index: 1; }

/* Case study archive + single */
.cs-hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cs-hero-meta li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--on-dark-line); color: var(--on-dark); background: rgba(255, 255, 255, .04); }
.cs-demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #FFF7E8; border: 1px solid #F6DDAA; color: #5B3D00; font-size: 14.5px; margin-bottom: 40px; }
.cs-demo-note .tag { flex: none; }
.cs-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cs-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } .cs-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.cs-block { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.cs-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.cs-block h2 { font-size: clamp(22px, 2.6vw, 28px); display: flex; align-items: baseline; gap: 12px; }
.cs-block h2 span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.cs-block p { color: #334155; }
.cs-facts { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cs-facts dl { margin: 0 0 20px; display: grid; gap: 14px; }
.cs-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { margin: 2px 0 0; font-weight: 500; }
.cs-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.cs-result { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 20px; }
.cs-result strong { display: block; font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.04em; line-height: 1; }
.cs-result span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.4; }
.cs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.cs-quote { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--tint); border-left: 3px solid var(--ink); font-size: 18px; font-weight: 500; line-height: 1.55; }
.cs-quote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--muted); font-weight: 500; }
.cs-nav { display: grid; gap: 12px; margin-top: 56px; }
@media (min-width: 640px) { .cs-nav { grid-template-columns: 1fr 1fr; } }
.cs-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.cs-nav a:hover { border-color: var(--ink); }
.cs-nav small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cs-nav strong { display: block; margin-top: 4px; }
.cs-nav .next { text-align: right; }

/* ------------------------------------------------------------------
 * 14. Result screenshots
 * ---------------------------------------------------------------- */
.shot {
	display: block; padding: 0; margin: 0 8px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
	background: var(--white); cursor: zoom-in; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.marquee .shot { width: clamp(220px, 26vw, 300px); }
.marquee .shot img { width: 100%; height: clamp(300px, 36vw, 420px); object-fit: cover; object-position: top; }
.shots-grid-inner { columns: 2 160px; column-gap: 12px; }
@media (min-width: 860px) { .shots-grid-inner { columns: 4 200px; column-gap: 16px; } }
.shots-grid .shot { width: 100%; margin: 0 0 12px; break-inside: avoid; }
@media (min-width: 860px) { .shots-grid .shot { margin-bottom: 16px; } }
.shots-grid .shot img { width: 100%; }

/* ------------------------------------------------------------------
 * 15. Process steps
 * ---------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step-num { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
@media (min-width: 1024px) { .step-num { margin-bottom: 36px; } }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }
@media (min-width: 1024px) {
	.step { border-radius: 0; border-right-width: 0; padding: 32px 28px; }
	.step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
	.step:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-right-width: 1px; }
	.step::before { content: ""; position: absolute; left: 28px; right: 0; top: 70px; height: 1px; background: var(--line); }
	.step::after { content: ""; position: absolute; left: 28px; top: 66px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
}

/* ------------------------------------------------------------------
 * 16. Founder
 * ---------------------------------------------------------------- */
.founder-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.founder-photo { position: relative; max-width: min(460px, calc(100% - 12px)); width: 100%; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.founder-photo::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); z-index: -1; }
.founder { isolation: isolate; }
.founder-ph { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--ink); display: grid; place-items: center; }
.founder-ph img { width: 30%; aspect-ratio: 1; opacity: .9; }
.founder-sign { display: flex; flex-direction: column; margin: 24px 0; padding-left: 16px; border-left: 2px solid var(--ink); }
.founder-sign strong { font-size: 18px; }
.founder-sign span { font-size: 14px; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }

/* ------------------------------------------------------------------
 * 17. Testimonials
 * ---------------------------------------------------------------- */
.quotes { display: grid; gap: 16px; }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { display: flex; flex-direction: column; margin: 0; padding: 28px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.quote-stars { color: #F5B544; letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--text); }
.quote blockquote[dir="rtl"] { font-family: "Segoe UI", Tahoma, var(--font); font-size: 17px; line-height: 1.85; text-align: right; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-weight: 600; font-size: 15px; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-avatar--initial { display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; }

/* ------------------------------------------------------------------
 * 18. Booking section
 * ---------------------------------------------------------------- */
.booking-sec { overflow: hidden; }
.booking-grid { display: grid; gap: 40px; }
.booking-copy .sec-lead { margin-bottom: 24px; }
@media (min-width: 960px) {
	.booking-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: end; }
	.booking-copy > .eyebrow, .booking-copy > .sec-title, .booking-copy > .sec-lead { grid-column: 1; }
	.booking-copy > .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
	.booking-copy > .price-line { grid-column: 2; }
}
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { flex: none; margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok); color: #05241A; stroke-width: 2.6; }
.dark .ticks li { color: var(--on-dark); }
.ticks--dark .ico { background: var(--ink); color: var(--white); }
.price-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.price-was { font-size: 20px; text-decoration: line-through; text-decoration-thickness: 2px; color: var(--on-dark-muted); }
.price-now { font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--white); color: var(--ink); padding: 6px 14px; border-radius: 999px; }
.booking-widget { min-width: 0; }
.booking-widget .tmb {
	--tmb-bg: var(--ink-2); --tmb-panel: #191D26; --tmb-line: rgba(255, 255, 255, .12);
	--tmb-muted: var(--on-dark-muted); --tmb-accent-ink: var(--ink); --tmb-radius: 14px;
	max-width: none; font-family: var(--font);
}
.booking-widget .tmb p { color: inherit; }
.booking-fallback { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--on-dark-line); text-align: center; }
.booking-fallback h3 { font-size: 24px; }
.booking-fallback .btn { margin-top: 16px; white-space: normal; }

/* ------------------------------------------------------------------
 * 19. Page hero (inner pages)
 * ---------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); }
.page-hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.page-hero-inner { position: relative; }
.page-title { font-size: clamp(36px, 6.4vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; max-width: 900px; text-wrap: balance; }
.page-title--article { font-size: clamp(32px, 5vw, 52px); }
.page-lead { font-size: clamp(16.5px, 1.8vw, 19px); max-width: 640px; color: var(--on-dark-muted); margin-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 28px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--on-dark); max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* ------------------------------------------------------------------
 * 20. About page
 * ---------------------------------------------------------------- */
.mv-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--tint); }
.mv .eyebrow { margin-top: 24px; }
.mv h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.025em; line-height: 1.25; font-weight: 600; }
.mv--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mv--dark .card-ico { background: rgba(255, 255, 255, .1); }
.approach { display: grid; gap: 16px; counter-reset: a; }
@media (min-width: 720px) { .approach { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .approach { grid-template-columns: repeat(4, 1fr); } }
.approach-item { padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.approach-item span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.approach-item h3 { font-size: 18px; }
.approach-item p { color: var(--muted); font-size: 15px; }
.values { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(5, 1fr); } }
.values li { background: var(--white); padding: 28px 24px; }
.values h3 { font-size: 18px; }
.values p { color: var(--muted); font-size: 14.5px; }
.commit { text-align: center; max-width: 820px; }
.commit .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.commit .sec-lead { margin: 0 auto; }

/* ------------------------------------------------------------------
 * 21. Services page
 * ---------------------------------------------------------------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.admin-bar .svc-nav { top: calc(var(--header-h) + 46px); }
@media (min-width: 783px) { .admin-bar .svc-nav { top: calc(var(--header-h) + 32px); } }
.svc-nav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); border: 1px solid transparent; transition: color .2s, background .2s; }
.svc-nav a:hover { color: var(--ink); background: var(--tint); }
.svc-nav a.is-active { color: var(--white); background: var(--ink); }
.svc-list { scroll-margin-top: 140px; }
.svc-row { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.svc-row--alt { background: var(--tint); }
.svc-row-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .svc-row-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .svc-row-head { position: sticky; top: calc(var(--header-h) + 90px); } }
.svc-num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; }
.svc-row-head h2 { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -.03em; margin: 22px 0 12px; }
.svc-for { color: var(--muted); font-size: 15px; }
.svc-row-body > p:not(.lead-lg) { color: var(--muted); }
.svc-row-body .ticks { margin-top: 24px; }
@media (min-width: 640px) { .svc-row-body .ticks { grid-template-columns: 1fr 1fr; gap: 14px 24px; } }

/* ------------------------------------------------------------------
 * 22. Results page
 * ---------------------------------------------------------------- */
.sample-note { display: block; font-size: 14px; color: var(--muted); padding: 12px 16px; border-radius: var(--radius-sm); background: var(--tint); border: 1px dashed #CBD5E1; margin: -24px 0 32px; }
.sample-note .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.impact { display: grid; gap: 16px; }
@media (min-width: 720px) { .impact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .impact { grid-template-columns: repeat(3, 1fr); } }
.impact-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.impact-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.impact-card h3 { font-size: 19px; }
.impact-card > p { color: var(--muted); font-size: 15px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 88px; margin-top: auto; padding-top: 24px; }
.spark i { flex: 1; background: #DDE3EC; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.spark i:last-child { background: var(--ink); }
.js .impact-card .spark i { transform: scaleY(0); transition: transform .8s var(--ease); }
.js .impact-card.is-in .spark i { transform: none; }
.js .impact-card.is-in .spark i:nth-child(2) { transition-delay: .05s; }
.js .impact-card.is-in .spark i:nth-child(3) { transition-delay: .1s; }
.js .impact-card.is-in .spark i:nth-child(4) { transition-delay: .15s; }
.js .impact-card.is-in .spark i:nth-child(5) { transition-delay: .2s; }
.js .impact-card.is-in .spark i:nth-child(6) { transition-delay: .25s; }
.js .impact-card.is-in .spark i:nth-child(7) { transition-delay: .3s; }
.spark-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ------------------------------------------------------------------
 * 23. Blog
 * ---------------------------------------------------------------- */
.blog-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.blog-bar-inner { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
@media (min-width: 900px) { .blog-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.chips--nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips--nav::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips--nav { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.chips--nav li { padding: 0; border: 0; background: none; flex: none; }
.chips--nav a { display: block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chips--nav a:hover { border-color: var(--ink); }
.chips--nav a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.search { position: relative; flex: none; width: 100%; }
@media (min-width: 900px) { .search { width: 280px; } }
.search input { width: 100%; height: 46px; padding: 0 48px 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); color: var(--text); font-size: 15px; transition: border-color .2s, background .2s; }
.search input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; }

.posts { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.featured-post { margin-bottom: clamp(36px, 5vw, 56px); }
.post-card { display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-cover { position: relative; display: flex; align-items: flex-end; height: 100%; padding: 20px; color: var(--white); background: radial-gradient(120% 120% at 100% 0%, #2A3140, var(--ink) 60%); overflow: hidden; }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; }
.post-cover span { position: relative; font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; line-height: 1.15; max-width: 80%; }
.post-body { padding-top: 18px; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post-meta a { text-decoration: none; font-weight: 600; color: var(--text); }
.post-meta a:hover { text-decoration: underline; }
.post-meta--light, .post-meta--light a { color: var(--on-dark-muted); }
.post-meta--light a { color: var(--on-dark); }
.post-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.post-card h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.post-card h3 a:hover { background-size: 100% 1.5px; }
.post-excerpt { font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
	.post-card--lg { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
	.post-card--lg .post-body { padding: 0; }
	.post-card--lg h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
	.post-card--lg .post-excerpt { font-size: 17px; }
}
.pager, .pagination { margin-top: 56px; }
.pager, .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager .dots { border: 0; }

/* ------------------------------------------------------------------
 * 24. Article
 * ---------------------------------------------------------------- */
.article-hero { padding-bottom: clamp(56px, 7vw, 88px); }
.article-cover { margin-top: clamp(-48px, -4vw, -32px); position: relative; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.prose { font-size: 17.5px; line-height: 1.8; color: #1E293B; }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin: 0; }
.prose > * + p { margin-top: 1.2em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 2em 0 .6em; letter-spacing: -.025em; }
.prose h3 { font-size: clamp(20px, 2.4vw, 24px); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--muted); }
.prose a { font-weight: 500; text-decoration-color: rgba(15, 23, 42, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--ink); font-size: 1.12em; font-weight: 500; color: var(--text); }
.prose img, .prose figure { border-radius: var(--radius); margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose code { font-size: .9em; background: var(--tint); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--ink); color: #E2E8F0; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.article-cta { display: grid; gap: 20px; margin-top: 56px; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.article-cta h2 { font-size: clamp(22px, 2.6vw, 28px); }
.article-cta p { color: var(--on-dark-muted); }
.article-cta .btn { --b-bg: var(--white); --b-fg: var(--ink); --b-bd: var(--white); justify-self: start; white-space: normal; text-align: center; }
@media (min-width: 720px) { .article-cta { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }

/* ------------------------------------------------------------------
 * 25. FAQ
 * ---------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq-item[open] summary span { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq-item p { padding: 0 52px 24px 2px; color: var(--muted); }

/* ------------------------------------------------------------------
 * 26. Footer
 * ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: 15px; }
.foot-cta { display: grid; gap: 24px; padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--on-dark-line); }
.foot-cta h2 { color: var(--white); font-size: clamp(30px, 5vw, 52px); letter-spacing: -.035em; max-width: 760px; margin: 0; text-wrap: balance; }
.foot-cta-actions .micro { margin-top: 12px; }
.foot-cta-actions .micro strong { color: var(--white); }
@media (min-width: 960px) { .foot-cta { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }
@media (max-width: 479px) { .foot-cta .btn { width: 100%; } }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1.2fr 1.3fr; gap: 48px; } .foot-brand { grid-column: auto; } }
.foot-logo img { height: 40px; width: auto; margin-bottom: 18px; }
.foot-grid h3 { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid ul a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.foot-grid ul a:hover { color: var(--white); }
.socials { display: flex !important; gap: 8px !important; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--on-dark-line); color: var(--white); transition: background .2s, color .2s; }
.socials a:hover { background: var(--white); color: var(--ink); }
.foot-base { display: flex; flex-direction: column; gap: 8px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--on-dark-line); font-size: 13.5px; }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--white); }
@media (min-width: 720px) { .foot-base { flex-direction: row; justify-content: space-between; } }

/* ------------------------------------------------------------------
 * 27. Lightbox
 * ---------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 64px 12px; background: rgba(5, 6, 9, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(100%, 1100px); max-height: 100%; }
.lb-cap { max-width: 640px; color: #E2E8F0; font-size: 14.5px; line-height: 1.55; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 200px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; font-size: 30px; line-height: 1; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------------
 * 28. Reveal on scroll (only when JS is running)
 * ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.board-chart .draw { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------------
 * 29. WordPress core bits
 * ---------------------------------------------------------------- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* Print */
@media print {
	.site-header, .drawer, .lightbox, .booking-sec, .foot-cta, .svc-nav { display: none !important; }
	.dark { background: #fff !important; color: #000 !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------
 * 30. Landing pages, industries, contact, clients, FAQ, results guide
 * ---------------------------------------------------------------- */
.lp-hero { display: grid; gap: 32px; align-items: center; }
.lp-hero-ico { display: none; }
@media (min-width: 1024px) {
	.lp-hero { grid-template-columns: 1fr auto; }
	.lp-hero-ico { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 48px; border: 1px solid var(--on-dark-line); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); color: var(--white); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
}
.lp-fit { margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line); color: var(--text) !important; font-size: 15px; }
.lp-inc-num { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.lp-inc h3 { margin-top: 12px; }
.lp-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .lp-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.lp-split > * { min-width: 0; }
.lp-ticks { gap: 16px; font-size: 16.5px; }
.lp-all { margin-top: 32px; text-align: center; }
.svc-grid--3 { background: var(--line); }
@media (min-width: 1200px) { .svc-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.ind-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
.ind { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ind h2 { font-size: clamp(24px, 2.8vw, 30px); margin: 8px 0 0; }
.ind p { color: var(--muted); }
.ind .link-arrow { margin-top: auto; align-self: flex-start; border: 0; }

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.contact-grid > * { min-width: 0; }
.contact-card { padding: 28px; border-radius: var(--radius-lg); }
.contact-card--dark { background: var(--ink); color: var(--white); }
.contact-card--dark h2 { font-size: 26px; }
.contact-card--dark p { color: var(--on-dark-muted); }
.contact-card--dark .btn { margin-top: 12px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list .card-ico { width: 42px; height: 42px; flex: none; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-list a, .contact-list span:not(.card-ico) { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-form-wrap { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--tint); scroll-margin-top: calc(var(--header-h) + 20px); }
.cform { display: grid; gap: 16px; }
.cform-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .cform-row { grid-template-columns: 1fr 1fr; } }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #D5DCE6; background: var(--white); color: var(--text); font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 13, 18, .08); }
.cform .btn { justify-self: start; }
@media (max-width: 479px) { .cform .btn { width: 100%; } }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.form-msg--ok { background: #E8F8F0; border: 1px solid #A7E3C6; color: #0B4D31; }
.form-msg--err { background: #FDECEC; border: 1px solid #F5B5B5; color: #7A1D1D; }

.faq-more { text-align: center; margin-top: 56px; }
.faq-more h2 { font-size: clamp(24px, 3vw, 32px); }
.faq-more p { color: var(--muted); }

.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(5, 1fr); } }
.logo-wall li { display: grid; place-items: center; background: var(--white); aspect-ratio: 16 / 9; padding: 20px; }
.logo-wall a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-wall img { max-height: 56px; max-width: 80%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

.metrics { display: grid; gap: 16px; }
@media (min-width: 640px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(3, 1fr); } }
.metric { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.metric-abbr { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--white); }
.metric h3 { font-size: 18px; margin: 18px 0 8px; }
.metric p { color: var(--muted); font-size: 15px; }
.metrics-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.metrics-note .ico { flex: none; }
.shot-fig { margin: 0 0 16px; break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shot-fig .shot { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.shot-fig .shot:hover { transform: none; }
.shot-cap { display: grid; gap: 4px; padding: 14px 16px 16px; font-size: 14px; border-top: 1px solid var(--line); }
.shot-cap strong { font-size: 17px; letter-spacing: -.01em; }
.shot-tags { font-size: 12.5px; color: var(--muted); }
.shot-note { color: #334155; line-height: 1.5; }
.marquee .shot { position: relative; }
.shot-badge { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 600; }

/* Footer services list in two columns on wide screens */
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1.8fr 1.3fr; } .foot-grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr; column-gap: 20px; } }

@media (max-width: 599px) { .shot-note { display: none; } .shot-cap { padding: 10px 12px 12px; } .shot-cap strong { font-size: 15px; } }

/* ------------------------------------------------------------------
 * 31. Dropdown navigation
 * ---------------------------------------------------------------- */
.menu .has-sub { position: relative; }
.menu .has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.menu .caret { opacity: .7; transition: transform .2s; }
.menu .has-sub:hover .caret, .menu .has-sub.is-open .caret { transform: rotate(180deg); }
.menu .sub {
	position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 260px;
	padding: 10px; border-radius: 18px; background: var(--white); color: var(--ink);
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 24px 60px rgba(15, 23, 42, .18); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu .has-sub:hover > .sub, .menu .has-sub:focus-within > .sub, .menu .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub ul { display: grid; gap: 2px; }
.menu .has-mega .sub { min-width: 600px; }
.menu .has-mega .sub ul { grid-template-columns: 1fr 1fr; }
.menu .sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; opacity: 1; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.menu .sub a:hover, .menu .sub a[aria-current] { background: var(--tint) !important; }
.sub-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--tint); flex: none; }
.menu .sub a:hover .sub-ico { background: var(--ink); color: var(--white); }
.menu .sub-all { justify-content: center; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; padding-top: 12px !important; font-weight: 600 !important; }
.drawer-group details summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; letter-spacing: -.01em; }
.drawer-group details summary::-webkit-details-marker { display: none; }
.drawer-group details[open] summary svg { transform: rotate(180deg); }
.drawer-group details ul { margin: 0 0 12px; padding-left: 12px; border-left: 2px solid var(--line); }
.drawer-group details li { border: 0; }
.drawer-group details li a { padding: 9px 2px; font-size: 16px; font-weight: 500; color: var(--muted); }
.drawer-group details li a.drawer-all { color: var(--ink); font-weight: 600; }

.shots-filter { margin-bottom: 24px; }
.shots-grid [hidden] { display: none !important; }
.results-intro { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 860px) { .results-intro { grid-template-columns: repeat(3, 1fr); } }
.results-intro div { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.results-intro strong { display: block; font-size: 16px; margin-bottom: 6px; }
.results-intro p { color: var(--muted); font-size: 14.5px; }

/* A backdrop-filter on the header would turn it into the containing block of the
   fixed mobile drawer, so it is switched off while the drawer is open. */
.site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }

/* Long button labels (e.g. "Explore Lead Generation & Conversion Optimization") wrap on phones */
@media (max-width: 599px) {
	.btn-row .btn { white-space: normal; text-align: center; max-width: 100%; }
	.svc-row-body .btn-row .btn { width: 100%; }
}

/* Footer: on phones show the first six services and a link to the rest */
@media (max-width: 899px) { .foot-svc li:nth-child(n+7):not(.foot-all) { display: none; } }
@media (min-width: 900px) { .foot-svc .foot-all { grid-column: 1 / -1; } }
.foot-all a { color: var(--white); font-weight: 600; }

/* ------------------------------------------------------------------
 * 32. Menu motion (v3.3)
 * ---------------------------------------------------------------- */
/* Burger → X */
.burger-lines { position: relative; display: block; width: 18px; height: 12px; }
.burger-lines i { position: absolute; left: 0; width: 100%; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger-lines i:nth-child(1) { top: 0; }
.burger-lines i:nth-child(2) { top: 5px; }
.burger-lines i:nth-child(3) { top: 10px; }
.burger.is-active .burger-lines i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger.is-active .burger-lines i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger.is-active .burger-lines i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.burger { transition: border-color .3s, background .3s; }

/* Drawer: fade + slide, items cascade in */
.drawer { opacity: 0; transform: translateY(-14px); transition: opacity .28s ease, transform .4s var(--ease); will-change: opacity, transform; }
.drawer.is-visible { opacity: 1; transform: none; }
.drawer > nav > ul > li { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s var(--ease); transition-delay: 0s; }
.drawer.is-visible > nav > ul > li { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 40ms); }
.drawer > nav > .btn, .drawer-note { opacity: 0; transition: opacity .35s ease .05s; }
.drawer.is-visible > nav > .btn, .drawer.is-visible .drawer-note { opacity: 1; transition-delay: .35s; }
.drawer-group details summary svg { transition: transform .3s var(--ease); }
.drawer-group details[open] > ul { animation: sub-open .35s var(--ease); }
@keyframes sub-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.drawer li a, .drawer-group summary { transition: color .2s, padding-left .25s var(--ease); }
.drawer li a:active, .drawer-group summary:active { padding-left: 6px; }

/* Desktop dropdown: softer pop with staggered items */
.menu .sub { transform: translateY(10px) scale(.98); transform-origin: top center; transition: opacity .22s ease, transform .3s var(--ease), visibility .3s; }
.menu .has-sub:hover > .sub, .menu .has-sub:focus-within > .sub, .menu .has-sub.is-open > .sub { transform: none; }
.menu .sub li { opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .3s var(--ease); }
.menu .has-sub:hover .sub li, .menu .has-sub:focus-within .sub li, .menu .has-sub.is-open .sub li { opacity: 1; transform: none; }
.menu .has-sub .sub li:nth-child(1) { transition-delay: .02s; } .menu .has-sub .sub li:nth-child(2) { transition-delay: .04s; }
.menu .has-sub .sub li:nth-child(3) { transition-delay: .06s; } .menu .has-sub .sub li:nth-child(4) { transition-delay: .08s; }
.menu .has-sub .sub li:nth-child(5) { transition-delay: .1s; } .menu .has-sub .sub li:nth-child(6) { transition-delay: .12s; }
.menu .has-sub .sub li:nth-child(n+7) { transition-delay: .14s; }

/* ------------------------------------------------------------------
 * 33. Performance: skip rendering off-screen sections until needed
 * ---------------------------------------------------------------- */
.marquee-track { will-change: transform; }
@media (max-width: 1023px) {
	.dot { animation: none; }
	.board-chart .draw { animation-duration: 1.2s; }
}
@media (prefers-reduced-motion: reduce) {
	.drawer, .drawer > nav > ul > li, .menu .sub, .menu .sub li { transition: none !important; transform: none !important; }
}

/* v3.4 */
.marquee .shot img { height: clamp(200px, 22vw, 260px); object-fit: contain; object-position: center; background: var(--white); }
.stats-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.dark .stats-note { color: var(--on-dark-muted); }
@media (max-width: 599px) { .intro-grid { gap: 12px; } .intro-grid .sec-head { margin-bottom: 8px; } }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: inherit; border: 1px solid currentColor; opacity: .85; white-space: nowrap; flex-shrink: 0; }
.lang-switch:hover { opacity: 1; }
@media (max-width: 599px) { .lang-switch { height: 30px; padding: 0 8px; font-size: 12px; } }
@media (max-width: 430px) {
	.site-header .nav { gap: 6px; }
	.site-header .nav-cta { gap: 5px; }
	.brand-logo { height: 38px; }
	.site-header .nav-cta .btn--sm { min-height: 36px; padding: 6px 10px; font-size: 12px; }
	.lang-switch { height: 28px; padding: 0 7px; font-size: 11px; border-width: 1px; }
	.burger { width: 38px; height: 38px; }
}
@media (max-width: 374px) {
	.brand-logo { height: 34px; }
	.site-header .nav-cta .btn--sm { padding: 6px 8px; font-size: 11px; }
}

/* Floating WhatsApp button (all pages) */
.wa-float { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 13px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .25s var(--ease), box-shadow .25s; animation: wa-in .5s var(--ease) .8s both; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.28); color: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.6s ease-out 2s 3; pointer-events: none; }
.wa-float-label { display: none; padding-right: 6px; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } .wa-float-label { display: inline; } }
[dir="rtl"] .wa-float { right: auto; left: 18px; }
[dir="rtl"] .wa-float-label { padding-right: 0; padding-left: 6px; }
@media (min-width: 900px) { [dir="rtl"] .wa-float { left: 24px; } }
body.is-locked .wa-float { opacity: 0; pointer-events: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::after { animation: none; } }
@media print { .wa-float { display: none; } }

/* Same header proportions in both languages */
.lang-switch { width: 76px; padding: 0; }
@media (max-width: 599px) { .lang-switch { width: 58px; padding: 0; } }
@media (max-width: 430px) {
	.lang-switch { width: 52px; }
	.site-header .nav-cta .btn--sm { width: 104px; padding-left: 0; padding-right: 0; text-align: center; }
}
@media (max-width: 374px) { .site-header .nav-cta .btn--sm { width: 100px; } }
@media (min-width: 431px) { .site-header .nav-cta .btn--sm { min-width: 216px; text-align: center; } }
@media (min-width: 431px) and (max-width: 599px) { .site-header .nav-cta .btn--sm { min-width: 0; } }

.cta-short { display: none; }
@media (max-width: 430px) { .cta-long { display: none; } .cta-short { display: inline; } }

/* Cookie notice (shown to visitors in Europe, or from "Cookie settings") */
.cookie-note { position: fixed; z-index: 95; left: 16px; right: 88px; bottom: 16px; max-width: 400px; padding: 16px 18px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.5; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0 0 12px; }
.cookie-note a { color: var(--on-dark); text-decoration: underline; }
.cookie-note-btns { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-note .btn--ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
@media (min-width: 900px) { .cookie-note { left: 24px; bottom: 24px; right: auto; } }
[dir="rtl"] .cookie-note { left: 88px; right: 16px; }
@media (min-width: 900px) { [dir="rtl"] .cookie-note { right: 24px; left: auto; } }
@media print { .cookie-note { display: none; } }

/* Category intro */
.cat-intro p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 10px; }
.cat-intro .cat-intro-link { color: var(--text); font-weight: 600; }
.cat-intro .cat-intro-link span { color: var(--muted); font-weight: 400; }

/* Contrast on the dark footer */
.site-footer .muted { color: var(--on-dark-muted); }
.foot-brand p { color: #C3CAD5; }

/* WhatsApp button: darker green so the white label passes contrast (4.5:1+) */
.wa-float { background: #15803D; }

/* Article images */
.tm-steps-img { margin: 32px 0; }
.tm-steps-img img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-cover img { width: 100%; height: auto; border-radius: var(--radius); }

/* Article covers are 1200x630: show them whole on cards */
.post-media { aspect-ratio: 1200 / 630; }
