/* ==========================================================================
   Efe Güneş — efegunes.com
   Navy + paper + flag-red. Instrument Serif / Inter / JetBrains Mono.
   ========================================================================== */

:root {
  --paper: #f4f2ed;
  --paper-2: #ebe8e0;
  --card: #fbfaf7;
  --ink: #0b1220;
  --ink-2: #394154;
  --muted: #5d6577;
  --line: #d9d5ca;

  --navy-950: #070d1a;
  --navy-900: #0a1222;
  --navy-800: #101c37;
  --navy-700: #1a2b52;
  --on-dark: #f4f2ed;
  --on-dark-2: #c3cbdc;
  --on-dark-muted: #9aa6bf;
  --line-dark: rgba(255, 255, 255, 0.1);

  --blue: #1f3fae;
  --blue-bright: #4c7bff;
  --red: #d4213d;
  --red-bright: #ff3b55;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius: 22px;
  --radius-lg: 30px;
  --section-pad: clamp(88px, 12vw, 168px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono { font-family: var(--mono); }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--navy-900);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader.is-active { opacity: 1; visibility: visible; }
.loader__mark {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--on-dark);
  letter-spacing: 0.02em;
}
.loader__bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--red-bright));
  transition: width 0.2s ease-out;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--light { background: var(--on-dark); color: var(--navy-900); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.btn--nav {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  background: var(--on-dark);
  color: var(--navy-900);
}
.btn--nav:hover { background: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--on-dark);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(10, 18, 34, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__name { flex: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.brand__divider { flex: none; width: 1px; height: 16px; background: rgba(255, 255, 255, 0.22); }
.brand__tag {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--on-dark-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red-bright);
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lang button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-muted);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.lang button:hover { color: #fff; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  place-items: center;
}
.nav__toggle .icon { width: 20px; height: 20px; }

.mobile-menu { border-top: 1px solid var(--line-dark); }
.mobile-menu__inner { display: grid; padding-block: 8px 20px; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}
.mobile-menu a .mono { font-size: 12px; color: var(--on-dark-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--navy-900);
  min-height: 100vh;
  min-height: 100svh;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 74% 38%, rgba(44, 76, 170, 0.55) 0%, rgba(44, 76, 170, 0) 70%),
    radial-gradient(45% 45% at 8% 100%, rgba(212, 33, 61, 0.16) 0%, rgba(212, 33, 61, 0) 70%),
    linear-gradient(180deg, #0a1222 0%, #0b1530 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 64px);
  min-height: inherit;
}
.hero__copy {
  align-self: center;
  padding-block: 128px 96px;
  max-width: 620px;
}

.hero__title {
  margin-top: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(64px, 10.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero__title-name {
  display: inline-block;
  font-size: 0.42em;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--on-dark-2);
}
.hero__title em {
  display: inline-block;
  margin-top: 0.02em;
  font-style: normal;
  color: #fff;
}
.hero__roles {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: var(--on-dark-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__social { display: flex; gap: 8px; margin-top: 36px; }
.hero__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.hero__social a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.hero__social .icon { width: 18px; height: 18px; }

.hero__visual {
  position: relative;
  min-height: 560px;
}
.globe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(128%, 820px);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  cursor: grab;
  touch-action: pan-y;
}
.globe.is-ready { opacity: 1; }
.globe.is-dragging { cursor: grabbing; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__label {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(7, 13, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.4s var(--ease);
}
.globe__label i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.globe__label--ist i { background: var(--red-bright); }

.hero__portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: min(88%, 760px);
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 14px;
  border-radius: 16px;
  background: rgba(10, 18, 34, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  line-height: 1.25;
}
.chip b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.chip small { display: block; font-size: 12.5px; color: var(--on-dark-muted); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.chip__dot--red { background: var(--red-bright); box-shadow: 0 0 0 4px rgba(255, 59, 85, 0.18); }
.chip__dot--blue { background: #2f8bff; box-shadow: 0 0 0 4px rgba(47, 139, 255, 0.2); }
.chip--a { left: 0; bottom: 30%; }
.chip--b { right: 0; bottom: 12%; }

/* ---------- Stats ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 40px 28px 36px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 0.5em; letter-spacing: 0; }
.stat__label { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.kicker--light { color: var(--on-dark-muted); }

.h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--blue); }
.about .h2 em { color: var(--red); }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head__sub { max-width: 30em; color: var(--muted); font-size: 17px; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about .section-head { position: sticky; top: 120px; }
.about__body > p { font-size: 18.5px; line-height: 1.7; color: var(--ink-2); }
.about__body > p + p { margin-top: 22px; }
.facts { margin-top: 44px; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.facts dd { font-weight: 500; }

/* ---------- Ventures ---------- */
.ventures { background: var(--paper-2); }
.venture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.venture + .venture { margin-top: 24px; }
.venture:nth-of-type(even) .venture__copy { order: 2; }

.venture__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.venture__index { opacity: 0.6; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--live { color: #1a9b5b; background: rgba(26, 155, 91, 0.12); }
.status--soon { color: #b7791f; background: rgba(217, 167, 42, 0.16); }
.status--done { color: var(--blue); background: rgba(31, 63, 174, 0.1); }
.status--past { color: var(--muted); background: rgba(93, 101, 119, 0.12); }

.venture__name { margin-top: 22px; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.venture__headline { margin-top: 14px; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.venture__desc { margin-top: 18px; max-width: 34em; font-size: 16.5px; line-height: 1.65; }
.venture__list { margin-top: 24px; display: grid; gap: 10px; }
.venture__list li { position: relative; padding-left: 26px; font-size: 15.5px; }
.venture__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.8;
}
.venture__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.venture__foot small { font-size: 12.5px; opacity: 0.7; }
.venture__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.venture__link:hover { transform: translateY(-2px); }
.venture__link .icon { transition: transform 0.25s var(--ease); }
.venture__link:hover .icon { transform: translate(2px, -2px); }

.venture__visual {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

/* TradeHabits AI */
.venture--th { background: #070a12; color: #f5f7fa; }
.venture--th::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 85% 30%, rgba(47, 139, 255, 0.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(111, 208, 255, 0.1), transparent 70%);
}
.venture--th .venture__name { font-family: "Outfit", var(--sans); font-weight: 600; }
.venture--th .venture__meta { color: #93a0b4; }
.venture--th .venture__desc { color: #b4bfd0; }
.venture--th .venture__list li::before { color: #6fd0ff; }
.venture--th .status--live { color: #32d74b; background: rgba(50, 215, 75, 0.12); }
.venture--th .venture__link { background: #2f8bff; color: #fff; }
.venture--th .venture__link:hover { box-shadow: 0 10px 30px rgba(47, 139, 255, 0.4); }

.th { display: grid; gap: 14px; max-width: 440px; margin-inline: auto; }
.th-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(16, 21, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font-family: "Outfit", var(--sans);
}
.th-card--signal { margin-left: 12%; }
.th-card--heat { margin-right: 6%; }
.th-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.th-pair { font-weight: 600; font-size: 15px; letter-spacing: 0.01em; }
.th-price { font-family: var(--mono); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.th-spark { display: block; width: 100%; height: 48px; margin-top: 10px; overflow: visible; }
.th-spark path { fill: none; stroke: #2f8bff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.th-armed { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: #93a0b4; }
.th-armed i { width: 8px; height: 8px; border-radius: 50%; background: #32d74b; box-shadow: 0 0 0 4px rgba(50, 215, 75, 0.15); }
.th-long { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #32d74b; background: rgba(50, 215, 75, 0.12); }
.th-conf { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: #93a0b4; }
.th-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.th-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f8bff, #6fd0ff); transition: width 1.6s var(--ease-out) 0.3s; }
.venture.is-in .th-bar i { width: 74%; }
.th-label { font-size: 13px; color: #93a0b4; }
.th-tf { font-family: var(--mono); font-size: 11px; color: #6fd0ff; padding: 2px 8px; border-radius: 6px; background: rgba(111, 208, 255, 0.1); }
.th-heat { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; margin-top: 12px; }
.th-heat span { aspect-ratio: 1; border-radius: 3px; background: rgba(47, 139, 255, var(--a, 0.1)); transition: background-color 1.2s ease; }
.th-heat span.hot { background: rgba(255, 196, 61, var(--a, 0.6)); }

/* KuverPOS */
.venture--kp { background: #0d1011; color: #ecebe6; }
.venture--kp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 70% at 10% 20%, rgba(88, 194, 178, 0.16), transparent 70%);
}
.venture--kp .venture__name { font-family: "Bricolage Grotesque", var(--sans); font-weight: 700; }
.venture--kp .venture__meta { color: #8a9195; }
.venture--kp .venture__headline { font-family: "Bricolage Grotesque", var(--sans); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; color: #58c2b2; }
.venture--kp .venture__desc { color: #b3b9ba; }
.venture--kp .status--live { color: #5cb98a; background: rgba(92, 185, 138, 0.12); }
.venture--kp .venture__link { background: #58c2b2; color: #0b1211; }
.venture--kp .venture__link:hover { box-shadow: 0 10px 30px rgba(88, 194, 178, 0.35); }

.kp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kp-stats div { padding: 16px 18px; background: #121718; }
.kp-stats dt { font-family: "Bricolage Grotesque", var(--sans); font-weight: 700; font-size: 26px; line-height: 1; color: #fff; }
.kp-stats dd { margin-top: 6px; font-size: 13.5px; color: #a2ada9; }

.kp { position: relative; display: grid; justify-items: center; max-width: 460px; margin-inline: auto; padding-bottom: 12px; }
.kp-receipt {
  width: min(100%, 320px);
  margin: 0;
  padding: 22px 18px 30px;
  background: #fbfaf6;
  color: #1a1a1a;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre;
  overflow: hidden;
  transform: rotate(-3deg) translateX(-8%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 16px 10px repeat-x;
}
.kp-panel {
  width: min(100%, 330px);
  margin-top: -64px;
  margin-left: 22%;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(20, 24, 25, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  font-size: 13.5px;
  position: relative;
}
.kp-panel__title { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: #a2ada9; }
.kp-panel__title i { width: 7px; height: 7px; border-radius: 50%; background: #5cb98a; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.kp-panel ul { margin-top: 12px; display: grid; }
.kp-panel li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); color: #b3b9ba; }
.kp-panel b { font-weight: 600; color: #5cb98a; text-align: right; }
.kp-panel[data-online="false"] #kp-cloud { color: #ff8a80; }
.kp-panel__msg { margin-top: 10px; min-height: 3em; font-size: 12.5px; line-height: 1.5; color: #a2ada9; }
.kp-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(88, 194, 178, 0.4);
  background: rgba(88, 194, 178, 0.1);
  color: #58c2b2;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s var(--ease);
}
.kp-btn:hover { background: rgba(88, 194, 178, 0.2); }
.kp-panel[data-online="false"] .kp-btn { border-color: rgba(255, 107, 95, 0.4); background: rgba(255, 107, 95, 0.1); color: #ff8a80; }

/* ---------- Politics ---------- */
.politics {
  position: relative;
  background: var(--navy-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.politics::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(212, 33, 61, 0.14), transparent 70%),
    radial-gradient(50% 60% at 0% 60%, rgba(44, 76, 170, 0.3), transparent 70%);
}
.politics .h2 em { color: #ffb0bb; }
.politics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.politics__intro { position: sticky; top: 110px; }
.politics__org {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 600;
  color: #fff;
}
.politics__org .icon { color: var(--red-bright); }
.politics__text { margin-top: 16px; color: var(--on-dark-2); font-size: 17px; line-height: 1.7; max-width: 34em; }
.pol-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(64px, 9vw, 120px);
}
.pol-photo {
  position: relative;
  grid-column: span 2;
  height: clamp(220px, 20vw, 300px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--navy-800);
}
.pol-photo--wide { grid-column: 1 / -1; height: clamp(320px, 30vw, 420px); }
.pol-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.pol-photo:hover img { transform: scale(1.03); }
/* keep Efe (left edge) in frame when the wide shot is cropped */
.pol-photo--wide img { object-position: 0% 50%; }
.pol-photo .shot__cap { display: block; transform: none; opacity: 1; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, 0.1); }
.timeline::after {
  background: linear-gradient(180deg, var(--blue-bright), var(--red-bright));
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}
.timeline__item { position: relative; padding: 4px 0 44px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.timeline__item.is-passed::before { border-color: var(--blue-bright); background: var(--blue-bright); box-shadow: 0 0 0 5px rgba(76, 123, 255, 0.18); }
.timeline__item--now::before { border-color: var(--red-bright) !important; background: var(--red-bright) !important; box-shadow: 0 0 0 6px rgba(255, 59, 85, 0.2) !important; }
.timeline__year {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}
.timeline__role { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.01em; }
.timeline__dept { margin-top: 6px; color: var(--on-dark-2); font-size: 16.5px; }
.now-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 59, 85, 0.14);
  color: #ff8a98;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.now-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); animation: blink 1.4s steps(2) infinite; }

.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.area {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.area:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.area__icon { width: 28px; height: 28px; color: #9db6ff; stroke-width: 1.6; }
.area h3 { margin-top: 22px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.area p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }

/* ---------- Education ---------- */
.edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.edu-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.edu-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--navy-900);
  color: #fff;
}
.edu-card__icon .icon { width: 24px; height: 24px; }
.edu-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.edu-card__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.015em; }
.edu-card__program { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--blue); }
.edu-card__text { margin-top: 16px; color: var(--ink-2); line-height: 1.7; }
.edu-card__place { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 14.5px; color: var(--muted); }
.edu-card--uk { grid-column: 1 / -1; padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.edu-card--uk .edu-card__body { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.edu-card__photo { position: relative; min-height: 340px; }
.edu-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 18px; }
.shot,
.follow {
  position: relative;
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-2);
}
.shot img { width: 100%; transition: transform 0.8s var(--ease-out); }
/* featured photo: never cropped, sized so the whole frame fits the viewport height (939×816 source) */
.shot--feature {
  width: min(100%, calc((100vh - 170px) * 939 / 816));
  width: min(100%, calc((100svh - 170px) * 939 / 816));
  margin-inline: auto;
  margin-bottom: 18px;
}
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(10, 18, 34, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.shot:hover .shot__cap { transform: none; opacity: 1; }
.follow {
  display: grid;
  gap: 6px;
  padding: 30px 26px;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255, 59, 85, 0.5), transparent 60%),
    radial-gradient(90% 90% at 0% 100%, rgba(76, 123, 255, 0.55), transparent 60%),
    var(--navy-900);
}
.follow__icon { width: 30px; height: 30px; margin-bottom: 26px; }
.follow__handle { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.follow__count { color: var(--on-dark-2); font-size: 15px; }
.follow__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 15px; }
.follow__cta .icon { transition: transform 0.25s var(--ease); }
.follow:hover .follow__cta .icon { transform: translate(2px, -2px); }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--navy-950);
  color: var(--on-dark);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 90% 10%, rgba(44, 76, 170, 0.35), transparent 70%),
    radial-gradient(35% 45% at 0% 90%, rgba(212, 33, 61, 0.14), transparent 70%);
}
.contact__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.contact__title em { font-style: italic; color: #b9c8ef; }
.contact__text { margin-top: 26px; max-width: 34em; color: var(--on-dark-2); font-size: 18px; }
.contact__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 48px;
  padding-block: 28px;
  border-block: 1px solid var(--line-dark);
}
.contact__email {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.contact__email:hover { background-size: 100% 1px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__actions .btn:hover .icon { transform: none; }

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.links a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.links a:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.links a > .icon:first-child { width: 22px; height: 22px; color: var(--on-dark-2); }
.links a > span:not(.links__mono) { flex: 1; min-width: 0; line-height: 1.3; }
.links b { display: block; font-weight: 600; }
.links small { display: block; font-size: 13px; color: var(--on-dark-muted); }
.links__arrow { width: 18px !important; height: 18px !important; color: var(--on-dark-muted); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.links a:hover .links__arrow { transform: translate(2px, -2px); color: #fff; }
.links__mono {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  flex: none;
}

.footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-dark); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  font-size: 14px;
  color: var(--on-dark-muted);
}
.footer__top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.footer__top:hover { color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: #1a9b5b; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pol-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pol-photo { grid-column: span 1; height: auto; aspect-ratio: 3 / 4; }
  .pol-photo--wide { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 9; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .edu { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__copy { padding-block: 116px 24px; }
  .hero__visual { min-height: 0; height: clamp(440px, 118vw, 640px); }
  .globe { width: min(120%, 620px); transform: translate(-50%, -56%); }
  .hero__portrait { height: 90%; }
  .chip--a { left: 0; bottom: 34%; }
  .chip--b { right: 0; bottom: 10%; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 28px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .about__grid,
  .politics__grid { grid-template-columns: minmax(0, 1fr); }
  .about .section-head,
  .politics__intro { position: static; }

  .venture { grid-template-columns: minmax(0, 1fr); }
  .venture:nth-of-type(even) .venture__copy { order: 0; }
  .venture__visual { margin-top: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .btn--nav { display: none; }
  .brand__name { font-size: 15px; }
  .hero__copy { padding-block: 92px 8px; }
  .hero__title { font-size: clamp(60px, 19vw, 84px); }
  .hero__roles { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.08em; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .hero__cta { flex-wrap: nowrap; gap: 10px; margin-top: 26px; }
  .hero__cta .btn { flex: 1 1 auto; min-width: 0; padding: 0 14px; font-size: 14.5px; }
  .hero__social { margin-top: 22px; }
  .hero__visual { height: clamp(420px, 112vw, 520px); }
  .chip { padding: 10px 12px; gap: 10px; }
  .chip b { font-size: 13px; }
  .chip small { font-size: 11.5px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .venture { padding: 24px 20px 28px; border-radius: 24px; }
  .th-card--signal { margin-left: 6%; }
  .kp-receipt { font-size: 10.5px; transform: rotate(-3deg) translateX(-4%); }
  .kp-panel { margin-left: 8%; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .pol-photo .shot__cap { left: 8px; right: 8px; bottom: 8px; padding: 7px 10px; font-family: var(--sans); font-size: 11.5px; line-height: 1.35; letter-spacing: 0; }
  .edu-card--uk { grid-template-columns: minmax(0, 1fr); }
  .edu-card__photo { min-height: 220px; }
  .links { grid-template-columns: minmax(0, 1fr); }
  .contact__actions { width: 100%; }
  .contact__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  /* not enough room for the "| RESMİ SİTE" tag beside the name on very small phones */
  .brand__divider,
  .brand__tag { display: none; }
}

@media (hover: none) {
  .shot__cap { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
