/* TOLYA — site v2 (koyu, derin uzay) */
:root {
  --space: #060C1A;      /* zemin: logo mavisinin gece tonu */
  --deep: #0B1426;       /* yükseltilmiş yüzey */
  --steel: #195E9D;      /* logo mavisi */
  --signal: #2BB3E6;     /* logodaki ışık */
  --glow: #7FDCFF;
  --star: #E9F1F8;       /* metin */
  --dust: #93A6BC;       /* ikincil metin */
  --line: rgba(147, 166, 188, .18);
  --c-blorp: #5B95F5;
  --c-windfoil: #7FDCFF;
  --c-arge: #8FE0BE;
  --c-sahmat: #F1C46C;
  --c-anitoly: #C79BF0;
  --c-biliglig: #E6DFCB;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--space); color: var(--star); font-family: var(--sans); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 400; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* üst çubuk */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 22px; height: auto; }
.brand span { font-weight: 600; letter-spacing: .14em; font-size: 15px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--dust); }
.nav a:hover { color: var(--star); }
.lang { font: inherit; font-size: 13px; font-weight: 600; color: var(--star); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.lang:hover { border-color: var(--dust); }

/* evren */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
#universe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-text { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 96px); pointer-events: none; }
.hero-text > * { pointer-events: auto; }
.hero h1 { font-weight: 300; font-size: clamp(44px, 8.4vw, 112px); line-height: .98; letter-spacing: -.035em; margin: 0 0 22px; max-width: 11ch; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: var(--dust); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 20, 38, .6); backdrop-filter: blur(6px); }
.btn:hover { border-color: var(--dust); }
.btn.primary { background: var(--star); color: var(--space); border-color: var(--star); }
.btn.primary:hover { background: #fff; }
.hero .hint { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); z-index: 2; font-size: 13px; color: var(--dust); margin: 0; max-width: none; }
.tip { position: absolute; z-index: 3; pointer-events: none; max-width: 260px; padding: 10px 14px; border-radius: 10px; background: rgba(11, 20, 38, .92); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; opacity: 0; transition: opacity .15s; }
.tip b { display: block; font-weight: 600; margin-bottom: 2px; }
.tip span { color: var(--dust); }

/* bölümler */
section { padding: clamp(80px, 12vw, 150px) 0 0; }
h2 { font-weight: 300; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--dust); max-width: 38em; margin: 0; }

/* yöntem */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 56px; }
.method-grid h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.method-grid p { margin: 0; color: var(--dust); font-size: 16px; }
.method-grid div { border-top: 1px solid var(--line); padding-top: 22px; }

/* projeler */
.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 110px); }
.project:nth-of-type(even) .media { order: 2; }
.media { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #12223D 0%, var(--deep) 70%); border: 1px solid var(--line); }
.media video, .media img { width: 100%; height: 100%; object-fit: contain; }
.media img.cover { object-fit: cover; }
.body-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--dust); font-size: 14px; margin-bottom: 14px; }
.body-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.project h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.015em; margin: 0 0 12px; line-height: 1.1; }
.project p { margin: 0 0 18px; color: var(--dust); max-width: 32em; }
.project ul { list-style: none; padding: 0; margin: 0 0 22px; color: var(--star); font-size: 15px; }
.project li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.project li:first-child { border-top: 1px solid var(--line); }
.links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; border-bottom: 1px solid var(--c, var(--signal)); padding-bottom: 2px; }
.links a:hover { color: var(--c, var(--glow)); }
.soon { display: inline-block; font-size: 13px; font-weight: 600; color: var(--space); background: var(--c, var(--star)); border-radius: 999px; padding: 3px 11px; }
.status { color: var(--dust); font-size: 15px; }

/* biliglig tipografik panel */
.page-panel { display: grid; place-content: center; padding: 28px; text-align: left; }
.page-panel p { font-family: 'IBM Plex Serif', Georgia, serif; color: var(--c-biliglig); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; margin: 0; max-width: 24em; }
.page-panel sup { color: var(--signal); font-family: var(--sans); font-size: .65em; }
.page-panel small, .page-panel div > small { display: block; margin-top: 14px; font-family: var(--sans); color: var(--dust); font-size: 13px; }

/* hizmetler */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin-top: 32px; }
.services div { padding: 18px 0; border-top: 1px solid var(--line); }
.services h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.services p { margin: 0; color: var(--dust); font-size: 15px; }

/* kurucu ve iletişim */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.founder p { color: var(--dust); margin: 0 0 14px; max-width: 36em; }
.contact { padding-bottom: clamp(80px, 12vw, 140px); }
.mail { display: inline-block; font-weight: 300; font-size: clamp(30px, 5.4vw, 68px); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--signal); line-height: 1.15; margin-top: 8px; }
.mail:hover { color: var(--glow); }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--dust); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--star); }

@media (max-width: 820px) {
  .project, .founder { grid-template-columns: 1fr; }
  .project:nth-of-type(even) .media { order: 0; }
  .nav .hide-m { display: none; }
  .hero .hint { display: none; }
}

/* v1.1: daha büyük projeler, sade kuruluş satırı */
.wrap.wide { max-width: 1400px; }
.project { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 80px); margin-top: clamp(80px, 10vw, 140px); }
.media { border-radius: 18px; }
.project h3 { font-size: clamp(34px, 4.2vw, 58px); margin-bottom: 16px; }
.project p { font-size: clamp(17px, 1.35vw, 19px); }
.project ul { font-size: 16px; }
.body-mark { font-size: 15px; }
.founded { margin: 40px 0 0; color: var(--dust); font-size: 15px; }
@media (max-width: 820px) { .project { grid-template-columns: 1fr; } }
.project:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
@media (max-width: 820px) { .project:nth-of-type(even) { grid-template-columns: 1fr; } }

.brand img { height: 40px; width: auto; }
@media (max-width: 820px) { .brand img { height: 32px; } }

.media img.top { object-position: left top; }

/* alt sayfalar (Ar-Ge vb.) */
.page-head { padding-top: clamp(130px, 18vh, 180px); }
.page-head h1 { font-weight: 300; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.035em; margin: 0 0 22px; }
.back { display: table; color: var(--dust); text-decoration: none; font-size: 15px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.back:hover { color: var(--star); }
.study h2 { margin-bottom: 24px; }
.study-text p { color: var(--dust); max-width: 40em; margin: 0 0 16px; }
.study-text p.lead { color: var(--star); }
.figures { display: flex; flex-wrap: wrap; gap: 16px 56px; margin: 28px 0 0; }
.figures dt { color: var(--dust); font-size: 15px; }
.figures dd { margin: 4px 0 0; font-weight: 300; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figures dd sub { font-size: .45em; }
.fig { margin: 44px 0 0; }
.plate { border-radius: 18px; overflow: hidden; background: #F4F6F9; border: 1px solid var(--line); }
.plate { aspect-ratio: 16 / 9; }
.plate.free { aspect-ratio: auto; }
.plate video { width: 100%; height: 100%; object-fit: contain; }
.plate img { width: 100%; height: auto; }
.fig figcaption { color: var(--dust); font-size: 14px; margin-top: 12px; max-width: 60em; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.pair .fig { margin-top: 0; }
.method-grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.note { color: var(--dust); font-size: 14px; margin: 28px 0 0; max-width: 60em; }
.flow { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 0 28px; }
.flow li { counter-increment: s; border-top: 1px solid var(--line); padding: 18px 0; font-size: 17px; }
.flow li::before { content: counter(s); display: block; font-weight: 300; font-size: 34px; color: var(--c, var(--signal)); line-height: 1; margin-bottom: 10px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 28px; }
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 700px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin: 32px 0 0; }
.areas div { border-top: 1px solid var(--line); padding: 14px 0; }
.areas dt { font-weight: 600; margin-bottom: 2px; }
.areas dd { margin: 0; color: var(--dust); font-size: 15px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 8px 0 8px; }
.legal p { color: var(--dust); font-size: 15px; margin: 0 0 14px; }
.legal .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal .links a { color: var(--star); text-decoration: none; border-bottom: 1px solid var(--line); }
.legal .links a:hover { border-color: var(--star); }
/* sonuç çubukları (Şahmat) */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 36px; }
.res h3 { font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.bar { position: relative; display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 12px; margin-bottom: 8px; border-radius: 8px; font-size: 15px; font-variant-numeric: tabular-nums; background: rgba(147,166,188,.08); overflow: hidden; }
.bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc((100% - 72px) * var(--v) / 60); background: rgba(147,166,188,.22); }
.bar.us::before { background: var(--c, var(--signal)); opacity: .85; }
.bar span, .bar b { position: relative; }
.bar.us span { color: var(--space); font-weight: 600; }
.bar.us b { color: var(--star); font-weight: 600; }
.bar b { font-weight: 500; }
