/* ==========================================================================
   Akshay Meena Folio
   Layout: sticky social strip + nav; wide hero with a live growth board;
   sections alternate paper and surface; graphics are inline SVG.
   ========================================================================== */

:root {
	--paper: #F6F7FC;
	--surface: #FFFFFF;
	--surface-2: #EEF1FB;
	--ink: #0D1230;
	--ink-2: #4B5275;
	--ink-3: #7F87A5;
	--line: #E3E7F3;
	--line-2: #CDD3E6;
	--accent: #3D5AF1;
	--accent-hover: #2C47D8;
	--accent-2: #6B45DC;
	--accent-3: #9B4FD4;
	--accent-soft: #EAEEFF;
	--accent-ink: #FFFFFF;
	--grad: linear-gradient(115deg, #3D5AF1 0%, #6B45DC 55%, #9B4FD4 100%);
	--star: #FFB020;
	--ok: #12A46B;
	--bad: #E5484D;
	--shadow-sm: 0 1px 2px rgba(13, 18, 48, .05);
	--shadow: 0 1px 2px rgba(13, 18, 48, .04), 0 14px 34px -14px rgba(31, 44, 120, .18);
	--shadow-lg: 0 30px 60px -24px rgba(31, 44, 120, .28);

	--f-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--strip-h: 36px;
	--nav-h: 70px;
	--header-h: calc(var(--strip-h) + var(--nav-h));
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	color-scheme: light;
}

:root[data-theme="dark"] {
	--paper: #0B0E1A;
	--surface: #12162A;
	--surface-2: #181D35;
	--ink: #EDEFFA;
	--ink-2: #A8AECB;
	--ink-3: #747B9A;
	--line: #232945;
	--line-2: #313858;
	--accent: #7B90FF;
	--accent-hover: #96A6FF;
	--accent-2: #9D7EFF;
	--accent-3: #C08BFF;
	--accent-soft: #1B2148;
	--accent-ink: #0B0E1A;
	--grad: linear-gradient(115deg, #3D5AF1 0%, #6B45DC 55%, #9B4FD4 100%);
	--ok: #3CCB97;
	--bad: #FF7A80;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* In-page anchor links scroll smoothly (set by JS after load, so new pages always open at the top) */
html.smooth { scroll-behavior: smooth; }

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
.icon { flex: none; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--mid { max-width: 980px; }

/* Type ------------------------------------------------------------------ */

.display {
	font-size: clamp(2.5rem, 5.6vw, 4.6rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.02;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.display--page { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 20ch; }
.display--article { font-size: clamp(2rem, 4vw, 3.2rem); font-style: normal; max-width: 24ch; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.h2--sm { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: .7em; }
.h3 { font-size: 1.375rem; letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.lead-sm { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.meta-line { color: var(--ink-3); font-size: .9375rem; margin-top: 12px; }

.prose { color: var(--ink-2); max-width: 70ch; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .6em; }
.prose > h2 { font-size: 1.6rem; margin-top: 1.8em; color: var(--ink); }
.prose > h3 { font-size: 1.25rem; margin-top: 1.5em; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); }
.prose img { border-radius: var(--r-md); }
.prose pre { overflow-x: auto; padding: 18px; border-radius: var(--r-md); background: var(--surface-2); font-size: .9rem; }
.prose code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9688rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--article { font-size: 1.125rem; line-height: 1.78; }

/* Buttons --------------------------------------------------------------- */

.btn {
	--b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px;
	border: 1px solid var(--b-bd); border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg);
	font-family: var(--f-body); font-size: .9688rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--b-fg); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--primary { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--primary:hover { --b-bg: var(--accent-hover); --b-bd: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { --b-bg: transparent; }
.btn--light { --b-bg: #FFFFFF; --b-fg: #1B1F4B; --b-bd: #FFFFFF; }
.btn--light:hover { --b-bg: #EEF1FF; color: #1B1F4B; border-color: #EEF1FF; }
.btn--outline-light { --b-bg: transparent; --b-fg: #FFFFFF; --b-bd: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { color: #FFFFFF; border-color: #FFFFFF; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9063rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.0313rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover .icon, a:hover > .link-more .icon { transform: translateX(3px); }
.link-quiet { font-weight: 600; font-size: .9375rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.link-quiet:hover { color: var(--accent); text-decoration-color: currentColor; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; padding: 0;
	border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink);
	cursor: pointer; text-decoration: none;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8438rem; font-weight: 600; text-decoration: none; }
a.pill:hover { background: var(--accent); color: var(--accent-ink); }

/* Header ---------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 100; }

.topstrip { height: var(--strip-h); background: var(--grad); color: #fff; font-size: .8438rem; }
.topstrip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.ts-note { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; white-space: nowrap; overflow: hidden; }
.ts-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }
.ts-loc { display: inline-flex; align-items: center; gap: 5px; opacity: .9; }
.ts-social { display: flex; align-items: center; gap: 2px; }
.ts-link { display: inline-flex; align-items: center; gap: 6px; height: 30px; min-width: 30px; justify-content: center; padding: 0 8px; border-radius: 999px; color: #fff; text-decoration: none; transition: background-color .2s var(--ease); }
.ts-link:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.ts-label { font-weight: 500; }
.topstrip .status-dot { background: #7CF3C0; }
.topstrip .status-dot::after { border-color: #7CF3C0; }

.navbar { position: relative; height: var(--nav-h); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.is-scrolled .navbar { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.navbar-inner { display: flex; align-items: center; gap: 20px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--accent); flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.0938rem; letter-spacing: -.02em; }
.brand-role { font-size: .8125rem; color: var(--ink-3); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.has-menu { position: relative; }
.nav-link {
	display: inline-flex; align-items: center; gap: 4px;
	min-height: 44px; padding: 8px 14px;
	border: 0; border-radius: 999px; background: transparent;
	font-size: .9688rem; font-weight: 500; color: var(--ink-2);
	text-decoration: none; cursor: pointer;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover, .nav-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"], .nav-btn.is-current { color: var(--accent); background: var(--accent-soft); }
.nav-btn .icon { transition: transform .25s var(--ease); }
.nav-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega {
	position: absolute; top: calc(100% + 10px); left: 50%;
	width: min(720px, 92vw);
	transform: translateX(-50%);
	z-index: 120;
}
.mega--sm { width: min(560px, 92vw); }
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.mega-inner { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color .15s var(--ease); }
.mega-item:hover, .mega-item:focus-visible { background: var(--accent-soft); color: var(--ink); }
.mi-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--accent-soft); color: var(--accent); transition: background-color .15s var(--ease), color .15s var(--ease); }
.mega-item:hover .mi-icon { background: var(--accent); color: var(--accent-ink); }
.mi-text { display: grid; line-height: 1.25; min-width: 0; }
.mi-text strong { font-size: .9375rem; font-weight: 600; }
.mi-text small { font-size: .8125rem; color: var(--ink-3); }
.mega-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--surface-2); font-weight: 600; font-size: .9375rem; color: var(--accent); text-decoration: none; }
.mega-foot:hover { background: var(--accent); color: var(--accent-ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle > span { grid-area: 1 / 1; display: grid; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.tt-moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .tt-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .tt-moon { opacity: 1; transform: none; }
.menu-toggle { display: none; }
.menu-toggle > span { grid-area: 1 / 1; display: grid; }
.mt-close, .menu-open .mt-open { display: none !important; }
.menu-open .mt-close { display: grid !important; }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto; background: var(--paper); padding-block: 12px 40px; }
.mm-list > li { border-bottom: 1px solid var(--line); }
.mm-list > li > a, .mm-group summary {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 60px; padding: 8px 0;
	font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em;
	text-decoration: none; color: var(--ink); cursor: pointer; list-style: none;
}
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary .icon { transition: transform .25s var(--ease); }
.mm-group[open] summary .icon { transform: rotate(180deg); }
.mm-group ul { display: grid; gap: 2px; padding-bottom: 14px; }
.mm-group li a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.mm-group li a:hover { background: var(--accent-soft); color: var(--accent); }
.mm-group .icon { color: var(--accent); }
.mm-all { color: var(--accent) !important; font-weight: 600 !important; }
.mobile-menu .btn--block { margin-top: 24px; }
.mm-social { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.mm-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); }

/* Wordmark (Figtree, subset to the letters it uses) */
.logo { display: inline-flex; align-items: baseline; gap: .26em; font-family: "Figtree", var(--f-display); font-weight: 700; font-size: 1.625rem; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.logo-a { color: var(--ink); }
.logo-b { background: linear-gradient(90deg, #2B50F2 0%, #6B45DC 45%, #B24BC8 75%, #D94C9A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
[data-theme="dark"] .logo-b { background: linear-gradient(90deg, #7B90FF 0%, #A58BFF 50%, #E07BB8 100%); -webkit-background-clip: text; background-clip: text; }
.brand:hover .logo-b { filter: saturate(1.25); }
.site-footer .logo { font-size: 1.875rem; }

/* Shared bits ----------------------------------------------------------- */

.status-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .h2, .section-head.center .lead-sm { margin-inline: auto; }
.section-head.center .h2 { max-width: 22ch; margin-bottom: 14px; }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.tags a { text-decoration: none; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip .icon { color: var(--accent); }

.ind-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.ind-icon--sm { width: 32px; height: 32px; border-radius: 10px; }

.tick-list { display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--accent); margin-top: 4px; }
.tick-list a { text-decoration: none; font-weight: 500; }
.tick-list--lg li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.tick-list--lg { gap: 0; }

.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; color: var(--accent); }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 36px; padding: 18px 20px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--r-lg); background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
.inline-cta p { flex: 1 1 280px; margin: 0; color: var(--ink-2); }
.inline-cta strong { color: var(--ink); }
.ic-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }

/* Hero ------------------------------------------------------------------ */

.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(50% 60% at 85% 10%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
		radial-gradient(40% 50% at 5% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9063rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.sp-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; }
.hero-copy .display { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 26px; }

.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-bottom: 30px; }
.proof li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; color: var(--ink-2); line-height: 1.45; }
.proof .icon { margin-top: 2px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.6; }
.proof strong { color: var(--ink); }

.hero-art { position: relative; }
.hero-id { position: absolute; left: -18px; bottom: -12px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); z-index: 3; }
.hero-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.hero-id span { display: grid; line-height: 1.2; }
.hero-id strong { font-family: var(--f-display); font-size: .9688rem; }
.hero-id small { color: var(--ink-3); font-size: .8125rem; }

/* Growth board */
.board { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow-lg); }
.board-card { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 14px 16px; min-width: 0; }
.board-main { grid-column: 1 / -1; }
.bc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.bc-title { font-size: .8438rem; font-weight: 600; color: var(--ink-2); }
.bc-legend { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-3); }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.lg-1 { background: var(--accent); }
.lg-2 { background: var(--accent-3); }
.lg-3 { background: var(--star); }
.chart { width: 100%; height: 150px; overflow: visible; }
.chart .grid path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke-width: 3; stroke-linecap: round; }
.chart .line-1 { stroke: var(--accent); }
.chart .line-2 { stroke: var(--accent-3); stroke-width: 2.4; stroke-dasharray: 1; }
.chart .pt { fill: var(--surface); stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; margin-top: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: 50% 100%; }
.bars i:last-child { background: var(--grad); }
.board-donut { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 8px 12px; align-items: center; }
.board-donut .bc-title { grid-column: 1 / -1; }
.donut { width: 84px; height: 84px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.d-bg { stroke: var(--surface-2); }
.d-1 { stroke: var(--accent); }
.d-2 { stroke: var(--accent-3); }
.d-3 { stroke: var(--star); }
.d-legend { display: grid; gap: 4px; font-size: .8125rem; color: var(--ink-2); }
.d-legend li { display: flex; align-items: center; gap: 7px; }

.chip { box-shadow: none; }
.board > .chip { position: absolute; z-index: 2; border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); font-size: .8125rem; font-weight: 600; padding: 8px 13px; animation: float 6s ease-in-out infinite; }
.board > .chip .icon { padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.chip-a { top: -16px; right: 18%; }
.chip-b { top: 46%; right: -22px; animation-delay: -2s !important; }
.chip-c { bottom: 18%; left: -26px; animation-delay: -4s !important; }
.chip-b .icon { color: var(--accent-3) !important; }
.chip-c .icon { color: var(--ok) !important; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Draw-on animations: visible by default, animate when JS marks them */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .will-draw .draw { stroke-dashoffset: 1; }
.js .is-drawn .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.js .will-draw .bars i { transform: scaleY(.1); }
.js .is-drawn .bars i { transform: none; transition: transform 1s var(--ease); }
.js .is-drawn .bars i:nth-child(2) { transition-delay: .08s; } .js .is-drawn .bars i:nth-child(3) { transition-delay: .16s; } .js .is-drawn .bars i:nth-child(4) { transition-delay: .24s; } .js .is-drawn .bars i:nth-child(5) { transition-delay: .32s; } .js .is-drawn .bars i:nth-child(6) { transition-delay: .4s; } .js .is-drawn .bars i:nth-child(7) { transition-delay: .48s; }

/* Ticker */
.ticker { position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 80px); padding-block: 18px; border-block: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 80s linear infinite; }
.ticker-track--slow { animation-duration: 70s; animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; gap: 12px; padding-right: 12px; }
.ticker-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .9375rem; white-space: nowrap; color: var(--ink-2); }
.ticker-list .icon { color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Stats */
.stats-band { padding-block: clamp(40px, 5vw, 64px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--accent-soft); opacity: .8; }
.stat dd { position: relative; z-index: 1; display: flex; align-items: flex-start; font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dd em { color: var(--accent); font-style: italic; }
.stat dt { position: relative; z-index: 1; font-weight: 500; color: var(--ink-2); }
.roll { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.roll-col { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); }
.roll-col span { display: block; height: 1em; }

/* Problems vs approach */
.fix-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 28px; align-items: center; }
.fix-col { display: grid; gap: 12px; }
.fix-col li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-weight: 500; line-height: 1.4; }
.fix-col--bad li { color: var(--ink-2); }
.fix-col--good li { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: var(--shadow-sm); }
.fx-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; }
.fix-col--bad .fx-mark { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.fix-col--good .fx-mark { background: var(--accent); color: var(--accent-ink); }
.fx-mark .icon { stroke-width: 2.6; }
.fix-core { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.fix-core svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fc-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 7; transform-origin: 50% 50%; }
.fc-ring--1 { animation: spin 26s linear infinite; opacity: .5; }
.fc-ring--2 { animation: spin 18s linear infinite reverse; stroke: var(--accent-3); opacity: .7; }
.fc-fill { fill: var(--accent); }
.fix-core svg { filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--accent) 35%, transparent)); }
.fc-text { position: relative; font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 1.25rem; line-height: 1.1; text-align: center; color: var(--accent-ink); }
[data-theme="dark"] .fc-fill { fill: #3D5AF1; }
[data-theme="dark"] .fc-text { color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Expertise bar chart */
.exp-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.exp-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.exp-intro .h2 { margin-bottom: 18px; }
.exp-ring { display: flex; align-items: center; gap: 18px; margin: 28px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.exp-ring p { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.bars-chart { display: grid; gap: 8px; }
.bc-row { display: grid; grid-template-columns: 40px minmax(0, 1.1fr) minmax(0, 1fr) 64px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.bc-row:hover { color: var(--ink); border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow); }
.bc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.bc-name { font-weight: 600; line-height: 1.3; }
.bc-track { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bc-fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); }
.js .will-draw .bc-fill { width: 0; }
.js .is-drawn .bc-fill { width: var(--w); transition: width 1.4s var(--ease); }
.bc-years { white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-style: italic; text-align: right; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Ring */
.ring { position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke: var(--accent); }
.ring-fg { stroke-dasharray: var(--p) 100; }
.js .will-draw .ring-fg { stroke-dasharray: 0 100; }
.js .is-drawn .ring-fg { stroke-dasharray: var(--p) 100; transition: stroke-dasharray 1.6s var(--ease); }
.ring-val { position: relative; display: grid; justify-items: center; line-height: 1; }
.ring-val strong { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: calc(var(--size) * .26); letter-spacing: -.03em; }
.ring-val small { font-size: calc(var(--size) * .11); color: var(--ink-3); margin-top: 2px; }

/* Path chart: svg band sits 110px from the top; nodes at y=90 (high) and y=210 (low) */
.pathchart { position: relative; height: 480px; }
.pc-svg { position: absolute; left: 0; right: 0; top: 110px; width: 100%; height: 300px; overflow: visible; }
.pc-track { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.pc-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.pc-dot { fill: var(--accent-3); stroke: var(--surface); stroke-width: 3; }
.pc-steps { position: absolute; inset: 0; }
.pc-step { position: absolute; left: var(--x); width: 210px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.pc-step.is-high { top: calc(110px + 90px - 22px); }
.pc-step.is-low { top: calc(110px + 210px - 22px); }
.pc-step.is-high .pc-text { position: absolute; bottom: calc(100% - 44px + 56px); left: 0; right: 0; }
.pc-num { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); font-family: var(--f-display); font-weight: 800; color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); }
.pc-text { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.pc-text strong { font-family: var(--f-display); font-size: 1.0625rem; }
.pc-text span { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }

/* Projects */
.finder { display: grid; gap: 14px; margin-bottom: 28px; }
.finder-search { position: relative; display: flex; align-items: center; max-width: 560px; }
.finder-search .icon { position: absolute; left: 16px; color: var(--ink-3); pointer-events: none; }
.finder-search input, .blog-search input { width: 100%; min-height: 52px; padding: 12px 18px 12px 46px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; box-shadow: var(--shadow-sm); }
.finder-search input:focus, .blog-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.finder-chips, .topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9063rem; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: all .2s var(--ease); }
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip-btn span { opacity: .7; font-weight: 500; }
.finder-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.finder-empty p { margin: 0; flex: 1 1 260px; color: var(--ink-2); }

.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proj { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); min-width: 0; }
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.proj-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-soft); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-media img { transform: scale(1.04); }
.proj-metric { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .8125rem; color: var(--ink-2); max-width: calc(100% - 24px); }
.proj-metric strong { font-family: var(--f-display); font-style: italic; font-size: 1.0625rem; color: var(--accent); }
.proj-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.proj-meta { margin: 0; font-size: .8438rem; font-weight: 600; color: var(--ink-3); }
.proj-title { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.proj-title a { text-decoration: none; }
.proj-excerpt { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.proj-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.cover { position: relative; display: block; width: 100%; height: 100%; min-height: 100%; overflow: hidden; }
.cover > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-bg { fill: var(--c1); }
.cv-grid path { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.cv-blob { fill: var(--c2); opacity: .75; filter: blur(30px); }
.cv-line { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-linecap: round; }
.cv-icon { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); }
.cv-label { position: absolute; right: 16px; top: 18px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; font-size: .8125rem; font-weight: 600; }

.soon { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.soon .cover { aspect-ratio: 16 / 10; height: auto; border-radius: var(--r-lg); }
.soon h2, .soon h3 { font-size: 1.5rem; margin-bottom: 10px; }
.soon p { color: var(--ink-2); margin-bottom: 18px; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.ind-card:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.ind-card:nth-child(1), .ind-card:nth-child(6) { grid-column: span 2; }
.ind-top { display: flex; justify-content: space-between; align-items: center; }
.ind-count { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 2rem; letter-spacing: -.04em; color: var(--line-2); line-height: 1; }
.ind-card:hover .ind-count { color: var(--accent); }
.ind-name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; padding-right: 26px; }
.ind-desc { color: var(--ink-2); font-size: .9375rem; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ind-chips span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.ind-go { position: absolute; right: 18px; bottom: 18px; color: var(--ink-3); transition: color .2s var(--ease), transform .3s var(--ease); }
.ind-card .ind-chips { padding-right: 28px; }
.ind-card:hover .ind-go { color: var(--accent); transform: translate(2px, -2px); }

.ind-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ind-tile { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease); }
.ind-tile:hover { border-color: var(--accent); color: var(--ink); }
.it-text { display: grid; gap: 2px; }
.it-text span { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }

/* Tools band */
.tools-band { padding-block: clamp(36px, 4vw, 56px); }
.tools-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.tools-band .ticker { margin: 0; border: 0; background: transparent; padding: 0; }

/* About teaser */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; max-width: 420px; }
.about-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.portrait--casual { object-position: 50% 20%; }
.portrait--formal { object-position: 50% 15%; }
.about-photo::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--r-xl); background: var(--grad); z-index: -1; opacity: .9; }
.about-badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .875rem; font-weight: 600; }
.about-badge .icon { color: var(--accent); }
.about-copy .h2 { margin-bottom: 18px; }
.about-copy .lead-sm { color: var(--ink); font-size: 1.1563rem; }
.about-copy > p { color: var(--ink-2); }
.facts { display: grid; gap: 10px; margin: 24px 0 28px; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.facts .icon { color: var(--accent); }
.facts strong { color: var(--ink); }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { min-width: 0; }
.post-link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-link:hover .post-media img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8438rem; color: var(--ink-3); }
.post-meta > span:not(.pill) { display: inline-flex; align-items: center; gap: 5px; }
.post-title { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; transition: color .2s var(--ease); }
.post-link:hover .post-title { color: var(--accent); }
.post-excerpt { color: var(--ink-2); font-size: .9688rem; }
.post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent); font-size: .9375rem; }
.post-card:not(.post-card--featured) .post-meta time { display: none; }
.post-card--featured { margin-bottom: 26px; }
.post-card--featured .post-link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.post-card--featured .post-media { aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-body { padding: clamp(24px, 4vw, 44px); justify-content: center; gap: 14px; }
.post-card--featured .post-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.post-card--featured .post-excerpt { font-size: 1.0625rem; }

.page-hero--blog .lead { margin-bottom: 28px; }
.blog-tools { display: grid; gap: 16px; }
.blog-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 620px; }
.blog-search > .icon { position: absolute; left: 16px; color: var(--ink-3); pointer-events: none; }
.blog-search .btn { position: absolute; right: 6px; }
.blog-search input { padding-right: 110px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .h2 { margin-bottom: 16px; }
.faq-head .lead-sm { margin-bottom: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.0938rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface-2); transition: transform .3s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq-a { padding: 0 20px 20px; color: var(--ink-2); }
.faq-item[open] .faq-a { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* CTA band */
.cta-band { padding-block: 0 clamp(64px, 8vw, 104px); }
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; }
.cta-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ca-ring { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.ca-line { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 3; stroke-linecap: round; }
.cta-title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-style: italic; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 14px; text-wrap: balance; }
.cta-copy p { color: rgba(255, 255, 255, .86); max-width: 56ch; margin: 0; font-size: 1.0625rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 80px); }
.ft-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.ft-intro { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.ft-intro p { margin: 0 !important; }
.ft-intro .ft-mail { grid-column: 3; justify-self: end; }
.ft-intro .ft-social { grid-column: 3; grid-row: 1; }
.ft-intro p { margin: 18px 0; color: var(--ink-2); max-width: 40ch; font-size: .9688rem; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.ft-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ft-mail a { font-weight: 600; text-decoration: none; }
.ft-h { font-family: var(--f-body); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 14px; }
.ft-h--gap { margin-top: 26px; }
.ft-col li + li { margin-top: 8px; }
.ft-col a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.ft-col a:hover { color: var(--accent); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-3); }
.ft-bottom p { margin: 0; }
.ft-bottom a { text-decoration: none; }

/* Talk dialog */
.talk { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.talk::backdrop { background: rgba(9, 12, 32, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.talk[open] { animation: pop .28s var(--ease); }
.talk-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-height: calc(100vh - 24px); }
.talk-side { padding: 32px; background: var(--grad); color: #fff; }
.talk-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 3px solid rgba(255, 255, 255, .6); margin-bottom: 18px; }
.talk-title { color: #fff; font-size: 2rem; font-style: italic; margin-bottom: 10px; }
.talk-side p { color: rgba(255, 255, 255, .88); }
.talk-topic { display: inline-block; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .18); font-size: .875rem; font-weight: 600; }
.talk-alt { display: grid; gap: 8px; margin-top: 24px; }
.talk-alt a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; font-size: .9375rem; word-break: break-all; }
.talk-alt a:hover { color: #fff; text-decoration: underline; }
.talk-form { position: relative; padding: 32px; overflow-y: auto; }
.talk-close { position: absolute; top: 14px; right: 14px; }
.talk-form .form { margin-top: 18px; }

/* Forms */
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .9063rem; font-weight: 600; padding: 0; margin-bottom: 2px; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.field ::placeholder { color: var(--ink-3); }
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.reason { position: relative; }
.reason input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.reason span { display: flex; align-items: center; min-height: 48px; height: 100%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .875rem; font-weight: 500; line-height: 1.3; transition: all .2s var(--ease); }
.reason input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.reason input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .8438rem; color: var(--ink-3); text-align: center; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.form-status.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.is-err, .form-error { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* Page hero */
.page-hero { position: relative; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero .display { margin-bottom: 20px; }
.page-hero--plain .hero-bg { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; font-size: .875rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.ph-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px clamp(32px, 6vw, 72px); align-items: start; }
.ph-card { display: grid; justify-items: center; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.ph-card--list { justify-items: stretch; text-align: left; }
.ph-card-text { margin: 0; color: var(--ink-2); }
.ph-card-text strong { color: var(--ink); }
.ph-card-h { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }

/* Expertise pages */
.exp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.exp-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.exp-card:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.exp-card-top { display: flex; justify-content: space-between; align-items: center; }
.exp-card-title { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.exp-card p { color: var(--ink-2); font-size: .9688rem; margin: 0; }
.exp-card .link-more { margin-top: auto; padding-top: 6px; }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cover-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ci-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-bottom: 14px; }
.ci-check .icon { stroke-width: 2.6; }
.cover-item h3 { font-size: 1.125rem; margin-bottom: 8px; letter-spacing: -.015em; }
.cover-item p { color: var(--ink-2); font-size: .9375rem; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 8px 48px; }
.pager-link { display: grid; gap: 4px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: border-color .2s var(--ease); }
.pager-link:hover { border-color: var(--accent); color: var(--ink); }
.pager-link--next { text-align: right; }
.pager-dir { font-size: .875rem; color: var(--ink-3); }
.pager-name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }

/* Industry pages */
.ind-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-item { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 24px); }
.ind-item:target { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.ind-item h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.ind-item p { color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(40px, 7vw, 96px); }
.two-col--text { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.exp-mini { display: grid; gap: 8px; }
.exp-mini a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); text-decoration: none; transition: border-color .2s var(--ease); }
.exp-mini a:hover { border-color: var(--accent); color: var(--ink); }
.exp-mini span:last-child { display: grid; line-height: 1.3; }
.exp-mini small { color: var(--ink-3); }

/* About page */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-hero-photo { position: relative; }
.about-hero-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: var(--r-xl); border: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.about-hero-photo .about-portrait { position: relative; }
.journey { position: relative; display: grid; gap: 0; max-width: 820px; margin-inline: auto; }
.journey::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-3)); border-radius: 2px; }
.jr-item { position: relative; padding: 0 0 28px 60px; }
.jr-item::before { content: ""; position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); }
.jr-item:last-child::before { background: var(--accent); }
.jr-when { display: block; font-size: .875rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.jr-item h3 { font-size: 1.375rem; margin-bottom: 6px; }
.jr-item p { color: var(--ink-2); max-width: 62ch; }
.ring-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ring-item { display: grid; justify-items: center; gap: 12px; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-align: center; text-decoration: none; font-weight: 600; font-size: .9063rem; line-height: 1.3; transition: border-color .2s var(--ease); }
.ring-item:hover { border-color: var(--accent); color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 22px; border-radius: var(--r-lg); background: var(--accent-soft); }
.value h3 { font-size: 1.125rem; margin-bottom: 8px; }
.value p { color: var(--ink-2); font-size: .9375rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-ways { display: grid; gap: 10px; margin: 28px 0; }
.contact-ways a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: border-color .2s var(--ease); }
.contact-ways a:hover { border-color: var(--accent); color: var(--ink); }
.contact-ways span:last-child { display: grid; line-height: 1.3; min-width: 0; }
.contact-ways small { color: var(--ink-3); font-size: .8125rem; }
.contact-ways strong { overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.form-h { font-size: 1.5rem; margin-bottom: 18px; }
.form-success { display: grid; justify-items: start; gap: 12px; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; }

/* Case study */
.case-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-facts dt { font-size: .8438rem; color: var(--ink-3); }
.case-facts dd { font-weight: 600; }
.case-cover { margin-bottom: 8px; }
.case-cover img, .case-cover .cover { width: 100%; aspect-ratio: 21 / 9; height: auto; object-fit: cover; border-radius: var(--r-xl); }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.result { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: var(--accent-soft); }
.result dd { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.result dt { color: var(--ink-2); font-weight: 500; }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.case-main > * + h2 { margin-top: 40px; }
.steps-list { display: grid; gap: 10px; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.steps-list p { margin: 0; color: var(--ink-2); }
.sl-num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .875rem; }
.quote { margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.quote .icon { color: var(--accent); margin-bottom: 8px; }
.quote blockquote { margin: 0 0 14px; font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.quote figcaption { color: var(--ink-2); font-weight: 600; }
.case-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.side-card--accent { background: var(--grad); border: 0; color: #fff; }
.side-card--accent .side-h { color: #fff; font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; }
.side-card--accent p { color: rgba(255, 255, 255, .88); }
.side-h { font-family: var(--f-body); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 12px; }
.side-h + .tags, .side-list + .side-h { margin-top: 0; }
.side-list { display: grid; gap: 6px; margin-bottom: 20px; }
.side-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.side-list .icon { color: var(--accent); }

/* Article */
.page-hero--article .lead { margin-bottom: 24px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.byline-text { display: grid; line-height: 1.35; font-size: .9375rem; color: var(--ink-3); }
.byline-text a { text-decoration: none; color: var(--ink); }
.article-cover { margin-bottom: clamp(32px, 4vw, 48px); }
.article-cover img, .article-cover .cover { width: 100%; aspect-ratio: 2 / 1; height: auto; object-fit: cover; border-radius: var(--r-xl); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; max-width: 1120px; padding-bottom: clamp(48px, 6vw, 80px); }
.article-layout.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 6px 6px 10px; }
.toc-box summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 700; font-size: .9375rem; cursor: pointer; list-style: none; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box ol { display: grid; gap: 2px; max-height: 60vh; overflow-y: auto; }
.toc-box a { display: block; padding: 7px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; font-size: .875rem; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc-l3 a { padding-left: 24px; font-size: .8438rem; }
.toc-box a:hover { color: var(--accent); }
.toc-box a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.article-main { min-width: 0; }
.tags--article { margin-top: 32px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.share-label { font-weight: 600; margin-right: 8px; }
.share-status { font-size: .875rem; color: var(--ok); font-weight: 500; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.author-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-box p { color: var(--ink-2); font-size: .9688rem; margin-bottom: 10px; }
.ab-name { font-weight: 600; color: var(--ink) !important; margin-bottom: 4px !important; }
.ab-social { display: flex; gap: 16px; }
.ab-social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9063rem; text-decoration: none; color: var(--accent); }

.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.giant-404 { font-family: var(--f-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 800; font-style: italic; letter-spacing: -.06em; line-height: .85; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Section rail (home) */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 50; }
.rail ol { display: grid; gap: 12px; }
.rail a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); transition: all .25s var(--ease); }
.rail a span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s var(--ease); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.rail a.is-active span { background: var(--accent); color: var(--accent-ink); }
.rail a.is-active { border-color: var(--accent); background: var(--accent); transform: scale(1.25); }
.rail a:hover { border-color: var(--accent); }

/* Scroll meter */
.scrollmeter { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.scrollmeter.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.scrollmeter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sm-bg, .sm-fg { fill: none; stroke-width: 3; }
.sm-bg { stroke: var(--surface-2); }
.sm-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .1s linear; }
.sm-val { font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: opacity .2s var(--ease); }
.sm-up { position: absolute; display: grid; place-items: center; opacity: 0; transition: opacity .2s var(--ease); color: var(--accent); }
.scrollmeter:hover .sm-val { opacity: 0; }
.scrollmeter:hover .sm-up { opacity: 1; }


/* ===== v2: industry cards, funnel, industry pages ===== */

.icard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.icard-wrap { min-width: 0; }
.icard { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.icard::before { content: ""; position: absolute; inset: auto -40px -60px auto; width: 140px; height: 140px; border-radius: 50%; background: var(--accent-soft); z-index: -1; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.icard:hover { color: var(--ink); transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.icard:hover::before { transform: scale(1.4); opacity: 1; }
.icard-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); }
.icard:hover .icard-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.icard-name { font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; line-height: 1.25; }
.icard-text { font-size: .9063rem; color: var(--ink-2); line-height: 1.5; }
.icard-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: .875rem; font-weight: 600; color: var(--accent); }
.icard-go .icon { transition: transform .2s var(--ease); }
.icard:hover .icard-go .icon { transform: translateX(3px); }

.mega--wide { width: min(880px, 94vw); }
.mega-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-item--sm { padding: 8px 10px; gap: 10px; }
.mega-item--sm .mi-icon { width: 32px; height: 32px; border-radius: 9px; }
.mega-item--sm .mi-text strong { font-size: .9063rem; }
.ft-all { color: var(--accent) !important; font-weight: 600; }

.exp-photo { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.exp-ring p strong { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.0625rem; margin-bottom: 2px; }
.bc-row { grid-template-columns: 40px minmax(0, 1.2fr) minmax(0, 1fr) 24px; }
.bc-go { display: grid; place-items: center; color: var(--ink-3); transition: color .2s var(--ease), transform .2s var(--ease); }
.bc-row:hover .bc-go { color: var(--accent); transform: translateX(3px); }

/* Funnel */
.funnel { position: relative; max-width: 1140px; margin-inline: auto; }
.fn-art { position: relative; width: min(520px, 100%); margin-inline: auto; padding-top: 80px; padding-bottom: 56px; }
.fn-svg { width: 100%; height: auto; overflow: visible; }
.fn-label { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; }
.fn-layer { transform-box: fill-box; transform-origin: 50% 50%; animation: fn-breathe 5s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes fn-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.fn-drops { position: absolute; top: 0; left: 6%; right: 6%; height: 160px; pointer-events: none; z-index: 2; }
.fn-av { position: absolute; top: 4px; left: var(--x); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; border: 2px solid var(--surface); box-shadow: 0 6px 14px -6px rgba(31, 44, 120, .5); opacity: 0; transform: translate(-50%, -20px); animation: fn-drop 3.8s cubic-bezier(.45, .05, .55, .95) infinite; animation-delay: var(--d); }
.fn-av--0 { background: linear-gradient(135deg, #3D5AF1, #6B45DC); }
.fn-av--1 { background: linear-gradient(135deg, #F59E0B, #EF6C3A); }
.fn-av--2 { background: linear-gradient(135deg, #10B981, #0EA5A4); }
.fn-av--3 { background: linear-gradient(135deg, #9B4FD4, #D946A8); }
.fn-av--4 { background: linear-gradient(135deg, #0EA5E9, #3D5AF1); }
@keyframes fn-drop {
	0% { opacity: 0; transform: translate(-50%, -24px) scale(.6); }
	12% { opacity: 1; transform: translate(-50%, 0) scale(1); }
	42% { opacity: 1; transform: translate(-50%, 8px) scale(1); }
	82% { opacity: 1; transform: translate(calc(-50% + var(--tx)), 112px) scale(.72); }
	100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), 138px) scale(.4); }
}
.fn-out { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; border: 3px solid var(--surface); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 45%, transparent); animation: fn-pulse 2.4s ease-out infinite; }
.fn-check { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; border: 2px solid var(--surface); }
.fn-check .icon { stroke-width: 3; }
@keyframes fn-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 45%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }

.fn-notes { position: absolute; inset: 0; pointer-events: none; }
.fn-note { position: absolute; width: calc((100% - 580px) / 2); display: grid; gap: 4px; color: var(--ink-2); font-size: .9688rem; line-height: 1.5; pointer-events: auto; }
.fn-note::after { content: ""; position: absolute; top: 12px; width: 56px; height: 2px; border-radius: 2px; }
.fn-note--0, .fn-note--2 { left: 0; text-align: right; padding-right: 8px; }
.fn-note--1, .fn-note--3 { right: 0; text-align: left; padding-left: 8px; }
.fn-note--0::after, .fn-note--2::after { left: 100%; }
.fn-note--1::after, .fn-note--3::after { right: 100%; }
.fn-note--0 { top: 176px; } .fn-note--0::after { background: #A8B6F8; }
.fn-note--1 { top: 270px; } .fn-note--1::after { background: #BBA6F3; }
.fn-note--2 { top: 352px; } .fn-note--2::after { background: #DCA9F0; }
.fn-note--3 { top: 432px; } .fn-note--3::after { background: #EFAAD2; }
.fn-note-label { font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.0625rem; }
.fn-note-text strong { color: var(--ink); }

/* Reveal on scroll (content stays visible without JS) */
.js .will-reveal { opacity: 0; transform: translateY(18px); }
.js .will-reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }

/* Industry page */
.ind-badge { display: grid; justify-items: center; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.ib-art { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.ib-ring { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.ib-ring--1 { inset: 0; animation: spin 30s linear infinite; }
.ib-ring--2 { inset: 34px; border-color: color-mix(in srgb, var(--accent-3) 50%, transparent); animation: spin 20s linear infinite reverse; }
.ib-tile { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--accent) 70%, transparent); }
.ib-orb { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.ib-orb--0 { top: 4px; left: 22px; }
.ib-orb--1 { top: 30px; right: 0; animation-delay: -1.2s; }
.ib-orb--2 { bottom: 20px; right: 14px; animation-delay: -2.4s; }
.ib-orb--3 { bottom: 6px; left: 6px; animation-delay: -3.6s; }
.ib-name { font-size: 1.5rem; text-align: center; }
.ib-list { display: grid; gap: 8px; width: 100%; }
.ib-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-weight: 500; font-size: .9375rem; }
.ib-list .icon { padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.8; flex: none; }

.did-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.did-card { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.did-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.did-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.did-card:hover::after { transform: scaleX(1); }
.did-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.did-card h3 { font-size: 1.1875rem; margin-bottom: 8px; letter-spacing: -.015em; line-height: 1.25; }
.did-card p { color: var(--ink-2); font-size: .9688rem; }
.ask-card { align-self: start; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); background: var(--grad); color: #fff; }
.ask-card .ic-icon { background: rgba(255, 255, 255, .2); margin-bottom: 18px; }
.ask-card .h2 { color: #fff; }
.ask-card p { color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
.exp-mini small { font-size: .8438rem; line-height: 1.4; }
.icard-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1180px) {
	.icard-grid, .icard-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.did-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mega-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
	.fn-notes { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
	.fn-note, .fn-note--0, .fn-note--1, .fn-note--2, .fn-note--3 { position: relative; top: auto; left: auto; right: auto; width: auto; text-align: left; padding: 16px 16px 16px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
	.fn-note::after { top: 16px; bottom: 16px; left: 0 !important; right: auto !important; width: 4px; height: auto; border-radius: 0 4px 4px 0; }
	.ind-badge { max-width: 460px; }
}
@media (max-width: 680px) {
	.icard-grid, .icard-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.icard { padding: 14px; gap: 8px; }
	.icard-icon { width: 40px; height: 40px; border-radius: 12px; }
	.icard-name { font-size: 1rem; }
	.icard-text, .icard-go { display: none; }
	.did-grid { grid-template-columns: 1fr; }
	.fn-notes { grid-template-columns: 1fr; }
	.fn-art { padding-top: 64px; }
	.fn-drops { height: 120px; }
	.fn-av { width: 28px; height: 28px; }
	.ib-art { width: 190px; height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
	.fn-av { animation: none; opacity: 1; transform: translate(-50%, 0); }
	.fn-av:nth-child(n+6) { display: none; }
}


/* ===== v3: process story, beam steps, case study ===== */

/* Process story */
.story { position: relative; height: calc(var(--n) * 62vh + 30vh); }
.story-sticky { position: sticky; top: calc(var(--header-h) + 28px); height: calc(100vh - var(--header-h) - 56px); min-height: 540px; max-height: 660px; display: flex; align-items: center; }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); width: 100%; height: 100%; align-items: center; }
.story-steps { display: grid; gap: 8px; }
.story-step button { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--r-md); background: transparent; text-align: left; cursor: pointer; opacity: .55; transition: opacity .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.story-step button:hover { opacity: .85; }
.story-step.is-active button { opacity: 1; background: var(--surface); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); transform: translateX(6px); }
.ss-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); transition: background .35s var(--ease), color .35s var(--ease); }
.story-step.is-active .ss-icon { background: var(--grad); color: #fff; }
.ss-text { display: grid; gap: 2px; min-width: 0; }
.ss-kicker { font-size: .75rem; font-weight: 700; color: var(--accent); }
.ss-text strong { font-family: var(--f-display); font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ss-desc { display: block; max-height: 0; overflow: hidden; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; transition: max-height .45s var(--ease), margin .45s var(--ease); }
.story-step.is-active .ss-desc { max-height: 80px; margin-top: 4px; }
.story-bar { height: 4px; margin: 18px 16px 0; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.story-bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(.2); transition: transform .25s linear; }

.story-stage { position: relative; height: 100%; max-height: 560px; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff;
	background:
		radial-gradient(60% 60% at 80% 10%, rgba(155, 79, 212, .45), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(61, 90, 241, .5), transparent 70%),
		linear-gradient(160deg, #10153A, #0B0E22);
	box-shadow: 0 40px 80px -30px rgba(31, 44, 120, .55); }
.story-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; z-index: -1; }
.stage-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 144, 255, .35), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: glow 6s ease-in-out infinite; z-index: -1; }
@keyframes glow { 50% { transform: translate(-40%, -60%) scale(1.2); } }
.stage-label { position: absolute; left: 22px; bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: .875rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.scene { position: absolute; inset: 0; padding: 32px; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; }

/* Research */
.sc-search { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: rgba(255,255,255,.95); color: #1B1F4B; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); max-width: 440px; }
.sc-search .icon { color: #3D5AF1; flex: none; }
.sc-typing { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid #3D5AF1; width: 0; }
.is-active .sc-typing { animation: typing 2.2s steps(36) .3s forwards, caret .8s step-end infinite; }
@keyframes typing { to { width: 34ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.sc-dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 0; margin-top: 64px; justify-items: center; }
.sc-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.is-active .sc-dots i { animation: dotin .5s var(--ease) both; animation-delay: calc(var(--k) * 18ms + .2s); }
.is-active .sc-dots i.hot { animation: dotin .5s var(--ease) both, hot 1s var(--ease) forwards; animation-delay: calc(var(--k) * 18ms + .2s), calc(1.6s + var(--k) * 30ms); }
@keyframes dotin { from { transform: scale(0); } }
@keyframes hot { to { background: #FFB020; box-shadow: 0 0 0 6px rgba(255,176,32,.2), 0 0 18px rgba(255,176,32,.8); transform: scale(1.4); } }
.sc-beam { position: absolute; top: 110px; bottom: 90px; width: 90px; left: -100px; background: linear-gradient(90deg, transparent, rgba(123,144,255,.35), transparent); }
.is-active .sc-beam { animation: sweep 2.6s ease-in-out .4s infinite; }
@keyframes sweep { to { left: 110%; } }
.sc-tag { position: absolute; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: .8125rem; font-weight: 600; opacity: 0; }
.is-active .sc-tag { animation: tagin .6s var(--ease) forwards, float 5s ease-in-out infinite; }
.sc-tag--1 { right: 32px; top: 36px; animation-delay: .8s, 1.4s !important; }
.sc-tag--2 { right: 60px; bottom: 70px; animation-delay: 1s, 1.6s !important; }
.sc-tag--3 { left: 40%; bottom: 64px; animation-delay: 1.2s, 1.8s !important; }
.sc-tag--4 { left: 32px; bottom: 120px; animation-delay: 1.4s, 2s !important; }
@keyframes tagin { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }

/* Strategy */
.scene-strategy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.sc-road { display: grid; gap: 26px; margin-right: 110px; }
.sc-lane { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255,255,255,.15); }
.sc-lane-l { font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.6); }
.sc-pill { display: block; width: 0; overflow: hidden; white-space: nowrap; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, #3D5AF1, #6B45DC); font-weight: 700; font-size: .9375rem; box-shadow: 0 10px 24px -10px rgba(61,90,241,.8); }
.sc-pill--2 { background: linear-gradient(90deg, #6B45DC, #9B4FD4); }
.sc-pill--3 { background: linear-gradient(90deg, #9B4FD4, #D94C9A); }
.is-active .sc-pill { animation: grow .9s var(--ease) forwards; animation-delay: var(--d); }
@keyframes grow { to { width: var(--w); } }
.sc-target { position: absolute; right: 32px; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin-top: -36px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #FFB020; }
.is-active .sc-target { animation: pulse-t 1.8s ease-out 1.4s infinite; }
@keyframes pulse-t { 0% { box-shadow: 0 0 0 0 rgba(255,176,32,.5); } 100% { box-shadow: 0 0 0 26px rgba(255,176,32,0); } }

/* Create */
.scene-create { display: grid; place-items: center; }
.sc-doc { position: absolute; left: 50%; top: 46%; width: 200px; padding: 16px; border-radius: 16px; background: #fff; color: #1B1F4B; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); transform: translate(-50%, -50%) rotate(0); transition: transform .9s var(--ease); }
.sc-doc-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .875rem; margin-bottom: 12px; }
.sc-doc-h .icon { color: #3D5AF1; }
.sc-doc i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #E3E7F3; width: 0; }
.is-active .sc-doc i { animation: line .6s var(--ease) forwards; animation-delay: calc(.9s + var(--k) * .15s); }
@keyframes line { to { width: var(--l); } }
.is-active .sc-doc:nth-child(1) { transform: translate(-128%, -78%) rotate(-7deg); }
.is-active .sc-doc:nth-child(2) { transform: translate(28%, -86%) rotate(5deg); transition-delay: .1s; }
.is-active .sc-doc:nth-child(3) { transform: translate(-118%, 18%) rotate(4deg); transition-delay: .2s; }
.is-active .sc-doc:nth-child(4) { transform: translate(20%, 10%) rotate(-5deg); transition-delay: .3s; }

/* Automate */
.sc-flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-wire { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; }
.is-active .sc-wire { animation: wire 1.2s var(--ease) forwards; }
@keyframes wire { to { stroke-dashoffset: 0; } }
.sc-pulse { fill: #FFB020; filter: drop-shadow(0 0 6px #FFB020); }
.sc-pulse--2 { fill: #7CF3C0; filter: drop-shadow(0 0 6px #7CF3C0); }
.sc-node { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #1B1F4B; font-weight: 700; font-size: .875rem; transform: translate(-50%, -50%) scale(0); box-shadow: 0 14px 28px -12px rgba(0,0,0,.6); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.sc-node .icon { color: #3D5AF1; }
.sc-node--core { width: 64px; height: 64px; justify-content: center; padding: 0; border-radius: 50%; background: linear-gradient(135deg, #3D5AF1, #9B4FD4); color: #fff; }
.sc-node--core .icon { color: #fff; }
.is-active .sc-node { transform: translate(-50%, -50%) scale(1); }
.is-active .sc-node:nth-of-type(2) { transition-delay: .15s; } .is-active .sc-node:nth-of-type(3) { transition-delay: .3s; } .is-active .sc-node:nth-of-type(4) { transition-delay: .45s; } .is-active .sc-node:nth-of-type(5) { transition-delay: .6s; }
.is-active .sc-node--core { animation: core 2s ease-in-out .8s infinite; }
@keyframes core { 50% { box-shadow: 0 0 0 14px rgba(123,144,255,.18); } }

/* Measure */
.sc-kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-kpi { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .875rem; opacity: 0; }
.sc-kpi em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #12A46B; color: #fff; font-style: normal; }
.is-active .sc-kpi { animation: tagin .5s var(--ease) forwards; }
.is-active .sc-kpi:nth-child(2) { animation-delay: .15s; } .is-active .sc-kpi:nth-child(3) { animation-delay: .3s; }
.sc-bars { position: absolute; left: 32px; right: 32px; bottom: 64px; height: 52%; display: flex; align-items: flex-end; gap: 12px; }
.sc-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(123,144,255,.9), rgba(107,69,220,.5)); transform: scaleY(0); transform-origin: 50% 100%; }
.is-active .sc-bars i, .measure-art.is-drawn .sc-bars i { transform: scaleY(1); transition: transform .9s var(--ease); transition-delay: calc(.2s + var(--k) * .08s); }
.sc-trend { position: absolute; left: 32px; right: 32px; bottom: 64px; height: 52%; width: calc(100% - 64px); overflow: visible; }
.sc-trend path { fill: none; stroke: #FFB020; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255,176,32,.7)); }
.is-active .sc-trend path { animation: trendd 1.6s var(--ease) .8s forwards; }
@keyframes trendd { to { stroke-dashoffset: 0; } }

/* Beam steps */
.beam { position: relative; display: grid; gap: 14px; --p: 0; }
.beam::before, .beam::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; }
.beam::before { background: var(--line); }
.beam::after { background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--p)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
.beam-step { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; align-items: start; }
.beam-num { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); font-family: var(--f-display); font-weight: 800; color: var(--ink-3); transition: all .4s var(--ease); }
.beam-step.is-lit .beam-num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent); }
.beam-body { padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.beam-step.is-lit .beam-body { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); }
.beam-body h3 { font-size: 1.125rem; margin-bottom: 4px; }
.beam-body p { color: var(--ink-2); }
.js .beam-step:not(.is-lit) .beam-num { color: var(--ink-3); }

/* Case study */
.case-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.case-jump a:hover { border-color: var(--accent); color: var(--accent); }
.case-cover .cover .cv-label { font-size: .9375rem; }
.situation { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.sit-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); font-weight: 700; font-size: .875rem; }
.sit-text { font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.4; color: var(--ink); }
.diag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.diag { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.diag p { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
.diag-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.case-steps { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cs-head { position: sticky; top: calc(var(--header-h) + 32px); }
.cs-head .h2 { margin-bottom: 12px; }
.cs-head .lead-sm { margin-bottom: 22px; }
.deliv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.deliv { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.deliv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.deliv .did-icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; flex: none; }
.deliv strong { font-family: var(--f-display); font-size: 1.0625rem; line-height: 1.3; }
.measure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.measure .h2 { margin-bottom: 12px; }
.measure-art { position: relative; height: 340px; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(60% 60% at 80% 10%, rgba(155,79,212,.45), transparent 70%), linear-gradient(160deg, #10153A, #0B0E22); }
.measure-art .sc-bars, .measure-art .sc-trend { bottom: 32px; height: 70%; }
.measure-art .sc-trend path { stroke-dasharray: 1; }
.js .measure-art:not(.is-drawn) .sc-bars i { transform: scaleY(0); }
.measure-art .sc-bars i { transform: scaleY(1); }
.measure-list { display: grid; gap: 10px; margin-top: 22px; }
.measure-list li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.measure-list .icon { padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.8; flex: none; }

@media (max-width: 1000px) {
	.story { height: auto; }
	.story-sticky { position: static; height: auto; min-height: 0; max-height: none; display: block; }
	.story-grid { grid-template-columns: 1fr; }
	.story-stage { order: -1; height: 380px; min-height: 0; }
	.story-step.is-active button { transform: none; }
	.situation, .case-steps, .measure { grid-template-columns: 1fr; }
	.cs-head { position: static; }
	.diag-grid, .deliv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.story-stage { height: 320px; }
	.scene { padding: 20px; }
	.sc-search { font-size: .8125rem; padding: 10px 14px; }
	.sc-dots { gap: 12px 0; margin-top: 26px; }
	.sc-doc { width: 150px; padding: 12px; }
	.sc-road { margin-right: 70px; }
	.sc-lane { grid-template-columns: 1fr; gap: 6px; }
	.sc-pill { font-size: .8125rem; padding: 9px 12px; }
	.sc-target { width: 54px; height: 54px; right: 16px; }
	.sc-tag--1, .sc-tag--3, .sc-tag--4 { display: none; }
	.sc-dots { gap: 22px 0; margin-top: 36px; }
	.sc-node { font-size: .75rem; padding: 7px 10px; }
	.diag-grid, .deliv-grid { grid-template-columns: 1fr; }
	.measure-art { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
	.sc-typing { width: auto; border: 0; }
	.sc-pill { width: var(--w); }
	.sc-doc i { width: var(--l); }
	.sc-wire { stroke-dashoffset: 0; }
	.sc-trend path { stroke-dashoffset: 0; }
	.sc-tag, .sc-kpi { opacity: 1; }
	.sc-bars i { transform: none; }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
	.rail { display: none; }
	.proj-grid, .post-grid, .exp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ind-card:nth-child(1), .ind-card:nth-child(6) { grid-column: auto; }
	.ind-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft-intro { grid-template-columns: 1fr; }
	.ft-intro .ft-mail, .ft-intro .ft-social { grid-column: auto; grid-row: auto; }
	.cover-grid, .ind-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
	:root { --nav-h: 64px; }
	.nav, .nav-cta { display: none; }
	.menu-toggle { display: inline-grid; }
	.nav-actions { margin-left: auto; }
	.hero-grid, .ph-split, .about-grid, .exp-grid, .faq-grid, .contact-grid, .about-hero, .case-body, .section-head.split, .two-col, .two-col--text, .talk-inner, .soon { grid-template-columns: 1fr; }
	.hero-art { max-width: 620px; }
	.exp-intro, .faq-head, .case-side, .toc { position: static; }
	.fix-grid { grid-template-columns: 1fr; }
	.fix-core { width: 170px; margin-inline: auto; order: -1; }
	.article-layout { grid-template-columns: 1fr; }
	.toc-box:not([open]) { padding-bottom: 6px; }
	.about-hero-photo { max-width: 320px; }
	.talk-side { padding: 24px; }
	.talk-alt { display: none; }
	.talk-photo { width: 52px; height: 52px; margin-bottom: 10px; }
	.talk-title { font-size: 1.6rem; margin-bottom: 4px; }
	.talk-side > p:last-of-type { display: none; }
	.post-card--featured .post-link { grid-template-columns: 1fr; }
	.post-card--featured .post-media { min-height: 0; aspect-ratio: 16 / 9; }
	.tools-inner { grid-template-columns: 1fr; }
	.cta-card { grid-template-columns: 1fr; }
	.ind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Path chart becomes a vertical timeline */
	.pathchart { height: auto; }
	.pc-svg { display: none; }
	.pc-steps { position: relative; display: grid; gap: 14px; padding-left: 0; }
	.pc-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-3)); }
	.pc-step, .pc-step.is-high, .pc-step.is-low { position: relative; top: auto; left: auto; width: auto; transform: none; flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; }
	.pc-text { flex: 1; }
	.pc-step.is-high .pc-text { position: static; }
}

@media (max-width: 680px) {
	:root { --strip-h: 34px; }
	body { font-size: 1rem; }
	.ts-loc, .ts-sep, .ts-label { display: none; }
	.ts-link { padding: 0 6px; }
	.brand-role { display: none; }
	.brand-photo { width: 38px; height: 38px; }
	.proof { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.stat { padding: 20px 16px; }
	.board { padding: 12px; gap: 10px; grid-template-columns: 1fr 1fr; }
	.board-donut { grid-template-columns: 1fr; justify-items: center; }
	.donut { width: 64px; height: 64px; }
	.d-legend { display: none; }
	.chip-b, .chip-c { display: none !important; }
	.chip-a { right: 10px; }
	.hero-id { left: 8px; bottom: -18px; }
	.bc-row { grid-template-columns: 36px minmax(0, 1fr) 54px; gap: 10px; }
	.bc-icon { width: 36px; height: 36px; }
	.bc-track { grid-column: 2 / 4; grid-row: 2; }
	.proj-grid, .post-grid, .exp-cards, .ind-grid, .cover-grid, .ind-detail, .values, .ind-tiles { grid-template-columns: 1fr; }
	.ind-card:last-child:nth-child(odd) { grid-column: auto; }
	.field-row, .reason-grid { grid-template-columns: 1fr; }
	.ft-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.pager { grid-template-columns: 1fr; }
	.pager-link--next { text-align: left; }
	.btn-row .btn { flex: 1 1 auto; }
	.about-photo::before { inset: 16px -10px -10px 16px; }
	.talk { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
	.talk-inner { max-height: 100dvh; height: 100%; overflow-y: auto; }
	.talk-form { overflow: visible; }
	.blog-search input { padding-right: 18px; }
	.blog-search .btn { display: none; }
	.author-box { flex-direction: column; }
	.cta-card { padding: 28px 22px; }
	.rail { display: none; }
	.scrollmeter { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.ticker-track { animation: none; flex-wrap: wrap; width: auto; }
	.ticker-list[aria-hidden] { display: none; }
	.ticker-list { flex-wrap: wrap; justify-content: center; }
	.pc-dot { display: none; }
}

@media print {
	.site-header, .site-footer, .cta-band, .scrollmeter, .rail, .talk { display: none !important; }
	body { background: #fff; color: #000; }
}
