/* ==========================================================================
   SKYWALKER — Yapay Zeka & Teknoloji Yatırım Şirketi
   Tokens · Base · Chrome · Sections
   ========================================================================== */

:root {
  /* Palette */
  --void: #04060C;          /* page ground */
  --abyss: #080D1A;         /* raised surface */
  --deep: #0D1528;          /* card surface */
  --frost: #EEF2FA;         /* primary text */
  --mist: #A3AEC6;          /* secondary text */
  --dim: #6B7690;           /* tertiary / meta */
  --beam: #FF4A12;          /* the beam — brand orange, lifted for glow */
  --beam-hot: #FFA27A;      /* beam core highlight */
  --beam-lift: #FF6633;     /* beam, hover */
  --beam-rgb: 255, 74, 18;
  --hot-rgb: 255, 162, 122;
  --line: rgba(160, 182, 235, 0.14);
  --line-strong: rgba(160, 182, 235, 0.28);
  --logo-beam: var(--beam);

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --gutter: clamp(16px, 4vw, 64px);
  --frame: clamp(8px, 1.1vw, 16px);
  --maxw: 1360px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Chamfer */
  --cut: 10px;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--frost);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
::selection { background: var(--beam); color: #fff; }

:focus-visible {
  outline: 1px solid var(--beam-hot);
  outline-offset: 4px;
}

.skip {
  position: fixed; left: 24px; top: 24px; z-index: 200;
  padding: 10px 14px; background: var(--frost); color: var(--void);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.display em { font-style: normal; color: var(--mist); }
.mono {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.h1 { font-size: clamp(40px, 6.4vw, 104px); }
.h2 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.06; }
.h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; font-weight: 400; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--frost); font-weight: 350; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--mist);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--beam);
  box-shadow: 0 0 10px var(--beam);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons (chamfered, echoing the logo's cut angles) ---------- */
.btn {
  --bg: transparent; --fg: var(--frost); --bd: var(--line-strong);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px 0 18px;
  color: var(--fg);
  background: var(--bd);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: color .3s var(--ease), background .3s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: var(--bg);
  clip-path: inherit;
  transition: background .3s var(--ease);
}
.btn__tick {
  width: 0; height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .3s var(--ease);
}
.btn--ghost { --bg: rgba(4, 6, 12, 0.55); --scan: rgba(var(--hot-rgb), .5); }
.btn--beam { --bg: var(--beam); --bd: var(--beam-hot); --fg: #fff; --scan: rgba(255, 255, 255, .9); }

/* Tech hover: a scanner beam sweeps the face, scanlines appear,
   the label decodes (main.js) and the tick becomes a blinking caret */
.btn--beam::after, .btn--ghost::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0 37%, var(--scan) 48%, transparent 53%, transparent 100%) no-repeat;
  background-size: 260% 100%; background-position: 140% 0;
  mix-blend-mode: screen; opacity: 0;
}
.btn--beam:hover::after, .btn--ghost:hover::after,
.btn--beam:focus-visible::after, .btn--ghost:focus-visible::after { animation: btnScan .75s var(--ease-io) forwards; }
@keyframes btnScan {
  0% { opacity: 1; background-position: 140% 0; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: -40% 0; }
}
.btn--beam:hover::before, .btn--ghost:hover::before,
.btn--beam:focus-visible::before, .btn--ghost:focus-visible::before {
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), var(--bg);
}
.btn--ghost:hover, .btn--ghost:focus-visible { --bd: var(--beam-hot); --bg: rgba(var(--beam-rgb), 0.14); }
.btn--beam:hover, .btn--beam:focus-visible { --bd: #fff; --bg: var(--beam-lift); }
.btn:hover .btn__tick, .btn:focus-visible .btn__tick { animation: caret .9s steps(2, jump-none) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.btn__label { white-space: nowrap; }
.btn--light { --bg: var(--frost); --bd: var(--frost); --fg: var(--void); }
.btn--light:hover { --bg: #fff; }
.btn--dark { --bg: var(--void); --bd: var(--void); --fg: var(--frost); }
.btn--sm { min-height: 40px; padding: 0 16px 0 14px; --cut: 8px; }
.btn--lg { min-height: 60px; padding: 0 32px 0 26px; font-size: 13px; --cut: 14px; }

.link {
  display: inline-flex; gap: 10px; align-items: center;
  color: var(--frost);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link:hover { border-color: var(--beam); gap: 16px; }

.dot { display: inline-block; width: 6px; height: 6px; background: currentColor; margin-right: 10px; vertical-align: middle; }
.dot--beam { background: var(--beam); box-shadow: 0 0 8px var(--beam); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--void);
  transition: opacity .8s var(--ease) .1s, visibility 0s linear .9s;
}
.loader__inner { width: min(360px, 70vw); }
.loader__logo { width: 100%; height: auto; aspect-ratio: 293 / 61; color: var(--frost); --logo-beam: transparent; opacity: .92; }
.loader__bar { position: relative; height: 1px; background: var(--line); margin: 34px 0 14px; overflow: visible; }
.loader__bar span {
  position: absolute; left: 0; top: -1px; height: 3px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--beam) 40%, var(--beam-hot));
  box-shadow: 0 0 14px var(--beam), 0 0 3px var(--beam-hot);
  transform-origin: left; transform: scaleX(var(--p, 0));
  clip-path: polygon(0 66%, 100% 0, 100% 100%, 0 100%); /* tapering beam, like the logo */
}
.loader__meta { display: flex; justify-content: space-between; color: var(--dim); }
.loader__count { color: var(--frost); font-variant-numeric: tabular-nums; }
.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Chrome: canvas, frame, header, chapters, bottombar
   ========================================================================== */
#horizon {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
  background: radial-gradient(120% 80% at 50% 100%, #0B1430 0%, var(--void) 60%);
}

.frame {
  position: fixed; inset: var(--frame); z-index: 60;
  border: 1px solid var(--line);
  pointer-events: none;
}

.header {
  position: fixed; top: var(--frame); left: var(--frame); right: var(--frame); z-index: 70;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 2.2vw, 36px);
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(4, 6, 12, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__logo { color: var(--frost); }
.header__logo svg { width: clamp(132px, 11vw, 168px); height: auto; aspect-ratio: 293 / 61; overflow: visible; }

/* Logo hover (desktop only): only the orange beam moves — it retracts to the right.
   The beam path in #sw-logo reads this inherited property. */
@property --logo-bs { syntax: "<number>"; inherits: true; initial-value: 1; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .header__logo svg { transition: --logo-bs .3s var(--ease); }
  .header__logo:hover svg, .header__logo:focus-visible svg { --logo-bs: 0; }
}
.header__nav { display: flex; gap: clamp(16px, 2vw, 34px); }
.header__nav a { color: var(--mist); font-size: 11px; position: relative; padding: 8px 0; transition: color .25s; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--beam); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.header__nav a:hover { color: var(--frost); }
.header__nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; gap: 8px; }

/* Language switch */
.lang { display: flex; align-items: center; margin-right: 6px; font-size: 10.5px; }
.lang a {
  min-width: 34px; min-height: 40px; padding: 0 6px;
  display: grid; place-items: center;
  color: var(--dim); position: relative; transition: color .25s;
}
.lang a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--line-strong); }
.lang a:hover { color: var(--frost); }
.lang a[aria-current="page"] { color: var(--frost); }
.lang a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px;
  background: var(--beam); box-shadow: 0 0 6px var(--beam);
}

.menu-toggle__icon { display: grid; grid-template-columns: repeat(2, 3px); gap: 3px; }
.menu-toggle__icon i { width: 3px; height: 3px; background: currentColor; }

.chapters {
  position: fixed; left: calc(var(--frame) + clamp(16px, 2.2vw, 36px)); top: 50%; z-index: 65;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 10.5px;
  transition: opacity .4s var(--ease);
}
.chapters a {
  display: flex; align-items: center; gap: 10px;
  color: var(--dim); padding: 5px 0;
  transition: color .3s var(--ease);
}
.chapters a::before {
  content: ""; width: 5px; height: 5px; border: 1px solid currentColor; transition: all .3s var(--ease);
}
.chapters a:hover { color: var(--mist); }
.chapters a.is-active { color: var(--frost); }
.chapters a.is-active::before { background: var(--beam); border-color: var(--beam); box-shadow: 0 0 8px var(--beam); }
.chapters.is-hidden, .bottombar.is-hidden { opacity: 0; pointer-events: none; }

.bottombar {
  position: fixed; left: var(--frame); right: var(--frame); bottom: var(--frame); z-index: 65;
  height: 52px;
  display: grid; grid-template-columns: 1fr minmax(120px, 360px) 1fr; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 2.2vw, 36px);
  color: var(--dim);
  font-size: 10px;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.bottombar__right { justify-self: end; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.bottombar__progress { position: relative; height: 1px; background: var(--line); }
.bottombar__progress i {
  position: absolute; left: 0; top: -1px; height: 3px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--beam) 50%, var(--beam-hot));
  box-shadow: 0 0 10px var(--beam);
  transform-origin: left; transform: scaleX(var(--scroll, 0));
  clip-path: polygon(0 66%, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Back to top ---------- */
.totop {
  position: fixed; z-index: 66;
  right: calc(var(--frame) + clamp(16px, 2.2vw, 36px));
  bottom: calc(var(--frame) + 64px);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--frost);
  background: var(--line-strong);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  isolation: isolate;
  opacity: 0; transform: translateY(12px); visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, visibility 0s linear .4s;
}
.totop.is-shown { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.totop::before { /* inner face */
  content: ""; position: absolute; inset: 1px; z-index: -2;
  background: rgba(4, 6, 12, .82);
  clip-path: inherit;
}
.totop__fill { /* scroll progress rises inside the button */
  position: absolute; inset: 1px; z-index: -1;
  background: linear-gradient(to top, rgba(var(--beam-rgb), .55), rgba(var(--beam-rgb), .08));
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  transform-origin: bottom; transform: scaleY(var(--scroll, 0));
}
.totop svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.totop:hover { background: var(--beam); }
.totop:hover svg { transform: translateY(-3px); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(2, 3, 8, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; justify-content: flex-end;
  padding: calc(var(--frame) + 12px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__panel {
  width: min(560px, 100%);
  background: #DCE4F7;
  color: var(--void);
  padding: 28px clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transform: translateX(24px); transition: transform .5s var(--ease);
  overflow-y: auto;
}
.menu.is-open .menu__panel { transform: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__links { margin: clamp(32px, 7vh, 72px) 0 auto; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12;
  padding: 4px 0;
  transition: color .25s, transform .35s var(--ease);
}
.menu__links a span { font-size: 10.5px; color: #5A6788; letter-spacing: .12em; transform: translateY(-1.1em); }
.menu__links a:hover { color: var(--beam); transform: translateX(6px); }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(4, 6, 12, .15); margin-top: 32px; color: #46526F; }
.menu__foot a:hover { color: var(--beam); }

/* ==========================================================================
   Sections
   ========================================================================== */
main { position: relative; z-index: 1; }
.section {
  position: relative;
  background: var(--void);
  padding: clamp(96px, 14vh, 168px) 0;
}
.section + .section { border-top: 1px solid var(--line); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Intro (pinned, scroll-driven beats) ---------- */
.intro { position: relative; height: 360vh; }
.intro::after { /* soft floor into content */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh;
  background: linear-gradient(to bottom, transparent, var(--void));
  pointer-events: none;
}
.intro__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* Optional scroll-scrubbed film; replaces the WebGL scene when present */
.intro__media { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.intro__media::after { /* legibility veil */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,6,12,.6) 0%, rgba(4,6,12,.15) 55%, rgba(4,6,12,0) 100%),
    linear-gradient(to top, rgba(4,6,12,.85) 0%, rgba(4,6,12,.25) 45%, rgba(4,6,12,.4) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(4,6,12,.6) 100%);
}
.intro__video { width: 100%; height: 100%; object-fit: cover; }
.has-video .intro__media { opacity: 1; }

.intro__beat {
  position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 170px); z-index: 2;
  opacity: 0; visibility: hidden;
  transform: translateY(40px); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s linear .9s;
}
.intro__beat.is-past { transform: translateY(-60px); }
.intro__beat.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.intro__beat--center {
  top: 50%; bottom: auto;
  text-align: center; padding: 0 var(--gutter);
  transform: translateY(calc(-50% + 40px));
}
.intro__beat--center.is-past { transform: translateY(calc(-50% - 60px)); }
.intro__beat--center.is-active { transform: translateY(-50%); }
.intro__beat--center .eyebrow { justify-content: center; }

.hero__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + clamp(0px, 9vw, 150px));
}
.hero__title {
  font-size: clamp(38px, 6.2vw, 108px);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.intro .line { display: block; overflow: hidden; padding-bottom: .07em; }
.intro .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .intro__beat.is-active .line > span { transform: none; }
.is-loaded .intro__beat.is-active .line:nth-child(2) > span { transition-delay: .09s; }
.is-loaded .intro__beat.is-active .line:nth-child(3) > span { transition-delay: .18s; }
.intro__statement { font-size: clamp(32px, 5.2vw, 90px); line-height: 1.04; letter-spacing: -0.03em; }
.intro__statement em { color: var(--beam-hot); text-shadow: 0 0 48px rgba(var(--beam-rgb), .6); }
.intro__statement--xl { font-size: clamp(48px, 10vw, 176px); font-weight: 200; letter-spacing: -0.045em; line-height: .95; }
.intro__meta { color: var(--mist); margin-top: 36px; }

.hero__lead { max-width: 520px; color: var(--mist); font-size: clamp(17px, 1.3vw, 19px); margin-bottom: 40px; }
.hero__lead, .hero__cta, .intro .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
.is-loaded .is-active .hero__lead, .is-loaded .is-active .hero__cta, .is-loaded .is-active .eyebrow { opacity: 1; transform: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.intro__steps {
  position: absolute; right: calc(var(--gutter) + 8px); top: 50%; z-index: 3;
  transform: translateY(-50%);
  display: grid; gap: 14px; font-size: 10px; color: var(--dim); text-align: right;
}
.intro__steps li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; transition: color .4s var(--ease); }
.intro__steps i { order: 2; position: relative; width: 28px; height: 1px; background: var(--line-strong); overflow: hidden; }
.intro__steps i::after {
  content: ""; position: absolute; inset: 0; background: var(--beam-hot); box-shadow: 0 0 8px var(--beam);
  transform: scaleX(var(--fill, 0)); transform-origin: left;
}
.intro__steps li.is-active { color: var(--frost); }
.intro__steps li.is-done i::after { transform: scaleX(1); }
.intro .hero__scroll { transition: opacity .5s var(--ease); }
.intro.is-moving .hero__scroll { opacity: 0; }
.hero__scroll {
  position: absolute; right: calc(var(--gutter) + 8px); bottom: clamp(110px, 16vh, 170px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--dim); font-size: 10px; writing-mode: vertical-rl;
}
.hero__scroll span { width: 1px; height: 64px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--beam-hot); box-shadow: 0 0 6px var(--beam);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip { to { top: 100%; } }

/* ---------- About ---------- */
.about { border-top: 0; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.about__body p + p { margin-top: 18px; color: var(--mist); }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 10vh, 120px);
  border-top: 1px solid var(--line);
}
.fact { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact dt { color: var(--dim); margin-bottom: 32px; min-height: 2.8em; }
.fact dd { font-size: clamp(56px, 7.6vw, 128px); letter-spacing: -0.04em; line-height: .9; font-weight: 200; }
.fact dd small { font-size: .26em; letter-spacing: 0; color: var(--mist); font-weight: 400; margin-left: .2em; }

/* ---------- Pillars ---------- */
.pillars__title { margin-bottom: clamp(56px, 8vh, 96px); }
.pillars__title em { color: var(--beam-hot); text-shadow: 0 0 40px rgba(var(--beam-rgb), .55); }
.pillars__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar {
  position: relative;
  padding: 32px clamp(20px, 2.4vw, 40px) 8px 0;
}
.pillar + .pillar { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.pillar::before { /* the beam passes through each step in sequence */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot));
  box-shadow: 0 0 10px var(--beam);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io);
}
.pillar.is-in::before { transform: scaleX(1); }
.pillar:nth-child(2)::before { transition-delay: .35s; }
.pillar:nth-child(3)::before { transition-delay: .7s; }
.pillar__step { display: flex; gap: 14px; color: var(--mist); margin-bottom: 56px; }
.pillar__step span { color: var(--beam-hot); }
.pillar h3 { margin-bottom: 16px; }
.pillar p { color: var(--mist); max-width: 36ch; }

/* ---------- Focus ---------- */
.focus { background: var(--abyss); }
.focus__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: end; }
.focus__body > p + p { margin-top: 18px; color: var(--mist); }
.criteria { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 40px; }
.criteria li {
  padding: 10px 14px; border: 1px solid var(--line-strong); color: var(--frost); font-size: 10.5px;
}

/* ---------- Evolution (signature: the walking beam) ---------- */
.evo { position: relative; height: 420vh; background: var(--void); border-top: 1px solid var(--line); }
.evo__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 8px) 0 72px;
}
.evo__head { display: grid; grid-template-columns: 7fr 4fr; gap: 24px 64px; align-items: end; }
.evo__head .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.evo__head .h2 { font-size: clamp(28px, 3.4vw, 54px); }
.evo__intro { color: var(--mist); font-size: 16px; }
.evo__rail { position: relative; margin: clamp(40px, 8vh, 96px) 0 clamp(28px, 5vh, 56px); }
/* desktop: years fade out before they reach the chapter index on the left (and soften at the right edge) */
@media (min-width: 901px) {
  .evo__rail {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent var(--evo-fade-a), #000 var(--evo-fade-b), #000 calc(100% - 90px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, transparent var(--evo-fade-a), #000 var(--evo-fade-b), #000 calc(100% - 90px), transparent 100%);
    --evo-fade-a: 40px; --evo-fade-b: 200px;
  }
}
@media (min-width: 1181px) {
  .evo__rail { --evo-fade-a: 150px; --evo-fade-b: 330px; } /* clears the chapter index */
}
.evo__track {
  position: relative;
  width: max-content;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + clamp(0px, 9vw, 150px));
  will-change: transform;
}
.evo__beam { position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-strong); }
.evo__beam i {
  position: absolute; left: 0; top: -1.5px; height: 4px; width: 100%;
  background: linear-gradient(90deg, rgba(var(--beam-rgb), 0), var(--beam) 30%, var(--beam-hot));
  box-shadow: 0 0 18px var(--beam), 0 0 4px var(--beam-hot);
  transform-origin: left; transform: scaleX(var(--evo, 0));
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.evo__nodes { display: flex; gap: clamp(64px, 9vw, 160px); }
.evo__node { position: relative; width: clamp(240px, 24vw, 340px); padding-top: 52px; opacity: .32; transition: opacity .6s var(--ease); }
.evo__node::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px;
  background: var(--void); border: 1px solid var(--line-strong);
  transform: rotate(45deg); transition: all .5s var(--ease);
}
.evo__node.is-lit { opacity: 1; }
.evo__node.is-lit::before { background: var(--beam-hot); border-color: var(--beam-hot); box-shadow: 0 0 16px var(--beam), 0 0 40px var(--beam); }
.evo__year { display: block; font-size: clamp(64px, 8vw, 132px); font-weight: 200; letter-spacing: -0.05em; line-height: .85; margin-bottom: 22px; }
.evo__label { display: block; color: var(--beam-hot); margin-bottom: 12px; }
.evo__node p { color: var(--mist); font-size: 15.5px; max-width: 30ch; }
.evo__node--now .evo__year { color: #fff; text-shadow: 0 0 50px rgba(var(--beam-rgb), .7); }

/* ---------- Tech & IP ---------- */
.tech__title { max-width: 16ch; margin-bottom: clamp(56px, 8vh, 96px); }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.tech__body p + p { margin-top: 18px; color: var(--mist); }
.chain { counter-reset: c; border-top: 1px solid var(--line); }
.chain li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--mist);
  transition: color .3s, padding .4s var(--ease);
}
.chain li::after { content: "↓"; color: var(--dim); font-family: var(--f-body); letter-spacing: 0; }
.chain li:last-child { color: #fff; }
.chain li:last-child::after { content: ""; width: 8px; height: 8px; background: var(--beam); box-shadow: 0 0 12px var(--beam); }
.chain li:hover { color: var(--frost); padding-left: 10px; }

/* ---------- Featured products ---------- */
.featured { background: var(--abyss); }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product {
  position: relative;
  background: var(--deep);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.product::before { /* hairline border that respects the chamfer */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, var(--line-strong), transparent 40%, transparent 70%, var(--line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; clip-path: inherit;
}
.product__visual { aspect-ratio: 400 / 260; margin: -8px -8px 18px; background: radial-gradient(70% 70% at 50% 60%, rgba(var(--beam-rgb), .10), transparent 70%); }
.product__visual svg { width: 100%; height: 100%; }
.product__meta { display: flex; justify-content: space-between; color: var(--dim); font-size: 10.5px; }
.product__meta .live { color: var(--beam-hot); }
.product__name { font-size: clamp(48px, 5.4vw, 88px); font-weight: 500; letter-spacing: -0.03em; line-height: .95; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.product__name span { color: var(--beam-hot); text-shadow: 0 0 34px rgba(var(--beam-rgb), .6); }
.product__kind { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--frost); }
.product > p:not(.product__kind) { color: var(--mist); max-width: 52ch; }
.product .link { margin-top: auto; align-self: flex-start; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 18px; }
.tags li { padding: 7px 10px; font-size: 10px; color: var(--beam-hot); border: 1px solid rgba(var(--beam-rgb), .35); background: rgba(var(--beam-rgb), .06); }

.viz-stack path { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.viz-stack__layers path { fill: rgba(13, 21, 40, .9); stroke: rgba(160, 182, 235, .4); transition: transform 1s var(--ease); }
.viz-stack__layers path:nth-child(1) { stroke: var(--beam-hot); fill: rgba(var(--beam-rgb), .12); }
.product:hover .viz-stack__layers path:nth-child(1) { transform: translateY(-14px); }
.product:hover .viz-stack__layers path:nth-child(2) { transform: translateY(-6px); }
.viz-stack__grid path { stroke: rgba(var(--hot-rgb), .35); }
.viz-net line { stroke: rgba(160, 182, 235, .18); stroke-width: 1; }
.viz-net line.hot { stroke: var(--beam); stroke-width: 1.2; filter: drop-shadow(0 0 3px var(--beam)); }
.viz-net circle { fill: var(--mist); }
.viz-net circle.hot { fill: var(--beam-hot); filter: drop-shadow(0 0 4px var(--beam)); }
.viz-net circle.core { fill: #fff; filter: drop-shadow(0 0 8px var(--beam)); }

/* ---------- Selected R&D rows ---------- */
.selected__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vh, 80px); }
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 120px minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: baseline;
  padding: clamp(24px, 3.4vh, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.row:hover::before { transform: scaleX(1); }
.row__year { color: var(--dim); font-size: 12px; transition: color .3s; }
.row:hover .row__year { color: var(--beam-hot); }
.row__title { font-size: clamp(22px, 2.4vw, 38px); font-weight: 350; letter-spacing: -0.02em; line-height: 1.1; transition: transform .5s var(--ease); }
.row:hover .row__title { transform: translateX(8px); }
.row__desc { color: var(--mist); font-size: 15.5px; }
.row--now .row__year { color: var(--beam-hot); }

/* ---------- Impact / flow ---------- */
.impact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.impact__text .h2 { margin-bottom: 32px; }
.impact__text p { color: var(--mist); max-width: 46ch; }
.impact__text p + p { margin-top: 16px; }
.flow { display: flex; flex-direction: column; align-items: stretch; }
.flow__node {
  position: relative;
  padding: 26px 28px;
  background: var(--deep);
  display: flex; flex-direction: column; gap: 10px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.flow__node .mono { color: var(--mist); font-size: 10.5px; }
.flow__node strong { font-size: clamp(24px, 2.4vw, 34px); font-weight: 450; }
.flow__luckyeye { width: 150px; height: auto; }
.flow__logo { width: 180px; height: auto; aspect-ratio: 293 / 61; color: var(--frost); }
.flow__node--sw { background: linear-gradient(120deg, rgba(var(--beam-rgb), .18), var(--deep) 60%); }
.flow__node--market { background: transparent; border: 1px dashed var(--line-strong); clip-path: none; align-items: center; }
.flow__link { position: relative; height: 56px; margin-left: 40px; width: 1px; background: var(--line-strong); overflow: hidden; }
.flow__link i {
  position: absolute; left: -1px; top: -30%; width: 3px; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--beam-hot));
  box-shadow: 0 0 10px var(--beam);
  animation: drip 1.8s var(--ease-io) infinite;
}
.flow__link + .flow__node + .flow__link i { animation-delay: .9s; }
.impact__quote {
  margin-top: clamp(72px, 11vh, 128px); padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1; max-width: 22ch;
}
.impact__quote em { color: var(--beam-hot); }

/* ---------- Together ---------- */
.together { background: var(--abyss); }
.together__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(56px, 8vh, 96px); }
.together .h1 { font-size: clamp(36px, 5vw, 84px); }
.together .lead { color: var(--mist); font-size: 18px; }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: 56px; }
.audience li { padding: 26px 24px 26px 0; }
.audience li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.audience .mono { display: block; color: var(--frost); margin-bottom: 14px; }
.audience p { color: var(--mist); font-size: 15.5px; }

/* ---------- Closing (horizon shows through) ---------- */
.closing {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--void) 0%, rgba(4,6,12,0) 32%, rgba(4,6,12,0) 70%, var(--void) 100%);
}
.closing__inner { text-align: center; }
.closing__title { font-size: clamp(42px, 8vw, 140px); letter-spacing: -0.04em; font-weight: 250; line-height: .98; max-width: 12ch; margin: 0 auto 32px; }
.closing__sub { color: var(--mist); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--void); border-top: 1px solid var(--line); padding: 80px 0 calc(64px + var(--frame)); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; margin-bottom: 72px; }
.footer__logo { width: 220px; height: auto; aspect-ratio: 293 / 61; color: var(--frost); margin-bottom: 18px; }
.footer__brand p { color: var(--dim); font-size: 10.5px; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { color: var(--mist); width: fit-content; transition: color .25s; }
.footer__nav a:hover { color: var(--frost); }
.footer__info { color: var(--mist); display: grid; gap: 14px; align-content: start; font-size: 10.5px; }
.footer__info a { color: var(--frost); width: fit-content; }
.footer__info a:hover { color: var(--beam-hot); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 10px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.header__nav a[aria-current="page"] { color: var(--frost); }
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu__links a[aria-current="page"] { color: var(--beam); }

/* Page hero — the horizon shows through */
.page-hero {
  position: relative;
  min-height: 88vh; min-height: 88svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(96px, 15vh, 160px);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--void));
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .eyebrow { opacity: 0; transition: opacity 1s var(--ease) .3s; }
.is-loaded .page-hero .eyebrow { opacity: 1; }
.page-hero__title {
  font-size: clamp(44px, 8.4vw, 148px);
  font-weight: 250; letter-spacing: -0.04em; line-height: .98;
  max-width: 13ch;
}
.page-hero__title em { color: var(--beam-hot); text-shadow: 0 0 60px rgba(var(--beam-rgb), .55); }
.crumbs { display: flex; gap: 10px; color: var(--dim); font-size: 10.5px; margin-bottom: 40px; }
.crumbs a { color: var(--mist); transition: color .25s; }
.crumbs a:hover { color: var(--frost); }
.crumbs [aria-current] { color: var(--frost); }

/* About intro */
.about-intro { border-top: 0; }
.about-intro__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.about-intro__lead { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 300; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.2; letter-spacing: -0.02em; }
.about-intro__body p { color: var(--mist); }
.about-intro__body p + p { margin-top: 18px; }

/* Story: sticky year + beam timeline (signature of the About page) */
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); }
.story__sticky { position: sticky; top: calc(var(--header-h) + 64px); }
.story__year {
  font-size: clamp(96px, 13vw, 232px); font-weight: 200; letter-spacing: -0.06em; line-height: .85;
  margin: 8px 0 18px; font-variant-numeric: tabular-nums;
}
.story__year.is-swap { animation: yearIn .8s var(--ease); }
@keyframes yearIn { from { opacity: 0; transform: translateY(28%); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.story__label { color: var(--beam-hot); min-height: 1.4em; }
.story__list { position: relative; padding-left: 56px; }
.story__list::before, .story__list::after {
  content: ""; position: absolute; left: 5px; top: 10px; bottom: 0; width: 1px; background: var(--line-strong);
}
.story__list::after {
  left: 4px; width: 3px;
  background: linear-gradient(to bottom, rgba(var(--beam-rgb), 0), var(--beam) 12%, var(--beam-hot));
  box-shadow: 0 0 14px var(--beam);
  transform-origin: top; transform: scaleY(var(--story, 0));
}
.story__item { position: relative; padding: 0 0 clamp(56px, 9vh, 96px); opacity: .32; transition: opacity .6s var(--ease); }
.story__item::before {
  content: ""; position: absolute; left: -56px; top: 6px; width: 11px; height: 11px;
  background: var(--void); border: 1px solid var(--line-strong); transform: rotate(45deg);
  transition: all .5s var(--ease);
}
.story__item.is-lit { opacity: 1; }
.story__item.is-lit::before { background: var(--beam-hot); border-color: var(--beam-hot); box-shadow: 0 0 14px var(--beam), 0 0 34px var(--beam); }
.story__when { display: block; color: var(--beam-hot); margin-bottom: 14px; }
.story__item h3 { margin-bottom: 12px; max-width: 24ch; }
.story__item p { color: var(--mist); max-width: 52ch; }
.story__item--now h3 { color: #fff; }

/* Story visuals — same line language as the LEDİS cards */
.story__stage {
  position: relative; margin-top: 32px;
  aspect-ratio: 400 / 260; max-width: 460px;
}
.story__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.story__frame.is-active { opacity: 1; }
.story__frame svg, .story__viz svg { width: 100%; height: 100%; display: block; overflow: hidden; }
.story__item .story__viz { display: none; }

.story__viz .v-line { fill: none; stroke: rgba(160, 182, 235, .22); stroke-width: 1; }
.story__viz .v-mid  { fill: none; stroke: rgba(160, 182, 235, .5); stroke-width: 1.2; }
.story__viz .v-hot  { fill: none; stroke: var(--beam-hot); stroke-width: 1.6; filter: drop-shadow(0 0 4px var(--beam)); }
.story__viz .v-dim  { fill: rgba(160, 182, 235, .22); }
.story__viz .v-dot, .story__viz .v-node { fill: var(--mist); }
.story__viz .v-node { fill: var(--deep); stroke: rgba(160, 182, 235, .55); stroke-width: 1.2; }
.story__viz .v-hotdot { fill: var(--beam-hot); filter: drop-shadow(0 0 5px var(--beam)); }
.story__viz .v-face { fill: rgba(13, 21, 40, .95); stroke: rgba(160, 182, 235, .45); stroke-width: 1; }
.story__viz .v-face--side { fill: rgba(9, 15, 30, .95); }
.story__viz .v-face--side2 { fill: rgba(17, 27, 50, .95); }
.story__viz .v-face-hot { fill: rgba(var(--beam-rgb), .22); stroke: var(--beam-hot); stroke-width: 1.2; }
.story__viz .v-scan { fill: rgba(var(--beam-rgb), .10); stroke: none; }
.story__viz .v-band { fill: rgba(var(--beam-rgb), .14); stroke: none; }

/* draw-in when a visual becomes active */
.story__viz [pathLength]:not([stroke-dasharray]) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.story__viz [stroke-dasharray], .story__viz circle, .story__viz .v-scan, .story__viz .v-band, .story__viz .v-face, .story__viz .v-face-hot { opacity: 0; transition: opacity .8s var(--ease) .35s; }
.is-active > .story__viz [pathLength]:not([stroke-dasharray]),
.story__frame.is-active [pathLength]:not([stroke-dasharray]) { stroke-dashoffset: 0; }
.is-active > .story__viz [stroke-dasharray], .is-active > .story__viz circle, .is-active > .story__viz .v-scan, .is-active > .story__viz .v-band, .is-active > .story__viz .v-face, .is-active > .story__viz .v-face-hot,
.story__frame.is-active [stroke-dasharray], .story__frame.is-active circle, .story__frame.is-active .v-scan, .story__frame.is-active .v-band, .story__frame.is-active .v-face, .story__frame.is-active .v-face-hot { opacity: 1; }
.story__viz .v-pop { animation: pulse 2.4s ease-in-out infinite; }
.story__viz .v-scan { animation: scan 3s ease-in-out infinite; }
@keyframes scan { 50% { fill: rgba(var(--beam-rgb), .2); } }

/* keep the sticky column inside short viewports */
@media (max-height: 820px) and (min-width: 901px) {
  .story__year { font-size: clamp(80px, 9vw, 150px); }
  .story__stage { max-width: 380px; margin-top: 20px; }
}

/* Thesis filter (signature of the AI Investments page) */
.thesis__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 110px); }
.thesis__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
.thesis__sticky .h2 { font-size: clamp(28px, 3vw, 46px); max-width: 16ch; margin-bottom: 28px; }
.thesis__viz { aspect-ratio: 560 / 340; max-width: 620px; }
.thesis__viz svg { width: 100%; height: 100%; display: block; overflow: hidden; }
.thesis__count { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--mist); }
.thesis__count i { width: 28px; height: 1px; background: var(--line-strong); }
.thesis__n { color: var(--frost); font-variant-numeric: tabular-nums; min-width: 2ch; }
.thesis__stage { color: var(--beam-hot); }
.thesis__list { padding-top: 22vh; }
.thesis__item {
  padding: 34px 0 clamp(80px, 16vh, 160px);
  border-top: 1px solid var(--line);
  opacity: .32; transition: opacity .6s var(--ease);
  position: relative;
}
.thesis__item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent);
  box-shadow: 0 0 10px var(--beam);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-io);
}
.thesis__item.is-lit { opacity: 1; }
.thesis__item.is-lit::before { transform: scaleX(1); }
.thesis__num { display: block; color: var(--dim); margin-bottom: 18px; transition: color .4s; }
.thesis__item.is-lit .thesis__num { color: var(--beam-hot); }
.thesis__title { font-size: clamp(30px, 3.4vw, 54px); font-weight: 350; letter-spacing: -0.025em; margin-bottom: 14px; }
.thesis__item p { color: var(--mist); max-width: 42ch; }

.thesis__viz .t-gate { stroke: rgba(160, 182, 235, .22); stroke-width: 1; transition: stroke .6s var(--ease), filter .6s; }
.thesis__viz .t-gate.is-on { stroke: var(--beam-hot); filter: drop-shadow(0 0 5px var(--beam)); }
.thesis__viz .t-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; fill: var(--dim); transition: fill .5s; }
.thesis__viz .t-label.is-on { fill: var(--beam-hot); }
.thesis__viz .t-dot { fill: var(--mist); opacity: .12; transition: opacity .6s var(--ease), fill .6s; }
.thesis__viz .t-dot.is-on { opacity: .9; }
.thesis__viz .t-col-5 .t-dot { fill: var(--beam-hot); }
.thesis__viz .t-dot.is-on.is-last { filter: drop-shadow(0 0 8px var(--beam)) drop-shadow(0 0 18px var(--beam)); }
.thesis__viz .t-beam { stroke: var(--beam-hot); stroke-width: 2; filter: drop-shadow(0 0 6px var(--beam)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.thesis__viz .t-beam.is-on { stroke-dashoffset: 0; }
.thesis__viz .t-base { stroke: rgba(160, 182, 235, .14); stroke-width: 1; }

/* Portfolio bridge */
.bridge { background: var(--abyss); }
.bridge__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.bridge .h2 { max-width: 16ch; }
.bridge__body p { color: var(--mist); margin-bottom: 24px; }

/* Ask — a closing CTA over the horizon */
.ask__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ask__inner .eyebrow { justify-content: center; }
.ask__title { font-size: clamp(40px, 7vw, 120px); font-weight: 250; letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.ask__title em { color: var(--beam-hot); text-shadow: 0 0 50px rgba(var(--beam-rgb), .55); }
.ask__sub { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); color: var(--mist); margin: 22px 0 40px; }

/* ---------- Technology & R&D ---------- */
.page-hero__title--long { font-size: clamp(40px, 6.6vw, 116px); max-width: 15ch; }

.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.area { padding: 32px clamp(16px, 2vw, 32px) 12px 0; }
.area + .area { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.area__icon { width: 56px; height: 56px; margin-bottom: 40px; overflow: visible; }
.area__icon * { fill: none; stroke: rgba(160, 182, 235, .55); stroke-width: 1.3; }
.area__icon circle { fill: var(--mist); stroke: none; }
.area__icon .hot { stroke: var(--beam-hot); filter: drop-shadow(0 0 4px var(--beam)); }
.area__icon circle.hot { fill: var(--beam-hot); stroke: none; }
.area h3 { margin-bottom: 14px; }
.area__tags { color: var(--mist); font-size: 10.5px; line-height: 1.9; letter-spacing: .1em; }

.current { background: var(--abyss); }
.current__head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 7vh, 80px); }
.current__head .h1 { font-size: clamp(40px, 5.6vw, 92px); }
.current__head .h1 em { color: var(--beam-hot); text-shadow: 0 0 50px rgba(var(--beam-rgb), .5); }
.current__head .lead { color: var(--mist); font-size: clamp(17px, 1.4vw, 20px); }
.current__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); margin: clamp(40px, 6vh, 64px) 0 28px; }
.current__grid p { color: var(--mist); }
.current__grid strong { color: var(--frost); font-weight: 500; }
.current__tags { margin: 0 0 36px; }

/* LEDİS AI architecture: data pulses travel inside the on-prem fence */
.arch { margin: 0; }
.arch svg { width: 100%; height: auto; display: block; }
.arch .arch__v { display: none; }
.arch__fence { fill: none; stroke: rgba(var(--beam-rgb), .45); stroke-width: 1; stroke-dasharray: 6 6; }
.arch__fence-label, .arch__note { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: var(--beam-hot); }
.arch__note { fill: var(--dim); font-size: 10.5px; }
.arch__node rect { fill: rgba(13, 21, 40, .9); stroke: rgba(160, 182, 235, .32); stroke-width: 1; }
.arch__node--core rect { fill: rgba(var(--beam-rgb), .08); stroke: rgba(var(--hot-rgb), .6); }
.arch__k { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 19px; font-weight: 450; fill: var(--frost); letter-spacing: -.01em; }
.arch__s { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; fill: var(--mist); }
.arch__vec circle { fill: var(--mist); }
.arch .hot { fill: var(--beam-hot); filter: drop-shadow(0 0 6px var(--beam)); }
.arch__ring { fill: none; stroke: rgba(var(--hot-rgb), .5); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 3.6s ease-in-out infinite; }
.arch__ring--in { stroke: rgba(var(--hot-rgb), .8); animation-delay: -1.8s; }
@keyframes ring { 50% { transform: scale(1.12); opacity: .55; } }
.arch__wire { fill: none; stroke: rgba(160, 182, 235, .35); stroke-width: 1.2; }
.arch__pulse {
  fill: none; stroke: var(--beam-hot); stroke-width: 2.4; stroke-linecap: round;
  filter: drop-shadow(0 0 5px var(--beam));
  stroke-dasharray: 14 400; stroke-dashoffset: 14;
  animation: pulseRun 2.4s linear infinite;
}
.arch__pulse--b { animation-delay: .9s; }
.arch__pulse--c { animation-delay: 1.5s; }
@keyframes pulseRun { to { stroke-dashoffset: -150; } }

/* R&D journey — expandable projects */
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 72px); }
.journey__hint { color: var(--dim); }
.projects { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); position: relative; }
.project::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.project:hover::before, .project[open]::before { transform: scaleX(1); }
.project summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) 40px; gap: 24px; align-items: baseline;
  padding: clamp(22px, 3.2vh, 34px) 0;
}
.project summary::-webkit-details-marker { display: none; }
.project__year { color: var(--dim); font-size: 12px; transition: color .3s; }
.project__name { font-size: clamp(21px, 2.2vw, 34px); font-weight: 350; letter-spacing: -0.02em; line-height: 1.12; transition: transform .5s var(--ease); }
.project__cat { color: var(--mist); font-size: 10.5px; }
.project__toggle { position: relative; width: 18px; height: 18px; justify-self: end; align-self: center; }
.project__toggle::before, .project__toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--frost); transition: transform .4s var(--ease); }
.project__toggle::after { transform: rotate(90deg); }
.project[open] .project__toggle::after { transform: rotate(0); }
.project summary:hover .project__name { transform: translateX(8px); }
.project summary:hover .project__year, .project[open] .project__year, .project--now .project__year { color: var(--beam-hot); }
.project__body { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 0 0 34px; }
.project__body p { grid-column: 2; color: var(--mist); max-width: 68ch; }
.project[open] .project__body { animation: openUp .6s var(--ease); }
@keyframes openUp { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Portfolio ---------- */
.pf-intro { max-width: 30ch; margin-bottom: clamp(48px, 7vh, 80px); }
.pf-index { border-top: 1px solid var(--line); }
.pf-index a {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative;
}
.pf-index a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.pf-index a:hover::after { transform: scaleX(1); }
.pf-index span.mono { color: var(--dim); }
.pf-index strong { font-size: clamp(28px, 3.4vw, 54px); font-weight: 450; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; line-height: 1; transition: transform .5s var(--ease), color .3s; }
.pf-index em { font-style: normal; color: var(--mist); }
.pf-index__arrow { color: var(--beam-hot); justify-self: end; transition: transform .4s var(--ease); }
.pf-index a:hover strong { transform: translateX(10px); color: #fff; }
.pf-index a:hover .pf-index__arrow { transform: translateY(4px); }

.pf { min-height: 92vh; display: flex; align-items: center; }
.pf:nth-of-type(even) { background: var(--abyss); }
.pf__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; width: 100%; }
.pf--flip .pf__grid { grid-template-columns: 5fr 7fr; }
.pf--flip .pviz { order: 2; }
.pf__cat { display: flex; align-items: center; gap: 12px; color: var(--mist); margin-bottom: 24px; flex-wrap: wrap; }
.pf__cat span { color: var(--dim); padding-right: 12px; border-right: 1px solid var(--line-strong); }
.pf__cat .dot { margin: 0 2px 0 0; }
.pf__name { font-size: clamp(64px, 9vw, 160px); font-weight: 500; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.04em; line-height: .9; margin-bottom: 22px; }
.pf__name em { color: var(--beam-hot); text-shadow: 0 0 50px rgba(var(--beam-rgb), .55); }
.pf__kind { color: var(--frost); margin-bottom: 22px; }
.pf__desc { color: var(--mist); max-width: 46ch; margin-bottom: 28px; }
.pf__text .tags { margin: 0 0 28px; }

/* portfolio visuals — transparent, line language of the site */
.pviz { aspect-ratio: 600 / 420; width: 100%; }
.pviz svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pviz .p-face { fill: rgba(13, 21, 40, .92); stroke: rgba(160, 182, 235, .4); stroke-width: 1; }
.pviz .p-face-hot { fill: rgba(var(--beam-rgb), .14); stroke: var(--beam-hot); stroke-width: 1.3; filter: drop-shadow(0 0 8px rgba(var(--beam-rgb), .5)); }
.pviz .p-mod { fill: rgba(13, 21, 40, .9); stroke: rgba(160, 182, 235, .55); stroke-width: 1; }
.pviz .p-mod--hot { fill: rgba(var(--beam-rgb), .25); stroke: var(--beam-hot); }
.pviz .p-line { fill: none; stroke: rgba(160, 182, 235, .36); stroke-width: 1.1; }
.pviz .p-line--dash { stroke-dasharray: 3 6; stroke: rgba(160, 182, 235, .5); }
.pviz .p-hot { fill: none; stroke: var(--beam-hot); stroke-width: 1.5; filter: drop-shadow(0 0 4px var(--beam)); }
.pviz .p-dot { fill: var(--mist); }
.pviz .p-seg { fill: rgba(160, 182, 235, .55); }
.pviz .p-hotdot { fill: var(--beam-hot); filter: drop-shadow(0 0 5px var(--beam)); }
.pviz .p-core { fill: #fff; filter: drop-shadow(0 0 10px var(--beam)) drop-shadow(0 0 22px var(--beam)); }
.pviz .p-ring { fill: none; stroke: rgba(var(--hot-rgb), .55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 3.6s ease-in-out infinite; }
.pviz .p-ring--in { animation-delay: -1.8s; stroke: rgba(var(--hot-rgb), .85); }

/* entrance: lines draw, layers separate, orbits turn */
.pviz [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.pviz.is-in [pathLength] { stroke-dashoffset: 0; }
.pviz circle { opacity: 0; transition: opacity .8s var(--ease) .5s; }
.pviz.is-in circle { opacity: 1; }
.pviz .p-line--dash { opacity: 0; transition: opacity .8s var(--ease) .6s; }
.pviz.is-in .p-line--dash { opacity: 1; }
.pviz .pl { transition: transform 1.4s var(--ease); }
.pviz.is-in .pl-0 { transform: translateY(-34px); }
.pviz.is-in .pl-1 { transform: translateY(-14px); }
.pviz.is-in .pl-3 { transform: translateY(10px); }
.pviz .p-face, .pviz .p-face-hot, .pviz .p-mod { fill-opacity: 0; transition: fill-opacity 1s var(--ease) .4s, stroke-dashoffset 1.6s var(--ease); }
.pviz.is-in .p-face, .pviz.is-in .p-face-hot, .pviz.is-in .p-mod { fill-opacity: 1; }
.pviz .orbit { animation: orbit 60s linear infinite; }
.pviz .orbit--b { animation-duration: 44s; animation-direction: reverse; }
.pviz .orbit--c { animation-duration: 80s; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* evolving AI portfolio */
.pf-ai__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 7vh, 80px); }
.pf-ai__head .h2 { max-width: 16ch; }
.pf-ai__head .h2 em { color: var(--beam-hot); }
.pf-ai__head > p { color: var(--mist); }
.slots { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.slot {
  position: relative; min-height: 280px;
  border: 1px dashed var(--line-strong);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 22px;
  padding: 28px;
}
.slot__plus { position: absolute; top: 24px; right: 24px; width: 18px; height: 18px; }
.slot__plus::before, .slot__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--dim); }
.slot__plus::after { transform: rotate(90deg); }
.slot--open { border-color: rgba(var(--beam-rgb), .55); background: radial-gradient(120% 120% at 0% 100%, rgba(var(--beam-rgb), .12), transparent 60%); }
.slot--open .slot__plus::before, .slot--open .slot__plus::after { background: var(--beam-hot); }
.slot--open p { font-size: clamp(24px, 2.4vw, 36px); font-weight: 350; line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; padding-right: 36px; }

/* ---------- Partnerships ---------- */
.audience--stack { grid-template-columns: 1fr 1fr; margin: 0; }
.audience--stack li:nth-child(3) { padding-left: 0; border-left: 0; }
.audience--stack li:nth-child(n+3) { border-top: 1px solid var(--line); }

.pships { background: var(--abyss); }
.pships__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.pships__list ol { border-top: 1px solid var(--line); }
.pship {
  width: 100%; text-align: left; position: relative;
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  color: var(--frost); cursor: pointer;
}
.pship::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent); box-shadow: 0 0 10px var(--beam);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.pship.is-active::after { transform: scaleX(1); }
.pship__num { color: var(--dim); padding-top: 8px; transition: color .3s; }
.pship__name { font-size: clamp(22px, 2.2vw, 32px); font-weight: 350; letter-spacing: -0.02em; line-height: 1.15; opacity: .45; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pship__desc {
  grid-column: 2; color: var(--mist); font-size: 15.5px; max-width: 42ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease);
}
.pship:hover .pship__name { opacity: .8; }
.pship.is-active .pship__num { color: var(--beam-hot); }
.pship.is-active .pship__name { opacity: 1; transform: translateX(6px); }
.pship.is-active .pship__desc { max-height: 6em; opacity: 1; margin-top: 10px; }

.constel { margin: 0; aspect-ratio: 1; max-width: 620px; justify-self: center; width: 100%; }
.constel svg { width: 100%; height: 100%; display: block; overflow: visible; }
.constel .c-orbit { fill: none; stroke: rgba(160, 182, 235, .16); stroke-width: 1; stroke-dasharray: 2 6; }
.constel .c-orbit--out { stroke: rgba(160, 182, 235, .1); }
.constel .c-spoke, .constel .c-reach { stroke: rgba(160, 182, 235, .22); stroke-width: 1; }
.constel g.is-active .c-spoke, .constel g.is-active .c-reach {
  stroke: var(--beam-hot); stroke-width: 2; filter: drop-shadow(0 0 5px var(--beam));
  stroke-dasharray: 1; animation: drawLine 1s var(--ease) both;
}
.constel g.is-active .c-reach { animation-delay: .45s; }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.constel .c-type rect { fill: var(--deep); stroke: rgba(160, 182, 235, .45); stroke-width: 1; transition: fill .4s, stroke .4s; }
.constel .c-type text, .constel .c-aud text { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; fill: var(--mist); text-transform: uppercase; transition: fill .4s; }
.constel .c-type.is-active rect { fill: rgba(var(--beam-rgb), .25); stroke: var(--beam-hot); filter: drop-shadow(0 0 8px var(--beam)); }
.constel .c-type.is-active text { fill: #fff; }
.constel .c-aud circle { fill: rgba(160, 182, 235, .5); transition: fill .4s; }
.constel .c-aud text { font-size: 13px; fill: var(--dim); }
.constel .c-aud.is-active circle { fill: var(--beam-hot); filter: drop-shadow(0 0 6px var(--beam)); }
.constel .c-aud.is-active text { fill: var(--frost); }
.constel .c-center { fill: var(--void); stroke: rgba(var(--hot-rgb), .7); stroke-width: 1.2; }
.constel .c-halo { fill: rgba(var(--beam-rgb), .12); transform-box: fill-box; transform-origin: center; animation: ring 3.6s ease-in-out infinite; }
.ask__title + .btn { margin-top: 44px; }

/* ---------- Contact ---------- */
.page-hero--short { min-height: 72vh; min-height: 72svh; padding-bottom: clamp(64px, 10vh, 110px); }
.contact-title { font-size: clamp(40px, 7vw, 124px); max-width: 16ch; }
.contact-lead { margin-top: 28px; color: var(--mist); font-size: clamp(18px, 1.5vw, 22px); max-width: 40ch; }

.contact { border-top: 0; padding-top: clamp(40px, 6vh, 72px); }
.contact__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: start; }

.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.field label, .field legend { display: block; color: var(--mist); margin-bottom: 10px; padding: 0; }
.field label span, .field legend span { color: var(--beam-hot); }
.field input, .field textarea {
  width: 100%; display: block;
  background: transparent; color: var(--frost);
  font: inherit; font-size: 18px; line-height: 1.5;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0 12px; min-height: 48px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--beam-hot); box-shadow: 0 1px 0 0 var(--beam-hot), 0 8px 18px -12px rgba(var(--beam-rgb), .8); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #FF6B6B; }
.field__err { min-height: 1.4em; margin-top: 8px; font-size: 14px; color: #FF8A8A; }
.field__err:empty { min-height: 0; margin-top: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mist); background: rgba(255,255,255,.02);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: color .25s, background .25s, border-color .25s;
}
.choice:hover span { color: var(--frost); border-color: rgba(var(--hot-rgb), .6); }
.choice input:checked + span { color: #fff; background: rgba(var(--beam-rgb), .22); border-color: var(--beam-hot); }
.choice input:focus-visible + span { outline: 1px solid var(--beam-hot); outline-offset: 3px; }
.field--choices.has-error .choice span { border-color: rgba(255, 107, 107, .6); }

/* KVKK consent */
.field .consent { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin: 0; cursor: pointer; color: var(--mist); font-size: 15px; line-height: 1.55; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  width: 22px; height: 22px; margin-top: 1px; position: relative;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: border-color .25s, background .25s;
}
.consent__box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease);
}
.consent:hover .consent__box { border-color: rgba(var(--hot-rgb), .6); }
.consent input:checked + .consent__box { background: var(--beam); border-color: var(--beam-hot); }
.consent input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 1px solid var(--beam-hot); outline-offset: 3px; }
.consent a { color: var(--frost); border-bottom: 1px solid var(--beam); }
.consent a:hover { color: var(--beam-hot); }
.field .consent .consent__text { color: var(--mist); }
.field .consent .consent__req { color: var(--beam-hot); }
.field--consent.has-error .consent__box { border-color: #FF6B6B; }
.field--consent .field__err { margin-left: 36px; }
.field--captcha { min-height: 78px; }
.field--captcha[hidden] { display: none; }

.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.cform__note { color: var(--dim); }
.cform__note span { color: var(--beam-hot); }
.cform__status { margin-top: 20px; min-height: 1.5em; font-size: 16px; }
.cform__status.is-ok { color: var(--beam-hot); }
.cform__status.is-err { color: #FF8A8A; }
.cform.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* Locations — the beam links the two sites */
.locs { position: sticky; top: calc(var(--header-h) + 48px); }
.locs__map { margin: 0 0 28px; aspect-ratio: 520 / 300; }
.locs__map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.locs .m-grid { fill: none; stroke: rgba(160, 182, 235, .07); stroke-width: 1; }
.locs .m-coast { fill: none; stroke: rgba(160, 182, 235, .35); stroke-width: 1.2; }
.locs .m-coast--b { stroke: rgba(160, 182, 235, .2); stroke-dasharray: 3 5; }
.locs .m-beam { fill: none; stroke: var(--beam-hot); stroke-width: 2; filter: drop-shadow(0 0 6px var(--beam)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.locs__map.is-in .m-beam { stroke-dashoffset: 0; }
.locs .m-pt { fill: var(--beam-hot); filter: drop-shadow(0 0 6px var(--beam)); }
.locs .m-ring { fill: none; stroke: rgba(var(--hot-rgb), .6); transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-in-out infinite; }
.locs .m-ring--b { animation-delay: -1.6s; }
.locs__list { border-top: 1px solid var(--line); }
.locs__list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.locs__k { color: var(--beam-hot); }
.locs__list strong { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.locs__c { color: var(--dim); }
.locs__addr { font-style: normal; color: var(--mist); font-size: 15.5px; line-height: 1.6; margin-top: 4px; }
.locs__tel { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; color: var(--frost); font-size: 12px; transition: color .25s; }
.locs__tel span { color: var(--beam-hot); }
.locs__tel:hover { color: var(--beam-hot); }
.locs__country { color: var(--mist); margin-top: 20px; }

/* Philosophy */
.philosophy { background: var(--abyss); }
.philosophy__title { max-width: 14ch; margin-bottom: clamp(48px, 7vh, 88px); }
.philosophy__title em { color: var(--beam-hot); text-shadow: 0 0 50px rgba(var(--beam-rgb), .5); }
.philosophy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); border-top: 1px solid var(--line); padding-top: 36px; }
.philosophy__grid p:not(.lead) { color: var(--mist); }

/* Founder */
.founder__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.founder__portrait { margin: 0; position: relative; }
.founder__portrait picture {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 900 / 906; background: var(--deep);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.founder__portrait.is-in img { transform: none; }
.founder__portrait:hover img { filter: saturate(1) contrast(1.05); }
.founder__portrait picture::after { /* night grade + the beam crossing the frame */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(4,6,12,.75), rgba(4,6,12,0) 38%),
    linear-gradient(90deg, rgba(4,6,12,.25), transparent 40%);
}
.founder__portrait::after {
  content: ""; position: absolute; left: 8%; right: -6%; bottom: 74px; height: 4px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--beam) 35%, var(--beam-hot));
  box-shadow: 0 0 22px var(--beam), 0 0 4px var(--beam-hot);
  clip-path: polygon(0 66%, 100% 0, 100% 100%, 0 100%);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-io) .3s;
}
.founder__portrait.is-in::after { transform: scaleX(1); }
.founder__portrait figcaption { display: flex; justify-content: space-between; color: var(--dim); font-size: 10.5px; padding-top: 16px; }
.founder__name { font-size: clamp(52px, 7.4vw, 124px); font-weight: 400; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.035em; line-height: .95; margin-bottom: 18px; }
.founder__role { color: var(--beam-hot); margin-bottom: 36px; }
.founder__bio p:not(.lead) { color: var(--mist); margin-top: 18px; }
.founder__links { margin-top: 40px; border-top: 1px solid var(--line); }
.founder__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--frost); transition: color .25s, padding .4s var(--ease);
}
.founder__links a span { color: var(--beam-hot); transition: transform .35s var(--ease); }
.founder__links a:hover { padding-left: 10px; }
.founder__links a:hover span { transform: translate(3px, -3px); }

/* Closing CTA on inner pages */
.page-cta { background: var(--abyss); }
.page-cta__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.page-cta .h2 { max-width: 16ch; }
.page-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ==========================================================================
   Motion layer
   ========================================================================== */

/* Word-by-word rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.split.is-in .w > span { transform: none; }
/* Once a masked reveal has played, release the mask so glows are not boxed in */
@keyframes unclip { to { overflow: visible; } }
.split.is-in .w { animation: unclip 0s linear 2.2s forwards; }
.is-loaded .intro__beat.is-active .line { animation: unclip 0s linear 1.6s forwards; }

/* Odometer digits */
.odo { display: inline-flex; line-height: 1; height: 1em; overflow: hidden; vertical-align: top; }
.odo__col { display: block; height: 1em; }
.odo__col > span { display: flex; flex-direction: column; transform: translateY(0); transition: transform 2s cubic-bezier(.16, 1, .3, 1); }
.odo__col > span b { display: block; height: 1em; font-weight: inherit; }
.odo.is-in .odo__col > span { transform: translateY(calc(var(--d) * -1em)); }
.fact dd { line-height: 1; }

/* A beam sweeps each section's top edge as it enters */
.section::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0 42%, rgba(var(--hot-rgb), .9) 50%, transparent 58% 100%);
  background-size: 300% 100%; background-position: 100% 0; opacity: 0;
}
.section.is-swept::after { animation: sweep 1.8s var(--ease-io) forwards; }
@keyframes sweep { 0% { opacity: 1; background-position: 100% 0; } 90% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }

/* Product cards: tilt + cursor light */
.product {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(var(--beam-rgb), .16), transparent 60%),
    var(--deep);
}
.product.is-tilting { transition: transform .12s linear; }


/* Big numerals drift slightly against the scroll */
.evo__year, .fact dd { will-change: transform; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Keep content clear of the fixed chapter index on wide screens */
@media (min-width: 1181px) {
  main .wrap, .hero__inner, .evo__track { padding-left: max(var(--gutter), 190px); }
}
@media (max-width: 1180px) {
  .header__nav { display: none; }
  .chapters { display: none; }
  .hero__inner, .evo__track { padding-left: var(--gutter); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .about__grid, .focus__grid, .tech__grid, .impact__grid, .together__grid, .evo__head { grid-template-columns: 1fr; }
  .featured__grid { grid-template-columns: 1fr; }
  .pillars__list { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar__step { margin-bottom: 28px; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience li:nth-child(3) { padding-left: 0; border-left: 0; }
  .audience li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .about-intro__grid, .story__grid, .philosophy__grid, .founder__grid, .page-cta__inner { grid-template-columns: 1fr; }
  .story__sticky { position: relative; top: 0; }
  .story__year, .story__label, .story__stage { display: none; }
  .thesis__grid, .bridge__grid { grid-template-columns: 1fr; }
  .contact__grid, .cform__row { grid-template-columns: 1fr; }
  /* phones: calmer rhythm, 44px touch targets, legible small print */
  .section { padding: clamp(64px, 9vh, 96px) 0; }
  .header__logo { padding: 9px 0; }
  .link { padding: 14px 0; }
  .lang a { min-height: 44px; }
  .header .btn--sm { min-height: 44px; }
  .footer__nav a { padding: 9px 0; }
  .footer__info a, .footer__legal { display: inline-block; padding: 14px 0; }
  .menu__links a { padding: 7px 0; }
  .footer__base { font-size: 11px; }
  /* hero beat 1 must fit between the header and the bottom edge on real phones */
  .intro__beat:not(.intro__beat--center) {
    top: calc(var(--frame) + var(--header-h) + 16px); bottom: calc(var(--frame) + 28px);
    display: flex; flex-direction: column; justify-content: flex-end;
    justify-content: safe flex-end; /* if it cannot fit (large system text), start below the header instead */
  }
  .intro__beat:not(.intro__beat--center) > * { flex: none; }
  .hero__title { font-size: clamp(29px, min(9.4vw, 5.4svh), 46px); margin-bottom: 20px; }
  .intro .eyebrow { margin-bottom: 14px; font-size: 10.5px; letter-spacing: .1em; }
  .hero__lead { font-size: 15.5px; line-height: 1.55; margin-bottom: 24px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { min-height: 46px; }
  .locs { position: relative; top: 0; }
  .pships__grid { grid-template-columns: 1fr; }
  .constel { max-width: 440px; }
  .pf { min-height: 0; }
  .pf__grid, .pf--flip .pf__grid, .pf-ai__head { grid-template-columns: 1fr; }
  .pf--flip .pviz { order: 0; }
  .pf-index a { grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 6px 14px; }
  .pf-index em { grid-column: 2; grid-row: 2; }
  .pf-index__arrow { grid-column: 3; grid-row: 1; }
  .slots { grid-template-columns: 1fr 1fr; }
  .slot--open { grid-column: 1 / -1; }
  .slot { min-height: 160px; }
  .areas__grid { grid-template-columns: 1fr 1fr; }
  .area:nth-child(3) { padding-left: 0; border-left: 0; }
  .area:nth-child(n+3) { border-top: 1px solid var(--line); }
  .current__head, .current__grid { grid-template-columns: 1fr; }
  .arch svg:not(.arch__v) { display: none; }
  .arch .arch__v { display: block; max-width: 460px; margin: 0 auto; }
  .project summary { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .project__year { grid-column: 1; }
  .project__name { grid-column: 1; }
  .project__cat { grid-column: 1; }
  .project__toggle { grid-column: 2; grid-row: 1 / span 3; }
  .project__body { grid-template-columns: 1fr; }
  .project__body p { grid-column: 1; }
  .thesis__sticky { position: relative; top: 0; }
  .thesis__list { padding-top: 0; }
  .thesis__item { padding-bottom: 48px; }
  .story__item .story__viz { display: block; max-width: 420px; aspect-ratio: 400 / 260; margin-top: 24px; }
  .story__list { padding-left: 40px; }
  .story__item::before { left: -40px; }
  .founder__portrait { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .bottombar__coord { display: none; }
  .bottombar { grid-template-columns: 1fr auto; }
  .hero__scroll, .intro__steps { display: none; }
  .intro { height: 300vh; }

  /* Evolution becomes a vertical beam on small screens */
  .evo { height: auto; }
  .evo__sticky { position: relative; height: auto; padding: 96px 0; overflow: visible; }
  .evo__track { width: auto; transform: none !important; }
  .evo__beam { left: calc(var(--gutter) + 5px); right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .evo__beam i { width: 3px; height: 100%; top: 0; left: -1px; transform-origin: top; transform: scaleY(var(--evo, 0)); clip-path: none;
    background: linear-gradient(to bottom, rgba(var(--beam-rgb), 0), var(--beam) 20%, var(--beam-hot)); }
  .evo__nodes { flex-direction: column; gap: 48px; }
  .evo__node { width: auto; padding: 0 0 0 40px; }
  .evo__node::before { top: 14px; }
  .evo__year { font-size: clamp(56px, 16vw, 84px); margin-bottom: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header__contact { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact dt { min-height: 0; margin-bottom: 16px; }
  .audience { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .constel .c-aud text { font-size: 17px; }
  .constel .c-type text { font-size: 15px; }
  .area, .area + .area { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .audience li, .audience li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .bottombar { display: none; }
  .totop { bottom: calc(var(--frame) + 16px); width: 48px; height: 48px; }
  .hero__cta .btn { width: 100%; }
  .menu { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

/* Loader is skipped after the first page of a visit */
.no-loader .loader { display: none; }

.footer__legal { color: var(--mist); border-bottom: 1px solid var(--line-strong); }
.footer__legal:hover { color: var(--frost); border-color: var(--beam); }

/* Legal pages */
.page-hero--legal { min-height: 56vh; min-height: 56svh; }
.legal { border-top: 0; }
.legal__body { max-width: 860px; }
.legal__body p { color: var(--mist); margin-bottom: 18px; }
.legal__body a { color: var(--frost); border-bottom: 1px solid var(--beam); }
.legal__pending { color: var(--beam-hot) !important; padding: 18px 20px; border: 1px dashed rgba(var(--beam-rgb), .5); margin-bottom: 32px !important; }
.legal__body { max-width: 820px; }
.legal__body p { line-height: 1.75; }
.legal__intro { color: var(--frost) !important; font-size: clamp(17px, 1.4vw, 19px); padding-bottom: 32px; margin-bottom: 8px !important; border-bottom: 1px solid var(--line); }
.legal__h {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: clamp(21px, 2vw, 28px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--frost); margin: 48px 0 18px;
}
.legal__h .mono { color: var(--beam-hot); font-size: 12px; flex: none; width: 22px; }
.legal__lead { color: var(--frost) !important; }
.legal__list { margin: 6px 0 40px; border-top: 1px solid var(--line); }
.legal__list li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--mist); line-height: 1.6; }
.legal__list .mono { color: var(--beam-hot); padding-top: 3px; }
.legal__back { margin-top: 24px; }

/* ---------- Cookie consent bar ---------- */
.consent-bar {
  position: fixed; z-index: 110;
  left: calc(var(--frame) + 16px); bottom: calc(var(--frame) + 16px);
  width: min(720px, calc(100% - 2 * var(--frame) - 32px));
  display: flex; align-items: center; gap: 24px;
  padding: 20px 22px;
  background: rgba(8, 13, 26, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.consent-bar[hidden] { display: none; }
.consent-bar.is-open { opacity: 1; transform: none; }
.consent-bar::before { /* the beam along the top edge */
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 46%;
  background: linear-gradient(90deg, var(--beam), var(--beam-hot), transparent);
  box-shadow: 0 0 12px var(--beam);
}
.consent-bar__text { flex: 1; min-width: 0; }
.consent-bar__title { color: var(--frost); margin-bottom: 8px; display: flex; align-items: center; }
.consent-bar__text p:not(.consent-bar__title) { color: var(--mist); font-size: 14.5px; line-height: 1.55; }
.consent-bar__link { color: var(--frost); border-bottom: 1px solid var(--beam); }
.consent-bar__link:hover { color: var(--beam-hot); }
.consent-bar__actions { display: flex; gap: 10px; flex: none; }
.consent-bar__actions .btn { min-width: 112px; justify-content: center; }
.footer__cookie { font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 0; }
@media (max-width: 640px) {
  .consent-bar { flex-direction: column; align-items: stretch; gap: 16px; left: calc(var(--frame) + 8px); bottom: calc(var(--frame) + 8px); width: calc(100% - 2 * var(--frame) - 16px); padding: 18px; }
  .consent-bar__actions .btn { flex: 1; min-height: 46px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.nf__inner { max-width: 980px; }
.nf__code {
  font-size: clamp(110px, 22vw, 300px); font-weight: 200; letter-spacing: -0.06em; line-height: .82;
  margin: 6px 0 22px; color: var(--frost);
}
.nf__code em { font-style: normal; color: var(--beam-hot); text-shadow: 0 0 60px rgba(var(--beam-rgb), .7), 0 0 120px rgba(var(--beam-rgb), .35); }
.nf__title { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.05; max-width: 18ch; margin-bottom: 22px; }
.nf__title em { color: var(--beam-hot); }
.nf__lead { color: var(--mist); max-width: 52ch; margin-bottom: 10px; }
.nf__en { color: var(--dim); margin-bottom: 32px; text-transform: none; letter-spacing: .04em; font-size: 12px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.nf__links a { color: var(--mist); display: inline-block; padding: 10px 0; transition: color .25s; }
.nf__links a:hover { color: var(--beam-hot); }
