/* ==========================================================================
   Salika Digital — main stylesheet (mobile-first)
   Brand: Burgundy #800B1B · Crimson #C51E32 · Wine #570812 · Espresso #241719
          Ivory #F8F1E9 · Blush #EACDC5 · Nude #E2C2AE · Rose #D8B6A8 · Cocoa #76534D
   ========================================================================== */

@font-face { font-family: "Sora"; src: url(../fonts/sora.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
	--black: #000000;
	--espresso: #241719;
	--wine: #570812;
	--burgundy: #800b1b;
	--crimson: #c51e32;
	--ivory: #f8f1e9;
	--blush: #eacdc5;
	--nude: #e2c2ae;
	--rose: #d8b6a8;
	--cocoa: #76534d;
	/* Dark (default): black */
	--bg: #000000;
	--bg-2: #0b0909;
	--surface: #121010;
	--bg-rgb: 0, 0, 0;
	--fg-rgb: 248, 241, 233;
	--text: var(--ivory);
	--accent: var(--blush);
	--accent-2: var(--rose);
	--muted: rgba(var(--fg-rgb), .68);
	--faint: rgba(var(--fg-rgb), .14);
	--line: rgba(var(--fg-rgb), .1);
	--glass: rgba(18, 16, 16, .6);
	--grad-1: linear-gradient(135deg, #800b1b, #c51e32);
	--grad-txt: linear-gradient(100deg, #c51e32 0%, #e8566a 45%, #eacdc5 100%);
	--grain: .05;
	--radius: 22px;
	--radius-sm: 14px;
	--ff-head: "Sora", system-ui, sans-serif;
	--ff-body: "Manrope", system-ui, sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
	color-scheme: dark;
}
/* Light: ivory + espresso from the brand guide */
:root[data-theme="light"] {
	--bg: #f8f1e9;
	--bg-2: #ffffff;
	--surface: #ffffff;
	--bg-rgb: 248, 241, 233;
	--fg-rgb: 36, 23, 25;
	--text: var(--espresso);
	--accent: var(--burgundy);
	--accent-2: var(--cocoa);
	--muted: rgba(var(--fg-rgb), .72);
	--faint: rgba(var(--fg-rgb), .18);
	--line: rgba(var(--fg-rgb), .12);
	--glass: rgba(255, 255, 255, .75);
	--grad-txt: linear-gradient(100deg, #570812 0%, #800b1b 40%, #c51e32 100%);
	--grain: .025;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 400 1rem/1.65 var(--ff-body); -webkit-font-smoothing: antialiased;
	overflow-x: hidden; padding-bottom: 72px; /* room for mobile bar */
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
em { font-style: normal; background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--crimson); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ivory); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
#main { outline: none; }

/* Grain + ambient glow */
body::before {
	content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow { display: none; }

/* ---------- Buttons ---------- */
.btn {
	--h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: var(--h); padding: 0 1.5em; border-radius: 999px; border: 1px solid transparent;
	font: 600 .98rem/1 var(--ff-head); letter-spacing: -.01em; cursor: pointer; position: relative;
	transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s;
	isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--grad-1); color: #fff; box-shadow: none; }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--faint); background: rgba(var(--fg-rgb), .04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--crimson); background: rgba(var(--fg-rgb), .08); }
.theme-toggle { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .05); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, transform .5s var(--ease); }
.theme-toggle:hover { border-color: var(--crimson); transform: rotate(20deg); }
.theme-toggle .ico { width: 20px; height: 20px; }
.theme-toggle .i-sun, :root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
.logo .logo--dark, :root[data-theme="light"] .logo .logo--light { display: none; }
:root[data-theme="light"] .logo .logo--dark { display: block; }
.btn--sm { --h: 42px; padding: 0 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; padding: 0 12px; pointer-events: none; }
.nav-pill {
	pointer-events: auto; max-width: 1240px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 12px;
	padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line);
	background: rgba(var(--bg-rgb), .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	transition: background .3s, transform .5s var(--ease);
}
.site-header.is-hidden .nav-pill { transform: translateY(-110%); }
.logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.logo img { height: 34px; width: auto; }
.footer-brand .logo img { height: 52px; }
@media (min-width: 1024px) { .logo img { height: 40px; } }
.custom-logo { max-height: 40px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font: 800 1.05rem/1 var(--ff-head); letter-spacing: .06em; }
.logo__text i { font: 600 .56rem/1 var(--ff-head); letter-spacing: .5em; color: var(--crimson); font-style: normal; margin-top: 4px; }
.nav-cta { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .05); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
	position: fixed; inset: 0; z-index: -1; padding: 110px var(--gutter) 40px; background: rgba(var(--bg-rgb), .97);
	display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-open .nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__list a { display: flex; align-items: center; min-height: 60px; font: 600 clamp(1.5rem, 6vw, 2rem)/1.1 var(--ff-head); letter-spacing: -.02em; }
.nav__list .sub-menu { list-style: none; padding: 0 0 14px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.nav__list .sub-menu a { font-size: 1rem; min-height: 44px; color: var(--muted); font-weight: 500; }
.nav__list .menu-item-has-children > a::after { content: "↓"; margin-left: auto; font-size: .7em; color: var(--muted); }
.nav__mobile-cta { margin-top: 32px; display: grid; gap: 16px; }
.nav__contact { color: var(--muted); text-align: center; margin: 0; }

/* ---------- Pill / eyebrow ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .04); font: 600 .7rem/1 var(--ff-head); letter-spacing: .14em; color: var(--accent); margin-bottom: 22px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 0 rgba(197,30,50,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(197,30,50,0); } 100% { box-shadow: 0 0 0 0 rgba(197,30,50,0); } }
.eyebrow { font: 600 .74rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.2s ease; }
.hero__canvas.is-ready { opacity: 1; }
@media (max-width: 1023px) {
	.hero { align-items: flex-end; padding-top: 44svh; }
	.hero--loc { padding-top: 36svh; }
	.hero__veil { background: linear-gradient(180deg, transparent 0%, rgba(var(--bg-rgb), .15) 30%, rgba(var(--bg-rgb), .88) 55%, var(--bg) 100%); }
}
@media (min-width: 1024px) {
	.hero__inner > *:not(.hero__title) { max-width: 600px; }
	.hero__title { font-size: clamp(4rem, 7.2vw, 6.8rem); }
}
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(120% 70% at 50% 110%, rgba(128,11,27,.45), transparent 60%), linear-gradient(180deg, rgba(var(--bg-rgb), .2) 0%, rgba(var(--bg-rgb), .0) 40%, rgba(var(--bg-rgb), .85) 100%); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.75rem, 11.5vw, 7.6rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__title--md { font-size: clamp(2.3rem, 8vw, 5.4rem); max-width: 16ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero__title .word { padding-bottom: .2em; margin-bottom: -.2em; }
.hero__title .word { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: .08s; }
.hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: .16s; }
.hero__title .line:nth-child(2) .word:nth-child(2) { animation-delay: .24s; }
.grad { background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero__lead { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--muted); max-width: 58ch; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__chips, .kw-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a, .hero__chips span, .kw-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); background: rgba(var(--bg-rgb), .4); backdrop-filter: blur(6px); transition: color .3s, border-color .3s; }
.hero__chips a:hover, .kw-chips a:hover { color: var(--text); border-color: var(--crimson); }
.hero__chips .ico, .kw-chips .ico { color: var(--crimson); }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font: 600 .66rem/1 ui-monospace, monospace; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--crimson), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1rem, 3vw, 1.4rem)/1 var(--ff-head); letter-spacing: .02em; text-transform: uppercase; color: rgba(var(--fg-rgb), .75); white-space: nowrap; }
.marquee li span { color: var(--crimson); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Kinetic type ---------- */
.kinetic { height: 160vh; position: relative; }
.kinetic__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-content: center; text-align: center; overflow: hidden; }
.kinetic__word { font: 800 clamp(4rem, 22vw, 17rem)/.9 var(--ff-head); letter-spacing: -.06em; margin: 0; transform: scale(var(--s, .6)); opacity: var(--o, .3); transition: transform .1s linear; will-change: transform; }
.kinetic__tag { font: 600 .74rem/1 ui-monospace, monospace; letter-spacing: .25em; text-transform: uppercase; color: var(--accent-2); margin-top: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(40px, 7vw, 80px) 0; }
.sec-head { margin-bottom: clamp(32px, 6vw, 60px); max-width: 760px; }
.sec-title { font-size: clamp(2rem, 6.4vw, 4rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 18px; }
.sec-sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.12rem); max-width: 60ch; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 6vw, 60px); }
.split-head .sec-head { margin-bottom: 0; }

.intro__statement { font: 600 clamp(1.6rem, 5vw, 3.4rem)/1.18 var(--ff-head); letter-spacing: -.03em; max-width: 22ch; margin-bottom: clamp(40px, 7vw, 80px); }
.intro__statement .w { opacity: .18; transition: opacity .5s; }
.intro__statement .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.stat { background: var(--bg); padding: clamp(22px, 4vw, 40px); }
.stat dt { font: 800 clamp(2.4rem, 7vw, 4.4rem)/1 var(--ff-head); letter-spacing: -.04em; background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat dd { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Category cards (3D tilt) ---------- */
.cat-grid { display: grid; gap: 18px; }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; will-change: transform; }
.cat-card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.cat-card:hover { border-color: rgba(197,30,50,.5); box-shadow: 0 40px 80px -40px rgba(197,30,50,.55); }
.cat-card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(var(--bg-rgb), .95)); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.12); }
.cat-card__body { position: relative; padding: 0 24px 26px; margin-top: -42px; transform: translateZ(40px); }
.cat-card__num { font: 600 .74rem/1 ui-monospace, monospace; letter-spacing: .2em; color: var(--accent-2); display: block; margin-bottom: 14px; }
.cat-card__icon { position: absolute; right: 24px; top: -6px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-1); color: #fff; }
.cat-card__icon .ico { width: 24px; height: 24px; }
.cat-card h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); }
.cat-card p { color: var(--muted); font-size: .95rem; }
.tag-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); transition: all .3s; }
.tag-list a:hover { color: #fff; background: var(--crimson); border-color: var(--crimson); }
.img-fallback { width: 100%; height: 100%; min-height: 200px; background: radial-gradient(60% 80% at 30% 30%, rgba(197,30,50,.5), transparent), radial-gradient(60% 80% at 80% 80%, rgba(128,11,27,.6), transparent), var(--espresso); }

/* ---------- Steps ---------- */
.approach { background: var(--ivory); color: var(--espresso); border-radius: clamp(28px, 5vw, 56px); margin: 0 clamp(8px, 1.5vw, 20px); }
.approach .sec-sub, .approach .step p { color: rgba(36,23,25,.72); }
.approach .eyebrow { color: var(--burgundy); }
.approach em { background: linear-gradient(100deg, #800b1b, #c51e32); -webkit-background-clip: text; background-clip: text; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(36,23,25,.08); box-shadow: 0 20px 40px -30px rgba(87,8,18,.35); transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(87,8,18,.5); }
.step__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-1); color: #fff; font: 700 .9rem/1 var(--ff-head); margin-bottom: 20px; }
.step h3 { font-size: 1.35rem; color: var(--espresso); }
.step p { margin: 0; font-size: .96rem; }

/* ---------- Markets ---------- */
.market-grid { display: grid; gap: 14px; }
.market-card { position: relative; display: block; padding: 28px 24px 70px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(100% 100% at 100% 0%, rgba(128,11,27,.35), transparent 60%), var(--bg-2); overflow: hidden; }
.market-card::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(197,30,50,.35), transparent 70%); transition: transform .8s var(--ease); }
.market-card:hover { border-color: rgba(197,30,50,.5); }
.market-card:hover::before { transform: scale(1.5); }
.market-card__code { font: 800 clamp(2.4rem, 8vw, 3.4rem)/1 var(--ff-head); letter-spacing: -.04em; display: block; margin-bottom: 18px; background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.market-card h3 { font-size: 1.15rem; position: relative; }
.market-card p { color: var(--muted); font-size: .9rem; margin: 0; position: relative; }
.market-card__go { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .4s var(--ease); }
.market-card:hover .market-card__go { color: #fff; background: var(--crimson); border-color: var(--crimson); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); transition: border-color .3s; }
.faq__item[open] { border-color: rgba(197,30,50,.45); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; min-height: 64px; font: 600 1.04rem/1.35 var(--ff-head); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--fg-rgb), .06); transition: transform .4s var(--ease), background .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--crimson); color: #fff; }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 140px 0 clamp(50px, 8vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero--sm { padding-bottom: 30px; }
.page-hero__glow { position: absolute; z-index: -1; inset: -20% -10% auto auto; width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(197,30,50,.38), rgba(128,11,27,.18) 40%, transparent 68%); filter: blur(20px); animation: float 12s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-40px, 30px) scale(1.06); } }
.page-title { font-size: clamp(2.3rem, 8vw, 5.2rem); font-weight: 800; letter-spacing: -.045em; max-width: 18ch; margin-bottom: 22px; }
.page-title--post { font-size: clamp(2rem, 6vw, 3.6rem); max-width: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--text); }
.kw-chips { margin-top: 6px; }

/* ---------- AEO answer box ---------- */
.answer-wrap { display: grid; gap: 22px; align-items: stretch; }
.answer { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid rgba(197,30,50,.35); background: linear-gradient(150deg, rgba(128,11,27,.22), var(--surface)); }
.answer::before { content: "Quick answer"; position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--crimson); color: #fff; font: 700 .66rem/1.4 var(--ff-head); letter-spacing: .14em; text-transform: uppercase; }
.answer__q { font-size: clamp(1.25rem, 3.4vw, 1.75rem); }
.answer__text { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(var(--fg-rgb), .86); }
.answer__meta { margin: 0; font-size: .8rem; color: var(--muted); }
.answer-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 220px; }
.answer-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 14px; }
.feature { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(197,30,50,.18), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.feature:hover::after { opacity: 1; }
.feature:hover { border-color: rgba(197,30,50,.4); }
.feature__num { position: absolute; right: 22px; top: 20px; font: 600 .74rem/1 ui-monospace, monospace; color: var(--accent-2); letter-spacing: .15em; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(197,30,50,.15); color: var(--crimson); margin-bottom: 20px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.kw-line { margin-top: 28px; font-size: .82rem; color: rgba(var(--fg-rgb), .5); }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); font: 600 1.02rem/1.3 var(--ff-head); transition: all .35s var(--ease); }
.related a:hover { border-color: var(--crimson); background: rgba(197,30,50,.1); padding-left: 28px; }

/* ---------- Services hub ---------- */
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter); }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.jump a:hover { color: var(--text); border-color: var(--crimson); }
.cat-section { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 110px) 0; }
.cat-section__inner { display: grid; gap: 32px; }
.cat-section__media { border-radius: var(--radius); overflow: hidden; margin-top: 24px; aspect-ratio: 16/10; border: 1px solid var(--line); }
.cat-section__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc-list a { position: relative; display: block; padding: 24px 70px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: all .4s var(--ease); }
.svc-list a:hover { border-color: rgba(197,30,50,.5); transform: translateX(6px); }
.svc-list h3 { font-size: 1.2rem; }
.svc-list p { margin: 0; color: var(--muted); font-size: .92rem; }
.svc-list__go { position: absolute; right: 20px; top: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(197,30,50,.15); color: var(--crimson); transition: all .4s; }
.svc-list a:hover .svc-list__go { background: var(--crimson); color: #fff; transform: rotate(-45deg); }
.svc-columns { display: grid; gap: 14px; }
.svc-col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.svc-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 14px; }
.svc-col__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-1); color: #fff; flex: none; }
.svc-col ul { list-style: none; padding: 0; margin: 0; }
.svc-col a { display: flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .93rem; border-bottom: 1px dashed var(--line); }
.svc-col a:hover { color: var(--text); }

/* ---------- Contact / forms ---------- */
.contact-band { background: linear-gradient(160deg, var(--wine), var(--bg) 70%); border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; }
.contact-band__inner { display: grid; gap: 32px; align-items: start; }
.glass { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.lead-form { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 58px; padding: 24px 16px 8px; border-radius: 14px; border: 1px solid var(--faint);
	background: rgba(var(--bg-rgb), .55); color: var(--text); font: 500 16px/1.3 var(--ff-body); appearance: none; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23eacdc5' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option, .field select optgroup { background: var(--bg-2); color: var(--text); }
.field label { position: absolute; left: 16px; top: 19px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(197,30,50,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label, .field--select select:has(option:checked:not([value=""])) + label { top: 8px; font-size: .72rem; color: var(--accent); letter-spacing: .02em; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; }
.form-msg--ok { background: rgba(34,160,90,.15); border: 1px solid rgba(34,160,90,.4); }
.form-msg--err { background: rgba(197,30,50,.15); border: 1px solid rgba(197,30,50,.5); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.contact-list .ico { color: var(--crimson); margin-top: 3px; }
.contact-list a:hover { color: var(--text); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 18px; }
.post-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.post-card:hover { border-color: rgba(197,30,50,.45); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { font-size: .8rem; color: var(--accent-2); margin-bottom: 10px; }
.post-card h2 { font-size: 1.3rem; }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); }
.pagination .current { color: #fff; background: var(--crimson); border-color: var(--crimson); }
.empty { text-align: center; padding: 40px 0; }
.empty .sec-sub { margin: 0 auto 24px; }
.post-byline { color: var(--muted); font-size: .92rem; }
.post-thumb img { border-radius: var(--radius); margin-bottom: 20px; }
.prose { font-size: 1.06rem; line-height: 1.8; color: rgba(var(--fg-rgb), .86); }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--crimson); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.giant-404 { font: 800 clamp(7rem, 30vw, 16rem)/.8 var(--ff-head); letter-spacing: -.06em; margin: 0 0 20px; background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(60px, 10vw, 110px) 0 0; overflow: hidden; }
.footer-cta { text-align: center; padding-bottom: clamp(50px, 8vw, 90px); border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.footer-cta__title { font: 800 clamp(2.4rem, 9vw, 6rem)/1 var(--ff-head); letter-spacing: -.05em; margin-bottom: 30px; }
.footer-grid { display: grid; gap: 8px; }
.footer-brand { margin-bottom: 24px; }
.footer-brand > p { color: var(--muted); font-size: .94rem; margin: 18px 0; max-width: 40ch; }
.footer-contact, .socials { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .92rem; }
.footer-contact .ico { color: var(--crimson); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; }
.socials a:hover { border-color: var(--crimson); }
.footer-col { border-bottom: 1px solid var(--line); }
.footer-col summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 54px; font: 700 .95rem/1 var(--ff-head); }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: "+"; font-size: 1.3rem; color: var(--crimson); transition: transform .3s; }
.footer-col[open] summary::after { transform: rotate(45deg); }
.footer-col ul { list-style: none; padding: 0 0 16px; margin: 0; }
.footer-col a { display: flex; align-items: center; min-height: 36px; color: var(--muted); font-size: .9rem; transition: color .25s, padding .25s; }
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding: 28px 0; margin-top: 30px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--text); }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--bg-rgb), .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform .5s var(--ease); }
.mobile-bar.is-hidden { transform: translateY(140%); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; font: 600 .85rem/1 var(--ff-head); }
.mobile-bar .mobile-bar__cta { flex: 1.4; background: var(--grad-1); color: #fff; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet ≥ 640
   ========================================================================== */
@media (min-width: 640px) {
	.cat-grid, .feature-grid, .market-grid, .post-grid, .svc-columns { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.lead-form { grid-template-columns: 1fr 1fr; }
	.field--full, .lead-form .btn, .form-note { grid-column: 1 / -1; }
	.hero__ctas .btn { flex: 0 0 auto; }
}

/* ==========================================================================
   Desktop ≥ 1024
   ========================================================================== */
@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.mobile-bar, .burger, .nav__mobile-cta { display: none; }
	.nav-cta { display: inline-flex; }
	.nav { position: static; inset: auto; z-index: auto; padding: 0; background: none; opacity: 1; visibility: visible; flex-direction: row; overflow: visible; }
	.nav__list { display: flex; gap: 4px; }
	.nav__list > li { border: 0; position: relative; }
	.nav__list a { min-height: 44px; padding: 0 16px; font: 500 .92rem/1 var(--ff-body); letter-spacing: 0; color: var(--muted); border-radius: 999px; transition: color .25s, background .25s; }
	.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--text); background: rgba(var(--fg-rgb), .06); }
	.nav__list .menu-item-has-children > a::after { margin-left: 6px; }
	.nav__list .sub-menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 230px; display: block; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: rgba(var(--bg-rgb), .95); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.nav__list .sub-menu a { width: 100%; color: var(--muted); }
	.nav-pill { height: 66px; padding-left: 24px; }

	.scroll-hint { display: flex; }
	.cat-grid { grid-template-columns: repeat(12, 1fr); }
	.cat-card { grid-column: span 4; }
	.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 6; }
	.steps, .market-grid, .feature-grid { grid-template-columns: repeat(4, 1fr); }
	.post-grid, .svc-columns { grid-template-columns: repeat(3, 1fr); }
	.answer-wrap { grid-template-columns: 1.3fr 1fr; }
	.answer-wrap--single { grid-template-columns: 1fr; max-width: 980px; }
	.contact-band__inner { grid-template-columns: 1fr 1.1fr; gap: 60px; }
	.cat-section__inner { grid-template-columns: 1fr 1.25fr; gap: 60px; }
	.cat-section__aside { position: sticky; top: 110px; align-self: start; }
	.footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 32px; }
	.footer-brand { grid-row: span 3; }
	.footer-col { border: 0; }
	.footer-col summary { pointer-events: none; min-height: 0; margin-bottom: 14px; color: var(--text); }
	.footer-col summary::after { display: none; }
	.cursor-glow { display: block; position: fixed; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0; background: radial-gradient(circle, rgba(197,30,50,.12), transparent 65%); transform: translate(var(--cx, -999px), var(--cy, -999px)) translate(-50%, -50%); transition: transform .25s linear; }
}

@media (min-width: 1280px) {
	.footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); }
	.footer-brand { grid-row: span 2; }
}

/* ---------- Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.hero__title .word { transform: none; }
	.js .reveal { opacity: 1; transform: none; }
	.kinetic { height: auto; }
	.kinetic__sticky { position: relative; height: auto; padding: 80px 0; }
	.kinetic__word { transform: none; opacity: 1; }
}
@media (hover: none) { .tilt { transform: none !important; } }

/* Logged-in admin bar offset */
.admin-bar .site-header { top: 58px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 44px; } }

/* ---------- Light-mode specifics ---------- */
:root[data-theme="light"] .approach { background: var(--espresso); color: var(--ivory); }
:root[data-theme="light"] .approach .sec-sub { color: rgba(248,241,233,.72); }
:root[data-theme="light"] .approach .eyebrow { color: var(--rose); }
:root[data-theme="light"] .approach em { background: linear-gradient(100deg, #c51e32, #eacdc5); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="light"] .contact-band { background: linear-gradient(160deg, var(--blush), var(--bg) 70%); }
:root[data-theme="light"] .marquee li { color: rgba(var(--fg-rgb), .8); }
:root[data-theme="light"] .hero__veil { background: radial-gradient(120% 70% at 50% 110%, rgba(197,30,50,.16), transparent 60%), linear-gradient(180deg, rgba(var(--bg-rgb), .15) 0%, rgba(var(--bg-rgb), 0) 40%, rgba(var(--bg-rgb), .85) 100%); }
@media (max-width: 1023px) { :root[data-theme="light"] .hero__veil { background: linear-gradient(180deg, transparent 0%, rgba(var(--bg-rgb), .15) 30%, rgba(var(--bg-rgb), .9) 55%, var(--bg) 100%); } }
:root[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(197,30,50,.08), transparent 65%); }
:root[data-theme="light"] .market-card { background: radial-gradient(100% 100% at 100% 0%, rgba(197,30,50,.12), transparent 60%), var(--bg-2); }
:root[data-theme="light"] .market-card::before { background: radial-gradient(circle, rgba(197,30,50,.14), transparent 70%); }
:root[data-theme="light"] .cat-card:hover { box-shadow: 0 40px 80px -50px rgba(87,8,18,.4); }
:root[data-theme="light"] .glass { box-shadow: 0 30px 60px -40px rgba(87,8,18,.3); }
html { transition: background-color .4s; }
/* Light mode: keep category artwork vivid (no ivory wash-out) */
:root[data-theme="light"] .cat-card { border-color: rgba(36,23,25,.1); box-shadow: 0 30px 60px -45px rgba(87,8,18,.45); }
:root[data-theme="light"] .cat-card__media { background: var(--espresso); }
:root[data-theme="light"] .cat-card__media::after { background: linear-gradient(180deg, transparent 72%, rgba(36,23,25,.28)); }
:root[data-theme="light"] .cat-card__media img,
:root[data-theme="light"] .cat-section__media img,
:root[data-theme="light"] .answer-media img { filter: saturate(1.12) contrast(1.06); }
:root[data-theme="light"] .cat-card__body { margin-top: 0; padding-top: 24px; }
:root[data-theme="light"] .cat-card__icon { top: -26px; box-shadow: 0 0 0 5px var(--surface); }
:root[data-theme="light"] .cat-section__media,
:root[data-theme="light"] .answer-media { border-color: transparent; box-shadow: 0 30px 60px -40px rgba(87,8,18,.5); }


/* ---------- Mobile polish ---------- */
@media (max-width: 1023px) {
	/* Blur/transform on the pill would trap the fixed full-screen menu inside it */
	.nav-open .nav-pill, .nav-open .site-header.is-hidden .nav-pill { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: var(--bg); }
	.nav { background: var(--bg); }
	.nav-open .mobile-bar { transform: translateY(140%); }
	.nav-open .ht-ctc { display: none !important; }
	.hero .pill { font-size: .62rem; letter-spacing: .08em; gap: 8px; padding: 8px 12px; }
	.footer-contact a, .contact-list a { display: inline-flex; align-items: center; min-height: 40px; }
}
