/* ==========================================================================
   Best Brandify Studio — main stylesheet
   Brand: #3e89ff (primary) · #1F437D (navy) · Poppins (headings) · Inter (body)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--primary: #3e89ff;
	--primary-600: #2a74ea;
	--primary-soft: rgba(62, 137, 255, .14);
	--navy: #1f437d;
	--navy-900: #10264a;
	--white: #ffffff;
	--ink: #121212;

	--font-head: "Clash Display", "Satoshi", system-ui, sans-serif;
	--font-body: "Satoshi", system-ui, sans-serif;
	--ls-display: -.025em;

	--container: 100vw; /* full width in every design; reading columns use .container--narrow / --mid */
	--gutter: clamp(16px, 3.6vw, 72px);
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--header-h: 96px;

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.77, 0, .175, 1);

	--fs-body: clamp(15px, .3vw + 14px, 17px);
	--fs-lg: clamp(17px, .5vw + 15px, 21px);
	--fs-h1: clamp(48px, 10vw, 150px);
	--fs-h2: clamp(40px, 7vw, 104px);
	--fs-h3: clamp(30px, 4vw, 56px);
	--section: clamp(88px, 12vw, 168px);
}

/* Dark tokens (default — matches the Osty build) */
:root,
:root[data-theme="dark"] {
	--bg: #121212;
	--bg-2: #181818;
	--surface: #1c1c1c;
	--surface-2: #262626;
	--line: rgba(255, 255, 255, .1);
	--line-strong: rgba(255, 255, 255, .22);
	--text: #f5f5f5;
	--muted: #9b9b9b;
	--accent-text: #6ea6ff;
	--grid-line: rgba(255, 255, 255, .045);
	--pill-bg: rgba(255, 255, 255, .06);
	--pill-fg: var(--text);
	--pill-strong-bg: #f5f5f5;
	--pill-strong-fg: #121212;
	--tk-btn-bg: var(--primary); --tk-btn-fg: #fff; --tk-btn-icon-bg: #fff; --tk-btn-icon-fg: var(--primary); --tk-btn-hover: var(--navy);
	--tk-ghost-bg: transparent; --tk-ghost-border: var(--line-strong);
	--glow-a: rgba(62, 137, 255, .38); --glow-b: rgba(31, 67, 125, .18);
	color-scheme: dark;
}

/* Light tokens — warm paper, ink and one signal colour (courses "Daylight" palette) */
:root[data-theme="light"] {
	--bg: #f3f0ea;
	--bg-2: #e9e5dd;
	--surface: #ffffff;
	--surface-2: #ece8e0;
	--line: rgba(18, 18, 18, .12);
	--line-strong: rgba(18, 18, 18, .2);
	--text: #121212;
	--muted: #6e6a63;
	--accent-text: #1e6bf3;
	--grid-line: rgba(18, 18, 18, .045);
	--pill-bg: #ffffff;
	--pill-fg: #121212;
	--pill-strong-bg: #121212;
	--pill-strong-fg: #ffffff;
	--tk-btn-bg: #121212; --tk-btn-fg: #fff; --tk-btn-icon-bg: var(--primary); --tk-btn-icon-fg: #fff; --tk-btn-hover: var(--primary);
	--tk-ghost-bg: #ffffff; --tk-ghost-border: transparent;
	--glow-a: rgba(62, 137, 255, .22); --glow-b: rgba(255, 186, 140, .28);
	color-scheme: light;
}

/* Mixed — light page with ink sections */
:root[data-style="mixed"][data-theme="light"] [data-tone="ink"] {
	--bg: #121212;
	--bg-2: #181818;
	--surface: #1c1c1c;
	--surface-2: #262626;
	--line: rgba(255, 255, 255, .1);
	--line-strong: rgba(255, 255, 255, .22);
	--text: #f5f5f5;
	--muted: #9b9b9b;
	--accent-text: #6ea6ff;
	--grid-line: rgba(255, 255, 255, .045);
	--pill-bg: rgba(255, 255, 255, .06);
	--pill-fg: #f5f5f5;
	--pill-strong-bg: #f5f5f5;
	--pill-strong-fg: #121212;
	--tk-btn-bg: var(--primary); --tk-btn-fg: #fff; --tk-btn-icon-bg: #fff; --tk-btn-icon-fg: var(--primary); --tk-btn-hover: var(--navy);
	--tk-ghost-bg: transparent; --tk-ghost-border: var(--line-strong);
	background: var(--bg);
	color: var(--text);
	color-scheme: dark;
}
:root[data-style="mixed"][data-theme="light"] .tone-band[data-tone="ink"] {
	margin-inline: clamp(8px, 1.4vw, 20px);
	border-radius: clamp(24px, 3vw, 48px);
}
:root[data-style="mixed"][data-theme="light"] .site-footer[data-tone="ink"] { border-top: 0; border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0; }

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.03em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--primary); color: var(--white); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 10000;
	padding: 10px 18px; border-radius: 99px;
	background: var(--primary); color: var(--white);
	transform: translateY(-200%); transition: transform .3s;
}
.skip-link:focus { transform: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .55); }
.section--flush { padding-block: 0; }

.muted { color: var(--muted); }
.body-lg { font-size: var(--fs-lg); line-height: 1.6; }
.text-accent { color: var(--primary); }
.lead-xl {
	font-family: var(--font-head);
	font-size: clamp(24px, 3.1vw, 46px);
	line-height: 1.25;
	letter-spacing: -.02em;
	font-weight: 500;
	margin-bottom: 1.2em;
}

/* ---------- 3. Type helpers ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 22px;
	font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
}
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

.section-title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.03em; line-height: .98; }
.section-title--md { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.025em; }
.section-lead { max-width: 640px; color: var(--muted); font-size: var(--fs-lg); margin-top: 24px; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
	margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head--stack { display: block; }

.link-line {
	position: relative; display: inline-block;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .5s var(--ease-out), color .3s;
}
.link-line:hover { background-size: 100% 1px; color: var(--primary); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.tags li, .tags a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 99px;
	font-size: 13px; color: var(--muted);
}
.tags--links a { transition: background-color .3s, color .3s, border-color .3s; }
.tags--links a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.tags--links .icon { width: 14px; height: 14px; }
.tags--links li { padding: 0; border: 0; }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: .45em;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e89ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- 4. Buttons ---------- */
.btn {
	--btn-bg: var(--tk-btn-bg); --btn-fg: var(--tk-btn-fg);
	--btn-icon-bg: var(--tk-btn-icon-bg); --btn-icon-fg: var(--tk-btn-icon-fg);
	--btn-hover: var(--tk-btn-hover);
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	height: 56px; padding: 0 7px 0 26px;
	border-radius: 99px; border: 1px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-head); font-size: 15px; font-weight: 500; letter-spacing: -.01em;
	white-space: nowrap; overflow: hidden; isolation: isolate;
	transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--btn-hover, var(--navy));
	border-radius: inherit;
	clip-path: circle(0% at 100% 50%); transition: clip-path .7s var(--ease-out);
}
.btn:hover::before { clip-path: circle(150% at 100% 50%); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.btn__label > span { display: inline-block; transition: transform .55s var(--ease-out); }
.btn__label::after {
	content: attr(data-text); position: absolute; left: 0; top: 100%;
	transition: transform .55s var(--ease-out);
}
.btn:hover .btn__label > span, .btn:hover .btn__label::after { transform: translateY(-100%); }
.btn__icon {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--btn-icon-bg); color: var(--btn-icon-fg);
	transition: transform .55s var(--ease-out);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: rotate(45deg); }

.btn--ghost {
	--btn-bg: var(--tk-ghost-bg); --btn-fg: var(--text);
	--btn-icon-bg: var(--primary); --btn-icon-fg: var(--white);
	--btn-hover: var(--primary);
	border-color: var(--tk-ghost-border);
}
.btn--ghost:hover { color: var(--white); border-color: var(--primary); }
.btn--ghost:hover .btn__icon { background: var(--white); color: var(--primary); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-icon-bg: var(--primary); --btn-icon-fg: var(--white); --btn-hover: var(--ink); }
.btn--light:hover { color: var(--white); }
.btn--sm { height: 46px; padding-left: 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--submit, .wpcf7-submit {
	height: 56px; padding: 0 32px; border-radius: 99px; border: 0;
	background: var(--primary); color: var(--white);
	font-family: var(--font-head); font-weight: 500; font-size: 15px; cursor: pointer;
	transition: background-color .3s;
}
.btn--submit:hover, .wpcf7-submit:hover { background: var(--navy); }

.circle-link {
	display: grid; place-items: center; text-align: center; gap: 6px; align-content: center;
	width: clamp(160px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%;
	background: var(--primary); color: var(--white);
	font-family: var(--font-head); font-weight: 500; font-size: 17px;
	transition: background-color .4s;
}
.circle-link:hover { background: var(--navy); }
.circle-link .icon { width: 28px; height: 28px; }

/* ---------- 5. Preloader, curtain, cursor ---------- */
.preloader { display: none; }
.bbs-anim .preloader {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: var(--gutter);
	background: #0d0d0d; color: #f5f5f5;
}
.preloader__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.preloader__brand {
	font-family: var(--font-head); font-weight: 600; letter-spacing: -.03em; line-height: .9;
	font-size: clamp(44px, 11vw, 180px);
	overflow: hidden; display: block;
}
.preloader__brand .char { display: inline-block; }
.preloader__count { font-family: var(--font-head); font-size: clamp(28px, 5vw, 72px); font-weight: 500; color: var(--primary); font-variant-numeric: tabular-nums; }
.preloader__bar { height: 2px; margin-top: 28px; background: rgba(255, 255, 255, .12); }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); }
.bbs-loaded .preloader,
.bbs-returning .preloader { display: none; }
.bbs-anim.bbs-returning:not(.bbs-loaded) .curtain { transform: scaleY(1); }

.curtain {
	position: fixed; inset: 0; z-index: 9998; pointer-events: none;
	background: var(--primary);
	transform: scaleY(0); transform-origin: bottom;
}

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.bbs-anim .cursor {
		position: fixed; left: 0; top: 0; z-index: 9997; pointer-events: none;
		display: grid; place-items: center;
		width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
		background: var(--primary);
		transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .3s, opacity .3s;
	}
	.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--primary-soft); border: 1px solid var(--primary); }
	.cursor.has-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--primary); border: 0; }
	.cursor.is-hidden { opacity: 0; }
	.cursor__label { color: var(--white); font: 600 14px/1 var(--font-head); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); }
	.cursor.has-label .cursor__label { opacity: 1; transform: none; }
}

/* ---------- 6. Header & navigation ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 900;
	height: var(--header-h);
	transition: transform .6s var(--ease-out), background-color .4s, border-color .4s, height .4s var(--ease-out);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	--header-h: 76px;
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { position: relative; display: block; width: 150px; flex-shrink: 0; }
.logo__img { width: 100%; height: auto; transition: opacity .4s; }
.logo__img--dark { position: absolute; inset: 0; opacity: 0; }
[data-theme="light"] .logo__img--light { opacity: 0; }
[data-theme="light"] .logo__img--dark { opacity: 1; }

.nav__list {
	display: flex; gap: 4px; padding: 6px;
	border: 1px solid var(--line); border-radius: 99px;
	background: color-mix(in srgb, var(--surface) 70%, transparent);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav__list a {
	position: relative; display: flex; align-items: center;
	padding: 10px 18px; border-radius: 99px;
	font-size: 14px; font-weight: 500;
	transition: background-color .35s, color .35s;
}
.nav__list a:hover { background: var(--surface-2); }
.nav__list .is-active a { background: var(--primary); color: var(--white); }
.nav__idx { display: none; }
.nav__roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.4; }
.nav__roll > span { display: inline-block; transition: transform .5s var(--ease-out); }
.nav__roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; transition: transform .5s var(--ease-out); }
a:hover > .nav__roll > span, a:hover > .nav__roll::after { transform: translateY(-100%); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
	position: relative; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--line-strong);
	transition: background-color .3s, border-color .3s;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle .icon { position: absolute; width: 20px; height: 20px; transition: transform .6s var(--ease-out), opacity .4s; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.4); }

.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 899; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__bg { position: absolute; inset: 0; background: var(--bg); clip-path: circle(0 at calc(100% - 44px) 48px); }
.mobile-menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; overflow-y: auto; }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-family: var(--font-head); font-size: clamp(34px, 9vw, 56px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.mobile-menu__list .nav__idx { display: inline; font-size: 13px; letter-spacing: 0; color: var(--primary); font-family: var(--font-body); }
.mobile-menu__list .is-active a { color: var(--primary); }
.mobile-menu__foot { display: grid; gap: 8px; margin-top: 32px; color: var(--muted); }
.mobile-menu__foot .socials { margin-top: 12px; }

/* ---------- 7. Socials ---------- */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line-strong); color: var(--text);
	transition: background-color .3s, border-color .3s, color .3s;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.socials .icon { width: 18px; height: 18px; }
.socials--lg a { width: 52px; height: 52px; }

/* ---------- 8. Hero ---------- */
.hero {
	position: relative; min-height: 100svh;
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px);
	overflow: hidden;
}
.hero__grid-bg, .page-hero__grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 88px 88px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__glow {
	position: absolute; width: 60vw; aspect-ratio: 1; right: -18vw; top: -22vw; border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 137, 255, .38), rgba(31, 67, 125, .18) 45%, transparent 70%);
	filter: blur(30px); pointer-events: none;
}
.hero__inner { position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 14px; color: var(--muted); margin-bottom: clamp(24px, 4vw, 48px); }
.dot-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2fd479; }
.dot-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2fd479; animation: bbs-pulse 1.8s ease-out infinite; }
@keyframes bbs-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__title {
	font-size: clamp(64px, 17.5vw, 270px);
	font-weight: 600; line-height: .86; letter-spacing: -.03em;
	margin-left: -.04em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line--indent { padding-left: 14vw; }
.hero__line em { font-style: normal; color: var(--primary); }
.hero__line .char { display: inline-block; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
.hero__text { max-width: 440px; color: var(--muted); font-size: var(--fs-lg); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 9. Showcase (hero mockups) ---------- */
.showcase { position: relative; }
.showcase__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.showcase__item { position: absolute; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.showcase__item img { width: 100%; height: 100%; object-fit: cover; }
.showcase__item--0::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 8, .85) 0%, rgba(8, 8, 8, .2) 45%, transparent 70%); opacity: var(--shade, 0); pointer-events: none; }
.showcase__item--0 { z-index: 3; width: 46vw; height: 30.66vw; left: 50%; top: 50%; translate: -50% -50%; }
.showcase__item--1 { width: 21vw; height: 14vw; left: 3vw; top: 12%; }
.showcase__item--2 { width: 19vw; height: 12.66vw; right: 3vw; top: 8%; }
.showcase__item--3 { width: 17vw; height: 11.33vw; left: 8vw; bottom: 8%; }
.showcase__item--4 { width: 23vw; height: 15.33vw; right: 6vw; bottom: 10%; }
.showcase__caption {
	position: absolute; z-index: 4; inset: auto 0 10% 0; text-align: center; pointer-events: none;
	display: grid; gap: 4px; color: #fff;
	font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1;
	font-size: clamp(32px, 6vw, 96px);
	opacity: 0;
}
.showcase__caption span:last-child { color: var(--primary); }

/* ---------- 10. Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(20px, 3vw, 36px); border-block: 1px solid var(--line); user-select: none; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { padding-inline: clamp(18px, 2.4vw, 36px); font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 4vw, 60px); letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; }
.marquee__star {
	flex-shrink: 0; width: clamp(26px, 3vw, 44px); aspect-ratio: 112 / 121;
	background: var(--primary);
	-webkit-mask: url("../img/star.svg") center / contain no-repeat;
	mask: url("../img/star.svg") center / contain no-repeat;
	animation: bbs-spin 8s linear infinite;
}
.marquee--big .marquee__item { font-size: clamp(44px, 8vw, 124px); }
.marquee--big .marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee--footer { border-bottom: 0; margin-top: clamp(48px, 6vw, 88px); }
.marquee--footer .marquee__item { color: var(--muted); }
.marquee--logos { border: 0; padding-block: 10px; }
@keyframes bbs-spin { to { transform: rotate(360deg); } }
.no-js-marquee .marquee__track, :root:not(.bbs-anim) .marquee__track { animation: bbs-marquee 40s linear infinite; }
:root:not(.bbs-anim) .marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes bbs-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track, .marquee__star { animation: none !important; } }

/* ---------- 11. Intro statement ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(220px, 3fr) 9fr; gap: clamp(32px, 6vw, 96px); }
.intro__text { font-family: var(--font-head); font-size: clamp(26px, 3.6vw, 54px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; margin-bottom: 40px; }
.intro__badge { position: relative; width: 168px; height: 168px; margin-top: 24px; }
.intro__badge-ring { width: 100%; height: 100%; animation: bbs-spin 18s linear infinite; }
.intro__badge-ring text { fill: var(--muted); font: 600 13.5px var(--font-body); letter-spacing: .26em; }
.intro__badge-core { position: absolute; inset: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--white); }
.intro__badge-core .icon { width: 28px; height: 28px; }

/* Word highlight */
[data-highlight] .hl-word { opacity: .18; transition: none; }
:root:not(.bbs-anim) [data-highlight] .hl-word { opacity: 1; }

/* ---------- 12. Featured work — horizontal ---------- */
.hwork { position: relative; padding-top: calc(var(--section) * .35); }
.intro { padding-bottom: calc(var(--section) * .5); }
.hwork + .srv-list { padding-top: calc(var(--section) * .6); }
.srv-list + .clients, .work-grid + .clients { padding-top: 0; }
.hwork__pin { overflow: hidden; }
.hwork__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.hwork__meta { display: grid; gap: 12px; justify-items: end; min-width: 180px; }
.hwork__count { font-family: var(--font-head); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hwork__count span { color: var(--text); }
.hwork__progress { width: 180px; height: 2px; background: var(--line); }
.hwork__progress span { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); }
.hwork__track {
	display: flex; gap: clamp(20px, 2.4vw, 36px); align-items: center;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	padding-bottom: var(--section);
	width: max-content;
}
.hwork__card { width: clamp(300px, 44vw, 680px); flex-shrink: 0; }
.hwork__card:nth-child(even) { margin-top: clamp(40px, 8vh, 96px); }
.hwork__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.hwork__img { width: 100%; height: 100%; object-fit: cover; scale: 1.18; transition: scale 1.2s var(--ease-out); }
.hwork__link:hover .hwork__img { scale: 1.08; }
@media (min-width: 768px) {
	.hwork { padding-bottom: calc(var(--section) * .4); }
	.hwork__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) * .6); }
	.hwork__head { margin-bottom: clamp(24px, 3vh, 48px); }
	.hwork__track { padding-bottom: 0; }
	.hwork__card { width: min(44vw, calc((100vh - 380px) * 4 / 3)); }
	.hwork__card:nth-child(even) { margin-top: 0; translate: 0 5vh; }
}
.hwork__info { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; padding-top: 20px; }
.hwork__num { font-size: 13px; color: var(--primary); font-weight: 600; }
.hwork__title { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; }
.hwork__cat { font-size: 13px; color: var(--muted); }
.hwork__end { display: grid; place-items: center; width: clamp(240px, 24vw, 360px); flex-shrink: 0; }

/* ---------- 13. Project grid ---------- */
.work-grid__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px); }
.work-card--offset { margin-top: clamp(60px, 12vw, 180px); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.work-card:nth-child(4n+1) .work-card__media { aspect-ratio: 4 / 5; }
.work-card__img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; }
.work-card__badge {
	position: absolute; right: 20px; top: 20px; display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--white);
	transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease-out);
}
.work-card__link:hover .work-card__badge { transform: none; }
.work-card__info { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; padding-top: 20px; }
.work-card__num { font-size: 13px; font-weight: 600; color: var(--primary); }
.work-card__title { font-size: clamp(22px, 2.4vw, 36px); }
.work-card__cat { font-size: 13px; color: var(--muted); }

/* ---------- 14. Services list (home) ---------- */
.srv-list__rows { border-top: 1px solid var(--line); }
.srv-row { border-bottom: 1px solid var(--line); }
.srv-row__link {
	position: relative; display: grid; grid-template-columns: 80px 1fr auto 64px; align-items: center; gap: 24px;
	padding: clamp(20px, 2.6vw, 34px) 0; overflow: hidden; isolation: isolate;
	transition: color .5s var(--ease-out), padding .6s var(--ease-out);
}
.srv-row__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary);
	transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out);
}
.srv-row__link:hover { color: var(--white); padding-inline: 24px; }
.srv-row__link:hover::before { transform: none; transform-origin: top; }
.srv-row__num { font-size: 14px; color: var(--muted); transition: color .4s; }
.srv-row__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 4.2vw, 64px); letter-spacing: -.025em; line-height: 1.05; }
.srv-row__tags { font-size: 14px; color: var(--muted); transition: color .4s; }
.srv-row__link:hover .srv-row__num, .srv-row__link:hover .srv-row__tags { color: rgba(255, 255, 255, .8); }
.srv-row__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .6s var(--ease-out), background-color .4s, border-color .4s, color .4s; }
.srv-row__link:hover .srv-row__arrow { transform: rotate(45deg); background: var(--white); border-color: var(--white); color: var(--primary); }

/* ---------- 15. Services stack (services page) ---------- */
.stack__card { position: sticky; top: calc(var(--header-h) + 8px + var(--i) * 14px); margin-bottom: 32px; transform-origin: center top; }
.stack__inner {
	position: relative; overflow: hidden;
	min-height: min(66vh, 600px);
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	padding: clamp(28px, 4vw, 60px);
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--surface);
}
.stack__card:nth-child(3n+2) .stack__inner { background: var(--navy); border-color: transparent; color: #fff; }
.stack__card:nth-child(3n+2) .stack__text, .stack__card:nth-child(3n+2) .tags li { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .25); }
.stack__card:nth-child(3n+3) .stack__inner { background: var(--primary); border-color: transparent; color: #fff; }
.stack__card:nth-child(3n+3) .stack__text, .stack__card:nth-child(3n+3) .tags li { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .35); }
.stack__card:nth-child(3n+3) .btn--primary { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-icon-bg: var(--primary); --btn-icon-fg: #fff; --btn-hover: var(--ink); }
.stack__card:nth-child(3n+3) .btn--primary:hover { color: #fff; }
.stack__card:nth-child(n+2) .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.stack__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; border-radius: inherit; }
.stack__top { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 18px; }
.stack__total { opacity: .5; }
.stack__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.stack__title { font-size: clamp(36px, 5.6vw, 88px); letter-spacing: -.03em; line-height: .98; }
.stack__text { color: var(--muted); font-size: var(--fs-lg); }
.stack__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 16. Why us / cards with glow ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
[data-glow] {
	position: relative; overflow: hidden; isolation: isolate;
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .4s, transform .6s var(--ease-out);
}
[data-glow]::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 137, 255, .22), transparent 60%);
}
[data-glow]:hover { border-color: rgba(62, 137, 255, .5); }
[data-glow]:hover::before { opacity: 1; }
.why__card { padding: clamp(28px, 3vw, 40px); min-height: 300px; display: flex; flex-direction: column; }
.why__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); margin-bottom: auto; }
.why__icon .icon { width: 30px; height: 30px; }
.why__num { position: absolute; right: 32px; top: 28px; font-family: var(--font-head); font-size: 14px; color: var(--muted); }
.why__title { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 12px; }
.why__text { color: var(--muted); margin: 0; }

/* ---------- 17. Clients ---------- */
.clients__label { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 32px; }
.clients__logo { display: grid; place-items: center; width: clamp(160px, 16vw, 220px); height: 96px; margin-inline: 8px; padding: 18px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.clients__logo img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.clients__logo:hover img { filter: none; opacity: 1; }

/* ---------- 18. CTA ---------- */
.cta {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 0 clamp(8px, 1.4vw, 20px);
	padding-block: clamp(100px, 14vw, 200px);
	border-radius: clamp(24px, 3vw, 48px);
	background: var(--navy); color: #fff; text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.cta__orb--1 { width: 50vw; aspect-ratio: 1; left: -15vw; top: -25vw; background: radial-gradient(circle, rgba(62, 137, 255, .75), transparent 65%); }
.cta__orb--2 { width: 40vw; aspect-ratio: 1; right: -12vw; bottom: -20vw; background: radial-gradient(circle, rgba(62, 137, 255, .55), transparent 65%); }
.cta__kicker { color: rgba(255, 255, 255, .75); font-size: var(--fs-lg); margin-bottom: 24px; }
.cta__title { font-size: clamp(48px, 10.5vw, 168px); font-weight: 600; letter-spacing: -.03em; line-height: .92; }
.cta__line { display: block; white-space: nowrap; }
.cta__line--accent { color: #9cc3ff; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.cta .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- 19. Accordion / FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__card { margin-top: 32px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.faq__card h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -.02em; }
.faq__card p { color: var(--muted); }
.faq__card .check-list { margin: 20px 0; }
.faq__help { font-size: 14px; }
.faq__help a { color: var(--primary); }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__q {
	display: grid; grid-template-columns: 44px 1fr 48px; align-items: center; gap: 16px;
	padding: 26px 0; cursor: pointer; list-style: none;
	font-family: var(--font-head); font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.35;
	transition: color .3s;
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q:hover { color: var(--primary); }
.accordion__num { font-size: 13px; color: var(--primary); font-weight: 600; }
.accordion__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease-out), background-color .3s, border-color .3s, color .3s; }
.accordion__icon .icon { width: 20px; height: 20px; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: #fff; }
.accordion__a { overflow: hidden; }
.accordion__inner { padding: 0 64px 28px 60px; color: var(--muted); }
.accordion--lg .accordion__q { font-size: clamp(22px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.03em; padding: 32px 0; }
.accordion--lg .accordion__inner { color: var(--text); }

.spec { display: grid; gap: 28px; }
.spec__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 48px; }
.spec__title { font-size: 18px; letter-spacing: -.01em; margin-bottom: 16px; color: var(--text); }
.spec .check-list li { color: var(--muted); }

/* ---------- 20. Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.post-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card__link:hover .post-card__img { transform: scale(1.06); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font: 600 96px var(--font-head); color: var(--primary); background: var(--primary-soft); }
.post-card__body { padding-top: 22px; }
.post-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card__meta span::before { content: "•"; margin-right: 14px; }
.post-card__title { font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; transition: color .3s; }
.post-card__link:hover .post-card__title { color: var(--primary); }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); }
.post-card__more .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.post-card__link:hover .post-card__more .icon { transform: translateX(6px); }

.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-strong); font-weight: 500; transition: background-color .3s, color .3s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .icon { width: 18px; height: 18px; }
.icon.flip { transform: scaleX(-1); }

/* ---------- 21. Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(56px, 7vw, 100px); }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(40px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.page-hero__title--big { font-size: var(--fs-h1); line-height: .92; letter-spacing: -.03em; }
.page-hero__title--huge { font-size: clamp(120px, 30vw, 420px); line-height: .85; color: var(--primary); }
.page-hero__text { max-width: 620px; margin-top: clamp(24px, 3vw, 40px); color: var(--muted); font-size: var(--fs-lg); }
.page-hero__scroll { position: absolute; right: var(--gutter); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.page-hero__scroll i { position: relative; width: 1px; height: 64px; background: var(--line-strong); overflow: hidden; }
.page-hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--primary); animation: bbs-scrollline 1.8s var(--ease-in-out) infinite; }
@keyframes bbs-scrollline { to { top: 100%; } }
.page-hero--post .page-hero__title { font-size: clamp(34px, 5vw, 68px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.about-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.profile-hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.profile-hero__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); }
.profile-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero .page-hero__text { font-size: var(--fs-body); }
.profile-hero .hero__actions { margin-top: 32px; }

/* ---------- 22. Media blocks ---------- */
.wide-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.wide-media--tall { aspect-ratio: 16 / 9; }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 23. About ---------- */
.about-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.about-split__aside { display: grid; gap: 16px; align-content: start; }
.mini-card { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mini-card .link-line { font-family: var(--font-head); font-size: 19px; font-weight: 500; }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.vm__card { padding: clamp(32px, 4vw, 56px); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.vm__card p { font-family: var(--font-head); font-size: clamp(20px, 2vw, 28px); line-height: 1.35; letter-spacing: -.02em; margin: 0; }
.vm__card--accent { background: var(--primary); color: #fff; border-color: transparent; }
.vm__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.plist__rows { border-top: 1px solid var(--line); }
.plist__row { border-bottom: 1px solid var(--line); }
.plist__row a { display: grid; grid-template-columns: 1fr auto 56px; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 34px) 0; transition: padding .6s var(--ease-out), color .4s; }
.plist__row a:hover { padding-left: 24px; color: var(--primary); }
.plist__title { font-family: var(--font-head); font-size: clamp(26px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.plist__cat { color: var(--muted); font-size: 14px; }
.plist__arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.plist__row a:hover .plist__arrow { transform: rotate(45deg); background: var(--primary); color: #fff; border-color: var(--primary); }
.plist__float { position: fixed; left: 0; top: 0; z-index: 50; width: 340px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); }
.plist__float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .plist__float { display: none; } }

.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: clamp(40px, 5vw, 72px); }
.team__card:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.team__media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.team__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: filter .6s; }
.team__card:hover .team__media img { filter: none; }
.team__info { padding-top: 20px; }
.team__info h3 { font-size: 24px; letter-spacing: -.02em; }
.team__info p { color: var(--muted); margin-top: 4px; }

.review__card { position: relative; max-width: 1080px; margin-inline: auto; padding: clamp(36px, 5vw, 80px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.review__quote { position: absolute; right: clamp(24px, 4vw, 56px); top: clamp(24px, 4vw, 56px); color: var(--primary); }
.review__quote .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.review__stars { color: #ffb400; letter-spacing: 4px; font-size: 20px; margin-bottom: 24px; }
.review__text { margin: 0 0 40px; font-family: var(--font-head); font-size: clamp(24px, 3vw, 44px); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.review__author { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.review__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review__author span { display: grid; }
.review__author em { font-style: normal; color: var(--muted); font-size: 14px; }
.review__link { margin-left: auto; color: var(--primary); font-size: 14px; font-weight: 600; }

.timeline { position: relative; padding-left: 40px; }
.timeline__line { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__line span { position: absolute; inset: 0; background: var(--primary); transform-origin: top; transform: scaleY(0); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before { content: ""; position: absolute; left: -40px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary); }
.timeline__when { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.timeline__company { font-size: clamp(22px, 2.2vw, 32px); margin: 6px 0; letter-spacing: -.02em; }

/* ---------- 24. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { display: grid; gap: 28px; margin: 40px 0; }
.contact__list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.contact__list p { margin: 0; }
.contact__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px !important; }
.form-card { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form-card__title { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; margin-bottom: 28px; }
.help-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }

/* Forms (CF7 + core) */
.wpcf7 form, .comment-form { display: grid; gap: 18px; }
.wpcf7 p { margin: 0; }
.wpcf7 label, .comment-form label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.wpcf7 br { display: none; }
.wpcf7-form-control-wrap { display: block; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], textarea, select {
	width: 100%; padding: 16px 20px;
	border: 1px solid var(--line-strong); border-radius: 14px;
	background: var(--bg); color: var(--text);
	font: inherit; font-size: 15px;
	transition: border-color .3s, box-shadow .3s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
::placeholder { color: var(--muted); opacity: .8; }
.wpcf7-not-valid-tip { font-size: 13px; color: #ff6b6b; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 0; padding: 14px 18px; border-radius: 12px; font-size: 14px; }
.wpcf7-spinner { margin: 0 0 0 12px; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
.empty-state { text-align: center; padding: 40px 0; }

/* ---------- 25. Prose (posts / plain pages) ---------- */
.prose { font-size: 18px; line-height: 1.8; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(22px, 2.2vw, 30px); margin-top: 1.6em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--primary); font-family: var(--font-head); font-size: 1.3em; line-height: 1.45; }
.prose pre { overflow-x: auto; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.alignwide { width: min(1100px, 100vw - 2 * var(--gutter)); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.post-tags { margin-top: 48px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; }
.post-nav a { display: grid; gap: 6px; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.post-nav a:hover { border-color: var(--primary); }
.post-nav div:last-child a { text-align: right; }
.comments__title { font-size: 28px; margin-bottom: 24px; }
.comments__list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comments__list .children { padding-left: 32px; }

/* ---------- 26. Next project ---------- */
.next-project { padding: var(--section) clamp(8px, 1.4vw, 20px) 0; }
.next-project__link { position: relative; display: flex; align-items: flex-end; min-height: 70vh; overflow: hidden; border-radius: clamp(24px, 3vw, 48px); color: #fff; isolation: isolate; }
.next-project__media { position: absolute; inset: 0; z-index: -1; }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.next-project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .85), rgba(10, 10, 10, .15)); }
.next-project__link:hover .next-project__media img { transform: scale(1.05); }
.next-project__inner { padding-block: clamp(40px, 6vw, 80px); }
.next-project .kicker { color: rgba(255, 255, 255, .8); }
.next-project__title { font-size: clamp(48px, 9vw, 150px); letter-spacing: -.03em; line-height: .92; }

/* ---------- 27. Elementor content wrapped in the theme ---------- */
.builder-content { padding-top: var(--header-h); }
.builder-content .elementor-section.elementor-section-boxed > .elementor-container,
.builder-content .e-con { --container-max-width: var(--container); }
.builder-content h1, .builder-content h2, .builder-content h3, .builder-content h4 { font-family: var(--font-head); color: inherit; }
.builder-content .elementor-heading-title { color: var(--text); }
.builder-content .elementor-widget-text-editor { color: var(--muted); }
.builder-content .ms-hero { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.builder-content .ms-hero .hero-image { min-height: 60vh; background-size: cover; background-position: center; }
.builder-content .ms-image-widget img { border-radius: var(--radius); width: 100%; }
.builder-content .btn-osty { height: 56px; padding: 0 28px; display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 500; transition: background-color .3s; }
.builder-content .btn-osty:hover { background: var(--navy); }
.builder-content .btn-osty .f-btn-l, .builder-content .btn-osty .btn-r_icon, .builder-content .btn-osty svg { display: none; }
.builder-content .btn-osty .f-btn-r { display: inline-flex; align-items: center; }
.builder-content .btn-osty .f-btn-r::after { content: "↗"; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 -14px 0 12px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 15px; transition: transform .5s var(--ease-out); }
.builder-content .btn-osty:hover .f-btn-r::after { transform: rotate(45deg); }
/* Osty decorative button markup inside the Contact Form 7 form — the real <input type=submit> is used instead */
.wpcf7 .btn-wrap { display: none; }
.wpcf7 fieldset.hidden-fields-container { display: none; }
.wpcf7 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 .row > * { grid-column: 1 / -1; }
.wpcf7 .row > .col-6 { grid-column: auto; }
@media (max-width: 600px) { .wpcf7 .row > .col-6 { grid-column: 1 / -1; } }
.wpcf7 .ms-cf--bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.wpcf7 .form-quiz { flex: 1 1 220px; }
.wpcf7 .wpcf7-quiz-label { display: block; margin-bottom: 8px; }
.builder-content ul { list-style: disc; padding-left: 1.2em; }
.builder-content--project .elementor-widget-text-editor li::marker { color: var(--primary); }

/* ---------- 28. Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: var(--section); margin-top: var(--section); border-top: 1px solid var(--line); }
.cta + .site-footer, .site-main > :last-child.cta { margin-top: 0; }
.site-footer__glow { position: absolute; width: 70vw; aspect-ratio: 1; left: 50%; top: 0; translate: -50% -60%; border-radius: 50%; background: radial-gradient(circle, rgba(62, 137, 255, .22), transparent 65%); filter: blur(40px); pointer-events: none; }
.site-footer__top { position: relative; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.site-footer__title { font-size: clamp(52px, 11vw, 176px); letter-spacing: -.03em; line-height: .9; font-weight: 600; }
.site-footer__mail { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; font-family: var(--font-head); font-size: clamp(22px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; color: var(--primary); }
.site-footer__mail span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease-out); }
.site-footer__mail:hover span { background-size: 100% 2px; }
.site-footer__mail .icon { width: 1em; height: 1em; transition: transform .5s var(--ease-out); }
.site-footer__mail:hover .icon { transform: rotate(45deg); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: clamp(40px, 5vw, 72px); }
.site-footer__col { display: grid; gap: 8px; align-content: start; }
.site-footer__col p { margin: 0; }
.site-footer__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px !important; }
.site-footer__menu { display: grid; gap: 6px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; font-size: 14px; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.to-top { position: relative; display: grid; place-items: center; width: 52px; height: 52px; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top__track { stroke: var(--line-strong); }
.to-top__progress { stroke: var(--primary); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top__arrow { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform .4s var(--ease-out); }
.to-top:hover .to-top__arrow { transform: rotate(-90deg) translateX(4px); }

/* ---------- 29. Animation initial states (only when JS animation is active) ---------- */
.bbs-anim [data-reveal],
.bbs-anim [data-reveal-stagger] > *,
.bbs-anim [data-hero-fade] { opacity: 0; transform: translateY(40px); }
.bbs-anim [data-split] { visibility: hidden; }
.bbs-anim [data-hero-line] { visibility: hidden; }
.bbs-anim [data-img-reveal] { clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }

/* ---------- 30. Responsive ---------- */
@media (max-width: 1180px) {
	.nav { display: none; }
	.burger { display: block; }
	.site-header__cta { display: none; }
}

@media (max-width: 1024px) {
	.intro__grid, .faq__grid, .contact__grid, .about-split, .approach__grid, .profile-hero__grid { grid-template-columns: 1fr; }
	.faq__aside { position: static; }
	.why__grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.stack__body { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.intro__badge { display: none; }
	.profile-hero__media { max-width: 460px; }
}

@media (max-width: 767px) {
	:root { --header-h: 76px; }
	.logo { width: 124px; }
	.theme-toggle { width: 42px; height: 42px; }
	.burger { width: 42px; height: 42px; }
	.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
	.menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 20px; }
	.burger span { left: 12px; right: 12px; }

	.hero { min-height: 92svh; }
	.hero__title { font-size: 21vw; }
	.hero__bottom { flex-direction: column; align-items: flex-start; }
	.hero__line--indent { padding-left: 0; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.hwork__head { flex-direction: column; align-items: flex-start; }
	.hwork__meta { justify-items: start; }

	/* Showcase becomes a swipeable row on phones */
	.showcase__stage { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 24px; scrollbar-width: none; }
	.showcase__stage::-webkit-scrollbar { display: none; }
	.showcase__item, .showcase__item--0 { position: relative; inset: auto; translate: none; flex: 0 0 82%; width: auto; height: auto; aspect-ratio: 3 / 2; scroll-snap-align: center; }
	.showcase__caption { display: none; }

	.hwork__track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
	.hwork__card { width: 100%; }
	.hwork__card:nth-child(even) { margin-top: 0; }
	.hwork__end { width: 100%; padding-top: 16px; }

	.work-grid__list, .why__grid, .post-grid, .vm__grid, .team__grid { grid-template-columns: 1fr; }
	.work-card--offset, .team__card:nth-child(2) { margin-top: 0; }
	.work-card:nth-child(4n+1) .work-card__media { aspect-ratio: 4 / 3; }

	.srv-row__link { grid-template-columns: 44px 1fr 44px; gap: 14px; }
	.srv-row__tags { display: none; }
	.srv-row__arrow { width: 44px; height: 44px; }
	.srv-row__link:hover { padding-inline: 12px; }
	.plist__row a { grid-template-columns: 1fr 44px; }
	.plist__cat { display: none; }
	.plist__arrow { width: 44px; height: 44px; }

	.stack__card { position: relative; top: auto; }
	.stack__inner { min-height: 0; }

	.accordion__q { grid-template-columns: 30px 1fr 40px; gap: 10px; padding: 20px 0; }
	.accordion__icon { width: 40px; height: 40px; }
	.accordion__inner { padding: 0 0 24px 40px; }

	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child a { text-align: left; }
	.wide-media { aspect-ratio: 4 / 3; }
	.cta__line { white-space: normal; }
	.review__link { margin-left: 0; }
	.page-hero__scroll { display: none; }
	.clients__logo { width: 150px; height: 80px; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   31. Course-level hero (breadcrumb, pills, stat row) + style variants
   ========================================================================== */
.btn--primary:hover .btn__icon { background: #fff; color: var(--primary); }
h1, h2, h3, .section-title, .page-hero__title, .hero__title, .cta__title, .site-footer__title { font-weight: 500; }
.hero__title, .page-hero__title--big, .cta__title, .site-footer__title, .next-project__title { font-weight: 500; line-height: .9; }
.stack__title, .srv-row__title, .plist__title, .marquee__item { font-weight: 500; }
.text-accent, .hero__line em { color: var(--accent-text); }
:root[data-theme="dark"] .text-accent, :root[data-theme="dark"] .hero__line em { color: var(--primary); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span[aria-current] { color: var(--text); font-weight: 500; }
.crumbs i { font-style: normal; opacity: .5; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(22px, 3vw, 36px); }
.pills li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 99px; background: var(--pill-bg); color: var(--pill-fg); font-size: 14px; font-weight: 500; border: 1px solid var(--line); }
.pills li.is-strong { background: var(--pill-strong-bg); color: var(--pill-strong-fg); border-color: transparent; }
.pills .dot-pulse { width: 7px; height: 7px; }

.hero-row { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.hero-row__text { max-width: 440px; margin: 0; color: var(--text); font-size: var(--fs-lg); line-height: 1.55; }
.hero-row__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stat { display: flex; align-items: center; gap: 16px; justify-self: end; }
.hero-stat__num { font-family: var(--font-head); font-weight: 500; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -.03em; color: var(--accent-text); }
.hero-stat__txt strong { display: block; color: var(--text); font-size: 17px; font-weight: 700; }
.hero-stat__txt span { color: var(--muted); font-size: 14px; }
.page-hero .hero-row { margin-top: clamp(28px, 3.5vw, 48px); }

/* Soft colour wash behind heroes (peach + blue in light, blue in dark) */
.hero__glow { background: radial-gradient(circle, var(--glow-a), var(--glow-b) 45%, transparent 70%); }
.page-hero::before {
	content: ""; position: absolute; width: 55vw; aspect-ratio: 1; right: -15vw; top: -25vw; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, var(--glow-b), var(--glow-a) 40%, transparent 70%); filter: blur(40px); opacity: .9;
}
:root[data-theme="light"] .hero__grid-bg, :root[data-theme="light"] .page-hero__grid-bg { opacity: .7; }

/* Light: cards sit on white, header pill on white */
:root[data-theme="light"] .nav__list { background: rgba(255, 255, 255, .75); }
:root[data-theme="light"] .site-header.is-scrolled { background: rgba(243, 240, 234, .82); }
:root[data-theme="light"] .theme-toggle { background: #fff; border-color: transparent; }
:root[data-theme="light"] .clients__logo { border-color: transparent; }
:root[data-theme="light"] .showcase__item { box-shadow: 0 30px 70px rgba(18, 18, 18, .18); }

/* Mixed: ink sections get breathing room inside */
:root[data-style="mixed"][data-theme="light"] .marquee[data-tone="ink"] { border-color: transparent; }
:root[data-style="mixed"][data-theme="light"] .tone-band[data-tone="ink"].section,
:root[data-style="mixed"][data-theme="light"] .hwork[data-tone="ink"] { margin-block: clamp(16px, 2vw, 32px); }
:root[data-style="mixed"][data-theme="light"] .hwork[data-tone="ink"] { padding-top: clamp(48px, 6vw, 96px); }

@media (max-width: 1024px) {
	.hero-row { grid-template-columns: 1fr; align-items: start; }
	.hero-stat { justify-self: start; }
}

/* Buttons & UI labels in Satoshi (as in the courses design); Clash Display stays for display type */
.btn, .btn--submit, .wpcf7-submit, .circle-link { font-family: var(--font-body); font-weight: 500; font-size: 16px; letter-spacing: 0; }
.btn--sm { font-size: 14px; }
.accordion__q, .post-card__title, .hwork__title, .work-card__title, .team__info h3, .why__title, .faq__card h3 { letter-spacing: -.01em; }

/* Long display paragraphs read lighter in Clash Display */
.intro__text, .lead-xl, .review__text, .vm__card p { font-weight: 400; letter-spacing: -.015em; }
/* Back-to-top: keep the arrow small inside the progress ring */
.to-top svg.to-top__arrow { position: static; inset: auto; width: 20px; height: 20px; transform: rotate(-90deg); }

/* Ghost buttons on coloured surfaces (CTA, blue/navy cards) stay transparent in every style */
.cta .btn--ghost,
.stack__card:nth-child(3n+2) .btn--ghost,
.stack__card:nth-child(3n+3) .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .4); }
.stack__card:nth-child(3n+1) .btn--ghost { --btn-fg: var(--text); }
/* Primary buttons on the blue/navy service cards */
.stack__card:nth-child(3n+2) .btn--primary { --btn-bg: var(--primary); --btn-icon-bg: #fff; --btn-icon-fg: var(--primary); --btn-hover: #fff; }
.stack__card:nth-child(3n+2) .btn--primary:hover { color: var(--ink); }
.stack__card:nth-child(3n+2) .btn--primary:hover .btn__icon { background: var(--primary); color: #fff; }
/* Receding stack cards fade toward paper (not black) in light mode */
:root[data-theme="light"] .stack__shade { background: var(--bg); }
html { overflow-x: clip; }

/* ==========================================================================
   Front-end design switcher (demo tabs) — same look in every design
   ========================================================================== */
.dsw { position: fixed; left: 16px; bottom: 16px; z-index: 950; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 18px; background: rgba(14, 16, 22, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); font: 500 13px/1 "Satoshi", system-ui, sans-serif; color: #fff; letter-spacing: 0; text-transform: none; }
.dsw__toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .3s; }
.dsw__toggle:hover { background: rgba(255, 255, 255, .16); }
.dsw__panel { display: flex; align-items: center; gap: 8px; }
.dsw__group { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.dsw__tab { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 9px; color: rgba(255, 255, 255, .72); transition: background-color .3s, color .3s; white-space: nowrap; }
.dsw__tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.dsw__tab.is-on { background: #3e89ff; color: #fff; box-shadow: 0 6px 18px -6px rgba(62, 137, 255, .9); }
.dsw__group--sm .dsw__tab.is-on { background: #fff; color: #121212; box-shadow: none; }
.dsw.is-closed .dsw__panel { display: none; }
@media (max-width: 760px) {
	.dsw { left: 8px; right: 84px; bottom: 12px; flex-wrap: wrap; justify-content: center; }
	.dsw__panel { flex-wrap: wrap; justify-content: center; }
	.dsw__tab { padding: 0 10px; }
	.dsw.is-closed { right: auto; }
}

/* ==========================================================================
   32. Section upgrades — showcase, intro, featured work, FAQ, journal
   ========================================================================== */

/* ---------- Showcase ---------- */
.showcase__grid { position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 96px 96px;
	mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%); }
.showcase__bar { position: absolute; z-index: 5; left: 0; right: 0; top: clamp(20px, 3vh, 36px); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.showcase__label { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.showcase__count b { font: 500 30px/1 var(--font-head); letter-spacing: -.02em; color: var(--text); margin-right: 6px; }
.showcase__hint { display: inline-flex; align-items: center; gap: 10px; }
.showcase__hint i { position: relative; width: 44px; height: 1px; background: var(--line-strong); overflow: hidden; }
.showcase__hint i::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: translateX(-100%); animation: sc-hint 1.8s var(--ease-in-out) infinite; }
@keyframes sc-hint { to { transform: translateX(100%); } }
.showcase__item { border-radius: 18px; border: 1px solid var(--line-strong); background: #161616; }
.showcase__dots { position: absolute; z-index: 2; top: 10px; left: 12px; display: flex; gap: 5px; }
.showcase__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.showcase__item--1, .showcase__item--2, .showcase__item--3, .showcase__item--4 { animation: sc-float 7s ease-in-out infinite alternate; }
.showcase__item--2 { animation-delay: -2s; } .showcase__item--3 { animation-delay: -4s; } .showcase__item--4 { animation-delay: -1s; }
@keyframes sc-float { from { translate: 0 -10px; } to { translate: 0 12px; } }
.showcase__item--1 { left: 4vw; top: 17%; }
.showcase__item--2 { right: 4vw; top: 15%; }
.showcase__item--3 { left: 7vw; bottom: 9%; }
.showcase__item--4 { right: 7vw; bottom: 11%; }
.showcase__caption { gap: 10px; }
.showcase__cta { justify-self: center; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px 12px 22px; border-radius: 99px; background: #fff; color: #121212; font: 500 15px/1 var(--font-body); letter-spacing: 0; pointer-events: auto; transition: background-color .3s, color .3s; }
.showcase__cta .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--primary); color: #fff; }
.showcase__cta:hover { background: var(--primary); color: #fff; }
@media (prefers-reduced-motion: reduce) { .showcase__item { animation: none !important; } }

/* ---------- Intro ---------- */
.intro__grid { align-items: start; }
.intro__side { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1025px) { .intro__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.intro__badge { margin-top: 0; }
.intro__stats { display: grid; gap: 0; margin: 0; }
.intro__stats > div { padding: 16px 0; border-top: 1px solid var(--line); }
.intro__stats > div:last-child { border-bottom: 1px solid var(--line); }
.intro__stats dt { font: 500 clamp(34px, 3vw, 46px)/1 var(--font-head); letter-spacing: -.03em; color: var(--accent-text); }
:root[data-theme="dark"] .intro__stats dt { color: var(--primary); }
.intro__stats dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.intro__text { font-size: clamp(24px, 2.9vw, 44px); line-height: 1.24; max-width: 23em; margin-bottom: clamp(32px, 4vw, 48px); }
.intro__text .text-accent .hl-word { color: var(--accent-text); }
:root[data-theme="dark"] .intro__text .text-accent .hl-word { color: var(--primary); }
.intro__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.intro__team { display: inline-flex; align-items: center; gap: 16px; }
.intro__faces { display: flex; }
.intro__faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); margin-left: -12px; transition: transform .4s var(--ease-out); }
.intro__faces img:first-child { margin-left: 0; }
.intro__team:hover .intro__faces img { transform: translateY(-3px); }
.intro__team strong { display: block; font-weight: 700; }
.intro__team em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Featured work: caption inside the card ---------- */
.hwork { overflow: clip; }
.hwork__meta { grid-auto-flow: row; }
.hwork__all { margin-top: 6px; }
.hwork__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .25) 38%, transparent 60%); transition: opacity .5s; }
.hwork__num { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); }
.hwork__go { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--primary); transform: scale(.85); transition: transform .6s var(--ease-out), background-color .3s, color .3s; }
.hwork__go .icon { width: 20px; height: 20px; }
.hwork__link:hover .hwork__go { transform: scale(1) rotate(45deg); background: var(--primary); color: #fff; }
.hwork__info { position: absolute; z-index: 2; left: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 !important; color: #fff; }
.hwork__info .hwork__cat { padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 500; }
.hwork__info .hwork__title { font-size: clamp(24px, 2.4vw, 38px); color: #fff; }

/* ---------- FAQ ---------- */
.faq__count { margin: 20px 0 0; color: var(--muted); max-width: 30ch; }
.faq__count b { display: block; font: 500 clamp(44px, 4vw, 64px)/1 var(--font-head); letter-spacing: -.03em; color: var(--accent-text); margin-bottom: 6px; }
:root[data-theme="dark"] .faq__count b { color: var(--primary); }
.faq__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.accordion__item { padding-inline: 20px; border-radius: var(--radius); transition: background-color .4s, box-shadow .4s, border-color .4s; }
.accordion__item[open] { background: var(--surface); border-bottom-color: transparent; box-shadow: 0 24px 50px -36px rgba(18, 18, 18, .45); }
.accordion__item[open] .accordion__text { color: var(--text); }
.accordion__item[open] + .accordion__item { border-top: 0; }
.faq__list .accordion { border-top: 0; }

/* ---------- Journal: featured layout ---------- */
.post-card__media { position: relative; }
.post-card__chip { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); color: #121212; font-size: 12px; font-weight: 600; }
.post-card__go { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--primary); transform: translateY(8px) scale(.8); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.post-card__go .icon { width: 18px; height: 18px; }
.post-card__link:hover .post-card__go { transform: none; opacity: 1; }
.post-card__meta time { display: none; }
.post-card__meta span::before { content: none; }
.post-grid--feature { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; align-items: stretch; }
.post-grid--feature > .post-card:first-child { grid-row: span 2; }
.post-grid--feature > .post-card:first-child .post-card__media { aspect-ratio: 4 / 3.2; }
.post-grid--feature > .post-card:first-child .post-card__title { font-size: clamp(26px, 2.4vw, 38px); }
.post-grid--feature > .post-card:not(:first-child) .post-card__link { display: grid; grid-template-columns: 45% 1fr; gap: 24px; align-items: center; height: 100%; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.post-grid--feature > .post-card:not(:first-child) .post-card__body { padding-top: 0; }
.post-grid--feature > .post-card:not(:first-child) .post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) {
	.post-grid--feature { grid-template-columns: 1fr; }
	.post-grid--feature > .post-card:first-child { grid-row: auto; }
}
@media (max-width: 600px) {
	.post-grid--feature > .post-card:not(:first-child) .post-card__link { grid-template-columns: 1fr; gap: 0; }
	.post-grid--feature > .post-card:not(:first-child) .post-card__body { padding-top: 18px; }
	.showcase__bar { display: none; }
}
/* Journal side cards fill their row instead of floating in it */
.post-grid--feature > .post-card:first-child .post-card__media { aspect-ratio: 16 / 11; }
.post-grid--feature > .post-card:not(:first-child) .post-card__link { align-items: stretch; }
.post-grid--feature > .post-card:not(:first-child) .post-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.post-grid--feature > .post-card:not(:first-child) .post-card__body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 600px) { .post-grid--feature > .post-card:not(:first-child) .post-card__media { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }

/* Profile header: always left-aligned two-column, vertically centred (overrides centred page heroes) */
:root[data-design] .page-hero.profile-hero { text-align: left; }
:root[data-design] .page-hero.profile-hero .container > * { margin-inline: 0; }
.profile-hero__grid { align-items: center; grid-template-columns: minmax(280px, 5fr) 7fr; }
.profile-hero__media { max-height: min(78vh, 720px); width: 100%; }
:root[data-design] .page-hero.profile-hero .page-hero__text { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 62ch; }
.profile-hero .kicker { margin-bottom: 16px; }
.profile-hero .hero__actions { justify-content: flex-start; margin-top: 28px; }
.profile-hero .page-hero__title--big { font-size: clamp(56px, 8vw, 128px); }
@media (max-width: 1024px) { .profile-hero__grid { grid-template-columns: 1fr; } .profile-hero__media { max-width: 520px; } }

/* ==========================================================================
   33. Footer v2
   ========================================================================== */
.site-footer { padding-top: clamp(72px, 9vw, 128px); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.site-footer__title { font-size: clamp(52px, 8.6vw, 140px); }
.ft-card { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.ft-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ft-card__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ft-card__phone { display: block; font: 500 clamp(28px, 2.6vw, 40px)/1.1 var(--font-head); letter-spacing: -.02em; transition: color .3s; }
.ft-card__phone:hover { color: var(--primary); }
.ft-card__text { margin: 12px 0 22px; color: var(--muted); font-size: 15px; }
.ft-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* open-status pill (shared with Bento) */
.bn-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bn-open__dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, .2); }
.bn-open.is-open .bn-open__dot { background: #2fd479; box-shadow: 0 0 0 3px rgba(47, 212, 121, .22); }
.bn-open.is-open { color: var(--text); }

.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.ft-brand { gap: 16px !important; }
.ft-brand__logo { width: 140px; }
.ft-brand p { max-width: 30ch; }
.ft-menu { grid-template-columns: 1fr 1fr; column-gap: 20px; }

.ft-word { overflow: hidden; margin-top: clamp(48px, 6vw, 96px); padding-inline: var(--gutter); line-height: .78; text-align: center; user-select: none; }
.ft-word span { display: block; font: 600 clamp(56px, 14.4vw, 264px)/.82 var(--font-head); letter-spacing: -.05em; white-space: nowrap;
	background: linear-gradient(180deg, var(--text) 0%, color-mix(in srgb, var(--text) 35%, transparent) 55%, transparent 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.site-footer__bottom { border-top: 1px solid var(--line); }
.ft-bottom__mid { color: var(--muted); }

/* Mixed: dark bands always use the white logo */
:root[data-style="mixed"][data-theme="light"] [data-tone="ink"] .logo__img--light { opacity: 1; }
:root[data-style="mixed"][data-theme="light"] [data-tone="ink"] .logo__img--dark { opacity: 0; }

@media (max-width: 1024px) {
	.site-footer__top { grid-template-columns: 1fr; align-items: start; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.ft-bottom__mid { display: none; }
}

/* ==========================================================================
   34. Single project
   ========================================================================== */
.project-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.project-hero__top .crumbs { margin-bottom: 0; }
.project-hero__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.project-hero__count b { font: 500 26px/1 var(--font-head); color: var(--text); }
.project-hero .pills { margin-top: 22px; }
.project-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.project-hero__summary { max-width: 640px; margin: 0; font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); }
.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: clamp(32px, 4vw, 56px) 0 0; border-top: 1px solid var(--line); }
.project-facts > div { padding: 18px 20px 0 0; }
.project-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.project-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 8px 0 0; font: 500 clamp(18px, 1.5vw, 22px)/1.3 var(--font-head); letter-spacing: -.01em; }

/* Elementor case-study content, restyled */
.builder-content--project { padding-top: clamp(48px, 6vw, 96px); }
.builder-content--project.has-native-hero .elementor > .e-con:first-child,
.builder-content--project.has-native-hero .elementor > .elementor-section:first-child { display: none; }
.builder-content--project .e-con { --container-max-width: var(--container); }
.builder-content--project .e-con-boxed > .e-con-inner { padding-inline: var(--gutter); }
.builder-content--project .elementor-heading-title { font-family: var(--font-head); font-weight: 500; letter-spacing: -.02em; color: var(--text) !important; }
.builder-content--project h3.elementor-heading-title { font-size: clamp(32px, 4vw, 60px) !important; line-height: 1.02; }
.builder-content--project h4.elementor-heading-title { font-size: 13px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text) !important; font-family: var(--font-body); }
:root[data-theme="dark"] .builder-content--project h4.elementor-heading-title { color: var(--primary) !important; }
.builder-content--project .elementor-widget-text-editor { color: var(--muted) !important; font-size: 17px; line-height: 1.7; }
.builder-content--project .elementor-widget-text-editor p strong, .builder-content--project .elementor-widget-text-editor > .elementor-widget-container > p:only-child { color: var(--text); }
.builder-content--project .elementor-widget-text-editor ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.builder-content--project .elementor-widget-text-editor li { position: relative; padding-left: 28px; }
.builder-content--project .elementor-widget-text-editor li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--primary-soft); box-shadow: inset 0 0 0 4px var(--primary); }
.builder-content--project .elementor-divider-separator { border-color: var(--line) !important; }
/* Full-page screenshots: framed, and they scroll on hover like a live preview */
.builder-content--project .ms-image-widget .image_inner { position: relative; max-height: 560px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.builder-content--project .ms-image-widget img { display: block; width: 100%; height: auto; border-radius: 0 !important; transition: transform 7s cubic-bezier(.45, 0, .55, 1); }
.builder-content--project .ms-image-widget .image_inner:hover img { transform: translateY(calc(-100% + 560px)); }
.builder-content--project .ms-image-widget .image_inner::after { content: "Hover to scroll"; position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; letter-spacing: .04em; opacity: .9; transition: opacity .3s; pointer-events: none; }
.builder-content--project .ms-image-widget .image_inner:hover::after { opacity: 0; }
@media (hover: none) { .builder-content--project .ms-image-widget .image_inner::after { content: none; } }

/* Prev / next cards (projects + posts) */
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: clamp(48px, 6vw, 88px) 0; }
.project-nav__card { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease-out); }
.project-nav__card:hover { border-color: rgba(62, 137, 255, .5); transform: translateY(-3px); }
.project-nav__card--next { grid-template-columns: auto 1fr 120px; text-align: right; }
.project-nav__card--next .project-nav__img { order: 3; }
.project-nav__card--next .project-nav__arrow { order: 1; }
.project-nav__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); background: var(--surface-2); }
.project-nav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.project-nav__card:hover .project-nav__img img { transform: scale(1.06); }
.project-nav__txt em { display: block; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-nav__txt strong { display: block; margin-top: 4px; font: 500 clamp(18px, 1.6vw, 24px)/1.2 var(--font-head); letter-spacing: -.01em; }
.project-nav__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); }
.project-nav__card:hover .project-nav__arrow { background: var(--primary); border-color: var(--primary); color: #fff; }
.project-nav__arrow .icon { width: 18px; height: 18px; }

/* ==========================================================================
   35. Single post
   ========================================================================== */
.container--mid { max-width: calc(980px + var(--gutter) * 2); }
.read-progress { position: fixed; z-index: 960; inset: 0 0 auto; height: 3px; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #6ec1e4); transform-origin: left; transform: scaleX(0); }
.post-hero .pills { margin-top: 20px; }
.post-hero .pills a { color: inherit; }
.post-hero__title { font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; }
.post-hero__lead { max-width: 720px; margin: 24px 0 0; font-size: var(--fs-lg); color: var(--muted); }
.post-hero__meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.post-hero__avatar, .author-card img { border-radius: 50%; object-fit: cover; }
.post-hero__meta strong { display: block; font-weight: 700; }
.post-hero__meta em { font-style: normal; font-size: 14px; color: var(--muted); }
.post-cover { aspect-ratio: 16 / 7.5; }

.post-layout { display: grid; grid-template-columns: 64px minmax(0, 720px); justify-content: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px) 0; align-items: start; }
.post-share { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 10px; justify-items: center; }
.post-share__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.post-share a, .post-share button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background-color .3s, color .3s, border-color .3s; }
.post-share a:hover, .post-share button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-share .icon { width: 18px; height: 18px; }
.post-share__ok { position: absolute; left: calc(100% + 10px); padding: 4px 10px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.post-share button.is-copied .post-share__ok { opacity: 1; }
.post-body .prose { font-size: 18.5px; }
.post-body .prose > p:first-child::first-letter { float: left; margin: .06em .12em 0 0; font: 500 3.6em/.8 var(--font-head); color: var(--accent-text); }
.post-body .prose h2 { scroll-margin-top: 120px; }
.post-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.post-toc[hidden] { display: none; }
.post-toc__label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-toc ol { display: grid; gap: 4px; }
.post-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.4; transition: color .3s, border-color .3s; }
.post-toc .is-sub a { padding-left: 24px; font-size: 13px; }
.post-toc a:hover, .post-toc a.is-on { color: var(--text); border-left-color: var(--primary); }
.author-card { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.author-card__label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.author-card strong { display: block; margin: 4px 0 6px; font: 500 20px/1.2 var(--font-head); }
.author-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-nav-v2 { padding-bottom: 0; }

@media (max-width: 1100px) {
	.post-layout { grid-template-columns: minmax(0, 720px); }
	.post-share { position: static; display: flex; justify-content: flex-start; order: 2; }
	.post-share__label { writing-mode: horizontal-tb; transform: none; margin: 0 6px 0 0; align-self: center; }
	.post-toc { position: static; order: -1; }
}
@media (max-width: 767px) {
	.project-nav { grid-template-columns: 1fr; }
	.project-nav__card, .project-nav__card--next { grid-template-columns: 88px 1fr auto; text-align: left; }
	.project-nav__card--next .project-nav__img { order: 0; }
	.project-nav__card--next .project-nav__arrow { order: 3; }
	.project-facts > div + div { border-left: 0; padding-left: 0; }
	.project-hero__top { flex-direction: column; align-items: flex-start; }
}
.post-layout.has-toc { grid-template-columns: 64px minmax(0, 720px) minmax(200px, 260px); }
.post-layout:not(.has-toc) { padding-right: 64px; }
@media (max-width: 1100px) { .post-layout.has-toc, .post-layout { grid-template-columns: minmax(0, 720px); padding-right: 0; } }

/* Footer wordmark sizes to its own width (never clipped) */
.ft-word { container-type: inline-size; }
.ft-word span { font-size: 13.6cqi; }

/* Journal: 1 featured + 3 compact */
.post-grid--feature > .post-card:first-child { grid-row: span 3; }
.post-grid--feature > .post-card:not(:first-child) .post-card__link { grid-template-columns: 38% 1fr; gap: 20px; padding-bottom: 16px; }
.post-grid--feature > .post-card:not(:first-child) .post-card__media { min-height: 150px; }
.post-grid--feature > .post-card:not(:first-child) .post-card__title { font-size: clamp(18px, 1.4vw, 22px); }
.post-grid--feature > .post-card:not(:first-child) .post-card__excerpt { -webkit-line-clamp: 2; font-size: 14px; }
.post-grid--feature > .post-card:not(:first-child) .post-card__more { margin-top: 6px; }
.post-grid--feature > .post-card:not(:first-child) .post-card__chip { top: 10px; left: 10px; font-size: 11px; }
.post-grid--feature > .post-card:last-child .post-card__link { border-bottom: 0; }
@media (max-width: 1024px) { .post-grid--feature > .post-card:first-child { grid-row: auto; } }

/* ==========================================================================
   36. Card graphics (icon art, patterns, optional background images)
   Set 'image' => '2026/03/file.jpg' on a service / why-us item in
   inc/content.php to use a photo as the card background.
   ========================================================================== */
.card-art { position: absolute; z-index: -1; right: -5%; bottom: -12%; width: min(46%, 220px); aspect-ratio: 1; color: var(--primary); opacity: .1; pointer-events: none; transition: transform .9s var(--ease-out), opacity .4s; }
.card-art .icon { width: 100%; height: 100%; stroke-width: 1.1; }
.card-art--xl { width: min(36%, 380px); right: 2%; bottom: -10%; opacity: .07; }
.srv-row .card-art { display: none; }

/* Why-us cards */
.why__card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(var(--line-strong) 1px, transparent 1.3px); background-size: 18px 18px;
	mask-image: radial-gradient(circle at 100% 0, #000, transparent 55%); -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 55%); }
.why__card:hover .card-art { transform: rotate(-10deg) scale(1.08); opacity: .18; }
.why__card.has-img { background: linear-gradient(180deg, rgba(10, 10, 10, .25), rgba(10, 10, 10, .85)), var(--card-img) center / cover !important; color: #fff; --muted: rgba(255, 255, 255, .82); border-color: transparent; }
.why__card.has-img .card-art, .why__card.has-img::after { display: none; }

/* Service stack cards */
.stack__inner { isolation: isolate; }
.stack__card:nth-child(3n+2) .card-art, .stack__card:nth-child(3n+3) .card-art { color: #fff; opacity: .12; }
.stack__img { position: absolute; z-index: -1; inset: 0 0 0 45%; background-size: cover; background-position: center; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .55; }
.why__card:nth-child(6) .card-art { width: 120px; right: 1.5%; bottom: -35%; }
