/* orbit social media */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  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;
}

:root {
  --bg: #0A0A0C;
  --text: #EDEDED;
  --muted: #9E9EA8;
  --dim: #7C7C86;        /* küçük etiketler — #0A0A0C üstünde 4.6:1 */
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-text: #4F83F1;  /* küçük mavi yazılar için biraz açık ton */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.18);
  --stroke: rgba(255, 255, 255, 0.3);   /* süreç numaralarının kontur rengi */
  --glass: rgba(10, 10, 12, 0.92);      /* kaydırınca header zemini */

  --pad: clamp(20px, 4.5vw, 64px);
  --top-h: 76px;
}

/* açık tema: işletim sistemi aydınlık moddaysa krem zemin */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F3F0E8;
    --text: #16161A;
    --muted: #4A4A52;
    --dim: #66666E;        /* krem üstünde 5:1 */
    --blue: #1D4ED8;
    --blue-dark: #1E40AF;
    --blue-text: #1D4ED8;
    --line: rgba(0, 0, 0, 0.09);
    --line-2: rgba(0, 0, 0, 0.2);
    --stroke: rgba(0, 0, 0, 0.35);
    --glass: rgba(243, 240, 232, 0.92);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--muted);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--text); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--pad); top: 12px; z-index: 99; background: var(--blue); color: #fff; padding: 8px 14px; }

.blue { color: var(--blue); }


/* ---------- header ---------- */

.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--top-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.top.solid,
.menu-open .top {
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo img {
  height: 36px;
  width: auto;
  max-height: calc(var(--top-h) - 30px);
}
.logo b { font-weight: 500; color: var(--muted); }

.menu { display: flex; gap: 36px; font-size: 15px; }
.menu a {
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.menu a:hover,
.menu a.here { color: var(--text); border-bottom-color: var(--text); }
.menu .menu-mail { color: var(--text); border-bottom-color: var(--blue); }
.menu .menu-mail:hover,
.menu .menu-mail.here { color: var(--blue-text); border-bottom-color: var(--blue); }
.menu .lang-switch {
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  align-self: center;
}

.burger {
  display: none;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 0 6px;
  cursor: pointer;
}


/* ---------- intro ---------- */

.intro {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--top-h) + 10vh) var(--pad) 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.intro h1 {
  font-size: clamp(42px, 8.4vw, 132px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.intro-foot {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: 40px;
  align-items: end;
}

.tags {
  font-size: 13px;
  line-height: 1.9;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
}

.lead p { font-size: 19px; margin-bottom: 32px; }

.go {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 18px 26px;
  transition: background-color .2s;
}
.go span { display: inline-block; margin-left: 10px; transition: transform .25s; }
.go:hover { background: var(--blue-dark); }
.go:hover span { transform: translate(3px, 3px); }


/* ---------- içerik blokları ---------- */

.block,
.contact {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0 40px;
  padding: 120px var(--pad);
  border-bottom: 1px solid var(--line);
}

.side {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dim);
  align-self: start;
  position: sticky;
  top: calc(var(--top-h) + 24px);
}
.side::before { content: "— "; color: var(--blue-text); }

.big-text {
  color: var(--text);
  font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-bottom: 96px;
}

.num {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-text);
  font-variant-numeric: tabular-nums;
}


/* yaklaşım — satır satır, kart yok */
.principle {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.principle p { max-width: 56ch; }


/* hizmetler — büyük başlık, metin sağa kaçık */
.services li {
  padding: 44px 0;
  border-top: 1px solid var(--line-2);
}
.services li:last-child { border-bottom: 1px solid var(--line-2); }
.services li:nth-child(even) { padding-left: 12%; }

.services h3 {
  font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 20px;
  transition: color .25s;
}
.services .amp { font-weight: 400; color: var(--dim); }
.services p { max-width: 46ch; margin-left: auto; margin-right: 8%; }
.services strong { color: var(--text); font-weight: 500; }
.services li:hover h3 { color: var(--blue); }
.services li:hover .amp { color: inherit; }


/* süreç — merdiven gibi kayan satırlar */
.steps li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  max-width: 780px;
}
.steps li:nth-child(2) { margin-left: 6%; }
.steps li:nth-child(3) { margin-left: 12%; }
.steps li:nth-child(4) { margin-left: 18%; }

.steps .num {
  font-size: 64px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.steps li:hover .num { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.steps h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }


/* ---------- iletişim ---------- */

.contact { padding-top: 140px; padding-bottom: 140px; }
.contact-note {
  grid-column: 2;
  max-width: 44ch;
  font-size: 19px;
  margin-bottom: 56px;
}
.mail {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--text);
  font-size: clamp(28px, 7.4vw, 124px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 4px no-repeat;
  padding-bottom: 10px;
  transition: color .3s, background-size .45s;
}
.mail:hover { color: var(--blue); background-size: 100% 4px; }


/* ---------- footer ---------- */

.bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 32px var(--pad);
  font-size: 14px;
  color: var(--dim);
}
.bottom a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.bottom a:hover { color: var(--text); border-color: var(--text); }


/* ---------- 404 ---------- */

.lost main {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.lost .side { position: static; }
.lost h1 {
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.lost .go { margin-top: 16px; }


/* ---------- tablet / mobil ---------- */

@media (max-width: 1000px) {
  .block, .contact { grid-template-columns: minmax(0, 1fr); padding-top: 88px; padding-bottom: 88px; }
  .side { position: static; margin-bottom: 28px; }
  .contact-note { grid-column: 1; }
  .big-text { margin-bottom: 64px; }

  .principle { grid-template-columns: 48px minmax(0, 1fr); }
  .principle p { grid-column: 2; }

  .services li:nth-child(even) { padding-left: 0; }
  .services p { margin: 0; }

  .steps li:nth-child(n) { margin-left: 0; }
}

@media (max-width: 760px) {
  :root { --top-h: 64px; }
  body { font-size: 16px; }

  .logo img { height: 30px; }

  .burger { display: block; }

  .menu {
    position: fixed;
    top: var(--top-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    gap: 0;
    padding: 24px var(--pad);
    background: var(--bg);
    display: none;
  }
  .menu-open .menu { display: flex; }
  .menu a,
  .menu .menu-mail {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu .menu-mail { color: var(--blue-text); }
  .menu-open { overflow: hidden; }

  /* mobilde hero ekranı doldurmaya zorlanmaz; başlık ile metin arasında boşluk kalmaz */
  .intro { min-height: 0; padding-top: calc(var(--top-h) + 56px); gap: 48px; }
  .intro-foot { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tags { order: 2; }
  .lead p { font-size: 17px; }
  .go { display: block; text-align: center; }

  .steps li { grid-template-columns: 76px minmax(0, 1fr); }
  .steps .num { font-size: 40px; }

  .bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ---------- işler (vaka çalışmaları) ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "meta meta" "figure story";
  gap: 24px 56px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line-2);
}
.case:last-child { border-bottom: 1px solid var(--line-2); }
/* ikinci vakada rakam sağa geçer — iki vaka aynı kalıpta durmasın */
.case-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "meta meta" "story figure"; }

.case-meta {
  grid-area: meta;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
}
.case-meta span { margin: 0 6px; }

.case-figure { grid-area: figure; }
.case-figure strong {
  display: block;
  color: var(--text);
  font-size: clamp(64px, 10vw, 168px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.case-figure span { display: block; margin-top: 14px; max-width: 28ch; }

.case-story {
  grid-area: story;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px 20px;
  align-self: end;
}
.case-story dt { color: var(--text); font-weight: 600; font-size: 15px; }


/* ---------- yorumlar ---------- */

.quote { position: relative; padding: 56px 0 48px; border-top: 1px solid var(--line); max-width: 860px; }
.quote:nth-child(even) { margin-left: auto; }
.quote::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: -6px;
  color: var(--blue);
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  opacity: .9;
  pointer-events: none;
}
.quote blockquote p {
  position: relative;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  padding-top: 56px;
}
.quote figcaption { margin-top: 24px; font-size: 15px; }
.quote figcaption b { display: block; color: var(--text); font-weight: 600; }


/* ---------- yasal sayfalar ---------- */

.page .back { font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.page .back:hover { color: var(--text); border-color: var(--text); }

.doc {
  max-width: 760px;
  padding: calc(var(--top-h) + 80px) var(--pad) 120px;
  margin-left: calc(240px + var(--pad));
}
.doc .side { position: static; margin-bottom: 24px; }
.doc h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.doc-date { margin: 16px 0 56px; font-size: 14px; color: var(--dim); }
.doc-lead { color: var(--text); font-size: 21px; line-height: 1.4; margin-bottom: 32px; }
.doc h2 { font-size: 20px; letter-spacing: -0.015em; margin: 56px 0 14px; }
.doc p, .doc li { max-width: 68ch; }
.doc p + p { margin-top: 14px; }
.doc ul:not(.facts) { margin-top: 12px; }
.doc ul:not(.facts) li { padding-left: 20px; position: relative; margin-bottom: 10px; }
.doc ul:not(.facts) li::before { content: "—"; position: absolute; left: 0; color: var(--dim); }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.doc a:hover { color: var(--blue-text); border-color: var(--blue); }

.facts li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts span { color: var(--text); font-weight: 600; font-size: 15px; }

.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cookie-table th { color: var(--text); font-weight: 600; }
.cookie-table code { color: var(--text); font-size: 14px; }

.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.bottom .legal a { border-bottom-color: transparent; }
.bottom .legal a:hover,
.bottom .legal a[aria-current] { border-bottom-color: var(--line-2); color: var(--text); }


/* ---------- taslak önizlemesi ---------- */

mark.eksik { background: none; color: inherit; }
[data-taslak] mark.eksik {
  color: #b45309;
  background: rgba(250, 204, 21, .12);
  outline: 1px dashed #ca8a04;
  outline-offset: 2px;
}
[data-taslak]::before {
  content: "TASLAK ÖNİZLEME — bu sayfa yayında değil";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 8px var(--pad);
  background: #ca8a04;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}


/* ---------- kaydırınca beliren içerik ---------- */
/* main.js yalnızca ekranın altında kalan öğelere .reveal ekler;
   JS çalışmazsa ya da ilk ekrandaysa hiçbir şey gizlenmez. */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in { opacity: 1; transform: none; }


/* ---------- özel imleç (yalnızca .mail ve .go üzerinde, fareli cihazlarda) ---------- */

.cursor-dot { display: none; }

@media (hover: hover) and (pointer: fine) {
  .mail, .go { cursor: none; }
  .cursor-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left: 0;
    width: 68px; height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 90;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(.4);
    transition: opacity .22s ease, transform .22s cubic-bezier(.2, .7, .2, 1);
  }
  .cursor-dot.on {
    opacity: 1;
  }
}


@media (max-width: 1000px) {
  .case, .case-flip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "meta" "figure" "story"; }
  .quote:nth-child(even) { margin-left: 0; }
  .doc { margin-left: 0; }
}

@media (max-width: 760px) {
  .case-story { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .case-story dd { margin-bottom: 14px; }
  .quote::before { font-size: 120px; }
  .quote blockquote p { padding-top: 40px; }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .page .top .back { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .cursor-dot { display: none !important; }
  .mail, .go { cursor: pointer; }
}
