/* Daphne Proje & Mühendislik — arayüz tasarımı */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f3f4ee;
  --white: #ffffff;
  --ink: #161b10;
  --ink-2: #4b5345;
  --ink-3: #7e8678;
  --green: #495b2a;
  --green-d: #3a4921;
  --sage: #67796d;
  --leaf: #c9e265;
  --night: #131a0c;
  --rule: rgba(22, 27, 16, 0.14);
  --gutter: clamp(20px, 5.2vw, 88px);
  --nav-h: 80px;
  --safe-b: calc(100lvh - 100svh);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ol, ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--acc, var(--green)); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf); color: var(--ink); }
.ico { width: 16px; height: 16px; flex: none; }

/* ── Tipografi ───────────────────────────────────────────────────────── */
.h1, .h2, .quote-xl {
  font-weight: 620;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.h1 { font-size: clamp(46px, 6.5vw, 112px); }
.h2 { font-size: clamp(32px, 3.9vw, 62px); line-height: 1.02; }
.h2--xl { font-size: clamp(32px, 4vw, 66px); }
.lead { font-size: clamp(16px, 1.22vw, 19px); line-height: 1.55; color: var(--fg-2, var(--ink-2)); max-width: 54ch; text-wrap: pretty; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2, var(--ink-2));
}
.eyebrow i { width: 8px; height: 8px; background: var(--acc, var(--green)); flex: none; }
.eyebrow b {
  font-weight: 600;
  color: var(--acc, var(--green));
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.eyebrow--c { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--acc, var(--green));
  color: var(--on-acc, #fff);
  font-weight: 560;
  font-size: 16px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(22, 27, 16, 0.55); }
.btn:hover .ico { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg, var(--ink)); box-shadow: inset 0 0 0 1px var(--rule-s, rgba(22, 27, 16, 0.28)); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px currentColor; }
.btn--leaf { background: var(--leaf); color: var(--ink); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  color: var(--acc, var(--green));
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}
.link .ico { transition: transform 0.3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ── Açılış ──────────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--paper);
  transition: opacity 0.7s 0.15s, visibility 0s 0.85s;
}
.loader img { width: 170px; }
.loader i { width: 120px; height: 2px; background: var(--rule); overflow: hidden; position: relative; }
.loader i::after { content: ""; position: absolute; inset: 0; background: var(--green); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.is-ready .loader { opacity: 0; visibility: hidden; }
.is-ready .loader i::after { animation: none; }

/* ── Menü ────────────────────────────────────────────────────────────── */
.nav {
  --fg: var(--ink);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--fg);
  transition: color 0.45s, background 0.45s, box-shadow 0.45s;
}
[data-theme="dark"] .nav { --fg: #eef2e3; --acc: var(--leaf); --on-acc: var(--ink); }
.nav.is-solid { background: rgba(243, 244, 238, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--rule); }
[data-theme="dark"] .nav.is-solid { background: rgba(19, 26, 12, 0.8); box-shadow: 0 1px 0 rgba(238, 242, 227, 0.12); }
.nav__logo img { width: 120px; transition: filter 0.45s; }
[data-theme="dark"] .nav__logo img, .footer__logo { filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links-cta { display: none; }
.nav__side { display: flex; align-items: center; gap: 22px; }
.nav__tel { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; opacity: 0.8; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; top: 50%; transition: transform 0.35s var(--ease); }
.nav__burger i:first-child { transform: translateY(-4px); }
.nav__burger i:last-child { transform: translateY(3px); }
.menu-open .nav__burger i:first-child { transform: rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: rotate(-45deg); }

/* ── Hikâye sahnesi ──────────────────────────────────────────────────── */
.story { position: relative; height: 860vh; background: var(--paper); }
.stage {
  --fg: var(--ink);
  --fg-2: #454d3f;
  --fg-3: #7b8375;
  --acc: var(--green);
  --on-acc: #fff;
  --rule-s: rgba(22, 27, 16, 0.3);
  --veil: 243, 244, 238;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  color: var(--fg);
  background: linear-gradient(#c9dde3, #f3f4ee 58%);
  transition: color 0.5s;
}
[data-theme="dark"] .stage {
  --fg: #eef2e3;
  --fg-2: rgba(238, 242, 227, 0.74);
  --fg-3: rgba(238, 242, 227, 0.5);
  --acc: var(--leaf);
  --on-acc: var(--ink);
  --rule-s: rgba(238, 242, 227, 0.3);
  --veil: 19, 26, 12;
}
.no-webgl[data-theme="dark"] .stage { background: var(--night); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.no-webgl #scene { display: none; }
.stage__veil { position: absolute; inset: auto 0 0 0; height: 17%; background: linear-gradient(to top, rgba(var(--veil), 0.85), rgba(var(--veil), 0)); pointer-events: none; opacity: 0.6; }

.panel {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: min(540px, calc(100% - 2 * var(--gutter)));
  display: grid;
  gap: 22px;
  justify-items: start;
  opacity: var(--o, 0);
  transform: translate3d(0, calc(-50% + var(--shift, 0px)), 0);
  will-change: opacity, transform;
}
.panel[inert] { pointer-events: none; }
.panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70px -110px;
  background: radial-gradient(closest-side, rgba(var(--veil), 0.86), rgba(var(--veil), 0.55) 55%, rgba(var(--veil), 0));
  pointer-events: none;
}
.panel--l { left: var(--gutter); }
.panel--r { right: var(--gutter); }
.panel--hero { width: min(660px, calc(100% - 2 * var(--gutter))); top: 52%; gap: 26px; }
.panel--hero::before { display: none; }
.panel--end { left: 50%; top: calc(var(--nav-h) + 2vh); width: min(980px, calc(100% - 2 * var(--gutter))); justify-items: center; text-align: center; transform: translate3d(-50%, var(--shift, 0px), 0); }
.panel--end::before { inset: -40px -60px; }
.panel .h2 { transition: color 0.5s; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.is-ready .panel--hero > * { animation: rise 1s var(--ease) both; }
.is-ready .panel--hero > :nth-child(2) { animation-delay: 0.08s; }
.is-ready .panel--hero > :nth-child(3) { animation-delay: 0.16s; }
.is-ready .panel--hero > :nth-child(4) { animation-delay: 0.24s; }
.is-ready .panel--hero > :nth-child(5) { animation-delay: 0.5s; }
html:not(.is-ready) .panel--hero > * { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.cue { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.cue__line { width: 1px; height: 38px; background: var(--rule-s); position: relative; overflow: hidden; }
.cue__line i { position: absolute; inset: 0; background: var(--acc); animation: drip 1.9s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-s); background: rgba(var(--veil), 0.6); }

.mini { display: flex; gap: 40px; }
.mini dt { font-size: clamp(36px, 3.4vw, 54px); font-weight: 600; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1; color: var(--acc); }
.mini dd { margin-top: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }

.steps { width: 100%; max-width: 420px; }
.steps li { display: flex; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule-s); font-weight: 520; color: var(--fg-3); transition: color 0.4s, padding 0.4s var(--ease); }
.steps li:last-child { border-bottom: 1px solid var(--rule-s); }
.steps b { font-family: var(--mono); font-size: 12px; font-weight: 500; width: 22px; }
.steps li::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background 0.4s, box-shadow 0.4s; }
.steps .is-now { color: var(--fg); padding-left: 10px; }
.steps .is-now::after { background: var(--acc); box-shadow: 0 0 0 5px rgba(73, 91, 42, 0.18); }
.steps .is-done { color: var(--fg-2); }
.steps .is-done::after { background: var(--acc); box-shadow: none; }

/* 3B etiketler */
.tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; opacity: 0; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); white-space: nowrap; will-change: transform, opacity; }
.tag i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(var(--veil), 0.75); }
.tag span { position: absolute; top: -13px; left: 52px; padding: 5px 10px; border-radius: 4px; background: rgba(var(--veil), 0.92); box-shadow: 0 0 0 1px var(--rule-s); }
.tag span::before { content: ""; position: absolute; top: 50%; right: 100%; width: 44px; height: 1px; background: var(--fg); opacity: 0.55; }
.tag--l span { left: auto; right: 52px; }
.tag--l span::before { right: auto; left: 100%; }

/* Zaman çizelgesi + HUD */
.stage__foot { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: calc(var(--safe-b) + 30px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.timeline { flex: 0 1 620px; }
.timeline ol { display: flex; gap: 6px; }
.timeline li { flex: var(--g) 1 0; min-width: 0; }
.timeline button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 14px 0 4px; position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); transition: color 0.4s; }
.timeline button:hover, .timeline .is-on button { color: var(--fg); }
.timeline b { font-weight: 500; }
.timeline i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule-s); overflow: hidden; }
.timeline i::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform: scaleX(var(--f, 0)); transform-origin: left; }
.timeline span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); text-align: right; padding-bottom: 4px; font-variant-numeric: tabular-nums; }

/* ── Ortak bölüm düzeni ──────────────────────────────────────────────── */
.sec { position: relative; z-index: 2; padding: clamp(84px, 11vw, 168px) var(--gutter); background: var(--paper); }
.sec__head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(44px, 6vw, 88px); }
.sec__head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.sec__head--row > div:first-child { display: grid; gap: 22px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Sayılar */
.stats { border-top: 1px solid var(--rule); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: clamp(22px, 2.6vw, 40px) clamp(14px, 2vw, 32px) clamp(26px, 3vw, 48px) 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: space-between; min-height: clamp(150px, 15vw, 232px); }
.stat + .stat { padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid var(--rule); }
.stat:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.stat dt { font-size: clamp(54px, 7.4vw, 124px); font-weight: 560; font-stretch: 112%; letter-spacing: -0.055em; line-height: 0.9; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.stat sup { font-size: 0.42em; font-weight: 500; color: var(--green); margin: 0.1em 0 0 0.08em; letter-spacing: 0; line-height: 1; }
.stat sup.pre { margin: 0.1em 0.08em 0 0; }
.stat dd { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* Projeler */
.projects { background: var(--white); }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.tabs button { height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; font-weight: 540; color: var(--ink-2); transition: background 0.3s, color 0.3s; white-space: nowrap; }
.tabs sup { font-family: var(--mono); font-size: 10.5px; margin-left: 3px; opacity: 0.7; }
.tabs [aria-selected="true"] { background: var(--green); color: #fff; }
.projects__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.projects__list { border-top: 1px solid var(--ink); }
.proj { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 18px; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); position: relative; transition: padding 0.45s var(--ease), color 0.3s; animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.proj__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.proj__thumb { display: none; }
.proj__name { font-size: clamp(22px, 2.3vw, 36px); font-weight: 560; font-stretch: 106%; letter-spacing: -0.03em; line-height: 1.08; }
.proj__client { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-align: right; }
.proj .ico { align-self: center; opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.3s, transform 0.4s var(--ease); color: var(--green); }
.proj.is-current { padding-left: 14px; color: var(--green); }
.proj.is-current .ico { opacity: 1; transform: none; }
.preview { position: sticky; top: calc(var(--nav-h) + 24px); }
.preview__frame { position: relative; aspect-ratio: 2 / 1.25; border-radius: 6px; overflow: hidden; background: var(--paper); }
.preview__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.55s, transform 1.2s var(--ease); }
.preview__frame img.is-top { opacity: 1; transform: none; z-index: 1; }
.preview__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* Kurumsal */
.founders { background: var(--paper); }
.founders__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.founders__top > div { display: grid; gap: 28px; }
.quote-xl { font-size: clamp(28px, 3.3vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 560; }
.quote-xl::before { content: "“"; display: block; font-size: 1.6em; line-height: 0.6; color: var(--green); margin-bottom: 0.1em; }
.sign { font-weight: 600; display: grid; gap: 2px; }
.sign span { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.founders__photo { background: var(--white); border-radius: 6px; padding: clamp(10px, 1.4vw, 22px); box-shadow: 0 30px 60px -40px rgba(22, 27, 16, 0.35); }
.founders__quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 88px); margin-top: clamp(48px, 7vw, 104px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--ink); }
.founders__quotes blockquote { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.founders__quotes figcaption { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); display: grid; gap: 4px; }
.founders__quotes figcaption b { font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 620; }

/* Partnerler */
.partners { background: var(--white); padding-left: 0; padding-right: 0; overflow: hidden; }
.partners .sec__head { padding: 0 var(--gutter); max-width: calc(900px + 2 * var(--gutter)); }
.marquee { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 14px; width: max-content; animation: slide 80s linear infinite; }
.marquee__row--rev ul { animation-direction: reverse; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { flex: none; width: 190px; height: 104px; display: grid; place-items: center; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); }
.marquee img { width: 132px; height: 60px; object-fit: contain; filter: grayscale(1); opacity: 0.72; mix-blend-mode: multiply; transition: filter 0.4s, opacity 0.4s; }
.marquee li:hover img { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* İletişim */
.cta {
  --fg: #eef2e3;
  --fg-2: rgba(238, 242, 227, 0.72);
  --acc: var(--leaf);
  --rule-s: rgba(238, 242, 227, 0.3);
  position: relative;
  z-index: 2;
  color: var(--fg);
  background-color: var(--night);
  background-image: linear-gradient(rgba(201, 226, 101, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 226, 101, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  padding: clamp(96px, 13vw, 200px) var(--gutter) clamp(64px, 8vw, 120px);
}
.cta__inner { display: grid; gap: 28px; justify-items: start; }
.cta .h1 { max-width: 13ch; }
.contact { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; width: 100%; margin-top: clamp(40px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule-s); }
.contact dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); margin-bottom: 10px; }
.contact dd { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.contact a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact a:hover { border-color: currentColor; }

.footer { position: relative; z-index: 2; background: #0e1309; color: rgba(238, 242, 227, 0.72); padding: clamp(48px, 6vw, 80px) var(--gutter) 28px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.footer__logo { width: 150px; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); margin-bottom: 6px; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(238, 242, 227, 0.14); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.footer__legal a + a { margin-left: 22px; }

/* ── Duyarlı düzen ───────────────────────────────────────────────────── */
@media (max-height: 780px) and (min-width: 821px) {
  .panel--hero .h1 { font-size: clamp(44px, 11.5vh, 100px); }
  .panel--hero { gap: 20px; }
  .cue { display: none; }
}

@media (max-width: 1080px) {
  .nav__tel { display: none; }
  .hud { display: none; }
  .timeline { flex-basis: 100%; }
}

@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .nav__logo img { width: 104px; }
  .nav__side .btn { display: none; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: var(--nav-h) var(--gutter) 40px;
    background: var(--paper);
    color: var(--ink);
    font-size: 34px;
    font-weight: 600;
    font-stretch: 108%;
    letter-spacing: -0.03em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
  }
  .nav__links-cta { display: block; color: var(--green); }
  .menu-open .nav__links { opacity: 1; visibility: visible; transition-delay: 0s; }
  .menu-open .nav { --fg: var(--ink); }
  .menu-open .nav__logo img { filter: none; }
  .menu-open body { overflow: hidden; }

  .story { height: 780vh; }
  .stage__veil { height: 62%; opacity: 1; background: linear-gradient(to top, rgba(var(--veil), 0.97) 38%, rgba(var(--veil), 0.8) 62%, rgba(var(--veil), 0)); }
  .panel, .panel--hero, .panel--end {
    top: auto;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--safe-b) + 78px);
    width: auto;
    gap: 14px;
    justify-items: start;
    text-align: left;
    transform: translate3d(0, var(--shift, 0px), 0);
  }
  .panel::before { display: none; }
  .panel--hero .h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .eyebrow--c { justify-content: flex-start; }
  .cue, .hide-s, .panel .chips { display: none; }
  .panel .lead { font-size: 15.5px; line-height: 1.5; }
  .btn { height: 50px; padding: 0 22px; font-size: 15px; }
  .mini { gap: 28px; }
  .steps li { padding: 7px 0; font-size: 15px; }
  .tag { font-size: 10px; }
  .tag span { left: 26px; padding: 4px 7px; }
  .tag span::before { width: 20px; }
  .tag--l span { left: auto; right: 26px; }
  .stage__foot { bottom: calc(var(--safe-b) + 18px); }
  .timeline button { padding-top: 10px; font-size: 10.5px; }
  .timeline span { display: none; }

  .sec__head--row { grid-template-columns: 1fr; }
  .tabs { justify-self: start; max-width: 100%; overflow-x: auto; }
  .tabs button { height: 40px; padding: 0 15px; font-size: 13.5px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(4n + 1) { padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid var(--rule); }
  .stat:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .projects__body { grid-template-columns: 1fr; }
  .preview { display: none; }
  .proj { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "t n" "t c"; align-items: center; gap: 4px 16px; padding: 14px 0; }
  .proj__n, .proj .ico { display: none; }
  .proj__thumb { display: block; grid-area: t; width: 96px; height: 64px; object-fit: cover; border-radius: 4px; }
  .proj__name { grid-area: n; align-self: end; font-size: 20px; }
  .proj__client { grid-area: c; align-self: start; text-align: left; font-size: 11px; }
  .proj.is-current { padding-left: 0; color: inherit; }
  .founders__top, .founders__quotes, .contact { grid-template-columns: 1fr; }
  .founders__photo { order: -1; }
  .marquee li { width: 150px; height: 84px; }
  .marquee img { width: 104px; height: 48px; }
  .footer { grid-template-columns: 1fr; }
  .footer__cols { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee li[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
  .cue__line i, .loader i::after, .is-ready .panel--hero > *, .proj { animation: none; }
}
