/* ==========================================================================
   AVA Digital — main stylesheet
   Palette from the AVA 2025 company profile
   ========================================================================== */

/* ---------- Font: Archivo (variable weight + width), SIL OFL, bundled locally ---------- */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin.woff2") format("woff2-variations"), url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--midnight: #1A0533;
	--night: #2E0063;
	--night-2: #3B0A78;
	--plum: #8C1A8E;
	--magenta: #C42FD9;
	--glow: #E44DFF;
	--mist: #F5F1FA;
	--mist-2: #EAE2F3;
	--ink: #160A26;
	--ink-soft: #4A3D5C;
	--white: #FFFFFF;
	--line-dark: rgba(255, 255, 255, .14);
	--line-light: rgba(46, 0, 99, .14);
	--grad: linear-gradient(115deg, #8C1A8E 0%, #C42FD9 55%, #E44DFF 100%);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 22px;
	--radius-lg: 36px;
	--pill: 999px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ticker-h: 38px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--midnight);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--glow); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); color: var(--night); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.h1, .hero-title, .page-title {
	font-stretch: 118%;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: -.02em;
	line-height: .95;
}
.h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); font-stretch: 108%; line-height: 1.08; max-width: 22ch; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-stretch: 105%; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 60ch; }
.outline {
	color: transparent;
	-webkit-text-stroke: 2px currentColor;
	-webkit-text-stroke-color: var(--glow);
}
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--glow); } }

.label {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	margin-bottom: 1.4rem; color: var(--magenta);
}
.label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(228, 77, 255, .18); }
.section--dark .label, .hero .label, .page-hero .label, .cta-band .label { color: var(--glow); }

/* ---------- Buttons ---------- */
.btn {
	--b-bg: var(--grad); --b-fg: var(--white);
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: 16px 26px; border-radius: var(--pill); border: 0;
	background: var(--b-bg); color: var(--b-fg);
	font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
	box-shadow: 0 10px 30px -10px rgba(196, 47, 217, .65);
	isolation: isolate; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .16); transform: translateX(-101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(228, 77, 255, .8); }
.btn:hover::after { transform: translateX(0); }
.btn svg { transition: transform .3s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--glow); }
.section--light .btn--ghost { --b-fg: var(--night); box-shadow: inset 0 0 0 1.5px var(--line-light); }
.btn--dark { --b-bg: var(--night); box-shadow: 0 10px 30px -14px rgba(46, 0, 99, .8); }
.btn--sm { padding: 12px 20px; font-size: .92rem; }

/* ---------- Ticker ---------- */
.ticker {
	height: var(--ticker-h); overflow: hidden; background: var(--grad); color: var(--white);
	display: flex; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	position: relative; z-index: 60;
}
.ticker-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; animation: marquee 40s linear infinite; padding-left: 28px; }
.ticker-track i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(26, 5, 51, .55);
	backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: background .3s, border-color .3s;
	color: var(--white);
}
.site-header.is-scrolled { background: rgba(26, 5, 51, .9); border-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.ava-mark { width: 46px; height: 46px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .ava-mark { transform: rotate(-12deg); }
.brand-word { font-weight: 850; font-stretch: 120%; font-size: 1.25rem; letter-spacing: .02em; line-height: 1; }
.brand-word span { font-weight: 400; margin-left: 6px; font-stretch: 100%; opacity: .85; }
.custom-logo { max-height: 52px; width: auto; }

.main-nav .menu, .main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > .menu, .main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: .96rem;
	transition: background .25s, color .25s;
}
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a:not([href*="#"]) { background: rgba(255, 255, 255, .08); color: var(--glow); }
.main-nav .chev { transition: transform .25s; }
.main-nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 10px;
	background: var(--white); color: var(--ink); border-radius: 18px;
	box-shadow: 0 30px 60px -20px rgba(26, 5, 51, .55);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.main-nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav .sub-menu a:hover { background: var(--mist); color: var(--plum); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav li:hover > a .chev { transform: rotate(180deg); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); }
.nav-toggle .bars { display: flex; flex-direction: column; gap: 6px; width: 20px; height: 10px; line-height: 0; }
.nav-toggle .bars i { display: block; flex: none; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-open .nav-toggle .bars i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle .bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1020px) {
	.nav-toggle { display: flex; align-items: center; justify-content: center; position: relative; }
	.header-actions .btn { display: none; }
	.main-nav {
		position: fixed; inset: 0; top: 0; z-index: -1;
		padding: 110px var(--gutter) 40px;
		background: radial-gradient(120% 80% at 100% 0%, rgba(196, 47, 217, .35), transparent 60%), var(--midnight);
		display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
		opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .35s var(--ease);
		overflow-y: auto;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav > .menu, .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line-dark); }
	.main-nav .menu > li > a { font-size: 1.6rem; font-stretch: 112%; font-weight: 800; padding: 18px 0; border-radius: 0; width: 100%; justify-content: space-between; }
	.main-nav .menu > li > a:hover { background: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; color: var(--white); box-shadow: none; padding: 0 0 14px; min-width: 0; }
	.main-nav .sub-menu a { padding: 8px 0; opacity: .8; }
	.main-nav .sub-menu a:hover { background: none; color: var(--glow); }
	.nav-mobile-extra { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
}
@media (max-width: 1020px) { .site-header .main-nav { color: var(--white); } }

/* ---------- Glow blobs (shared) ---------- */
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.hero-glow i:nth-child(1) { width: 46vw; height: 46vw; background: #C42FD9; top: -18vw; right: -10vw; }
.hero-glow i:nth-child(2) { width: 34vw; height: 34vw; background: #5B1BD1; bottom: -16vw; left: -8vw; animation-delay: -6s; }
.hero-glow i:nth-child(3) { width: 22vw; height: 22vw; background: #E44DFF; top: 40%; left: 45%; opacity: .25; animation-delay: -12s; }
@keyframes float { to { transform: translate3d(-4vw, 3vw, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .hero-glow i, .ticker-track, .logo-track, .vm-track { animation: none !important; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: var(--white); overflow: hidden;
	min-height: calc(100svh - 80px - var(--ticker-h));
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(60px, 9vw, 120px) 0 40px;
	background:
		linear-gradient(100deg, rgba(26, 5, 51, .97) 0%, rgba(26, 5, 51, .82) 42%, rgba(46, 0, 99, .35) 100%),
		var(--hero-bg) center / cover no-repeat,
		var(--midnight);
}
body:not(.has-ticker) .hero { min-height: calc(100svh - 80px); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.8rem, 8.2vw, 7.4rem); margin-bottom: .35em; }
.hero-title .outline { display: block; -webkit-text-stroke-width: clamp(1.2px, .18vw, 2.5px); }
.hero-text { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 54ch; color: rgba(255, 255, 255, .85); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-cards { position: relative; height: 460px; }
.pcard {
	position: absolute; width: 270px; padding: 20px 22px; border-radius: 22px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
	animation: bob 7s ease-in-out infinite;
}
.pcard--a { top: 0; right: 0; }
.pcard--b { top: 205px; left: 0; animation-delay: -2.5s; width: 320px; }
.pcard--c { bottom: 0; right: 24px; animation-delay: -4.5s; width: 230px; background: var(--grad); border-color: transparent; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .pcard { animation: none; } }
.pcard-head { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; opacity: .85; margin-bottom: 10px; }
.pdot { width: 8px; height: 8px; border-radius: 50%; background: #4BE38F; box-shadow: 0 0 0 3px rgba(75, 227, 143, .25); }
.pdot--alt { background: var(--glow); box-shadow: 0 0 0 3px rgba(228, 77, 255, .25); }
.pcard-num { white-space: nowrap; font-size: 2.6rem; font-weight: 850; font-stretch: 115%; line-height: 1; }
.pcard-num.sm { font-size: 1.7rem; }
.pcard-label { font-size: .82rem; opacity: .8; }
.pcard-row { display: flex; gap: 22px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 14px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--glow), rgba(196, 47, 217, .3)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .1s; } .bars i:nth-child(3) { animation-delay: .2s; } .bars i:nth-child(4) { animation-delay: .3s; } .bars i:nth-child(5) { animation-delay: .4s; } .bars i:nth-child(6) { animation-delay: .5s; }
@keyframes grow { from { transform: scaleY(0); } }

.hero-platforms { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hp-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; font-weight: 600; }
.hero-platforms ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.hero-platforms li { font-weight: 800; font-stretch: 112%; font-size: 1.1rem; opacity: .9; }

@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-cards { height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
	.pcard { position: relative; inset: auto !important; width: auto !important; animation: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--light { background: var(--mist); color: var(--ink); }
.section--dark { background: var(--midnight); color: var(--white); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }

/* About */
.about { background: var(--white); }
.statement {
	font-size: clamp(1.6rem, 3.3vw, 2.9rem); font-weight: 700; line-height: 1.18; letter-spacing: -.015em;
	max-width: 30ch; margin-bottom: 1.4em; color: var(--ink);
}
.statement .w { opacity: .15; transition: opacity .5s; }
.statement .w.on { opacity: 1; }
.about-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.about-logos { display: flex; }
.about-logos span { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line-light); overflow: hidden; display: grid; place-items: center; margin-left: -12px; }
.about-logos span:first-child { margin-left: 0; }
.about-logos img { width: 82%; height: 82%; object-fit: contain; }
.about-line { margin: 0; font-weight: 600; max-width: 34ch; color: var(--ink-soft); }

/* Services */
.services { background: radial-gradient(90% 60% at 100% 0%, rgba(140, 26, 142, .45), transparent 60%), var(--midnight); }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab-list button {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 22px; border-radius: var(--pill); border: 1px solid var(--line-dark);
	background: transparent; color: var(--white); font-weight: 700; font-size: 1rem; transition: all .25s;
}
.tab-num { font-size: .75rem; opacity: .55; font-weight: 600; }
.tab-list button:hover { border-color: var(--glow); }
.tab-list button[aria-selected="true"] { background: var(--white); color: var(--night); border-color: var(--white); }
.tab-list button[aria-selected="true"] .tab-num { color: var(--magenta); opacity: 1; }
.tab-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(14px, 2vw, 22px); animation: fadeUp .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.panel-media { position: relative; border-radius: calc(var(--radius-lg) - 10px); overflow: hidden; min-height: 380px; background: var(--night); }
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26, 5, 51, .85)); }
.panel-word { position: absolute; left: 22px; bottom: 10px; z-index: 1; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 850; font-stretch: 122%; text-transform: uppercase; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); }
.panel-body { padding: clamp(10px, 2vw, 26px) clamp(6px, 1.5vw, 18px) clamp(10px, 2vw, 26px) 0; }
.panel-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-stretch: 108%; }
.panel-body p { color: rgba(255, 255, 255, .78); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; font-size: .98rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) {
	.tab-panel { grid-template-columns: 1fr; }
	.panel-media { min-height: 240px; }
	.panel-body { padding: 8px; }
	.check-list { grid-template-columns: 1fr; }
	.tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.tab-list button { flex: none; }
}

/* Proof */
.proof { overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.proof-grid .lead { color: var(--ink-soft); }
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.award { background: var(--white); border-radius: var(--radius); padding: 22px; display: grid; gap: 2px; border: 1px solid var(--line-light); transition: transform .3s var(--ease), box-shadow .3s; }
.award:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(46, 0, 99, .5); }
.award svg { color: var(--magenta); margin-bottom: 8px; }
.award strong { font-stretch: 106%; font-size: 1.05rem; line-height: 1.2; }
.award span { color: var(--ink-soft); font-size: .9rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line-light); }
.stats--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stats--2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.stats--1 { grid-template-columns: 1fr; margin-top: 0; }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat-num { white-space: nowrap; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 850; font-stretch: 115%; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat-label { color: var(--ink-soft); font-weight: 500; max-width: 24ch; margin: 0; }
@media (max-width: 860px) {
	.proof-grid { grid-template-columns: 1fr; }
	.stats, .stats--3 { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .awards { grid-template-columns: 1fr; } }

.logo-marquee { margin-top: clamp(50px, 7vw, 90px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-tile { flex: none; width: 200px; height: 104px; background: var(--white); border-radius: 18px; border: 1px solid var(--line-light); display: grid; place-items: center; padding: 16px 22px; }
.logo-tile img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: all .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Work / case cards */
.work { background: radial-gradient(80% 50% at 0% 100%, rgba(91, 27, 209, .35), transparent 60%), var(--midnight); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.case-card:hover { transform: translateY(-6px); border-color: rgba(228, 77, 255, .6); background: rgba(255, 255, 255, .08); }
.case-card--featured { grid-column: span 2; background: linear-gradient(140deg, rgba(140, 26, 142, .55), rgba(46, 0, 99, .6)); }
.case-link { display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.6vw, 34px); text-decoration: none; color: var(--white); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.case-logo { width: 108px; height: 54px; background: var(--white); border-radius: 12px; display: grid; place-items: center; padding: 6px 10px; }
.case-logo img { max-height: 42px; width: auto; object-fit: contain; }
.case-tag { max-width: 60%; font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line-dark); opacity: .85; text-align: right; }
.case-main { margin-bottom: 14px; }
.case-num { display: block; white-space: nowrap; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 850; font-stretch: 116%; line-height: 1; letter-spacing: -.02em; }
.case-card--featured .case-num { font-size: clamp(3.4rem, 8vw, 6.4rem); }
.case-num-label { font-size: .9rem; color: var(--glow); font-weight: 600; }
.case-title { font-size: 1.3rem; font-stretch: 104%; line-height: 1.2; margin-bottom: 12px; }
.case-card--featured .case-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.case-summary { color: rgba(255, 255, 255, .78); max-width: 52ch; }
.case-stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: auto 0 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.case-stats dt { font-weight: 800; font-size: 1.15rem; font-stretch: 110%; }
.case-stats dd { margin: 0; font-size: .82rem; opacity: .7; }
.case-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--glow); margin-top: auto; }
.case-stats + .case-more { margin-top: 0; }
.case-card:hover .case-more svg { transform: translateX(4px); }
.case-more svg { transition: transform .3s; }
@media (max-width: 1020px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } .case-card--featured { grid-column: auto; } }

/* Values / manifesto */
.values {
	position: relative; color: var(--white); overflow: hidden;
	padding: clamp(80px, 10vw, 140px) 0;
	background: linear-gradient(180deg, rgba(46, 0, 99, .92), rgba(26, 5, 51, .96)), var(--values-bg) center / cover, var(--night);
}
.values-marquee { overflow: hidden; margin-bottom: clamp(40px, 6vw, 80px); }
.vm-track { display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite; }
.vm-track span { font-size: clamp(3.4rem, 10vw, 9rem); font-weight: 850; font-stretch: 125%; text-transform: uppercase; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); white-space: nowrap; }
.vm-track span:nth-child(3n+2) { -webkit-text-stroke-color: var(--glow); }
.values-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.values-copy .lead { color: rgba(255, 255, 255, .82); }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-list li { display: grid; gap: 4px; padding: 24px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); position: relative; padding-left: 64px; }
.value-list li::before { content: ""; position: absolute; left: 26px; top: 26px; width: 4px; height: 44px; border-radius: 4px; background: var(--grad); transform: skewX(-18deg); }
.value-list strong { font-size: 1.3rem; text-transform: uppercase; font-stretch: 114%; color: var(--glow); }
@media (max-width: 860px) { .values-inner { grid-template-columns: 1fr; } }

/* Team */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 980px; }
.member { display: flex; flex-direction: column; }
.member-photo {
	position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
	background: radial-gradient(90% 70% at 50% 100%, #E9D3F5, #F5F1FA 70%);
	margin-bottom: 22px; border: 1px solid var(--line-light);
}
.member-photo::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: var(--grad); filter: blur(50px); opacity: .35; }
.member-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member h3 { font-size: 1.45rem; font-stretch: 106%; margin-bottom: 4px; }
.member-role { color: var(--plum); font-weight: 700; margin-bottom: 6px; }
.member-tag { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.member-bio { color: var(--ink-soft); font-size: .98rem; }
.member-power { margin-top: auto; padding: 14px 16px; background: var(--mist); border-radius: 14px; font-size: .95rem; }
.member-power strong { color: var(--magenta); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* Testimonials */
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); display: grid; place-items: center; transition: all .25s; }
.slider-btn:hover { background: var(--white); color: var(--night); }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.slider::-webkit-scrollbar { display: none; }
.quote { margin: 0; scroll-snap-align: start; padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 22px; }
.quote-mark { color: var(--glow); }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; font-weight: 500; }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: .9rem; opacity: .9; }
.quote figcaption strong { display: block; font-size: 1rem; }
.quote-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-light); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: 0 24px 50px -30px rgba(46, 0, 99, .45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); transition: background .3s, transform .3s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--night); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--grad); transform: rotate(45deg); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: var(--white); }
.faq-a { padding: 0 26px 22px; color: var(--ink-soft); }
.faq-a p { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* CTA band + form */
.cta-band { position: relative; overflow: hidden; color: var(--white); padding: clamp(80px, 10vw, 140px) 0; background: var(--night); }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.cta-copy .lead { color: rgba(255, 255, 255, .85); margin-bottom: 1.6rem; }
.cta-contacts { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 16px; }
.cta-contacts li { display: grid; gap: 2px; font-size: 1.15rem; font-weight: 700; }
.cta-contacts span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; font-weight: 600; }
.cta-contacts a { text-decoration: none; }
.cta-contacts a:hover { color: var(--glow); }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-card h3, .form-card .h3 { font-size: 1.5rem; font-stretch: 106%; margin-bottom: 18px; }
.form-card--light { box-shadow: 0 30px 60px -36px rgba(46, 0, 99, .45); border: 1px solid var(--line-light); }
.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea, .lead-form input, .wpcf7 input:not([type=submit]), .wpcf7 textarea, .wpcf7 select {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--mist-2); background: var(--mist);
	transition: border-color .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%232E0063' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: var(--white); }
.lead-form .btn { justify-self: start; margin-top: 6px; }
.form-note { padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; }
.form-note--ok { background: #E6F9EE; color: #0F6B3A; }
.form-note--err { background: #FDECEE; color: #9B1C2C; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255, 255, 255, .82); padding: clamp(60px, 8vw, 100px) 0 30px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer-top:has(.footer-news) { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; }
.site-footer .brand { color: var(--white); }
.footer-tagline { margin: 18px 0; font-weight: 700; color: var(--white); font-stretch: 110%; }
.footer-col h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--glow); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--white); transition: all .25s; }
.socials a:hover { background: var(--grad); border-color: transparent; }
.footer-giant { display: flex; flex-wrap: nowrap; gap: .3em; justify-content: space-between; white-space: nowrap; padding: 40px 0 24px; font-size: clamp(1.1rem, 3.9vw, 4rem); font-weight: 850; font-stretch: 125%; text-transform: uppercase; line-height: .95; }
.footer-giant span { color: transparent; -webkit-text-stroke: 1.2px rgba(228, 77, 255, .55); }
.footer-giant span:nth-child(2) { -webkit-text-stroke-color: rgba(255, 255, 255, .35); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; opacity: .7; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
@media (max-width: 960px) { .footer-top, .footer-top:has(.footer-news) { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top, .footer-top:has(.footer-news) { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px); background: var(--midnight); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 18ch; margin-bottom: .3em; }
.page-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 60ch; }
.page-sub p { margin: 0; }
.post-meta { font-size: .88rem; font-weight: 600; opacity: .75; margin-bottom: .6em; }
.giant-404 { font-size: clamp(6rem, 22vw, 16rem); font-weight: 850; font-stretch: 125%; line-height: .9; margin: 0 0 .1em; color: transparent; -webkit-text-stroke: 2px var(--glow); }

.case-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.case-hero-logo { background: var(--white); border-radius: var(--radius); padding: 22px 28px; width: 240px; }
.case-hero-logo img { margin: auto; max-height: 120px; width: auto; }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.case-meta dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); font-weight: 700; margin-bottom: 4px; }
.case-meta dd { margin: 0; font-weight: 600; }
.case-results { padding-bottom: 0; }
.case-results .stats { border-top: 0; }
.case-body-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.insight { position: sticky; top: 120px; padding: 30px; border-radius: var(--radius-lg); background: var(--night); color: var(--white); border-left: 6px solid var(--magenta); }
.insight-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); font-weight: 700; }
.insight-text { font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin: 0; }
@media (max-width: 860px) {
	.case-hero-grid, .case-body-grid { grid-template-columns: 1fr; }
	.case-hero-logo { width: 180px; }
	.case-meta { grid-template-columns: 1fr 1fr; }
	.insight { position: static; }
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-cards { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 12px; }
.contact-cards li { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line-light); display: grid; gap: 2px; font-weight: 700; font-size: 1.1rem; }
.contact-cards span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.contact-cards a { text-decoration: none; }
.contact-page .socials a { color: var(--night); border-color: var(--line-light); }
.contact-page .socials a:hover { color: var(--white); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(46, 0, 99, .5); }
.post-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { display: grid; place-items: center; height: 100%; background: radial-gradient(80% 80% at 80% 0%, rgba(228, 77, 255, .6), transparent 60%), var(--night); }
.post-card-ph svg { width: 80px; height: 80px; }
.post-card-body { padding: 24px 26px 28px; }
.post-card-body .post-meta { color: var(--magenta); opacity: 1; }
.post-card-title { font-size: 1.3rem; font-stretch: 104%; line-height: 1.2; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { color: var(--plum); }
.post-card-body p:last-child { color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line-light); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--night); color: var(--white); }

.single-thumb { margin: 0 auto 40px; max-width: 980px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { max-width: 760px; margin-inline: auto; font-size: 1.08rem; }
.case-body .entry-content { margin: 0; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 106%; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.4em; }
.entry-content a { color: var(--plum); font-weight: 600; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .5em; }
.entry-content li::marker { color: var(--magenta); }
.entry-content blockquote { margin: 1.6em 0; padding: 24px 28px; border-left: 5px solid var(--magenta); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.2rem; font-weight: 600; }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { max-width: 1100px; margin-inline: calc((760px - 1100px) / 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
@media (max-width: 1160px) { .entry-content .alignwide { margin-inline: 0; max-width: 100%; } }
.wp-block-button__link { background: var(--grad); border-radius: var(--pill); font-weight: 700; padding: 14px 26px; }
.entry-foot { max-width: 760px; margin: 50px auto 0; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line-light); font-size: .85rem; margin: 0 6px 6px 0; text-decoration: none; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; max-width: 760px; margin-inline: auto; }
.post-navigation a { display: block; padding: 20px 22px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); text-decoration: none; font-weight: 700; height: 100%; }
.post-navigation a:hover { border-color: var(--magenta); }
.post-navigation span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 4px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.empty { text-align: center; }

.search-form { display: flex; gap: 8px; justify-content: center; }
.search-form input[type=search] { padding: 14px 18px; border-radius: var(--pill); border: 1.5px solid var(--mist-2); font: inherit; min-width: 260px; }
.search-form input[type=submit] { padding: 14px 22px; border-radius: var(--pill); border: 0; background: var(--night); color: var(--white); font-weight: 700; }

.comments { max-width: 760px; margin: 60px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--white); padding: 20px; border-radius: var(--radius); margin-bottom: 14px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--mist-2); font: inherit; }
.comment-form .submit { background: var(--grad); color: var(--white); border: 0; padding: 14px 24px; border-radius: var(--pill); font-weight: 700; }

/* Widgets */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }

/* WP core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--ink-soft); }
.sticky .post-card-title::after { content: " ★"; color: var(--magenta); }
.bypostauthor { outline: 0; }
.gallery-caption { font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Mobile menu: drop the blur so the fixed panel covers the viewport */
@media (max-width: 1020px) {
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--midnight); }
}
@media (max-width: 600px) { .pcard--c { display: none; } }
@media (max-width: 600px) {
	.stats--3, .stats--2 { grid-template-columns: 1fr; }
	.stats--3 .stat, .stats--2 .stat { border-left: 0; padding-left: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
	.stats .stat-num { font-size: clamp(2rem, 9vw, 2.6rem); }
	.stat { min-width: 0; }
}
.single-post .page-title, .single-ava_case .page-title { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 22ch; }
