/* ==========================================================================
   AVELON — Teknoloji ve Yazılım
   Scene-based, light, enterprise. Each major moment is composed for one
   viewport and pinned while its story plays out. Wide engineered type
   (Archivo Expanded, echoing the AVELON wordmark), mono instrument labels,
   logo navy + blue. Photography carries the warmth.
   ========================================================================== */

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --ink: #0b1b3f;
  --ink-2: #2a3552;
  --muted: #5d6680;
  --line: rgba(11, 27, 63, 0.12);
  --line-2: rgba(11, 27, 63, 0.07);
  --blue: #1f5eff;
  --blue-soft: #e7eeff;

  --c-casheye: #0e9f91;
  --c-lineeye: #1f5eff;
  --c-arten: #a87c4c;
  --c-lima: #e56b10;
  --c-agentix: #6b3be0;

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1680px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.display { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; letter-spacing: -0.035em; line-height: 0.94; margin: 0; }
.white { background: var(--surface); }
.label { color: var(--muted); }

/* ---------- Photo slots ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--surface-2); }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo__ph { display: none; }
.photo.is-missing > img { display: none; }
.photo.is-missing .photo__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader__mark { width: 70px; opacity: 0; transform: translateY(8px); animation: loaderIn 0.7s var(--ease) 0.1s forwards; }
.loader__bar { width: 180px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.loader__count { color: var(--muted); }
.no-loader .loader { display: none; }
@keyframes loaderIn { to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: transform 0.6s var(--ease), background 0.4s, box-shadow 0.4s; }
.site-header.is-scrolled { background: rgba(246, 246, 243, 0.88); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 600; letter-spacing: 0.32em; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; white-space: nowrap; padding: 8px 14px; font-size: 14px; color: var(--ink-2); transition: color 0.3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; background: var(--surface); }
.lang button { background: none; border: 0; padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-size: 15px; font-weight: 500; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(101%); transition: transform 0.5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: #fff; }
.menu-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: 42px; height: 42px; padding: 0; }
.menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); margin: 4px auto; transition: transform 0.4s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-io); visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav a { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: clamp(32px, 9vw, 56px); letter-spacing: -0.03em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); vertical-align: top; margin-right: 12px; font-stretch: 100%; letter-spacing: 0.04em; }

/* ---------- Scenes (pinned) ---------- */
.scene { position: relative; }
.scene__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ==========================================================================
   THE WORLD — one fixed WebGL canvas behind the opening scenes.
   40k data points that form the logo, then each idea, as you scroll.
   ========================================================================== */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; transition: opacity 0.6s; }
main > section, .site-footer { position: relative; z-index: 1; }

/* ---------- 01 Opening ---------- */
.hero { height: 100vh; height: 100svh; min-height: 640px; }
.hero__inner { height: 100%; display: grid; grid-template-rows: 1fr auto; padding-top: var(--header-h); }
.hero__main { display: flex; flex-direction: column; justify-content: center; max-width: min(52%, 820px); gap: 28px; padding-bottom: 20px; }
.hero__eyebrow { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.16); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(31, 94, 255, 0); } }
.hero__title { font-size: clamp(44px, 6vw, 112px); line-height: 0.95; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__lede { margin: 0; max-width: 44ch; color: var(--ink-2); font-size: 18px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__fade { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease) 0.9s, transform 1s var(--ease) 0.9s; }
.is-ready .hero__fade { opacity: 1; transform: none; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0 26px; border-top: 1px solid var(--line); color: var(--muted); }
.hero__caps { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__cue { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.hero__cue i { width: 1px; height: 16px; background: var(--ink); animation: cue 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.world-tag { position: absolute; z-index: 2; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.world-tag b { color: var(--ink); font-weight: 500; }
.world-tag i { width: 24px; height: 1px; background: var(--muted); }
.hero .world-tag { right: var(--gutter); top: calc(var(--header-h) + 28px); }

/* decode effect: glyphs while scrambling */
.dc { color: var(--blue); }

/* ---------- 02 Why Avelon (pinned) ---------- */
.manifesto { height: 280vh; }
.manifesto .scene__pin { display: flex; align-items: center; }
.manifesto__body { width: min(50%, 760px); display: flex; flex-direction: column; gap: 34px; padding-top: var(--header-h); }
.manifesto__text { font-family: var(--f-display); font-stretch: 110%; font-weight: 500; font-size: clamp(26px, 2.6vw, 48px); line-height: 1.15; letter-spacing: -0.022em; margin: 0; }
.manifesto__text .w { opacity: 0.12; transition: opacity 0.25s linear; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__text .hl { color: var(--blue); }
.manifesto__meter { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.manifesto__meter i { flex: 0 0 160px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.manifesto__meter i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.manifesto .world-tag { right: var(--gutter); bottom: 32px; }

/* ---------- 03 Capabilities (pinned, six states) ---------- */
.caps { height: 760vh; }
.caps .scene__pin { display: flex; align-items: center; }
.caps__text { width: min(44%, 640px); display: flex; flex-direction: column; gap: 22px; padding-top: var(--header-h); }
.caps__kicker { display: flex; justify-content: space-between; color: var(--muted); }
.caps__h { font-size: clamp(30px, 3vw, 54px); line-height: 1; }
.caps__steps { position: relative; min-height: 330px; }
.cap-step { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.cap-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cap-step .num { font-family: var(--f-mono); font-size: 12px; color: var(--blue); }
.cap-step h3 { margin: 10px 0 14px; font-family: var(--f-display); font-stretch: 118%; font-weight: 650; font-size: clamp(28px, 2.6vw, 46px); letter-spacing: -0.03em; line-height: 1.02; }
.cap-step p { margin: 0 0 20px; color: var(--ink-2); max-width: 46ch; }
.cap-step ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cap-step li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.cap-step li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 1px; background: var(--blue); transform: translateY(-1px); }
.caps__rail { display: flex; gap: 6px; }
.caps__rail button { flex: 1; height: 26px; padding: 0; border: 0; background: none; position: relative; }
.caps__rail button::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line); }
.caps__rail button i { position: absolute; left: 0; top: 12px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.caps .world-tag { right: var(--gutter); bottom: 32px; }

/* ---------- World labels: a dot on the part, a leader line out, a readable tag ---------- */
.wlabels { position: fixed; inset: 0; z-index: 4; pointer-events: none; transition: opacity 0.4s; }
.wl { position: absolute; left: 0; top: 0; width: 0; height: 0; padding: 0; border: 0; background: none; pointer-events: none; will-change: transform; }
.wl i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px rgba(255, 255, 255, 0.8); transition: background 0.3s, box-shadow 0.3s; }
.wl__line { position: absolute; left: 0; top: 0; width: var(--ll, 40px); height: 1.5px; background: var(--ink); transform-origin: 0 50%; transform: rotate(var(--la, 0rad)); opacity: 0.7; }
.wl__box { position: absolute; left: var(--lx, 0); top: var(--ly, 0); transform: translate(0, -50%); pointer-events: auto; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; }
.wl.is-left .wl__box { transform: translate(-100%, -50%); align-items: flex-end; }
.wl__t { font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); background: var(--surface); padding: 7px 12px; border-radius: 6px; white-space: nowrap; box-shadow: 0 8px 22px -10px rgba(11, 27, 63, 0.45), 0 0 0 1px rgba(11, 27, 63, 0.1); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.wl__d { margin-top: 6px; width: 240px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); background: var(--surface); padding: 10px 12px; border-radius: 6px; box-shadow: 0 16px 40px -18px rgba(11, 27, 63, 0.45), 0 0 0 1px var(--line); max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; transition: opacity 0.25s, max-height 0.35s var(--ease), padding 0.35s var(--ease); text-align: left; }
.wl.is-hi .wl__d, .wl__box:hover .wl__d { max-height: 120px; padding-top: 10px; padding-bottom: 10px; opacity: 1; }
.wl.is-hi .wl__t, .wl__box:hover .wl__t { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -10px rgba(31, 94, 255, 0.7); }
.wl.is-hi i { background: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 0 0 7px rgba(31, 94, 255, 0.22); }
.wl.is-hi .wl__line { background: var(--blue); opacity: 1; }
.caps__tip { color: var(--muted); display: flex; gap: 8px; align-items: center; }
.caps__tip i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.2); }

/* ---------- Scroll hint: progress of the pinned scene ---------- */
.scrollhint { position: fixed; left: 50%; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px -14px rgba(11, 27, 63, 0.4), 0 0 0 1px var(--line); color: var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 12px); transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none; white-space: nowrap; }
.scrollhint.is-on { opacity: 1; transform: translate(-50%, 0); }
.scrollhint svg { width: 26px; height: 26px; transform: rotate(-90deg); flex: none; }
.scrollhint circle { fill: none; stroke-width: 2.5; }
.scrollhint .bg { stroke: var(--line); }
.scrollhint .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 62.83; stroke-dashoffset: 62.83; }
.scrollhint b { font-weight: 500; color: var(--muted); }
.scrollhint .arrow { display: inline-block; animation: hintArrow 1.6s var(--ease-io) infinite; }
@keyframes hintArrow { 50% { transform: translateY(3px); } }
@media (max-width: 960px) {
  .wl__d { width: 190px; font-size: 12px; }
  .wl__t { font-size: 11.5px; padding: 5px 8px; }
  .caps__tip { display: none; }
  .scrollhint { bottom: 12px; font-size: 10px; }
}

/* ---------- Command bar (Ctrl/⌘ + K) ---------- */
.kbar-btn { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 8px 7px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; transition: border-color 0.3s, color 0.3s; }
.kbar-btn:hover { border-color: var(--ink); color: var(--ink); }
.kbar-btn kbd, .kbar__foot kbd { font-family: var(--f-mono); font-size: 10px; background: var(--surface-2); border-radius: 4px; padding: 2px 6px; color: var(--ink); }
.kbar { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; background: rgba(11, 27, 63, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kbar.is-open { display: flex; }
.kbar__box { width: min(640px, 92vw); background: #fff; border-radius: 12px; box-shadow: 0 40px 100px -30px rgba(11, 27, 63, 0.55); overflow: hidden; animation: kbarIn 0.35s var(--ease); }
@keyframes kbarIn { from { transform: translateY(-10px) scale(0.98); } }
.kbar__input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; font-size: 17px; outline: none; font-family: var(--f-body); color: var(--ink); }
.kbar__list { max-height: 52vh; overflow: auto; padding: 6px 8px 10px; margin: 0; list-style: none; }
.kbar__group { padding: 12px 12px 4px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kbar__item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.kbar__item[aria-selected="true"] { background: var(--blue-soft); }
.kbar__item small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.kbar__empty { padding: 18px 12px; color: var(--muted); }
.kbar__foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }

@media (max-width: 960px) {
  .hero__main { max-width: 100%; justify-content: flex-end; padding-bottom: 28px; }
  .hero .world-tag { display: none; }
  .hero__cue { display: none; }
  .manifesto .scene__pin, .caps .scene__pin { align-items: flex-end; }
  .manifesto__body, .caps__text { width: 100%; padding: 0 0 28px; gap: 16px; }
  .caps__h, .caps__kicker .label { display: none; }
  .caps__steps { min-height: 300px; }
  .cap-step p { font-size: 15px; margin-bottom: 12px; }
  .cap-step ul { grid-template-columns: 1fr; }
  .cap-step li { padding: 6px 0; font-size: 13px; }
  .manifesto .world-tag, .caps .world-tag { display: none; }
  .kbar-btn { display: none; }
}

/* ==========================================================================
   04 TEAM — the photo opens from a frame to the full screen, then the
   principles step through while the photography changes behind them
   ========================================================================== */
.team { height: 560vh; background: var(--bg); }
.team__ghost { position: absolute; right: calc(var(--gutter) - 1.5vw); bottom: -5vw; z-index: 0; font-size: clamp(220px, 32vw, 560px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 27, 63, 0.07); pointer-events: none; transition: opacity 0.6s; user-select: none; }
.team__frame { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; overflow: hidden; border-radius: 10px; background: var(--bg); will-change: left, top, width, height; }
.team__frame.is-crisp { box-shadow: 0 40px 90px -50px rgba(11, 27, 63, 0.5); transition: box-shadow 0.8s; }
.team__dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.team__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); }
.team__frame.is-crisp img.is-on, .no-gl .team__frame img.is-on { opacity: 1; }
.team__meta { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255, 255, 255, 0.94); padding: 5px 10px; border-radius: 999px; font-size: 10.5px; color: var(--ink); opacity: 0; transition: opacity 0.5s; }
.team__meta b { font-weight: 500; color: var(--blue); }
.team__frame.is-building .team__meta { opacity: 1; }
.team__intro { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 3vh); text-align: center; z-index: 2; will-change: opacity, transform; }
.team__intro .label { display: block; margin-bottom: 18px; }
.team__intro h2 { font-size: clamp(36px, 4.6vw, 86px); }
.team__text { position: absolute; z-index: 3; right: var(--gutter); top: 50%; width: min(35vw, 620px); transform: translateY(-46%); opacity: 0; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); padding-top: calc(var(--header-h) / 2); }
.team__text.is-on { opacity: 1; transform: translateY(-50%); }
.team__kicker { display: flex; justify-content: space-between; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.team__list { list-style: none; margin: 0; padding: 0; }
.tstep { border-bottom: 1px solid var(--line); }
.tstep__head { all: unset; box-sizing: border-box; display: flex; gap: 18px; align-items: baseline; width: 100%; padding: 16px 0; cursor: pointer; }
.tstep__head:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tstep__n { color: var(--muted); flex: none; width: 44px; transition: color 0.4s; }
.tstep h3 { margin: 0; font-family: var(--f-display); font-stretch: 118%; font-weight: 600; font-size: clamp(19px, 1.6vw, 26px); letter-spacing: -0.025em; line-height: 1.05; color: var(--muted); transition: font-size 0.6s var(--ease), color 0.4s; }
.tstep__head:hover h3 { color: var(--ink); }
.tstep.is-on h3 { font-size: clamp(30px, 2.9vw, 52px); color: var(--ink); }
.tstep.is-on .tstep__n { color: var(--blue); }
.tstep__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.tstep__body > div { overflow: hidden; padding-left: 62px; }
.tstep.is-on .tstep__body { grid-template-rows: 1fr; }
.tstep__body p { margin: 0 0 16px; font-size: clamp(16px, 1.15vw, 19px); color: var(--ink-2); line-height: 1.55; max-width: 44ch; }
.tstep__chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 22px; }
.tstep__chips span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }

/* ==========================================================================
   05 SELECTED WORK — vertical scroll becomes a horizontal gallery
   ========================================================================== */
.work { background: var(--surface); }
.work .scene__pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 44px); padding-top: var(--header-h); }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.work__head h2 { font-size: clamp(34px, 4.2vw, 76px); }
.work__head .label { display: block; margin-bottom: 16px; }
.work__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.work__count { color: var(--muted); }
.work__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.wcard { --accent: var(--blue); width: clamp(300px, 46vw, 760px); flex: none; perspective: 1200px; }
.wcard a { display: block; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.wcard__img { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.wcard a:hover .wcard__img img { transform: scale(1.06); filter: url(#ripple); }
.wcard__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: baseline; margin-top: 18px; }
.wcard__meta .n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.wcard__meta h3 { margin: 0; font-family: var(--f-display); font-stretch: 120%; font-weight: 650; font-size: clamp(24px, 2.2vw, 38px); letter-spacing: -0.03em; }
.wcard__meta .tags { color: var(--muted); text-align: right; }
.wcard__meta p { grid-column: 2 / -1; margin: 0; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.wcard--end { width: clamp(260px, 30vw, 480px); display: flex; }
.wcard--end a { flex: 1; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 13; border-radius: 8px; background: var(--ink); color: #fff; padding: clamp(24px, 3vw, 44px); }
.wcard--end h3 { margin: 0; font-family: var(--f-display); font-stretch: 120%; font-weight: 650; font-size: clamp(26px, 2.6vw, 44px); letter-spacing: -0.03em; line-height: 1.02; }
.wcard--end .arr { font-size: 40px; transition: transform 0.5s var(--ease); }
.wcard--end a:hover .arr { transform: translateX(10px); }
.work__bar { margin: 0 var(--gutter); height: 2px; background: var(--line); position: relative; overflow: hidden; }
.work__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   06 BUILD YOUR SYSTEM — choices on the left, the visitor's architecture
   assembled from the particle world on the right
   ========================================================================== */
.builder { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 56px) 0 96px; }
.builder__panel { width: min(46%, 660px); display: flex; flex-direction: column; gap: 22px; }
.builder__title { font-size: clamp(40px, 4.8vw, 88px); }
.builder__intro { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.builder__groups { display: flex; flex-direction: column; gap: 18px; }
.bgroup__h { display: flex; justify-content: space-between; color: var(--muted); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.bgroup__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bchip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.bchip i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(11, 27, 63, 0.3); position: relative; transition: background 0.25s, border-color 0.25s; }
.bchip:hover { border-color: var(--ink); color: var(--ink); }
.bchip:active { transform: scale(0.97); }
.bchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bchip[aria-pressed="true"] i { background: var(--blue); border-color: var(--blue); }
.bchip[aria-pressed="true"] i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bscale { width: 100%; --accent: var(--blue); }
.builder__summary { background: var(--surface); border-radius: 12px; padding: 22px 24px; box-shadow: 0 30px 70px -40px rgba(11, 27, 63, 0.45), 0 0 0 1px var(--line); display: grid; gap: 16px; }
.bsum__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bsum__row b { display: block; font-family: var(--f-display); font-stretch: 118%; font-weight: 650; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.bsum__row .mono { color: var(--muted); font-size: 10.5px; }
.bsum__est { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bsum__est .mono { color: var(--muted); }
.bsum__est strong { font-family: var(--f-display); font-stretch: 118%; font-weight: 650; font-size: clamp(26px, 2.4vw, 40px); letter-spacing: -0.03em; color: var(--blue); }
.bsum__est small { font-size: 0.5em; color: var(--ink-2); font-weight: 500; }
.bsum__cx { display: grid; gap: 8px; }
.bsum__cx .mono { color: var(--muted); }
.bsum__cx i { height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; display: block; }
.bsum__cx b { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform 0.6s var(--ease); }
.builder__summary .btn { justify-self: start; }
.bsum__note { margin: 0; color: var(--muted); font-size: 12.5px; }
.builder .world-tag { right: var(--gutter); bottom: 32px; position: absolute; }
@media (max-width: 960px) {
  .builder { padding-top: 48svh; }
  .builder__panel { width: 100%; background: rgba(246, 246, 243, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 12px; padding: 18px 16px; }
  .builder .world-tag { top: calc(var(--header-h) + 12px); bottom: auto; }
  .bsum__est { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   06 CONTACT — the data becomes a globe, Bursa at its centre
   ========================================================================== */
.contact { height: 100vh; height: 100svh; min-height: 640px; position: relative; }
.contact__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-top: var(--header-h); }
.contact__card { width: min(560px, 46vw); background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px -46px rgba(11, 27, 63, 0.5); }
.contact__photo { aspect-ratio: 16 / 6.4; }
.contact__photo img { object-position: 22% 40%; }
.contact__body { padding: clamp(22px, 2.6vw, 38px); }
.contact__title { font-size: clamp(30px, 3vw, 54px); }
.contact__title em { font-style: normal; color: var(--blue); }
.contact__rows { margin-top: clamp(16px, 3vh, 28px); display: flex; flex-direction: column; }
.contact__rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact__rows .mono { color: var(--muted); font-size: 11px; }
.contact__big { font-family: var(--f-display); font-stretch: 106%; font-weight: 500; font-size: clamp(15px, 1.2vw, 19px); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact__big a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.contact__big a:hover { background-size: 100% 1px; }
.contact__card .btn { margin-top: 18px; }
.contact .world-tag { left: var(--gutter); bottom: 32px; }
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer { padding: 28px 0 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); align-items: center; }
.footer img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .team__intro { top: calc(var(--header-h) + 2vh); }
  .team__text { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 64px; transform: translateY(16px); padding-top: 0; }
  .team__text.is-on { transform: none; }
  .tstep__head { padding: 10px 0; }
  .tstep h3 { font-size: 16px; }
  .tstep.is-on h3 { font-size: 24px; }
  .tstep__body > div { padding-left: 0; }
  .tstep__body p { font-size: 14.5px; margin-bottom: 10px; }
  .tstep__chips { display: none; }
  .team__ghost { display: none; }

  .work__head { flex-direction: column; align-items: flex-start; }
  .work__side { align-items: flex-start; }
  .wcard { width: 78vw; }
  .wcard__meta { grid-template-columns: auto 1fr; }
  .wcard__meta .tags { display: none; }
  .contact { height: auto; min-height: 100svh; }
  .contact__inner { align-items: flex-end; justify-content: center; padding: calc(var(--header-h) + 36vh) 0 28px; }
  .contact__card { width: 100%; }
  .contact .world-tag { display: none; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-line { display: block; overflow: hidden; }
.rv-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.rv.is-in .rv-line > span, .rv-line.is-in > span { transform: none; }

/* ==========================================================================
   LIVE MODELS (references page)
   ========================================================================== */
.stage { --accent: var(--blue); position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); margin-top: clamp(28px, 5vh, 48px); }
.stage__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.stage__bar .live-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.stage__bar .live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.stage__view { position: relative; aspect-ratio: 16 / 8.6; }
.panel { position: absolute; inset: 0; }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__foot { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 16px 20px; border-top: 1px solid var(--line); align-items: center; justify-content: space-between; background: var(--surface); }
.stage__caption { margin: 0; color: var(--ink-2); font-size: 15px; flex: 1 1 380px; max-width: 70ch; }
.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--go { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip--go:hover { filter: brightness(1.08); border-color: var(--accent); }
.chip:disabled { opacity: 0.4; cursor: default; }
.range { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.range output { color: var(--ink); min-width: 54px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 140px; height: 2px; background: var(--line); border-radius: 2px; outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; }
.swatches { display: inline-flex; gap: 6px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(11, 27, 63, 0.2); padding: 0; transition: transform 0.3s var(--ease); }
.swatch[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.12); }
.ov { position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink); pointer-events: none; }
.ov-card { position: absolute; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: var(--ink); box-shadow: 0 12px 30px -18px rgba(11, 27, 63, 0.35); }
.ov-card h4 { margin: 0 0 8px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.feed li { display: flex; justify-content: space-between; gap: 14px; font-family: var(--f-mono); font-size: 11px; animation: feedIn 0.6s var(--ease); white-space: nowrap; }
.feed li .pos { color: var(--c-casheye); }
.feed li .neg, .feed li .alert { color: #d93a3a; }
.kpi { font-family: var(--f-display); font-stretch: 115%; font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.kpi small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; font-stretch: 100%; }
.lima-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lima-svg text { font-family: var(--f-mono); fill: var(--ink); }
.lima-svg .node rect { fill: #fff; stroke: rgba(11, 27, 63, 0.14); }
.lima-svg .node.is-on rect { stroke: var(--c-lima); }
.lima-svg .wire { fill: none; stroke: rgba(11, 27, 63, 0.12); stroke-width: 1.2; }
.lima-svg .pulse { fill: none; stroke: var(--c-lima); stroke-width: 2.2; stroke-linecap: round; }
.lima-svg .prog-bg { fill: rgba(11, 27, 63, 0.08); }
.lima-svg .prog { fill: var(--c-lima); }
.lima-svg .muted { fill: var(--muted); }
.lima-svg .big { font-family: var(--f-display); font-weight: 600; }
.lima-svg .ok { fill: var(--c-casheye); }

/* ==========================================================================
   REFERENCES PAGE
   ========================================================================== */
.ref-hero { padding: 150px 0 0; }
.ref-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: end; }
.ref-hero h1 { font-size: clamp(52px, 8.4vw, 160px); }
.ref-hero p { color: var(--ink-2); margin: 0; max-width: 44ch; font-size: 18px; }
.ref-hero .crumbs { color: var(--muted); margin-bottom: 32px; display: flex; gap: 12px; }
.ref-hero .crumbs a:hover { color: var(--ink); }
.ref-hero__photo { height: clamp(300px, 36vw, 640px); border-radius: 8px; margin-top: clamp(40px, 7vh, 80px); }
.ref-index { display: flex; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vh, 70px); }
.ref-index a { flex: 1; padding: 16px 16px 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; transition: color 0.3s; border-right: 1px solid var(--line); }
.ref-index a:first-child { padding-left: 0; }
.ref-index a:last-child { border-right: 0; }
.ref-index a:hover { color: var(--ink); }
.ref-index a b { font-family: var(--f-display); font-stretch: 116%; font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; text-transform: none; }
.chapter-nav { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.chapter-nav.is-on { opacity: 1; pointer-events: auto; }
.chapter-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chapter-nav a span { opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.4s var(--ease); background: var(--surface); padding: 3px 7px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.chapter-nav:hover a span, .chapter-nav a.is-active span { opacity: 1; transform: none; }
.chapter-nav a i { width: 18px; height: 2px; background: currentColor; opacity: 0.5; transition: width 0.4s var(--ease), background 0.3s, opacity 0.3s; }
.chapter-nav a.is-active { color: var(--ink); }
.chapter-nav a.is-active i { width: 34px; background: var(--accent, var(--ink)); opacity: 1; }
.case { --accent: var(--blue); padding: clamp(80px, 12vh, 140px) 0 clamp(90px, 14vh, 160px); position: relative; }
.case__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.case__num { color: var(--accent); margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.case__num .cap { color: var(--muted); }
.case__name { font-size: clamp(60px, 9vw, 170px); }
.case__name .tint { color: var(--accent); }
.case__tag { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(22px, 2.2vw, 36px); line-height: 1.14; letter-spacing: -0.02em; margin: 0; max-width: 26ch; }
.inspect { position: relative; border-radius: 8px; overflow: hidden; cursor: none; user-select: none; -webkit-user-select: none; touch-action: pan-y; border: 1px solid var(--line); }
.inspect > img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; }
.inspect__lens { position: absolute; left: 0; top: 0; width: 240px; height: 240px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1px #fff, 0 0 0 7px rgba(11, 27, 63, 0.1), 0 24px 60px -10px rgba(11, 27, 63, 0.5); background-repeat: no-repeat; opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: opacity 0.3s, transform 0.45s var(--ease); z-index: 4; }
.inspect.is-lens .inspect__lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.inspect__lens::after { content: attr(data-zoom); position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: #fff; background: var(--ink); padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; background: var(--accent); color: #fff; z-index: 3; cursor: pointer; font-family: var(--f-mono); font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 24%, transparent), 0 8px 24px -6px rgba(11, 27, 63, 0.45); transition: transform 0.4s var(--ease); }
.hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.hotspot:hover, .hotspot[aria-expanded="true"] { transform: scale(1.18); }
.inspect.is-lens .hotspot { opacity: 0.25; }
.hint-pill { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 999px; display: flex; gap: 8px; align-items: center; transition: opacity 0.4s; }
.inspect.is-lens .hint-pill { opacity: 0; }
.case__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(40px, 7vh, 72px); }
.case__col h3 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.case__col p { margin: 0; color: var(--ink-2); }
.feats { list-style: none; padding: 0; margin: 0; }
.feats li { padding: 11px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; }
.feats li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.case__spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.case__spec span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; padding: 6px 10px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.spot-panel { position: absolute; z-index: 5; width: min(320px, 80%); background: #fff; color: var(--ink); border-radius: 8px; padding: 16px 18px 18px; box-shadow: 0 30px 70px -20px rgba(11, 27, 63, 0.45); opacity: 0; transform: translateY(8px) scale(0.98); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
.spot-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.spot-panel .mono { color: var(--accent); font-size: 10.5px; }
.spot-panel h4 { margin: 6px 0; font-family: var(--f-display); font-stretch: 112%; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.spot-panel p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.spot-panel .x { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.ref-contact { padding: clamp(80px, 12vh, 140px) 0 0; }
.ref-contact .contact__card { position: relative; right: auto; top: auto; transform: none; width: 100%; padding: clamp(26px, 3.2vw, 48px); box-shadow: none; border: 1px solid var(--line); }
.ref-contact .contact__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.ref-contact .contact__rows > div { grid-template-columns: 1fr; gap: 6px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf h1 { font-size: clamp(90px, 22vw, 340px); color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .header-tools .btn { display: none; }
  .nav a { padding: 8px 10px; }
  .cap-step ul { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero__lede { max-width: 46ch; }
  .case__head, .ref-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .case__body { grid-template-columns: 1fr; gap: 32px; }
  .chapter-nav { display: none; }
  .ref-index { flex-wrap: wrap; }
  .ref-index a { flex: 1 1 33%; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .ref-hero__photo { height: auto; aspect-ratio: 4 / 3; }
  .ref-contact .contact__rows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stage__view { aspect-ratio: 4 / 5; }
  .inspect { cursor: default; }
  .inspect__lens, .hint-pill { display: none; }
  .hotspot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 10px; }
  .spot-panel { position: relative; left: auto !important; top: auto !important; width: 100%; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); display: none; }
  .spot-panel.is-open { display: block; }
  .ref-index a { flex-basis: 50%; }
  .hero__title { font-size: clamp(36px, 11vw, 56px); }
  .hero__cue { display: none; }
  .brand__word { display: none; }
  .contact__rows > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .rv, .rv-line > span, .hero__fade { opacity: 1 !important; transform: none !important; }
  .manifesto__text .w { opacity: 1; }
}

/* steps stack in one grid cell: the box is as tall as its tallest step, nothing overflows */
.caps__steps, .team__steps { display: grid; min-height: 0 !important; }
.cap-step { position: relative; inset: auto; grid-area: 1 / 1; }

/* ---------- Page transitions (particles) ---------- */
.ptrans { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 200; pointer-events: none; }
html.is-arriving::after { content: ""; position: fixed; inset: 0; z-index: 199; background: #f6f6f3; pointer-events: none; }

/* ---------- Live data chip (real ECB reference rates) ---------- */
.live { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font-size: 11px; white-space: nowrap; cursor: default; }
.live[hidden] { display: none; }
.live b { color: var(--ink); font-weight: 500; }
.live__dot { width: 6px; height: 6px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 3px rgba(24, 169, 87, 0.18); animation: blink 1.8s infinite; }
.live__k { color: #18a957; }
.live__spark { width: 72px; height: 22px; }
.live__spark polyline { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.live__ch.up { color: #d93a3a; }
.live__ch.down { color: #18a957; }
.live__ch small { color: var(--muted); }
.live__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 6px; font-size: 10.5px; letter-spacing: 0.02em; text-transform: none; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.live:hover .live__tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1180px) { .hero__caps { display: none; } }
@media (max-width: 640px) { .live { font-size: 10px; gap: 8px; } .live__spark, .live__ch { display: none; } .live__tip { display: none; } }

/* ---------- Assistant answers inside the command bar ---------- */
.kbar__ans { padding: 18px 20px 20px; max-height: 56vh; overflow: auto; }
.kbar__ans[hidden], .kbar__list[hidden] { display: none; }
.kbar__q { font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 12px; }
.kbar__a { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; min-height: 26px; }
.kbar__typing { display: inline-flex; gap: 4px; }
.kbar__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: typing 1s infinite; }
.kbar__typing i:nth-child(2) { animation-delay: 0.15s; }
.kbar__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-4px); opacity: 1; } }
.kbar__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.kbar__link { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; color: var(--ink); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.kbar__link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.kbar__src { margin-left: auto; color: var(--muted); font-size: 10px; }
.kbar__ai { margin-left: auto; color: var(--blue); text-transform: none; letter-spacing: 0; }
@media (max-width: 1320px) { .kbar-btn > span { display: none; } .nav a { padding: 8px 9px; font-size: 13.5px; } }
@media (max-width: 1180px) { .brand__word { display: none; } }

/* ==========================================================================
   REFERENCES v2 — every case reads in one view: name, concept and live model
   side by side, then problem / solution / modules in one compact band
   ========================================================================== */
.ref-hero h1 { font-size: clamp(44px, 6vw, 116px); }
.ref-hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.case { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 20px) 0 44px; display: flex; flex-direction: column; justify-content: center; }
.case__head { grid-template-columns: auto minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: clamp(16px, 2.6vh, 28px); }
.case__num { margin-bottom: 6px; }
.case__name { font-size: clamp(44px, 4.6vw, 88px); white-space: nowrap; }
.case__tag { font-size: clamp(17px, 1.5vw, 25px); max-width: 34ch; justify-self: end; text-align: right; }
.case__media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.case__media .inspect { cursor: default; align-self: start; }
.case__media .stage { margin-top: 0; display: flex; flex-direction: column; }
.case__media .stage__view { aspect-ratio: auto; flex: 1; min-height: 220px; }
.case__media .stage__caption { display: none; }
.case__media .stage__foot { padding: 10px 14px; }
.case__media .controls { justify-content: flex-start; gap: 8px; }
.case__body { margin-top: clamp(16px, 2.6vh, 28px); gap: 32px; }
.case__col h3 { margin-bottom: 8px; }
.case__col p { font-size: 15px; line-height: 1.5; }
.case .feats { display: flex; flex-wrap: wrap; gap: 6px; }
.case .feats li { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface); border-top: 1px solid var(--line); }
.case .feats li::before { width: 6px; height: 6px; margin: 0 7px 0 0; flex: none; }
.case__spec { margin-top: 10px; }
.chapter-nav { right: 14px; }
.chapter-nav a.is-active span { opacity: 0; transform: translateX(6px); }
.chapter-nav:hover a span { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .case { min-height: 0; padding: 72px 0 56px; }
  .case__head { grid-template-columns: 1fr; }
  .case__name { white-space: normal; }
  .case__tag { justify-self: start; text-align: left; }
  .case__media { grid-template-columns: 1fr; }
  .case__media .stage__view { aspect-ratio: 4 / 3.6; flex: none; }
}
.case__media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.case__media .stage { container-type: inline-size; }
.case__media .ov-card { padding: 8px 10px; font-size: 11.5px; }
.case__media .ov-card h4 { font-size: 9.5px; margin-bottom: 5px; }
.case__media .kpi { font-size: 18px; }
.case__media .kpi small { font-size: 9px; }
@container (max-width: 760px) {
  .panel .ov-card:nth-of-type(2) { display: none; }
}
@media (max-width: 1180px) {
  .case__media { grid-template-columns: 1fr; }
  .case__media .stage__view { aspect-ratio: 16 / 9; flex: none; }
  .case { min-height: 0; }
}
/* ==========================================================================
   FOOTER — full company footer, shared by every page
   ========================================================================== */
.site-footer { position: relative; z-index: 3; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: 22px; }
.fx-int { display: flex; align-items: center; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fx-int__k { flex: none; font-size: 11px; }
.fx-int__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); display: flex; }
.fx-int__row { display: flex; flex: none; animation: fxMarquee 46s linear infinite; }
.fx-int:hover .fx-int__row { animation-play-state: paused; }
.fx-int__row b { flex: none; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-2); padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); white-space: nowrap; transition: color 0.3s; }
.fx-int:hover .fx-int__row b { color: var(--ink); }
.fx-int__go { flex: none; font-size: 11px; color: var(--ink); }
.fx-int:hover .fx-int__go .arr { display: inline-block; transform: translateX(4px); transition: transform 0.4s var(--ease); }
@keyframes fxMarquee { to { transform: translateX(-100%); } }
.fx-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); padding: clamp(40px, 7vh, 72px) 0 clamp(36px, 6vh, 60px); }
.fx-brand img { height: 52px; width: auto; }
.fx-brand p { margin: 20px 0 22px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 36ch; }
.fx-col { display: flex; flex-direction: column; align-items: flex-start; }
.fx-col h4 { margin: 4px 0 14px; font-size: 11px; font-weight: 500; color: var(--muted); }
.fx-col a, .fx-col > span:not(.fx-coord), .fx-kbar { padding: 5px 0; font-size: 15px; color: var(--ink-2); line-height: 1.35; transition: color 0.25s; }
.fx-col a:hover, .fx-kbar:hover { color: var(--blue); }
.fx-col a small { font-size: 12px; color: var(--muted); margin-left: 6px; }
.fx-kbar { background: none; border: 0; display: inline-flex; align-items: center; gap: 8px; text-align: left; }
.fx-kbar kbd { font-family: var(--f-mono); font-size: 10px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.fx-contact a { overflow-wrap: anywhere; }
.fx-coord { margin-top: 8px; color: var(--muted); font-size: 10.5px; }
.fx-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.fx-note { flex: 1; text-align: center; text-transform: none; letter-spacing: 0.01em; }
.fx-up { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; color: var(--ink); transition: background 0.3s, color 0.3s; }
.fx-up:hover { background: var(--ink); color: #fff; }
.ref-contact { padding-bottom: clamp(60px, 10vh, 110px); }
.ref-contact .contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(18px, 3vh, 30px); }
.ref-contact .contact__grid > div { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ref-contact .contact__grid .mono { color: var(--muted); font-size: 11px; }
@media (max-width: 1180px) {
  .fx-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
  .fx-brand p { margin: 0; }
}
@media (max-width: 760px) {
  .fx-int__k { display: none; }
  .fx-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .fx-brand { display: block; }
  .fx-brand p { margin: 16px 0 18px; }
  .fx-note { text-align: left; flex-basis: 100%; order: 3; }
  .ref-contact .contact__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .fx-int__row { animation: none; } }

/* ==========================================================================
   INTEGRATIONS — live network hero, banks, tax e-documents, other sources
   ========================================================================== */
.int-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 28px) 0 36px; }
.int-hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 80px); align-items: center; }
.int-hero .crumbs { color: var(--muted); margin-bottom: 28px; display: flex; gap: 12px; }
.int-hero .crumbs a:hover { color: var(--ink); }
.int-hero h1 { font-size: clamp(42px, 5.2vw, 100px); }
.int-hero h1 em { font-style: normal; color: var(--blue); }
.int-hero p { margin: clamp(18px, 3vh, 30px) 0 0; color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18.5px); max-width: 46ch; }
.int-stats { display: flex; margin-top: clamp(24px, 5vh, 48px); border-top: 1px solid var(--line); }
.int-stats a { flex: 1; padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); transition: color 0.3s; }
.int-stats a + a { padding-left: 16px; border-left: 1px solid var(--line); }
.int-stats a:hover { color: var(--ink); }
.int-stats b { font-size: clamp(38px, 3.6vw, 64px); color: var(--ink); line-height: 1; }
.int-stats span { font-size: 10.5px; }
.ihub { position: relative; margin: 0; width: 100%; aspect-ratio: 1 / 0.92; max-height: calc(100svh - var(--header-h) - 64px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ihub__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ihub__hint { position: absolute; top: 14px; left: 16px; right: 16px; color: var(--muted); font-size: 10.5px; pointer-events: none; }
.ihub__feed { position: absolute; left: 14px; bottom: 14px; width: min(340px, calc(100% - 28px)); background: rgba(246, 246, 243, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px 8px; pointer-events: none; }
.ihub__feedhead { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.ihub__feedhead .live-dot { display: inline-flex; align-items: center; gap: 7px; color: #12a150; }
.ihub__feedhead .live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.ihub__log { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-height: 4.6em; }
.ihub__log li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: 10.5px; text-transform: none; letter-spacing: 0.01em; color: var(--ink-2); white-space: nowrap; animation: logIn 0.5s var(--ease); }
.ihub__log li span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ihub__log time { color: var(--muted); }
.ihub__log b { color: var(--ink); font-weight: 500; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.ihub__tip { position: absolute; left: 0; top: 0; z-index: 2; max-width: 250px; padding: 10px 12px; border-radius: 8px; background: var(--ink); color: #fff; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; box-shadow: 0 18px 40px -18px rgba(11, 27, 63, 0.6); }
.ihub__tip.is-on { opacity: 1; transform: none; }
.ihub__tip span { font-size: 9.5px; opacity: 0.65; }
.ihub__tip b { display: block; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 16px; margin-top: 2px; }
.ihub__tip p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.4; opacity: 0.86; }

.int-sec { padding: clamp(72px, 12vh, 130px) 0; }
.int-sec__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(30px, 6vh, 60px); }
.int-sec__head h2 { font-size: clamp(32px, 3.9vw, 70px); margin-top: 14px; }
.int-sec__head p { margin: 0; color: var(--ink-2); font-size: clamp(15.5px, 1.1vw, 18px); max-width: 52ch; }
.banks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bank { position: relative; background: var(--surface); min-height: clamp(120px, 17vh, 168px); padding: 24px 22px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: background 0.35s; }
.bank:hover { background: #fafaf7; }
.bank__mark { font-family: var(--f-display); font-stretch: 108%; font-weight: 650; font-size: clamp(19px, 1.6vw, 27px); letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
.bank__mark small { font-size: 0.62em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bank__logo { display: block; height: clamp(30px, 3vw, 44px); width: auto; max-width: 88%; object-fit: contain; object-position: left center; }
.bank__st { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.bank__st i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #12a150; }
.bank__st i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #12a150; opacity: 0; animation: bankPing 3.2s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes bankPing { 0% { transform: scale(0.4); opacity: 0.8; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
.bank.is-pulse { background: #f3f7ff; }
.int-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.int-flow .case__spec { margin: 0; }
.int-proof { margin-left: auto; display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink-2); font-size: 15px; transition: color 0.3s; }
.int-proof .mono { color: var(--muted); font-size: 10.5px; }
.int-proof b { font-family: var(--f-display); font-stretch: 110%; font-weight: 600; color: var(--c-casheye); }
.int-proof:hover { color: var(--ink); }
.int-proof:hover .arr { transform: translateX(4px); }
.int-proof .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.docs, .srcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 2.4vw, 34px); }
.doc__sheet { position: relative; width: 62px; height: 78px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); overflow: hidden; }
.doc__sheet i { position: absolute; left: 10px; height: 3px; border-radius: 2px; background: rgba(11, 27, 63, 0.14); }
.doc__sheet i:nth-child(1) { top: 13px; width: 26px; background: rgba(11, 27, 63, 0.3); }
.doc__sheet i:nth-child(2) { top: 26px; right: 10px; }
.doc__sheet i:nth-child(3) { top: 35px; right: 18px; }
.doc__sheet i:nth-child(4) { top: 44px; right: 10px; }
.doc__sheet b { position: absolute; right: 7px; bottom: 7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c-casheye); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 500; }
.doc__sheet::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; background: linear-gradient(180deg, transparent, rgba(31, 94, 255, 0.28)); border-bottom: 1px solid var(--blue); opacity: 0; }
.doc:hover .doc__sheet::after { animation: docScan 1.3s var(--ease-io) infinite; }
@keyframes docScan { 0% { top: -12px; opacity: 1; } 100% { top: 78px; opacity: 1; } }
.doc h3, .src h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -0.02em; margin: 26px 0 10px; }
.doc p, .src p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.src { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 2.4vw, 34px); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.src::before { content: ""; position: absolute; left: clamp(22px, 2.4vw, 34px); top: -1px; width: 44px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; transition: width 0.5s var(--ease); }
.src:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11, 27, 63, 0.4); border-color: transparent; }
.src:hover::before { width: 96px; }
.src__n { color: var(--muted); font-size: 10.5px; }
.src h3 { margin-top: clamp(28px, 6vh, 56px); }
.src p { flex: 1; }
.src__proof { margin-top: 22px; color: var(--accent); font-size: 10.5px; }
.src__proof .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.src:hover .src__proof .arr { transform: translateX(4px); }
.hows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.hows li { padding-top: 20px; border-top: 1px solid var(--ink); }
.hows li > span { color: var(--blue); }
.hows h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: clamp(19px, 1.45vw, 24px); letter-spacing: -0.015em; margin: 14px 0 10px; }
.hows p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.int-protos { margin-top: clamp(28px, 5vh, 48px); }
@media (max-width: 1180px) {
  .int-hero { min-height: 0; }
  .int-hero__grid { grid-template-columns: 1fr; }
  .ihub { aspect-ratio: 4 / 3.3; max-height: none; }
  .banks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bank { padding: 18px 14px 14px; }
}
@media (max-width: 960px) {
  .int-sec__head { grid-template-columns: 1fr; }
  .banks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs, .srcs { grid-template-columns: 1fr; }
  .hows { grid-template-columns: 1fr 1fr; }
  .int-proof { margin-left: 0; }
}
@media (max-width: 640px) {
  .ihub { aspect-ratio: 1 / 1.12; }
  .ihub__feed, .ihub__hint { display: none; }
  .hows { grid-template-columns: 1fr; }
  .int-stats span { font-size: 9.5px; }
  .bank { min-height: 96px; padding: 16px 14px 12px; }
}
.int-note { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); font-size: 10px; text-transform: none; letter-spacing: 0.02em; }
.bank[data-bank="isbank"] .bank__logo { height: clamp(48px, 4.4vw, 60px); margin: -9px 0 -9px -4px; }
