/*
  giorgikharatishvili.com · design system v4
  ------------------------------------------------------------------
  1 Tokens (two themes)   2 Base   3 Type   4 Controls   5 Header
  6 Sections & components 7 Pages  8 Assistant + lightbox  9 Footer
  10 Georgian typography  11 Motion
  Theme: set ONLY by assets/boot.js on <html data-gk-theme="dark|light">. No prefers-color-scheme, no page-level
  backgrounds: every surface reads the tokens below, so a theme is identical on every page.
*/

@font-face { font-family: "Inter"; src: url("fonts/Inter-Latin-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Latin-Italic-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Sans Georgian"; src: url("fonts/NotoSansGeorgian-Georgian-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* ============ 1 TOKENS ============ */
html:root {
  color-scheme: dark;
  --bg: #0A0A0B; --bg-2: #0F0F11; --card: #121214; --card-2: #19191C;
  --border: #222226; --border-2: #2F2F35; --border-3: #40404A;
  --text: #F4F4F5; --text-2: #D8D8DD; --muted: #A4A4AE; --dim: #868691;
  --accent: #722F43; --accent-hi: #86384F; --accent-text: #D07C94;
  --accent-soft: rgba(114, 47, 67, .2); --accent-glow: rgba(114, 47, 67, .34);
  --on-accent: #FFFFFF;
  --header-bg: rgba(10, 10, 11, .86); --glass: rgba(14, 14, 16, .84); --tint: rgba(255, 255, 255, .035);
  --grid-line: rgba(255, 255, 255, .045);
  --shadow: 0 28px 70px rgba(0, 0, 0, .55); --shadow-sm: 0 10px 30px rgba(0, 0, 0, .35);
  --photo-filter: saturate(.92) contrast(1.03) brightness(.97); --shot-filter: brightness(.95);
  --mark-opacity: .075;
  /* scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section: clamp(64px, 8vw, 112px);
  --head-gap: clamp(32px, 4.4vw, 56px);
  --pad: clamp(18px, 4vw, 32px);
  --max: 1200px;
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --font: Inter, "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.75rem, 6.6vw, 5.5rem); --fs-xl: clamp(2.25rem, 4.8vw, 4rem); --fs-lg: clamp(1.625rem, 3vw, 2.5rem);
  --fs-md: clamp(1.1875rem, 1.6vw, 1.4375rem); --fs-sm: 1.0625rem; --fs-lead: clamp(1rem, 1.25vw, 1.125rem);
  --lh-tight: 1; --lh-head: 1.1; --track-tight: -.04em; --track-head: -.028em;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
}
html[data-gk-theme="light"] {
  color-scheme: light;
  --bg: #FAF9F6; --bg-2: #F3F1EC; --card: #FFFFFF; --card-2: #F7F5F1;
  --border: #E6E3DC; --border-2: #D8D4CB; --border-3: #BCB7AC;
  --text: #131315; --text-2: #2C2C31; --muted: #55555E; --dim: #6B6B74;
  --accent: #722F43; --accent-hi: #5F2738; --accent-text: #722F43;
  --accent-soft: rgba(114, 47, 67, .09); --accent-glow: rgba(114, 47, 67, .13);
  --header-bg: rgba(250, 249, 246, .9); --glass: rgba(255, 255, 255, .9); --tint: rgba(19, 19, 21, .025);
  --grid-line: rgba(19, 19, 21, .055);
  --shadow: 0 24px 60px rgba(40, 30, 20, .13); --shadow-sm: 0 8px 24px rgba(40, 30, 20, .09);
  --photo-filter: saturate(.96) contrast(1.02); --shot-filter: none;
  --mark-opacity: .07;
}
@media (min-width: 1800px) { html:root { --max: 1320px; } }

/* ============ 2 BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--sp-4); top: var(--sp-3); z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; transform: translateY(-220%); }
.skip:focus-visible { transform: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); border-top: 1px solid var(--border); }
.section--flush { border-top: 0; padding-top: 0; }
.stack { display: grid; gap: var(--gap, var(--sp-5)); align-content: start; }
/* Georgian text is applied by JS; hide the body for a few ms so English never flashes first (boot.js removes the class). */
html.i18n-wait body { visibility: hidden; }

/* ============ 3 TYPE ============ */
.h-display { font-size: var(--fs-display); font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--track-tight); text-wrap: balance; }
.h-xl { font-size: var(--fs-xl); font-weight: 700; line-height: 1.02; letter-spacing: var(--track-tight); text-wrap: balance; }
.h-lg { font-size: var(--fs-lg); font-weight: 700; line-height: var(--lh-head); letter-spacing: var(--track-head); text-wrap: balance; }
.h-md { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; letter-spacing: -.018em; }
.h-sm { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.accent { color: var(--accent-text); }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.lead--strong { color: var(--text); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.55; }
.tiny { font-size: .78125rem; line-height: 1.55; color: var(--dim); }
.label { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.kicker { display: flex; align-items: center; gap: 14px; font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.kicker b { color: var(--accent-text); font-weight: 600; letter-spacing: .1em; }
.kicker i { width: 48px; height: 1px; flex: none; background: var(--border-3); transform-origin: 0 50%; }
.kicker svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent-text); stroke-width: 1.8; }
.kicker--center { justify-content: center; }
@media (max-width: 520px) { .kicker { flex-wrap: wrap; gap: 6px 10px; } .kicker i { width: 28px; } }
.strong { color: var(--text); }

/* ============ 4 CONTROLS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .875rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; transition: background-color .2s, border-color .2s, box-shadow .3s, transform .35s var(--ease); }
.btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: var(--tint); color: var(--text); border-color: var(--border-3); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) {
  .btn--accent:hover { background: var(--accent-hi); box-shadow: 0 10px 26px rgba(114, 47, 67, .34); }
  .btn--ghost:hover { border-color: var(--text); }
  .btn:hover svg { transform: translateX(3px); }
}
.tlink { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--text); background: none; border: 0; padding: 0; }
.tlink > span { border-bottom: 1px solid var(--border-3); padding-bottom: 2px; transition: border-color .2s; }
.tlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
@media (hover: hover) { .tlink:hover > span { border-color: var(--text); } .tlink:hover svg { transform: translateX(3px); } }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid var(--border-2); border-radius: 999px; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.chip--accent { border-color: transparent; background: var(--accent-soft); color: var(--accent-text); }
a.chip { transition: border-color .2s, color .2s; }
@media (hover: hover) { a.chip:hover { border-color: var(--text); color: var(--text); } }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--tint); font-size: .78125rem; color: var(--muted); }
.pill b { color: var(--text); font-weight: 500; }
.live { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-soft); }
.card { position: relative; isolation: isolate; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.card--pad { padding: clamp(20px, 2.4vw, 32px); }
/* interactive cards only: lift + cursor spotlight (static cards stay still, so nothing looks clickable that is not) */
.card--link { transition: border-color .25s, transform .5s var(--ease); }
.card--link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 62%); opacity: 0; transition: opacity .4s; pointer-events: none; }
@media (hover: hover) { .card--link:hover { border-color: var(--border-3); transform: translateY(-4px); } .card--link:hover::before { opacity: 1; } }

/* ============ 5 HEADER ============ */
[data-header] { display: block; min-height: 69px; } /* space held until site.js draws the header: no layout jump */
.top { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--border); }
.top__in { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; transition: min-height .35s var(--ease); }
.top.is-scrolled .top__in { min-height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 26px; width: auto; }
.logo__name { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.logo-light { display: none; }
html[data-gk-theme="light"] .logo-dark { display: none; }
html[data-gk-theme="light"] .logo-light { display: block; }
.nav { margin-inline: auto; }
.nav > ul { position: relative; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; border-radius: var(--r-sm); background: none; font-size: .875rem; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"], .dd.is-open > button, .dd.is-current > button { color: var(--text); }
.nav button svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.dd.is-open > button svg { transform: rotate(180deg); }
.nav__ink { position: absolute; left: 0; bottom: 1px; height: 2px; width: var(--iw, 0px); border-radius: 2px; background: var(--accent-text); transform: translateX(var(--ix, 0px)); opacity: var(--io, 0); transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; pointer-events: none; }
.dd { position: relative; }
.dd__panel { position: absolute; left: -12px; top: calc(100% + 12px); width: 320px; padding: var(--sp-2); border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .3s var(--ease), visibility 0s linear .3s; }
.dd:hover .dd__panel, .dd:focus-within .dd__panel, .dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-size: .875rem; }
.dd__panel a:hover { background: var(--card-2); }
.dd__panel small { font-size: .78125rem; color: var(--dim); }
.top__right { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--border-2); border-radius: 999px; }
.lang button { min-width: 34px; height: 30px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: background-color .2s, color .2s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.lang--full button { height: 36px; padding: 0 14px; font-size: .8125rem; letter-spacing: 0; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border-2); border-radius: 999px; background: transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .5s var(--ease); }
.theme-btn .i-sun { display: none; }
html[data-gk-theme="light"] .theme-btn .i-sun { display: block; }
html[data-gk-theme="light"] .theme-btn .i-moon { display: none; }
@media (hover: hover) { .theme-btn:hover svg { transform: rotate(-25deg); } }
.menu-btn { display: none; }
.mnav { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; gap: var(--sp-5); padding: 13px var(--pad) 28px; background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; }
.mnav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; min-height: 42px; }
.mnav__links { align-self: center; display: grid; gap: 2px; }
.mnav__links a { display: block; padding: 7px 0; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.mnav__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; background: var(--accent-text); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
@media (max-width: 1099px) { .nav, .top__right .btn { display: none; } .menu-btn { display: grid; } .top__right { margin-left: auto; } }
@media (max-width: 419px) { .logo__name { display: none; } }

/* ============ 6 SECTIONS & COMPONENTS ============ */
/* hero: one static treatment on every page (grid + accent glow), never animated */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -280px; width: 900px; height: 540px; margin-left: -450px; background: radial-gradient(closest-side, var(--accent-glow), transparent); }
.hero--tight { padding-bottom: var(--sp-7); }
.hero__inner { display: grid; gap: var(--sp-5); justify-items: start; max-width: 900px; }
.hero__inner .lead { max-width: 39em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero--center { text-align: center; }
.hero--center .hero__inner { max-width: 840px; margin-inline: auto; justify-items: center; }
.hero--center .hero__actions { justify-content: center; }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); } }
.hero__title { font-size: clamp(2.5rem, 5vw, 4.25rem); }
/* hero visual: people, processes, data and technology around one core (drawn, not a photo) */
.orbit { position: relative; display: none; width: min(100%, 440px); aspect-ratio: 1; justify-self: end; margin-right: var(--sp-5); }
@media (min-width: 1100px) { .orbit { display: block; } }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit circle { fill: none; stroke: var(--border-3); stroke-width: 1; }
.orbit .arc { fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; }
.orbit__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 27%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--border-2); border-radius: 50%; background: var(--card); box-shadow: var(--shadow); }
.orbit__core img { width: 52%; }
.orbit__node { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--card); font-size: .8125rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-sm); }
.orbit__node::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent-text); }
/* page index beside an inner-page headline */
.toc { display: grid; align-content: start; border-top: 1px solid var(--border); }
.toc .label { padding: var(--sp-4) 0 var(--sp-2); }
.toc a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: .9375rem; font-weight: 500; transition: color .2s, padding .35s var(--ease); }
.toc a i { font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--accent-text); }
.toc a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; color: var(--dim); transition: transform .3s var(--ease), color .2s; }
@media (hover: hover) { .toc a:hover { padding-left: 8px; } .toc a:hover svg { transform: translateY(3px); color: var(--text); } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); margin-top: clamp(48px, 6vw, 72px); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.875rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.stats-note { margin-top: var(--sp-4); max-width: 60em; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* section heads */
.shead { display: grid; gap: var(--sp-5); margin-bottom: var(--head-gap); }
.shead .lead { max-width: 36em; }
.shead--row { align-items: end; }
.shead--center { text-align: center; justify-items: center; }
@media (min-width: 900px) { .shead--row { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-8); } .shead--row > .lead { max-width: 30em; } }
.split { display: grid; gap: var(--sp-7); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); } .split__sticky { position: sticky; top: 104px; align-self: start; } }
.grid-2 { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* impact */
.impact { display: grid; gap: var(--sp-4); }
.impact__lead { display: grid; gap: var(--sp-5); align-content: space-between; }
.impact__lead .big { font-size: clamp(4rem, 9vw, 7.25rem); font-weight: 700; line-height: .92; letter-spacing: -.05em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.impact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.metric { display: grid; gap: var(--sp-2); align-content: start; padding: clamp(16px, 2vw, 24px); background: var(--card); }
.metric strong { font-size: clamp(1.75rem, 2.8vw, 2.375rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.metric span { font-size: .84375rem; line-height: 1.45; color: var(--muted); }
.metric em { font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); }
.metric em.src { color: var(--accent-text); }
@media (min-width: 960px) { .impact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .impact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.funnel { display: grid; gap: var(--sp-5); margin-top: var(--sp-4); }
.funnel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.fbar { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 80px; gap: var(--sp-4); align-items: center; font-size: .875rem; }
.fbar__track { height: 10px; border-radius: 10px; background: var(--border); overflow: hidden; }
.fbar__track i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: var(--accent); transform-origin: 0 50%; }
.fbar b { text-align: right; font-variant-numeric: tabular-nums; }
.funnel__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.funnel__stats strong { display: block; font-size: 1.625rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.funnel__stats span { font-size: .8125rem; color: var(--muted); }
@media (min-width: 760px) { .funnel__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fbar { grid-template-columns: minmax(0, 1fr) auto; } .fbar__track { grid-column: 1 / -1; grid-row: 2; } }
.footnote { margin-top: var(--sp-4); font-size: .78125rem; line-height: 1.6; color: var(--dim); max-width: 62em; }
.footnote b { color: var(--accent-text); font-weight: 600; }

/* accordion list */
.acc { border-top: 1px solid var(--border); }
.acc > li { border-bottom: 1px solid var(--border); }
.acc details { overflow: hidden; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 22px 4px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; transition: color .2s, padding .35s var(--ease); }
.acc summary::-webkit-details-marker { display: none; }
.acc .n { margin-right: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--dim); }
.acc .arr { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 1px solid var(--border-3); border-radius: 50%; transition: background-color .25s, border-color .25s, color .25s, transform .4s var(--ease); }
.acc .arr svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.acc details[open] .arr { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(90deg); }
@media (hover: hover) { .acc summary:hover { color: var(--accent-text); padding-left: 10px; } }
.acc__body { display: grid; gap: var(--sp-4); justify-items: start; max-width: 38em; padding: 0 4px var(--sp-5); }
.acc__body p { color: var(--muted); }

/* selected work rows */
.work { display: grid; gap: var(--sp-5); }
.work-row { display: grid; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; transition: border-color .25s, transform .5s var(--ease); }
.work-row__media { position: relative; min-height: 280px; display: grid; place-items: center; padding: var(--sp-5); overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, var(--accent-glow), transparent 55%), var(--bg-2); border-bottom: 1px solid var(--border); }
.work-row__media--shot { padding: 0; place-items: stretch; }
.work-row__media--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: var(--shot-filter); transition: transform 1.2s var(--ease); }
.work-row__body { display: grid; gap: var(--sp-4); align-content: center; justify-items: start; padding: clamp(22px, 3vw, 40px); }
.work-row__body .lead { font-size: .96875rem; }
@media (hover: hover) { .work-row:hover { border-color: var(--border-3); transform: translateY(-4px); } .work-row:hover .mock { transform: translateY(-6px); } .work-row:hover .work-row__media--shot img { transform: scale(1.03); } }
@media (min-width: 900px) { .work-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .work-row__media { min-height: 360px; border-bottom: 0; border-right: 1px solid var(--border); } .work-row:nth-child(even) .work-row__media { order: 2; border-right: 0; border-left: 1px solid var(--border); } }
.mock { width: min(100%, 520px); border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); overflow: hidden; font-size: .8125rem; transition: transform .8s var(--ease); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-3); }
.mock__bar span { margin-left: 8px; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.mock__body { display: grid; gap: var(--sp-2); padding: 14px; }
.mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg-2); }
.mrow b { display: block; font-weight: 600; }
.mrow em { font-style: normal; font-size: .71875rem; color: var(--dim); }
.mrow--hl { border-color: var(--accent); background: var(--accent-soft); }
.mrow--hl b, .mrow--hl .score { color: var(--accent-text); }
.mbar { height: 6px; margin-top: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: 6px; background: var(--accent); transform-origin: 0 50%; }
.mtags { display: flex; flex-wrap: wrap; gap: 6px; }

/* product showcase */
.showcase { display: grid; gap: var(--sp-6); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border: 1px solid var(--border); border-radius: 22px; background: var(--bg-2); }
.tabs button { position: relative; overflow: hidden; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .84375rem; font-weight: 500; transition: background-color .25s, color .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .8); transform: scaleX(0); transform-origin: 0 50%; }
.browser { position: relative; margin-top: var(--sp-4); border: 1px solid var(--border-2); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-3); }
.browser__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: var(--card); font-size: .71875rem; color: var(--dim); }
.browser__view { position: relative; aspect-ratio: 1240 / 776; background: #F6F5F1; }
.browser__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: var(--shot-filter); opacity: 0; transition: opacity .5s ease; }
.browser__view img.is-active { opacity: 1; }
.zoom-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); font-size: .75rem; font-weight: 500; transition: border-color .2s, transform .3s var(--ease); }
.zoom-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.zoom-btn:hover { border-color: var(--text); transform: scale(1.04); }
.caption-line { margin-top: var(--sp-3); min-height: 1.5em; font-size: .8125rem; color: var(--dim); }
.showcase__info { display: grid; gap: var(--sp-4); align-content: start; justify-items: start; }
.role-list { display: grid; gap: 10px; }
.role-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: .9375rem; color: var(--muted); }
.role-list li::before { content: ""; width: 14px; height: 1px; margin-top: .8em; background: var(--accent-text); }
@media (min-width: 1040px) { .showcase { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--sp-7); align-items: start; } .showcase__info { padding-top: 52px; } }
.initiatives { display: grid; gap: var(--sp-4); margin-top: var(--sp-7); }
.init { display: grid; gap: var(--sp-3); align-content: start; }
.init__shot { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 16 / 10; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-2); overflow: hidden; transition: border-color .25s, transform .5s var(--ease); }
.init__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: var(--shot-filter); transition: transform .9s var(--ease); }
@media (hover: hover) { .init__shot:hover { border-color: var(--border-3); transform: translateY(-4px); } .init__shot:hover img { transform: scale(1.03); } }
.init p { color: var(--muted); font-size: .90625rem; }
.init-list { display: grid; align-content: start; border-top: 1px solid var(--border); }
.init-list li { display: grid; gap: 2px; padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.init-list span { font-size: .84375rem; color: var(--muted); }
@media (min-width: 900px) { .initiatives { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.strip__items { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); }

/* recognition */
.recog { display: grid; gap: var(--sp-4); }
.recog__main { display: grid; gap: var(--sp-6); align-items: center; }
.recog__text { display: grid; gap: var(--sp-4); justify-items: start; }
.recog__cert { position: relative; display: block; width: 100%; max-width: 240px; justify-self: start; padding: 0; aspect-ratio: 4 / 5; border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; background: #0A1B33; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.recog__cert img { width: 100%; height: 100%; object-fit: cover; }
.recog__cert::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
@media (hover: hover) { .recog__cert:hover { transform: translateY(-4px) rotate(-.6deg); } }
.recog__quote { padding-left: var(--sp-5); border-left: 2px solid var(--accent); font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.5; color: var(--text-2); }
.recog__quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.recog__side { display: grid; gap: var(--sp-4); }
.honor { display: grid; gap: 10px; align-content: start; justify-items: start; }
.honor p { font-size: .90625rem; color: var(--muted); }
@media (min-width: 760px) { .recog__main { grid-template-columns: minmax(0, 1fr) 220px; gap: var(--sp-7); } .recog__cert { justify-self: end; } }
@media (min-width: 1100px) { .recog { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }

/* partner + portrait frames */
.partner { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.partner__text { display: grid; gap: var(--sp-5); align-content: center; }
.tiles { display: grid; }
.tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px var(--sp-4); align-items: start; padding: var(--sp-4) 0; border-top: 1px solid var(--border); }
.tile .ico { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.tile .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tile p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .partner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.frame { position: relative; margin: 0; width: 100%; max-width: 430px; justify-self: center; }
.frame__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-2); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 20%); filter: var(--photo-filter); }
.frame--bw .frame__img img { filter: grayscale(1) contrast(1.04); }
.frame figcaption { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-3); font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.frame__tag { position: absolute; left: 14px; bottom: 14px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.frame__tag strong { display: block; font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--accent-text); }
.frame__tag span { font-size: .65625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.frame__pill { position: absolute; right: 14px; top: 14px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 899px) { .frame { max-width: 380px; } .frame__img { aspect-ratio: 4 / 4.6; } .frame__img img { object-position: var(--pos-m, var(--pos, 50% 18%)); } }

/* insights list (no image boxes: nothing looks like a missing picture) */
.notes-list { border-top: 1px solid var(--border); }
.note-row { display: grid; gap: var(--sp-2) var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--border); }
.note-row p { color: var(--muted); font-size: .9375rem; }
.note-row__meta { display: flex; align-items: center; gap: var(--sp-3); }
.note-row .status { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--dim); white-space: nowrap; }
.note-row .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }
@media (min-width: 860px) { .note-row { grid-template-columns: 150px minmax(0, 5fr) minmax(0, 4fr) auto; align-items: baseline; } }

/* engagement cards */
.engage { display: grid; gap: var(--sp-4); }
.engage .card { display: grid; gap: var(--sp-3); align-content: start; }
.engage .n { font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--accent-text); }
.engage p { font-size: .90625rem; color: var(--muted); }
.engage .go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-2); font-size: .8125rem; font-weight: 500; color: var(--text); }
.engage .go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
@media (hover: hover) { .engage .card:hover .go svg { transform: translateX(4px); } }
@media (min-width: 640px) { .engage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .engage { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); padding: 22px 0; font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 500; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; margin-right: 4px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease), border-color .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--accent-text); }
@media (hover: hover) { .faq summary:hover { color: var(--accent-text); } }
.faq details p { max-width: 46em; padding: 0 0 var(--sp-5); color: var(--muted); }

/* CTA card */
.cta { position: relative; display: grid; gap: var(--sp-7); padding: clamp(28px, 5vw, 64px); border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(90% 120% at 0% 0%, var(--accent-glow), transparent 55%), var(--card); overflow: hidden; }
.cta__main { display: grid; gap: var(--sp-5); justify-items: start; align-content: start; }
.cta__info { display: grid; gap: var(--sp-5); align-content: start; }
.cta__info > div { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--border); }
.cta__info > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cta__info dd, .cta__info .val { margin-top: 6px; font-size: 1.0625rem; font-weight: 500; overflow-wrap: anywhere; }
.cta__actions { display: grid; gap: var(--sp-3); align-content: center; }
@media (min-width: 960px) { .cta { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--sp-8); } }

/* ============ 7 PAGES ============ */
/* services: each service pairs its text with a purposeful graphic (no decorative image slots) */
.svc-list { display: grid; gap: var(--sp-5); }
.svc { display: grid; scroll-margin-top: 96px; }
.svc__text { display: grid; gap: var(--sp-4); align-content: center; justify-items: start; padding: clamp(24px, 3.4vw, 48px); }
.svc__text .lead { font-size: .96875rem; }
.svc__visual { position: relative; display: grid; place-items: center; min-height: 300px; padding: clamp(20px, 3vw, 40px); background: radial-gradient(110% 90% at 85% 0%, var(--accent-glow), transparent 58%), var(--bg-2); border-top: 1px solid var(--border); }
@media (min-width: 960px) { .svc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .svc__visual { border-top: 0; border-left: 1px solid var(--border); min-height: 380px; } .svc:nth-child(even) .svc__visual { order: -1; border-left: 0; border-right: 1px solid var(--border); } }
.ticks { display: grid; gap: var(--sp-2); }
.ticks li { position: relative; padding-left: 20px; font-size: .90625rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent-text); }
.viz { width: min(100%, 440px); border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.viz__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.viz__body { display: grid; gap: var(--sp-3); padding: var(--sp-4); }
.viz__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-3); padding: 12px 16px; border-top: 1px solid var(--border); font-size: .75rem; color: var(--dim); }
/* system map */
.map { position: relative; width: min(100%, 420px); aspect-ratio: 1 / .86; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map line { stroke: var(--border-3); stroke-width: 1.2; }
.map circle { fill: none; stroke: var(--border-2); stroke-width: 1; }
.map__node { position: absolute; translate: -50% -50%; padding: 9px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--card); font-size: .8125rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-sm); }
.map__node--core { padding: 14px 18px; border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; }
@media (max-width: 560px) { .map__node { padding: 7px 11px; font-size: .75rem; } .map__node--core { padding: 10px 13px; } .svc__visual { min-height: 0; } }
/* result rows */
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3); align-items: baseline; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.rrow:last-of-type { border-bottom: 0; }
.rrow span { font-size: .84375rem; color: var(--muted); }
.rrow strong { font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
/* flow + topics */
.flow { display: grid; gap: 0; counter-reset: flow; }
.flow li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--sp-3); padding-bottom: var(--sp-4); }
.flow li::before { counter-increment: flow; content: counter(flow); width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: .75rem; font-weight: 600; }
.flow li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--border-3); transform-origin: 50% 0; }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow b { display: block; font-size: .9375rem; font-weight: 600; }
.flow span { font-size: .8125rem; color: var(--muted); }
.topic { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); font-size: .9375rem; font-weight: 500; }
.topic:last-of-type { border-bottom: 0; }
.topic i { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--accent-text); }
.svc__shot { position: relative; display: block; width: min(100%, 460px); padding: 0; border: 1px solid var(--border-2); border-radius: var(--r-md); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), border-color .25s; }
.svc__shot img { width: 100%; aspect-ratio: 1240 / 820; object-fit: cover; object-position: top left; filter: var(--shot-filter); }
@media (hover: hover) { .svc__shot:hover { transform: translateY(-4px); border-color: var(--border-3); } }
/* process */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.step { display: grid; gap: var(--sp-3); align-content: start; padding: clamp(22px, 2.6vw, 32px); background: var(--bg); }
.step .num { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: .8125rem; font-weight: 600; }
.step p { color: var(--muted); font-size: .9375rem; }
.step strong.big-num { font-size: clamp(2.75rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.models { display: grid; gap: var(--sp-4); }
.model { display: grid; gap: var(--sp-4); align-content: start; }
.model > .btn { margin-top: auto; }
.model--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 64px rgba(114, 47, 67, .22); }
.model__badge { justify-self: start; }
.model .price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } .model { grid-template-rows: auto auto 1fr auto; } }

/* about */
.about-hero { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .about-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .about-hero .frame { justify-self: end; } }
.timeline { border-top: 1px solid var(--border); }
.tl { display: grid; gap: 6px var(--sp-6); padding: 22px 0; border-bottom: 1px solid var(--border); }
.tl__when { font-size: .8125rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.tl__org { margin-top: 4px; color: var(--muted); font-size: .90625rem; }
.tl--now .tl__when::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent-text); vertical-align: 1px; }
@media (min-width: 700px) { .tl { grid-template-columns: 12rem minmax(0, 1fr); } }
.tl--plain { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
.plist { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.plist li { display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-5); background: var(--bg); }
.plist .n { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--accent-text); }
.plist p { font-size: .90625rem; color: var(--muted); }
@media (min-width: 700px) { .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .plist { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plist--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .plist--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .plist--5 li { padding: 20px; } }
.rec-item { display: grid; gap: 6px; justify-items: start; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.rec-item:first-of-type { padding-top: 0; border-top: 0; }

/* work */
.table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.table th { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.table .hl td { color: var(--accent-text); font-weight: 600; background: var(--accent-soft); }
.facts { display: grid; border-top: 1px solid var(--border); }
.facts > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts dd { font-size: .90625rem; color: var(--muted); }
.roster { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.roster li { display: grid; gap: 4px; align-content: start; padding: 18px 20px; background: var(--bg); }
.roster li > span { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.roster li p { font-size: .875rem; color: var(--muted); }
.roster .roster__lead { grid-column: 1 / -1; background: var(--card); }
@media (min-width: 700px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shots { display: grid; gap: var(--sp-4); }
.shot { margin: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform 1s var(--ease); }
@media (hover: hover) { .shot button:hover img { transform: scale(1.03); } }
.shot figcaption { padding: 12px 16px; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--border); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 960px) { .case-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); } }

/* contact */
.info3 { display: grid; gap: var(--sp-3); }
.info3 .card { display: grid; gap: 10px; align-content: start; }
.info3 svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; }
.info3 p { font-size: .84375rem; color: var(--muted); }
@media (min-width: 900px) { .info3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.narrow { max-width: 1000px; margin-inline: auto; }
.form { display: grid; gap: var(--sp-5); }
.form .row { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 10px; align-content: start; }
.field > label, .field > .lab { font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field small { font-size: .6875rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dim); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border-3); border-radius: var(--r-sm); background: var(--bg-2); color: var(--text); font-size: .90625rem; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: #D9534F; box-shadow: 0 0 0 3px rgba(217, 83, 79, .16); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field__error { min-height: 0; font-size: .78125rem; color: #E0716D; }
html[data-gk-theme="light"] .field__error { color: #B3352F; }
.form__status { font-size: .84375rem; color: var(--muted); text-align: center; }
.form__status:empty, .field__error:empty { display: none; }
.form__notes { display: grid; gap: 6px; text-align: center; }
.form__status.is-error { color: #E0716D; }
html[data-gk-theme="light"] .form__status.is-error { color: #B3352F; }
.form__done { display: grid; gap: var(--sp-4); justify-items: start; padding: var(--sp-5); border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent-soft); }
.form__done pre { width: 100%; max-height: 220px; margin: 0; padding: var(--sp-4); overflow: auto; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: var(--card); font: 400 .8125rem/1.55 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; }
.spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* blog */
.soon { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .soon { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--sp-8); align-items: start; } }
.article { max-width: 46rem; margin-inline: auto; }
.prose { display: grid; gap: var(--sp-5); font-size: 1.09375rem; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--text); margin-top: var(--sp-4); }
.prose blockquote { padding: 4px 0 4px var(--sp-5); border-left: 2px solid var(--accent); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.4; color: var(--text); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }
.prose .todo { padding: var(--sp-4) var(--sp-5); border: 1px dashed var(--border-3); border-radius: var(--r-md); color: var(--muted); font-size: .9375rem; }

/* ============ 8 ASSISTANT + LIGHTBOX ============ */
/* launcher: a round button that opens its label on hover / focus, so it never sits on top of page content;
   on very wide screens, where the page margin is free, the label is always shown */
.ask { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 45; display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 50px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .84375rem; font-weight: 600; box-shadow: 0 10px 30px rgba(114, 47, 67, .42); transition: background-color .2s, transform .35s var(--ease), opacity .25s; }
.ask span { max-width: 0; margin-left: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease), margin-left .45s var(--ease), opacity .3s; }
@media (hover: hover) { .ask:hover span, .ask:focus-visible span { max-width: 300px; margin-left: 8px; opacity: 1; } }
@media (min-width: 1600px) { .ask span { max-width: 300px; margin-left: 8px; opacity: 1; } }
.ask svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.ask::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(114, 47, 67, .55); pointer-events: none; }
@media (hover: hover) { .ask:hover { background: var(--accent-hi); transform: translateY(-2px); } }
.ask.is-hidden { opacity: 0; pointer-events: none; transform: scale(.9); }
.chat { position: fixed; right: clamp(12px, 2.5vw, 28px); bottom: clamp(12px, 2.5vw, 28px); z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 24px)); border: 1px solid var(--border-2); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; transform-origin: 100% 100%; visibility: hidden; opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .28s ease, transform .45s var(--ease), visibility 0s linear .45s; }
.chat.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.chat__head { display: flex; align-items: center; gap: var(--sp-3); padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--border); }
.chat__avatar { width: 34px; height: 34px; flex: none; border: 1px solid var(--border-2); border-radius: 50%; overflow: hidden; }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.chat__title { flex: 1; min-width: 0; }
.chat__title b { display: block; font-size: .90625rem; font-weight: 600; }
.chat__title span { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); }
.chat__title span::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent-text); }
.chat__x { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); }
.chat__x:hover { background: var(--card-2); color: var(--text); }
.chat__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.chat__log { display: flex; flex-direction: column; gap: 10px; padding: var(--sp-4); overflow-y: auto; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: .875rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--card-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat__opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--sp-4) var(--sp-3); }
.chat__opts:empty { display: none; }
.chat__opts button { min-height: 32px; padding: 4px 12px; border: 1px solid var(--border-3); border-radius: 999px; background: var(--card); color: var(--text); font-size: .78125rem; text-align: left; transition: border-color .2s, background-color .2s; }
.chat__opts button:hover { border-color: var(--accent-text); background: var(--accent-soft); }
.chat__opts button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chat__form { display: flex; gap: var(--sp-2); padding: var(--sp-3); border-top: 1px solid var(--border); }
.chat__form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border: 1px solid var(--border-3); border-radius: 10px; background: var(--bg-2); color: var(--text); font-size: .875rem; }
.chat__form input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.chat__form button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.chat__form button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.chat__note { padding: 0 14px var(--sp-3); font-size: .6875rem; line-height: 1.45; color: var(--dim); }
.lb { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: var(--sp-3); padding: clamp(14px, 4vw, 48px); background: rgba(8, 8, 9, .9); visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
.lb.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.lb__img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); transform: scale(.96); transition: transform .5s var(--ease); }
.lb.is-open .lb__img { transform: none; }
.lb__cap { max-width: 60em; text-align: center; font-size: .84375rem; color: #C9C9D0; }
.lb button { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(20, 20, 22, .7); color: #fff; transition: border-color .2s, background-color .2s; }
.lb button:hover { border-color: #fff; background: rgba(40, 40, 44, .9); }
.lb button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lb__close { right: clamp(12px, 3vw, 28px); top: clamp(12px, 3vw, 28px); }
.lb__prev { left: clamp(8px, 2vw, 24px); top: 50%; margin-top: -22px; }
.lb__next { right: clamp(8px, 2vw, 24px); top: 50%; margin-top: -22px; }

/* ============ 9 FOOTER ============ */
.foot { border-top: 1px solid var(--border); }
.foot__grid { display: grid; gap: var(--sp-7); padding-block: var(--sp-8) var(--sp-7); }
.foot__brand { display: grid; gap: var(--sp-4); align-content: start; justify-items: start; max-width: 23rem; }
.foot__brand p { font-size: .875rem; color: var(--muted); }
.foot__contact { display: grid; gap: 6px; font-size: .875rem; color: var(--muted); }
.foot__contact a { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.foot__col { display: grid; gap: var(--sp-3); align-content: start; justify-items: start; min-width: 0; }
.foot__col .label { margin-bottom: 6px; }
.foot__col a { font-size: .875rem; color: var(--muted); transition: color .2s; }
.foot__col a:hover { color: var(--text); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-5) var(--sp-6); border-top: 1px solid var(--border); font-size: .78125rem; color: var(--dim); }
.foot__bottom p { max-width: 46em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-2); border-radius: 50%; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.socials a:hover { color: var(--on-accent); border-color: var(--accent); background: var(--accent); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
@media (min-width: 640px) { .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (min-width: 960px) { .foot__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: auto; } }

/* ============ 10 GEORGIAN TYPOGRAPHY ============
   Georgian letters are taller and wider than Latin, and the script has no capitals in running text:
   no negative tracking, more leading, smaller display sizes, no uppercase transforms or wide letter-spacing. */
html[lang="ka"] {
  --fs-display: clamp(2.125rem, 5vw, 4.125rem); --fs-xl: clamp(1.8125rem, 3.8vw, 3.125rem); --fs-lg: clamp(1.4375rem, 2.5vw, 2.0625rem);
  --fs-md: clamp(1.125rem, 1.45vw, 1.3125rem); --fs-sm: 1rem;
  --lh-tight: 1.2; --lh-head: 1.25; --track-tight: -.012em; --track-head: -.008em;
}
html[lang="ka"] body { line-height: 1.7; }
html[lang="ka"] .hero__title { font-size: clamp(1.9375rem, 3.7vw, 3.125rem); }
/* unit after a figure ("სთ", "წელი"): smaller than the number, so the figure stays on one line */
.big small, .stat strong small, .metric strong small, .rrow strong small { font-size: .46em; font-weight: 600; letter-spacing: 0; margin-left: .12em; }
html[lang="ka"] .h-xl { line-height: 1.2; }
html[lang="ka"] .h-md { line-height: 1.38; letter-spacing: 0; }
html[lang="ka"] .h-sm { line-height: 1.45; letter-spacing: 0; }
html[lang="ka"] :is(.label, .kicker, .stat span, .metric em, .frame figcaption, .frame__tag span, .table th, .roster li > span, .viz__head, .mock__bar span, .recog__quote cite, .field > label, .field > .lab, .logo__name) { text-transform: none; letter-spacing: .01em; font-size: .78125rem; }
html[lang="ka"] .kicker b { letter-spacing: 0; }
html[lang="ka"] .logo__name { font-size: .9375rem; font-weight: 700; }
html[lang="ka"] .nav a, html[lang="ka"] .nav button { padding-inline: 10px; font-size: .84375rem; }
html[lang="ka"] .btn { letter-spacing: 0; font-size: .84375rem; }
html[lang="ka"] .btn--sm { font-size: .78125rem; }
html[lang="ka"] .mnav__links a { letter-spacing: -.01em; line-height: 1.25; font-size: clamp(1.5rem, 6.6vw, 2.125rem); }
html[lang="ka"] .impact__lead .big, html[lang="ka"] .stat strong, html[lang="ka"] .metric strong { letter-spacing: -.03em; }
html[lang="ka"] .acc summary { letter-spacing: -.005em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.4; }
html[lang="ka"] .lead { line-height: 1.75; }
html[lang="ka"] .w { padding-block: .16em; margin-block: -.16em; }
@media (max-width: 1239px) { html[lang="ka"] .nav, html[lang="ka"] .top__right .btn { display: none; } html[lang="ka"] .menu-btn { display: grid; } html[lang="ka"] .top__right { margin-left: auto; } }

/* ============ 11 MOTION ============
   Content is visible by default. Hidden start states exist ONLY under html.motion, which motion.js sets after it
   has confirmed that animation frames are actually running. If frames stop or the script fails, html.motion is
   never set (or is removed) and everything is simply shown. html.motion-boot is a short pre-paint hold for the hero. */
html.motion-boot .hero [data-anim], html.motion-boot .hero [data-words] { opacity: 0; }
/* Start states apply at once: the transition is declared on the REVEALED state only, so nothing ever animates
   into hiding. Parts inside a block are hidden only while an un-revealed [data-anim] ancestor exists, so no
   element can be left hidden on its own. */
html.motion [data-anim] { opacity: 0; transform: translate3d(0, 28px, 0); }
html.motion [data-anim="fade"] { transform: none; }
html.motion [data-anim="left"] { transform: translate3d(-36px, 0, 0); }
html.motion [data-anim="right"] { transform: translate3d(36px, 0, 0); }
html.motion [data-anim="scale"] { transform: scale(.94); }
html.motion [data-anim="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
html.motion [data-anim].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.motion [data-anim="fade"].is-in { transition-duration: 1.2s; }
html.motion [data-anim="mask"].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-io); transition-delay: calc(var(--i, 0) * 90ms); }
/* hero diagram: rings draw, then the core and the labels arrive */
html.motion .orbit[data-anim]:not(.is-in) circle, html.motion .orbit[data-anim]:not(.is-in) .arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .orbit.is-in circle, html.motion .orbit.is-in .arc { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io); transition-delay: calc(var(--i, 0) * 160ms + 250ms); }
html.motion .orbit[data-anim]:not(.is-in) .orbit__core { opacity: 0; scale: .7; }
html.motion .orbit[data-anim]:not(.is-in) .orbit__node { opacity: 0; scale: .85; }
html.motion .orbit.is-in .orbit__core { transition: opacity .7s var(--ease), scale .9s var(--ease); transition-delay: .35s; }
html.motion .orbit.is-in .orbit__node { transition: opacity .6s var(--ease), scale .8s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + 700ms); }
/* headline words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .1em; margin-block: -.1em; }
.w > span { display: inline-block; }
html.motion [data-words]:not(.is-split) { opacity: 0; }
html.motion [data-words]:not(.is-in) .w > span { transform: translate3d(0, 112%, 0); }
html.motion [data-words].is-in .w > span { transition: transform 1.05s var(--ease); transition-delay: calc(var(--wi, 0) * 65ms); }
/* small parts driven by a parent's .is-in */
html.motion [data-anim]:not(.is-in) .kicker i, html.motion .kicker[data-anim]:not(.is-in) i { transform: scaleX(0); }
html.motion .is-in .kicker i, html.motion .kicker.is-in i { transition: transform 1s var(--ease) .2s; }
html.motion [data-anim]:not(.is-in) .fbar__track i, html.motion [data-anim]:not(.is-in) .mbar i { transform: scaleX(0); }
html.motion .is-in .fbar__track i, html.motion .is-in .mbar i { transition: transform 1.4s var(--ease) .25s; }
html.motion [data-anim]:not(.is-in) .tile .ico svg * { stroke-dasharray: 90; stroke-dashoffset: 90; }
html.motion .is-in .tile .ico svg * { stroke-dasharray: 90; stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease) .3s; }
html.motion [data-anim]:not(.is-in) .map line, html.motion [data-anim]:not(.is-in) .map circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .is-in .map line, html.motion .is-in .map circle { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-io); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
html.motion [data-anim]:not(.is-in) .map__node { opacity: 0; scale: .8; }
html.motion .is-in .map__node { transition: opacity .6s var(--ease), scale .7s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 350ms); }
html.motion [data-anim]:not(.is-in) .flow li { opacity: 0; transform: translate3d(0, 14px, 0); }
html.motion .is-in .flow li { transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
html.motion [data-anim]:not(.is-in) .flow li::after { transform: scaleY(0); }
html.motion .is-in .flow li::after { transition: transform .6s var(--ease-io); transition-delay: calc(var(--i, 0) * 140ms + 450ms); }
html.motion [data-anim]:not(.is-in) .rrow, html.motion [data-anim]:not(.is-in) .topic { opacity: 0; transform: translate3d(0, 12px, 0); }
html.motion .is-in .rrow, html.motion .is-in .topic { transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
html.motion .recog__cert.is-in::after, html.motion .is-in .recog__cert::after { animation: sheen 1.6s var(--ease-io) .9s 1 both; }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
/* product showcase */
.showcase .browser { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease); }
html.motion .showcase [data-anim]:not(.is-in) .browser { --rx: 9deg; }
html.motion .browser__view img { transform: translate3d(0, 16px, 0) scale(1.012); transition: opacity .55s ease, transform .9s var(--ease); }
html.motion .browser__view img.is-active { transform: none; }
html.motion .autoplay .tabs button[aria-selected="true"].is-timing::after { animation: tab-progress var(--tab-ms, 6000ms) linear forwards; }
@keyframes tab-progress { to { transform: scaleX(1); } }
/* parallax on framed photos (set by motion.js) */
html.motion .frame[data-parallax] .frame__img img { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); transition: none; }
/* assistant launcher: two attention rings shortly after load, never looping */
html.motion .ask::after { animation: ask-ring 1.8s ease-out 4s 2; }
@keyframes ask-ring { to { box-shadow: 0 0 0 16px rgba(114, 47, 67, 0); } }
html.motion .msg { animation: msg-in .35s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
html.motion .mnav:not(.is-open) .mnav__links li { opacity: 0; transform: translate3d(0, 16px, 0); }
html.motion .mnav.is-open .mnav__links li { transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 80ms); }
/* theme switch: circular reveal from the toggle (explicit user action only) */
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-theme::view-transition-new(root) { z-index: 2; }
/* buttons: magnetic offset set by motion.js on the main call-to-action buttons */
.btn[data-magnetic] { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0); }
.btn[data-magnetic]:active { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(.97); }

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