/* Korani — "Kontrollrom". Dark graphite, one signal colour, glass, light and depth.
   Sections: fonts · tokens · base · type · layout · header · buttons · glass · hero · ticker · services ·
   method · experience · products · frames · contact · footer · subpages · gallery · lightbox · calculator · motion · responsive */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-variable-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Krypton'; src: url('/assets/fonts/monaspace-krypton-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #050706;
  --bg-2: #080b09;
  --surface: #0c100d;
  --surface-2: #121713;
  --line: rgba(236, 240, 230, .08);
  --line-2: rgba(236, 240, 230, .14);
  --line-3: rgba(236, 240, 230, .26);
  --text: #eef1ea;
  --soft: #c2c9bd;
  --muted: #8e978b;
  --lime: #d7ff3f;
  --lime-hover: #e6ff86;
  --lime-glow: rgba(215, 255, 63, .34);
  --ink: #0b0e0b;
  --focus: var(--lime);
  --sans: 'Archivo', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Krypton', ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  --max: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(14px, 1.8vw, 24px);
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --header: 72px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-height: 100vh; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; font-synthesis: none; }
/* Fine film grain keeps the large dark areas from looking flat. */
body::after { content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.menu-open { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }
main:focus, [tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anchor { position: absolute; top: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 120; left: 12px; top: 12px; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 620; font-stretch: 108%; line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 7.4rem); line-height: .92; letter-spacing: -.05em; }
h2 { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: .94; letter-spacing: -.045em; }
h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.12; letter-spacing: -.02em; font-stretch: 104%; }
p { text-wrap: pretty; }
.lead { max-width: 42ch; font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--soft); }
.kicker, .mono-label { font-family: var(--mono); font-size: .72rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1em; }
.kicker-no { display: inline-flex; align-items: center; gap: .9em; color: var(--lime); }
.kicker-no::after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, var(--lime), transparent); }
.dim { color: #5f685c; }
.grad, .hl { padding-bottom: .06em; background: linear-gradient(100deg, #f4ffd0 0%, var(--lime) 45%, #a9e400 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fineprint { margin-top: 32px; font-size: .85rem; color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 9vw, 136px); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: end; margin-bottom: clamp(44px, 5.5vw, 84px); }
.section-head > .kicker { grid-column: 1 / -1; margin-bottom: clamp(22px, 2.4vw, 32px); }
.section-head > h2 { grid-column: 1 / 8; }
.section-head > .section-intro { grid-column: 9 / 13; }
.section-intro { max-width: 42ch; font-size: 1.0625rem; color: var(--soft); }
.glow-top::before { content: ''; position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none; background: radial-gradient(46% 100% at 50% 0%, rgba(215, 255, 63, .06), transparent 72%); }
.glow-top::after { content: ''; position: absolute; top: 0; left: 50%; width: min(760px, 70vw); height: 1px; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(215, 255, 63, .35), transparent); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.site-header.is-scrolled { background: rgba(6, 8, 7, .74); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: var(--header); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; line-height: 1; }
.brand .mark { width: 34px; height: 34px; filter: drop-shadow(0 0 18px rgba(215, 255, 63, .3)); transition: transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: grid; gap: 4px; }
.brand-word { font-size: 1.38rem; font-weight: 700; font-stretch: 116%; line-height: .9; letter-spacing: -.055em; }
.brand-sub { padding-left: 1px; font-family: var(--mono); font-size: .52rem; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 16, 13, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-list a { display: block; padding: 8px 15px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--soft); transition: color .25s, background-color .25s; }
.nav-list a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav-list a.is-active, .nav-list a[aria-current] { background: rgba(255, 255, 255, .1); color: var(--text); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; }
.lang > * { padding: 6px 10px; border-radius: 999px; line-height: 1; color: var(--muted); }
.lang [aria-current] { background: rgba(255, 255, 255, .1); color: var(--text); }
.lang a:hover { color: var(--text); }
.menu-btn { display: none; }

/* ---------- Buttons and links ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 600; font-stretch: 104%; line-height: 1.1; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .45s var(--ease), transform .3s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.link-down:hover .i { transform: translateY(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); box-shadow: 0 14px 44px -14px var(--lime-glow), 0 0 0 4px rgba(215, 255, 63, .12); }
.btn-line { border-color: var(--line-3); background: rgba(255, 255, 255, .025); color: inherit; }
.btn-line:hover { border-color: var(--lime); background: rgba(215, 255, 63, .06); }
.btn-sm { --h: 42px; gap: 10px; padding: 0 18px; font-size: .875rem; }
.btn-sm .i { width: 16px; height: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0 5px; border: 0; border-bottom: 1px solid var(--line-3); background: none; font-size: .95rem; font-weight: 600; cursor: pointer; transition: border-color .3s, color .3s; }
.link-arrow .i { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.link-arrow:hover { border-color: var(--lime); color: var(--lime); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Glass and spotlight ---------- */
.glass { border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(215, 255, 63, .1), transparent 45%); }
.spot::after { content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(215, 255, 63, .6), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Hero: the digital twin ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: max(700px, 100svh); padding: calc(var(--header) + 20px) 0 26px; overflow: hidden;
  background: radial-gradient(55% 50% at 74% 36%, rgba(215, 255, 63, .055), transparent 70%), radial-gradient(80% 60% at 72% 100%, rgba(33, 70, 58, .45), transparent 70%), var(--bg); }
.hero-scene { position: absolute; inset: 0; z-index: -3; }
.hero-canvas, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; object-position: 70% 50%; }
.hero-canvas { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero.is-live .hero-canvas { opacity: 1; }
.hero.no-gl .hero-canvas { display: none; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 6, .94) 0%, rgba(5, 7, 6, .72) 34%, rgba(5, 7, 6, 0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 6, 0) 26%), linear-gradient(180deg, rgba(5, 7, 6, .7) 0%, rgba(5, 7, 6, 0) 18%); }
.hero-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease) .6s; }
.hero.is-live .hero-labels { opacity: 1; }
.hero-labels span { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 0; padding-left: 30px; will-change: transform; }
.hero-labels span::before { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(215, 255, 63, .16), 0 0 14px var(--lime); }
.hero-labels span::after { content: ''; position: absolute; left: 7px; top: 0; width: 20px; height: 1px; background: linear-gradient(90deg, var(--lime), rgba(215, 255, 63, .2)); }
.hero-labels b { padding: 5px 10px; border: 1px solid rgba(215, 255, 63, .28); border-radius: 999px; background: rgba(5, 7, 6, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--mono); font-size: .62rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--soft); }
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: start; align-self: center; padding-block: 32px; }
.hero-foot { position: relative; z-index: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 11px; padding: 8px 15px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 16, 13, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.live-dot { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.live-dot::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--lime); border-radius: 50%; opacity: 0; animation: ping 2.6s var(--ease) infinite; }
.hero-title { margin-top: clamp(24px, 2.8vw, 36px); font-size: clamp(2.9rem, 6.4vw, 6.6rem); }
.hero-line { display: block; }
.hero .lead { margin-top: clamp(22px, 2.4vw, 32px); max-width: 46ch; }
.hero .actions { margin-top: clamp(28px, 3vw, 40px); }
.hero-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 16px 22px; border-radius: 18px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-facts > div { min-width: 0; padding: 2px 22px 2px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { margin-right: 0; border-right: 0; }
.hero-facts dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin-top: 5px; font-size: .9rem; font-weight: 500; line-height: 1.35; color: var(--soft); }
.hero-facts a { transition: color .25s; }
.hero-facts a:hover { color: var(--lime); }
.hero-legend { display: grid; gap: 5px; padding-left: 22px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.hero-legend span { display: inline-flex; align-items: center; gap: 9px; }
.hero-legend i { width: 16px; height: 2px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.hero-legend i.ctl { background: #c9d3cf; box-shadow: none; }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 24px 0; border-block: 1px solid var(--line); background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 52s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 560; font-stretch: 108%; letter-spacing: -.02em; white-space: nowrap; color: var(--soft); }
.ticker-track span::after { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--lime); box-shadow: 0 0 12px var(--lime-glow); }

/* ---------- 01 Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.svc { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.svc-art { position: relative; height: 184px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(90% 120% at 50% 0%, rgba(215, 255, 63, .06), transparent 70%); }
.svc-art::before { content: ''; position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(rgba(236, 240, 230, .08) 1px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(70% 90% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 90% at 50% 40%, #000, transparent); }
.svc-art svg { position: relative; width: 100%; height: 100%; }
.svc-art .ln { fill: none; stroke: rgba(236, 240, 230, .55); stroke-width: 1.3; }
.svc-art .ln-dim { fill: none; stroke: rgba(236, 240, 230, .2); stroke-width: 1.1; }
.svc-art .ln-lime { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(215, 255, 63, .5)); }
.svc-art .fill { fill: rgba(255, 255, 255, .03); stroke: rgba(236, 240, 230, .45); stroke-width: 1.2; }
.svc-art .fill-lime { fill: rgba(215, 255, 63, .12); stroke: rgba(215, 255, 63, .7); stroke-width: 1.2; }
.svc-art .dot { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.svc-art text { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; fill: #c8d0c3; }
.svc-art .flow { stroke-dasharray: 3 8; animation: dash 1.4s linear infinite; }
.svc-art .flow-dash { stroke-dasharray: 6 220; stroke-dashoffset: 226; animation: fan 3.2s var(--ease) infinite; animation-delay: calc(var(--k) * 90ms); }
.svc-art .pulse { animation: blink 1.6s ease-in-out infinite; }
.js-live .svc-grid:not([data-live]) .svc-art * { animation-play-state: paused; }
.svc-body { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 2.4vw, 32px); }
.svc-tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.svc h3 { margin-top: 12px; font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.svc-body > p:not(.svc-tag) { margin-top: 14px; color: var(--soft); }
.svc-list { display: grid; margin: 22px 0 28px; }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--soft); }
.svc-list li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }
.svc-body .link-arrow { align-self: flex-start; margin-top: auto; }
.engage-label { margin: clamp(48px, 6vw, 80px) 0 18px; }
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.engage-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .018); }
.engage-no { display: grid; grid-row: span 2; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(215, 255, 63, .35); border-radius: 11px; font-family: var(--mono); font-size: .72rem; color: var(--lime); }
.engage-item strong { font-size: 1.05rem; font-weight: 620; font-stretch: 104%; letter-spacing: -.01em; }
.engage-item span:last-child { font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* ---------- 02 Method (hosts the demo) ---------- */
.method { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.method-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.principle-line { max-width: 72ch; font-size: .95rem; color: var(--muted); }
.principle-line strong { font-weight: 600; color: var(--text); }
.demo-note { max-width: 90ch; margin-top: 18px; font-size: .84rem; line-height: 1.55; color: var(--muted); }

/* ---------- 03 Experience: map and register ---------- */
.xp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; gap: clamp(28px, 4vw, 64px); }
.xp-view { position: sticky; top: calc(var(--header) + 24px); margin: 0; }
.xp-stage { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line-2); border-radius: 24px; background: radial-gradient(80% 60% at 50% 42%, rgba(33, 70, 58, .38), transparent 72%), #060908; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.xp-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity 1.4s var(--ease); }
.xp-canvas:active { cursor: grabbing; }
.xp-view:is(.is-pending, .is-live) .xp-stage { height: min(74vh, 680px); }
.xp-view.is-pending:not(.is-live) .xp-map { opacity: 0; }
.xp-view.is-live .xp-canvas { opacity: 1; }
.xp-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fl { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 0; padding-left: 22px; opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.fl.on { opacity: 1; }
.fl::before { content: ''; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--text); box-shadow: 0 0 10px rgba(236, 240, 230, .8); }
.fl::after { content: ''; position: absolute; left: 5px; top: 0; width: 14px; height: 1px; background: rgba(236, 240, 230, .5); }
.fl.left { padding-left: 0; padding-right: 22px; }
.fl.left::before { left: auto; right: -3px; }
.fl.left::after { left: auto; right: 5px; }
.fl b { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 7, 6, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--mono); font-size: .58rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--soft); }
.fl.hot b, .fl.work b { border-color: rgba(215, 255, 63, .45); color: var(--lime); }
.fl.hot::before, .fl.work::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(215, 255, 63, .16), 0 0 12px var(--lime); }
.fl.work b { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); background: rgba(10, 14, 11, .8); }
.fl.room b { border-style: dashed; color: var(--soft); }
.fl.room::before { background: var(--muted); box-shadow: none; }
.xp-hud { position: absolute; z-index: 2; left: 20px; top: 18px; display: none; pointer-events: none; }
.xp-view.is-live .xp-hud { display: block; }
.xp-name { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 650; font-stretch: 108%; line-height: 1; letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.xp-sub { margin-top: 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.xp-layer { position: absolute; z-index: 3; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8, 11, 9, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font-size: .84rem; font-weight: 560; transition: border-color .3s, background-color .3s, color .3s; }
.xp-layer:hover { border-color: var(--lime); }
.xp-sw { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #2a312b; transition: background-color .3s; }
.xp-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease), background-color .3s; }
.xp-layer[aria-pressed="true"] { border-color: rgba(215, 255, 63, .6); }
.xp-layer[aria-pressed="true"] .xp-sw { background: var(--lime); }
.xp-layer[aria-pressed="true"] .xp-sw::after { transform: translateX(12px); background: var(--ink); }
.xp-drag { position: absolute; z-index: 2; right: 18px; bottom: 16px; display: none; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.xp-view.is-live .xp-drag { display: block; }
.xp-map { position: relative; z-index: 2; }
.xp-map svg { width: 100%; height: auto; }
.xp-view.is-live .xp-map { position: absolute; left: 14px; bottom: 14px; width: min(36%, 220px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(6, 9, 8, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.xp-view.is-live .xp-map :is(.tag, .field text, .city text, .grat-t, .scale) { display: none; }
.xp-view.is-live .xp-map { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.xp-view.is-inside .xp-map { opacity: 0; transform: translateY(8px); pointer-events: none; }
.xp-map .land { fill: #121914; stroke: rgba(236, 240, 230, .3); stroke-width: 1.1; stroke-linejoin: round; }
.xp-map .grat { fill: none; stroke: rgba(236, 240, 230, .055); stroke-width: 1; }
.xp-map .grat-t { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; fill: rgba(236, 240, 230, .3); }
.xp-map .city circle { fill: #060908; stroke: #8e978b; stroke-width: 1.6; }
.xp-map .city text { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; fill: #8e978b; }
.xp-map .field { transition: opacity .45s var(--ease); }
.xp-map .field .halo { fill: var(--lime); opacity: 0; transform-box: fill-box; transform-origin: center; }
.xp-map .field .ring { fill: none; stroke: var(--lime); stroke-width: 1.3; opacity: .55; }
.xp-map .field .core { fill: var(--lime); filter: drop-shadow(0 0 8px var(--lime)); }
.xp-map .field .tag { fill: rgba(5, 7, 6, .84); stroke: rgba(215, 255, 63, .35); stroke-width: 1.2; transition: stroke .4s; }
.xp-map .field text { font-family: var(--mono); font-size: 17px; letter-spacing: .08em; fill: var(--text); }
.xp-map[data-focus] .field:not(.is-focus) { opacity: .32; }
.xp-map .field.is-focus .tag { stroke: var(--lime); }
.xp-map .field.is-focus .halo { animation: halo 2.6s var(--ease) infinite; }
.xp-map .scale path { fill: none; stroke: rgba(236, 240, 230, .45); stroke-width: 1.4; }
.xp-map .scale text { font-family: var(--mono); font-size: 12px; fill: rgba(236, 240, 230, .5); }
.xp-note { margin-top: 12px; font-family: var(--mono); font-size: .6rem; line-height: 1.5; letter-spacing: .04em; color: var(--muted); }
.register { border-top: 1px solid var(--line-2); }
.reg-row { border-bottom: 1px solid var(--line-2); }
.reg-row summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: 'no name toggle' 'no tag toggle' 'no sum toggle'; align-items: center; gap: 6px var(--gap); padding: clamp(22px, 2.4vw, 30px) 0; cursor: pointer; list-style: none; }
.reg-row summary::-webkit-details-marker { display: none; }
.reg-no { grid-area: no; align-self: start; padding-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.reg-name { grid-area: name; font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 620; font-stretch: 110%; line-height: 1; letter-spacing: -.045em; transition: color .3s; }
.reg-row summary:hover .reg-name, .reg-row[open] .reg-name { color: var(--lime); }
.reg-tag { grid-area: tag; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--muted); }
.reg-sum { grid-area: sum; font-size: 1rem; color: var(--soft); }
.reg-toggle { display: grid; grid-area: toggle; justify-self: end; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s; }
.reg-toggle .i { width: 18px; height: 18px; }
.reg-row summary:hover .reg-toggle { border-color: var(--lime); }
.reg-row[open] .reg-toggle { transform: rotate(45deg); border-color: var(--lime); background: var(--lime); color: var(--ink); }
.reg-row::details-content { height: 0; overflow: clip; transition: height .55s var(--ease), content-visibility .55s allow-discrete; }
.reg-row[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.reg-body { display: grid; gap: 22px; padding: 0 0 clamp(28px, 3vw, 40px) calc(44px + var(--gap)); }
.reg-intro { max-width: 62ch; font-size: 1rem; color: var(--soft); }
.reg-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reg-items > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.reg-items dt { font-size: .98rem; font-weight: 600; font-stretch: 104%; }
.reg-items dd { margin-top: 6px; font-size: .92rem; line-height: 1.55; color: var(--muted); }

/* ---------- 04 Products: sticky showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(28px, 4vw, 72px); }
.show-item { display: grid; align-content: center; min-height: 78vh; padding: 24px 0; opacity: .28; transition: opacity .6s var(--ease); }
.show-item:first-child { align-content: start; min-height: 66vh; padding-top: 8vh; }
.show-item:last-child { min-height: 70vh; }
.show-item.is-active { opacity: 1; }
.show-type { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--lime); }
.show-item h3 { margin-top: 16px; font-size: clamp(2.3rem, 4vw, 3.9rem); letter-spacing: -.045em; }
.show-tagline { margin-top: 12px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500; color: var(--soft); }
.show-text { max-width: 46ch; margin-top: 18px; color: var(--muted); }
.show-item .status { margin-top: 20px; }
.show-item .actions { gap: 14px 22px; margin-top: 28px; }
.show-stage { position: sticky; top: calc(var(--header) + 6vh); height: min(74vh, 720px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 28px; background: var(--surface); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95); }
.show-stage::before { content: ''; position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 85%); }
.show-slide { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(28px, 4vw, 60px); opacity: 0; transform: scale(.96) translateY(22px); pointer-events: none; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.show-slide.is-active { opacity: 1; transform: none; }
[data-tint="search"] { background: radial-gradient(70% 60% at 78% 12%, rgba(70, 140, 255, .26), transparent 70%); }
[data-tint="stedsradar"] { background: radial-gradient(70% 60% at 72% 16%, rgba(64, 175, 145, .3), transparent 70%); }
[data-tint="turklar"] { background: radial-gradient(70% 70% at 50% 100%, rgba(100, 170, 96, .32), transparent 70%); }
[data-tint="kapitalflyt"] { background: radial-gradient(70% 60% at 24% 14%, rgba(126, 112, 255, .3), transparent 70%); }
.show-slide .frame-window { width: 100%; max-width: 820px; }
.show-slide .frame-phone { width: clamp(150px, 14vw, 220px); }
.show-count { position: absolute; left: 22px; bottom: 18px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--muted); }
.show-count b { font-weight: 400; color: var(--lime); }
.show-mobile-visual { display: none; }

/* ---------- Frames around the real screenshots ---------- */
.frame-window { position: relative; overflow: hidden; border-radius: 12px; background: #0a0c0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(215, 255, 63, .16); }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: #161a16; font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--muted); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 9px; height: 9px; border-radius: 50%; background: #343a34; }
.frame-host { flex: 1; margin-right: 40px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .04); text-align: center; }
.frame-screen { position: relative; }
.frame-screen img { width: 100%; }
.frame-credit-chip { position: absolute; z-index: 2; right: 12px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(5, 7, 6, .78); font-family: var(--mono); font-size: .58rem; letter-spacing: .04em; color: var(--soft); }
.phones { position: relative; display: flex; align-items: flex-start; justify-content: center; }
.frame-phone { position: relative; flex: none; width: clamp(130px, 13vw, 200px); aspect-ratio: 1080 / 2400; padding: 7px; border-radius: 30px; background: linear-gradient(160deg, #2c322c, #050605 42%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 70px -30px rgba(215, 255, 63, .2); }
.frame-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.phones-2 .frame-phone:nth-child(2) { margin: 40px 0 0 -26px; transform: rotate(5deg); }
.phones-2 .frame-phone.is-front { z-index: 1; transform: rotate(-3deg); }
.status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--soft); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(215, 255, 63, .16), 0 0 10px var(--lime); }

/* Product tiles ("more products" on the product pages) */
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 22px; background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.tile:hover { border-color: rgba(215, 255, 63, .45); transform: translateY(-4px); }
.tile-visual { position: relative; height: clamp(200px, 18vw, 250px); overflow: hidden; padding: 24px 24px 0; }
.tile-search .tile-visual { background: radial-gradient(120% 90% at 90% 0%, rgba(70, 140, 255, .26), transparent 60%); }
.tile-stedsradar .tile-visual { background: radial-gradient(120% 90% at 85% 0%, rgba(64, 175, 145, .3), transparent 60%); }
.tile-turklar .tile-visual { background: radial-gradient(110% 90% at 50% 110%, rgba(100, 170, 96, .32), transparent 62%); }
.tile-kapitalflyt .tile-visual { background: radial-gradient(120% 90% at 10% 0%, rgba(126, 112, 255, .28), transparent 60%); }
.tile .frame-phone { width: clamp(100px, 8vw, 128px); border-radius: 22px; padding: 5px; }
.tile .frame-phone img { border-radius: 17px; }
.tile-meta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.tile-meta > :not(.tile-arrow) { grid-column: 1; }
.tile-type { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--muted); }
.tile-name { margin-top: 4px; font-size: clamp(1.4rem, 1.8vw, 1.75rem); }
.tile-text { font-size: .92rem; color: var(--soft); }
.tile-arrow { display: grid; grid-column: 2; grid-row: 1 / span 4; align-self: center; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.tile-arrow .i { width: 18px; height: 18px; }
.tile:hover .tile-arrow { transform: rotate(-45deg); border-color: var(--lime); background: var(--lime); color: var(--ink); }

/* ---------- 05 Contact ---------- */
.contact { isolation: isolate; overflow: hidden; }
.contact-glow { position: absolute; z-index: -1; right: -12%; top: 4%; width: 64vw; height: 64vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(215, 255, 63, .09), transparent); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: var(--gap); }
.contact-copy { grid-column: 1 / 7; }
.contact h2 { margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(3.1rem, 7.4vw, 7.6rem); line-height: .9; }
.contact-lead { max-width: 34ch; margin-top: 28px; font-size: clamp(1.1rem, 1.3vw, 1.28rem); line-height: 1.5; color: var(--soft); }
.contact-lines { display: grid; justify-items: start; gap: 10px; margin-top: 38px; }
.contact-email { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--lime); font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 620; font-stretch: 106%; line-height: 1.1; letter-spacing: -.03em; transition: color .3s; }
.contact-email:hover { color: var(--lime); }
.contact-email .i { width: .8em; height: .8em; stroke-width: 2.2; transition: transform .4s var(--ease); }
.contact-email:hover .i { transform: translate(3px, -3px); }
.contact-phone { font-size: 1.1rem; font-weight: 500; color: var(--soft); }
.person { display: flex; align-items: center; gap: 18px; width: fit-content; margin-top: 44px; padding: 14px 20px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.person img { width: 72px; height: 90px; object-fit: cover; border-radius: 12px; }
.person strong { display: block; font-size: 1.05rem; font-weight: 640; font-stretch: 104%; }
.person p { max-width: 34ch; margin-top: 2px; font-size: .9rem; color: var(--muted); }
.person .link-arrow { margin-top: 8px; font-size: .86rem; }
.local-time { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.local-time time { color: var(--lime); }
.draft { grid-column: 8 / 13; padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips legend, .field-label { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips .chip { position: relative; }
.chips .chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips .chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--soft); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chips .chip span:hover { border-color: var(--line-3); color: var(--text); }
.chips .chip input:checked + span { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.chips .chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.draft textarea { display: block; width: 100%; min-height: 132px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0, 0, 0, .3); font-size: 1rem; line-height: 1.5; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.draft textarea::placeholder { color: #6c7469; }
.draft textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(215, 255, 63, .14); }
.draft textarea[readonly] { font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: var(--soft); }
.draft-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 18px; }
.form-note { max-width: 28ch; font-family: var(--mono); font-size: .62rem; line-height: 1.5; letter-spacing: .04em; color: var(--muted); }
.draft-out { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.draft-actions .btn { --h: 46px; font-size: .88rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: clamp(72px, 8vw, 112px) 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: var(--gap); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.footer-top .brand { grid-column: 1 / 4; }
.footer-claim { grid-column: 4 / 10; font-size: clamp(1.8rem, 3.6vw, 3.3rem); font-weight: 620; font-stretch: 108%; line-height: .98; letter-spacing: -.045em; }
.footer-top-link { display: inline-flex; grid-column: 10 / 13; justify-self: end; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s, color .3s; }
.footer-top-link:hover { border-color: var(--lime); color: var(--lime); }
.footer-top-link .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.footer-top-link:hover .i { transform: translateY(-3px); }
.footer-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: clamp(36px, 4vw, 52px) 0 clamp(44px, 5vw, 64px); }
.footer-cols > div { grid-column: span 3; }
.footer-cols > div:first-child { grid-column: 4 / 7; }
.footer-h { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-cols ul { display: grid; gap: 9px; margin-top: 16px; }
.footer-cols a { color: var(--soft); transition: color .2s; }
.footer-cols a:hover { color: var(--lime); }
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr); overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; }
.titleblock > div { min-width: 0; padding: 10px 14px 12px; border-left: 1px solid var(--line-2); }
.titleblock > div:first-child { border-left: 0; }
.titleblock dt { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.titleblock dd { margin-top: 5px; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--soft); overflow-wrap: anywhere; }

/* ---------- Subpages ---------- */
main > .page-hero:first-child { padding-top: calc(var(--header) + clamp(24px, 3vw, 40px)); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 36px) 0 clamp(56px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; z-index: -1; right: -12%; top: -30%; width: 72vw; height: 72vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(215, 255, 63, .08), transparent); }
.page-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 80% 0%, #000, transparent 75%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--soft); }
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: var(--gap); margin-top: clamp(44px, 7vw, 104px); }
.page-hero-grid > div:first-child { grid-column: 1 / 9; }
.page-hero-side { grid-column: 9 / 13; }
.page-hero h1 { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(2.9rem, 6.6vw, 7rem); }
.page-hero .actions { margin-top: 26px; }
.product-hero-grid .ph-main { grid-column: 1 / 9; }
.product-hero-grid .ph-main .lead { max-width: 62ch; margin-top: clamp(22px, 2.6vw, 34px); }
.product-hero-grid .ph-side { display: grid; grid-column: 9 / 13; justify-items: end; gap: 18px; padding-bottom: 6px; }
.product-hero-grid .ph-side .actions { justify-content: flex-end; margin-top: 0; }
.tagline { display: block; margin-top: .3em; font-size: .44em; line-height: 1.04; letter-spacing: -.03em; color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); transition: background-color .25s, border-color .25s, color .25s; }
.jump a:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.product-stage { position: relative; isolation: isolate; height: clamp(320px, 52vw, 660px); margin-top: clamp(44px, 5vw, 72px); padding: clamp(22px, 4vw, 60px) clamp(16px, 5vw, 80px) 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0; background: var(--surface); }
.product-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 85%); }
.stage-search { background: radial-gradient(90% 80% at 90% 0%, rgba(70, 140, 255, .28), transparent 62%), var(--surface); }
.stage-stedsradar { background: radial-gradient(90% 80% at 85% 0%, rgba(64, 175, 145, .3), transparent 62%), var(--surface); }
.stage-turklar { height: clamp(380px, 52vw, 640px); background: radial-gradient(90% 90% at 50% 110%, rgba(100, 170, 96, .34), transparent 62%), var(--surface); }
.stage-kapitalflyt { background: radial-gradient(90% 80% at 10% 0%, rgba(126, 112, 255, .3), transparent 62%), var(--surface); }
.product-stage .frame-window { max-width: 1180px; margin-inline: auto; }
.product-stage .phones { gap: clamp(10px, 2vw, 28px); }
.product-stage .frame-phone { width: clamp(120px, 19vw, 250px); }
.product-stage .phones-3 .frame-phone:not(.is-front) { margin-top: clamp(24px, 4vw, 60px); opacity: .92; }
.product-stage .frame-credit { position: absolute; left: 16px; bottom: 12px; font-family: var(--mono); font-size: .58rem; color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.features-grid > div:first-child { display: flex; flex-direction: column; grid-column: 1 / 5; }
.features-grid > div:first-child > * { position: sticky; top: calc(var(--header) + 32px); }
.features-grid > div:first-child h2 { margin-top: clamp(18px, 2vw, 26px); }
.features-grid > div:last-child { grid-column: 6 / 13; }
.feature-list { border-bottom: 1px solid var(--line-2); }
.feature-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--gap); padding: 20px 0; border-top: 1px solid var(--line-2); font-size: 1.12rem; line-height: 1.45; color: var(--soft); }
.feature-no { padding-top: 4px; font-family: var(--mono); font-size: .7rem; color: var(--lime); }
.relation { display: grid; gap: 14px; margin-top: clamp(36px, 4vw, 52px); padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.relation p:not(.mono-label) { color: var(--soft); }
.relation .link-arrow { justify-self: start; }
.detail-note { padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .9rem; color: var(--muted) !important; }
.gallery-section { padding-top: 0; }
.cta-band { padding-block: clamp(56px, 7vw, 104px); }
.cta-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: radial-gradient(70% 120% at 100% 100%, rgba(215, 255, 63, .1), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.cta-grid h2 { margin-top: 20px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.bio-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: var(--gap); }
.portrait { grid-column: 1 / 4; align-self: start; max-width: 220px; padding: 10px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--surface-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.portrait img { width: 100%; aspect-ratio: 155 / 194; object-fit: cover; border-radius: 14px; }
.portrait figcaption { display: grid; gap: 2px; padding: 12px 4px 4px; }
.portrait strong { font-weight: 640; font-stretch: 104%; }
.portrait span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bio-copy { grid-column: 5 / 12; }
.bio-copy h2 { margin: clamp(18px, 2vw, 26px) 0 clamp(26px, 3vw, 40px); }
.bio-copy p:not(.kicker) { max-width: 60ch; font-size: 1.12rem; line-height: 1.65; color: var(--soft); }
.bio-copy .bio-emph { margin-top: 18px; font-weight: 560; color: var(--text); }
.skills-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(64px, 8vw, 112px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.skills-block .mono-label { grid-column: 1 / 4; }
.skill-tags { display: flex; flex-wrap: wrap; grid-column: 4 / 13; gap: 10px; }
.skill-tags li { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .02); font-weight: 500; color: var(--soft); transition: border-color .3s, color .3s; }
.skill-tags li:hover { border-color: var(--lime); color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.steps li { position: relative; padding-top: 30px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.step-no { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--lime); }
.steps h3 { margin-top: 16px; font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.steps p { max-width: 34ch; margin-top: 12px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.fb { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.fb-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fb-tag { color: var(--lime); }
.fb-body { padding: 22px 20px 26px; }
.fb-body h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); }
.fb-body > p { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.principle { display: grid; align-content: start; gap: 12px; padding: 24px 26px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.principle-title { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; font-stretch: 104%; line-height: 1.2; letter-spacing: -.02em; }
.principle p:last-child { font-size: .95rem; color: var(--muted); }
.principle-wide { max-width: 760px; margin-top: clamp(32px, 4vw, 48px); }
.demo-section { background: var(--bg-2); }
.legal { padding-top: clamp(40px, 5vw, 64px); }
.legal-body { max-width: 760px; }
.legal-body .section-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-body h1 { margin: 22px 0 28px; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.legal-body h2 { margin: 48px 0 12px; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.025em; }
.legal-body p { margin-top: 12px; color: var(--soft); }
.legal-body .legal-lead { font-size: 1.2rem; color: var(--text); }
.legal-body a { border-bottom: 1px solid var(--lime); }
.page-hero-legal { padding-bottom: 0; border: 0; }
.notfound { display: grid; align-content: center; min-height: 80vh; border: 0; }
.notfound h1 { margin-top: 26px; font-size: clamp(2.9rem, 8vw, 7.6rem); }
.notfound .lead { margin-top: 26px; }
.notfound .actions { margin-top: 32px; }
.broken-line { width: min(600px, 100%); height: auto; margin-top: 44px; }
.broken-line path { fill: none; stroke: rgba(236, 240, 230, .5); stroke-width: 2; }
.broken-line circle { fill: var(--lime); filter: drop-shadow(0 0 8px var(--lime)); }
.broken-line .broken-x { stroke: var(--lime); stroke-width: 1.6; }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.gallery-note { max-width: 72ch; margin-bottom: 30px; color: var(--soft); }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) var(--gap); }
.g-grid-portrait { grid-template-columns: repeat(auto-fill, minmax(min(190px, 42vw), 1fr)); }
.g-tile { display: grid; align-content: start; gap: 12px; }
.g-img { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: #0a0c0a; }
.g-img img { width: 100%; transition: transform .8s var(--ease); }
.g-tile:hover .g-img img { transform: scale(1.03); }
.g-zoom { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); }
.g-zoom .i { width: 18px; height: 18px; }
.g-tile:hover .g-zoom, .g-tile:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-cap { display: flex; align-items: baseline; gap: 12px; font-size: .98rem; font-weight: 500; line-height: 1.4; color: var(--soft); }
.g-no { font-family: var(--mono); font-size: .66rem; color: var(--lime); }
.g-credit { font-family: var(--mono); font-size: .6rem; color: var(--muted); }
.g-sub { margin: clamp(40px, 5vw, 64px) 0 18px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.map-attribution { margin-top: 26px; font-family: var(--mono); font-size: .64rem; color: var(--muted); }
.map-attribution a { border-bottom: 1px solid currentColor; }

/* ---------- Lightbox (driven by /product-gallery.js) ---------- */
.image-dialog { width: fit-content; max-width: calc(100vw - 24px); height: fit-content; max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: #0a0c0a; color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.image-dialog::backdrop { background: rgba(3, 4, 3, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.image-dialog[open] { display: flex; flex-direction: column; }
.image-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 12px 10px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.image-heading { min-width: 0; line-height: 1.35; }
.image-heading > span { display: block; font-size: .92rem; font-weight: 560; overflow-wrap: anywhere; }
.image-heading > small { display: block; margin-top: 3px; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--muted); }
.image-controls { display: flex; flex-shrink: 0; gap: 6px; }
.image-controls button, .image-footer > button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.25rem; line-height: 1; transition: background-color .2s, color .2s, border-color .2s; }
.image-controls button:hover, .image-footer > button:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.image-dialog .image-viewport { position: relative; display: flex; flex-shrink: 1; align-items: flex-start; justify-content: center; width: 100%; min-height: 0; overflow: hidden; background: #000; touch-action: pan-y; cursor: grab; }
.image-dialog .image-viewport img { display: block; flex-shrink: 0; width: auto; max-width: 100%; height: auto; object-fit: contain; -webkit-user-select: none; user-select: none; }
.image-dialog .image-viewport.zoomed { display: block; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-width: thin; scrollbar-color: var(--lime) #1b1f1b; }
.image-dialog .image-viewport.zoomed:active { cursor: grabbing; }
.image-dialog .image-viewport.zoomed img { max-width: none; object-fit: initial; }
.image-footer { display: grid; flex-shrink: 0; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; min-height: 66px; padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.image-thumbnails { display: flex; align-items: center; justify-content: safe center; gap: 6px; padding: 3px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.image-thumbnails::-webkit-scrollbar { display: none; }
.image-thumbnails button { flex-shrink: 0; width: 62px; height: 42px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #1b1f1b; opacity: .55; transition: opacity .2s, border-color .2s; }
.image-thumbnails button:hover { opacity: 1; }
.image-thumbnails button.selected { border-color: var(--lime); opacity: 1; }
.image-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.image-credit { flex-shrink: 0; margin: 0; padding: 0 14px 10px; font-family: var(--mono); font-size: .6rem; line-height: 1.5; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: var(--gap); }
.calc-grid > div:first-child { grid-column: 1 / 6; }
.calc-grid h2 { margin: clamp(18px, 2vw, 26px) 0 24px; font-size: clamp(2.2rem, 4.2vw, 3.9rem); }
.calculator { grid-column: 7 / 13; min-width: 0; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.calc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calc-field { display: grid; gap: 10px; min-width: 0; }
.calc-field span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc-field input { width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0, 0, 0, .3); font-size: 1.6rem; font-weight: 560; font-stretch: 104%; letter-spacing: -.02em; color: var(--text); }
.calc-field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(215, 255, 63, .14); }
.calc-result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 10px; padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.calc-result output { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 640; font-stretch: 110%; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #f4ffd0, var(--lime) 50%, #a9e400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-result strong { display: block; font-weight: 560; }
.calc-result span { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); }
.calc-error { min-height: 1.4em; font-size: .85rem; color: #ffb08a; }
.calculator .link-arrow { margin-top: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 13px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(20, 24, 20, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  font-size: .92rem; color: var(--text); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .3s, transform .4s var(--ease); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* ---------- Motion ---------- */
@keyframes ping { 0% { opacity: .8; transform: scale(.4); } 70%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes halo { 0% { opacity: .4; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes fan { 0% { stroke-dashoffset: 226; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; filter: blur(8px); transform: translateY(26px); } to { opacity: 1; filter: none; transform: none; } }
.hero-kicker { animation: rise .8s var(--ease) .05s both; }
.hero-line { animation: rise 1s var(--ease) .15s both; }
.hero-line + .hero-line { animation-delay: .26s; }
.hero .lead { animation: rise 1s var(--ease) .36s both; }
.hero .actions { animation: rise 1s var(--ease) .46s both; }
.hero-strip { animation: rise 1.1s var(--ease) .62s both; }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; filter: blur(4px); transform: translateY(28px); }
.reveal-on [data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), border-color .4s; transition-delay: calc(var(--d, 0) * 90ms); }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .live-dot::after, .ticker-track, .svc-art * { animation: none !important; }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 1; filter: none; transform: none; }
  @view-transition { navigation: none; }
}
@media print {
  .site-header, .toast, .hero-canvas, .hero-labels, .menu-btn, .ticker, .show-stage { display: none !important; }
  body::after { display: none; }
  [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-strip { grid-template-columns: minmax(0, 1fr); }
  .hero-legend { display: none; }
  .xp-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-view { position: relative; top: 0; max-width: 760px; }
  .xp-view:is(.is-pending, .is-live) .xp-stage { height: min(72vh, 560px); }
  .reg-items { grid-template-columns: minmax(0, 1fr); }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .show-stage { display: none; }
  .show-item, .show-item:first-child, .show-item:last-child { min-height: 0; padding: 0 0 clamp(64px, 9vw, 96px); opacity: 1; }
  .show-mobile-visual { position: relative; display: grid; place-items: center; max-height: 480px; margin-top: 30px; padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px) 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 24px; background-color: var(--surface); }
  .show-mobile-visual .frame-window { width: 100%; max-width: 720px; align-self: start; }
  .show-mobile-visual .phones { padding-bottom: 0; }
}
@media (max-width: 1023px) {
  .section-head > h2 { grid-column: 1 / -1; }
  .section-head > .section-intro { grid-column: 1 / 9; margin-top: 24px; }
  .svc-grid, .engage { grid-template-columns: minmax(0, 1fr); }
  .contact-copy, .draft { grid-column: 1 / -1; }
  .draft { margin-top: 28px; }
  .footer-claim { grid-column: 1 / -1; grid-row: 2; margin-top: 28px; }
  .footer-top .brand { grid-column: 1 / 7; }
  .footer-top-link { grid-column: 7 / 13; }
  .footer-cols > div, .footer-cols > div:first-child { grid-column: span 4; }
  .titleblock { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .titleblock-owner { grid-column: 1 / -1; border-top: 1px solid var(--line-2); border-left: 0 !important; }
  .page-hero-grid > div:first-child, .page-hero-side { grid-column: 1 / -1; }
  .page-hero-side { margin-top: 10px; }
  .product-hero-grid .ph-main, .product-hero-grid .ph-side { grid-column: 1 / -1; }
  .product-hero-grid .ph-side { justify-items: start; margin-top: 8px; }
  .product-hero-grid .ph-side .actions { justify-content: flex-start; }
  .features-grid > div:first-child, .features-grid > div:last-child { grid-column: 1 / -1; }
  .features-grid > div:first-child { margin-bottom: 28px; }
  .features-grid > div:first-child > * { position: static; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .bio-grid .portrait { grid-column: 1 / 5; }
  .bio-copy { grid-column: 5 / 13; }
  .skills-block .mono-label, .skill-tags { grid-column: 1 / -1; }
  .skills-block .mono-label { margin-bottom: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-grid > div:first-child, .calculator { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header: 64px; }
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled, .site-header:has(.nav.is-open) { background: rgba(6, 8, 7, .97); }
  .menu-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .03); }
  .menu-btn span { position: absolute; width: 17px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-btn span:first-child { transform: translateY(-3.5px); }
  .menu-btn span:last-child { transform: translateY(3.5px); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .nav { position: fixed; z-index: 59; inset: var(--header) 0 0 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 18px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line); background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-list a { padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 620; font-stretch: 110%; line-height: 1.1; letter-spacing: -.035em; color: var(--text); }
  .nav-list a:hover, .nav-list a.is-active, .nav-list a[aria-current] { background: none; color: var(--lime); }
  .nav-extra { display: grid; gap: 18px; }
  .nav-extra .btn { justify-self: start; }
  .nav-extra p { display: grid; gap: 6px; font-family: var(--mono); font-size: .8rem; color: var(--soft); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .hero { grid-template-rows: auto auto auto; min-height: 0; padding-top: calc(var(--header) + 8px); }
  .hero::after { display: none; }
  .hero-inner { grid-row: 1; padding: 28px 0 0; }
  .hero-scene { position: relative; z-index: 0; grid-row: 2; height: clamp(320px, 92vw, 460px); margin: -8px 0 -28px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%); }
  .hero-foot { grid-row: 3; }
  .hero-strip { padding: 8px 18px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts > div { margin: 0; padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts > div:last-child { border-bottom: 0; }
  .hero-labels { display: none; }
  .reg-body { padding-left: 0; }
  .xp-layer { top: auto; bottom: 14px; }
  .xp-drag { display: none !important; }
  .xp-hud { left: 16px; top: 14px; right: 16px; }
  .reg-row summary { grid-template-columns: 34px minmax(0, 1fr) 44px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs { grid-template-columns: minmax(0, 1fr); }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols > div, .footer-cols > div:first-child { grid-column: 1 / -1; }
  .footer-cols { row-gap: 32px; }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .bio-grid .portrait { grid-column: 1 / -1; max-width: 200px; }
  .bio-copy { grid-column: 1 / -1; margin-top: 36px; }
  .feature-list li { grid-template-columns: 36px minmax(0, 1fr); font-size: 1.02rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-cta, .brand-sub { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12.4vw, 3.6rem); }
  .lead { font-size: 1.08rem; }
  .actions .btn { flex: 1 1 auto; }
  .section { padding-block: 88px 80px; }
  .section-head > .section-intro { grid-column: 1 / -1; }
  .ticker-track span { font-size: 1.05rem; }
  .frame-phone { width: 128px; padding: 5px; border-radius: 24px; }
  .frame-phone img { border-radius: 19px; }
  .product-stage { padding-inline: 12px; }
  .reg-name { font-size: 1.75rem; }
  .contact h2 { font-size: clamp(2.9rem, 13.6vw, 4.2rem); }
  .cta-grid .btn { width: 100%; }
  .person { width: 100%; }
}
@media (max-width: 400px) {
  .page-hero h1, .notfound h1 { font-size: 2.45rem; }
}
