/* Crea Brand Works — temel katman: font, token, reset, header, footer.
   Ölçü sistemi: masaüstünde (>=1280px) tüm ölçüler XD artboard'undan (1920 / konteyner 1410)
   gelir ve --u ile çarpılır. --u = konteyner / 1410 → 1920'de 1px; daha dar masaüstünde
   kompozisyon orantılı küçülür (satır kırılımları korunur). Altında tablet/mobil düzen. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-italic-600-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;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-italic-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Renkler — XD'den birebir */
  --c-bg: #171717;
  --c-surface: #232323;
  --c-text: #ffffff;
  --c-muted: #a8a8a8;
  --c-subtle: #919191;
  --c-accent: #e6332a;
  --c-border: #707070;
  --c-rule: #202020;
  --c-rule-strong: #333333;
  --c-rule-stats: #444444;
  --c-connector: #5d5d5d;
  --c-error: #ff6b61; /* form hatası: #171717 üstünde 6,4:1 (marka kırmızısı 4,2:1 — küçük metne yetmez) */
  --c-highlight: #ffd84d; /* yasal metinde doldurulacak yer tutucu */

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Grid: XD 12 kolon, 90px kolon + 30px oluk = 1410 (XD'nin 1920 çizimi). Konteyner üst sınırı
     basamaklı (--cw-max: 1170 → 1260 → 1320, aşağıda); masaüstünde ayrıca ekran yüksekliğine sığar.
     --u tüm masaüstü ölçülerini XD'ye göre o orana ölçekler. */
  --gutter: 20px;
  --cw-max: 1170px;
  --cw: min(var(--cw-max), 100vw - 2 * var(--gutter));
  --u: calc(var(--cw) / 1410);
  --header-h: 64px; /* header üst boşluğu + bar; masaüstünde 85 × --u */
  --tap-min: 44px; /* dokunma hedefi alt sınırı (WCAG 2.5.8 asgari 24, öneri 44) */

  /* Hareket dili (vault: frontend/hareket-efekt-dili) */
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --ease-enter: cubic-bezier(.05, .7, .1, 1);
  --ease-exit: cubic-bezier(.3, 0, .8, .15);
  --ease-move: cubic-bezier(.2, 0, 0, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1280px) {
  :root {
    --gutter: 40px;
    --header-h: calc(85 * var(--u));
  }
}

/* Konteyner basamakları — Emre (ekip), Osman 2026-10-04 "onun dediğine bağlı kalalım":
   "1200 px altında 1170, 1200-1300 arası 1260, 1300 ve üstünde 1320". Eşik ve değerler birebir (üst sınır). */
@media (min-width: 1200px) {
  :root { --cw-max: 1260px; }
}

@media (min-width: 1300px) {
  :root { --cw-max: 1320px; }
}

/* Masaüstü: ilk ekran (header + hero) her ekranda tam otursun, sitenin geri kalanı AYNI oranda —
   Emre 2026-10-04 (ekran görüntüsüyle): "hero-sec tüm ekranlarda tam oturuyor, sitenin geri kalanı da bu
   oranda düzeltilmeli". Header + hero XD'de 900.89 birim (85 + 175.42 + 2×82 + 176.47 + 300) → hero'yu
   32px nefes payıyla sığdıran konteyner = (100svh − 32px) × 1410 / 900.89. Konteyner = basamak, ekran
   genişliği ve bu değerin en küçüğü; 846px (= 0.6 × 1410) alt sınır: çok kısa pencerede yazılar okunmaz olmasın.
   Ölçüldü: 1440×780 → 1171 (Emre'nin DevTools'ta denediği 1170), yüksek ekranda basamak (1320) geçerli. */
@media (min-width: 1280px) {
  :root {
    --cw: max(846px, min(var(--cw-max), 100vw - 2 * var(--gutter), (100svh - 32px) * 1410 / 900.89));
  }
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure, address {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

strong {
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-text);
  color: var(--c-bg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: var(--cw);
  margin-inline: auto;
}

/* Tasarımcının elle kırdığı satırlar yalnız masaüstünde (orantılı ölçek) geçerli */
.br-d {
  display: none;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

/* ---------- Butonlar ---------- */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  border: 1px solid var(--c-text);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-move), color var(--duration-fast) var(--ease-move);
}

.btn-pill:hover {
  background: var(--c-text);
  color: var(--c-bg);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 50px;
  padding: 0 4px 0 20px;
  border: 1px solid var(--c-border);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
  transition: border-color var(--duration-fast) var(--ease-move);
}

.btn-explore__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-surface);
  transition: background-color var(--duration-fast) var(--ease-move);
}

.btn-explore__icon svg {
  width: 10px;
  height: 16px;
}

.btn-explore:hover {
  border-color: var(--c-text);
}

.btn-explore:hover .btn-explore__icon {
  background: var(--c-accent);
}

@media (min-width: 1280px) {
  .br-d {
    display: inline;
  }

  .btn-pill {
    height: calc(50 * var(--u));
    padding: 0 calc(32 * var(--u));
    border-radius: calc(25 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: calc(22 * var(--u));
  }

  .btn-explore {
    gap: calc(20 * var(--u));
    height: calc(50 * var(--u));
    padding: 0 calc(4 * var(--u)) 0 calc(20 * var(--u));
    border-radius: calc(25 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: calc(22 * var(--u));
  }

  .btn-explore__icon {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }

  .btn-explore__icon svg {
    width: calc(10 * var(--u));
    height: calc(16 * var(--u));
  }
}

/* ---------- Header ---------- */

/* Header yerleşimde yer kaplamaz (absolute/fixed); boşluğunu .top tutar → yapışınca sayfa zıplamaz */
.top {
  position: relative;
  overflow-x: clip;
  padding-top: var(--header-h);
}

.top__deco {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1020px;
  max-width: none;
  transform: translateX(-31%);
  pointer-events: none;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding-top: 20px;
}

/* Sıra: logo · (menü) · PROJE BAŞLAT · hamburger. PROJE BAŞLAT menünün dışında (Emre 2026-10-05) —
   mobil/tablette hamburgerin solunda, masaüstünde en sağda; menü açıkken örtünün altında kalır */
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
}

.site-header__logo {
  position: relative;
  z-index: 30;
  margin-right: auto;
}

.site-header__logo img {
  width: 110px;
}

.menu-toggle {
  position: relative;
  z-index: 30;
  order: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-move), background-color var(--duration-fast) var(--ease-move);
}

.menu-toggle__bar {
  position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  padding: 96px var(--gutter) 48px;
  overflow-y: auto;
  background: var(--c-bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-exit), visibility 0s linear var(--duration-fast);
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--duration-base) var(--ease-enter);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-rule-strong);
}

.site-nav__list li {
  border-bottom: 1px solid var(--c-rule-strong);
}

.site-nav__link {
  display: flex;
  align-items: center;
  padding-block: 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 22px;
  transition: color var(--duration-fast) var(--ease-move);
}

.site-nav__link:hover {
  color: var(--c-accent);
}


.site-header__cta {
  order: 1;
}

@media (width < 768px) {
  .site-header__cta {
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 13px;
    line-height: 18px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Tablet menü örtüsü: ekran 768-1279 genişliğinde 15px'lik mobil satırlar kaybolur; dokunma için büyütülür */
@media (min-width: 768px) and (width < 1280px) {
  .site-nav {
    gap: 40px;
  }

  .site-nav__link {
    padding-block: 22px;
    font-size: 22px;
    line-height: 28px;
  }
}

@media (min-width: 1280px) {
  .top__deco {
    left: calc(50% - 315 * var(--u));
    width: calc(1020 * var(--u));
    transform: none;
  }

  .site-header {
    padding-top: calc(30 * var(--u));
  }

  .site-header__inner {
    height: calc(55 * var(--u));
  }

  .site-header__logo img {
    width: calc(137.185 * var(--u));
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  /* Menü sayfa merkezinde (XD: 659–1260, orta 960) */
  .site-nav__list {
    position: absolute;
    top: 50%;
    left: 50%;
    flex-direction: row;
    gap: calc(50 * var(--u));
    border-top: 0;
    transform: translate(-50%, -50%);
  }

  .site-nav__list li {
    border-bottom: 0;
  }

  .site-nav__link {
    display: inline-flex;
    padding-block: 0;
    font-weight: 800;
    letter-spacing: 0;
    font-size: calc(16 * var(--u));
    line-height: calc(22 * var(--u));
  }

  .site-header__cta {
    align-self: center;
    width: calc(180 * var(--u));
    padding: 0;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 48px;
}

.site-footer__track {
  margin-left: -6vw;
}

.site-footer__wordmark {
  font-size: 23vw;
  font-weight: 800;
  line-height: .53;
  white-space: nowrap;
}

/* XD'nin birleştirilmiş konturu (Union 10): değişken fontun iç kesişimleri text-stroke'ta
   görünüyordu. 7,332em = "BRAND WORKS" ilerlemesi, 1,366em = satır içeriği, -0,3em = iniş payı */
.site-footer__outline {
  display: inline-block;
  width: 7.332em;
  height: 1.366em;
  max-width: none;
  overflow: visible;
  /* Kutu 1,366em; satır kutusunu büyütmesin diye margin kutusu satırın içine çekilir (-104,75/250).
     Replaced öğenin baseline'ı margin alt kenarıdır: kutu altı = baseline + .3em → kenar +.119em */
  margin-block: -.419em;
  vertical-align: .119em;
  color: var(--c-text);
}

.site-footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 64px;
}

.site-footer__logo {
  order: -1;
}

.site-footer__logo img {
  width: 160px;
}

.social {
  display: flex;
  gap: 20px;
}

.social__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-rule-strong);
  border-radius: 50%;
  transition: border-color var(--duration-fast) var(--ease-move);
}

.social__link img {
  width: 18px;
}

.social__link:hover {
  border-color: var(--c-text);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.site-footer__contact a:hover,
.site-footer__legal a:hover,
.site-footer__nav a:hover {
  color: var(--c-text);
}

.site-footer__bottom {
  display: grid;
  gap: 20px;
  justify-items: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-rule-strong);
  color: var(--c-subtle);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}

.site-footer__legal ul,
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.site-footer__contact a,
.site-footer__legal a,
.site-footer__nav a {
  transition: color var(--duration-fast) var(--ease-move);
}

/* Mobil: altbilgi bağlantıları satır içi 19-32px, simgeler 40px'ti → 44px dokunma hedefi.
   Nav 5 öğe: 3+2 dizilir (4+1'de "İLETİŞİM" tek başına kalıyordu; 21rem = 3 öğenin sığıp 4.sünün sığmadığı genişlik) */
@media (width < 768px) {
  .social__link {
    width: var(--tap-min);
    height: var(--tap-min);
  }

  .site-footer__contact a,
  .site-footer__legal a,
  .site-footer__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--tap-min);
    min-height: var(--tap-min);
  }

  .site-footer__bottom {
    gap: 0;
    padding-top: 24px;
  }

  .site-footer__legal ul,
  .site-footer__nav ul {
    gap: 0 24px;
  }

  .site-footer__nav ul {
    max-width: 21rem;
    margin-inline: auto;
  }

  .site-footer__copy {
    margin-top: 12px;
  }
}

@media (min-width: 768px) {
  .site-footer__main {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer__logo {
    order: 0;
  }

  .site-footer__contact {
    align-items: flex-start;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    justify-items: start;
    text-align: left;
  }

  .site-footer__nav {
    justify-self: end;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

/* Tablet footer: logo gerçekten ortada (space-between, yan öğelerin genişliği farklı olunca kayıyordu),
   bağlantılar dokunma için >=44px, alt satır sola hizalı */
@media (min-width: 768px) and (width < 1280px) {
  .site-footer__main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .site-footer__contact {
    justify-self: end;
  }

  .social__link {
    width: 44px;
    height: 44px;
  }

  .site-footer__contact a,
  .site-footer__legal a,
  .site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* "KVKK" / "CREA" gibi kısa sözcükler 44px genişliğe 5px yan dolguyla çıkar; liste aynı kadar
     dışarı çekilir, metin kenarları ve aralıklar görünürde değişmez */
  .site-footer__legal a,
  .site-footer__nav a {
    padding-inline: 5px;
  }

  .site-footer__legal ul,
  .site-footer__nav ul {
    justify-content: flex-start;
    gap: 0 14px;
    margin-inline: -5px;
  }
}

/* Dikey tablette yasal + alt menü yan yana sığmaz (704px): alt alta */
@media (min-width: 768px) and (width < 960px) {
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    justify-self: start;
  }
}

@media (min-width: 1280px) {
  /* XD: kelime işareti sol kenarı konteyner solunun 572px dışında (x = -317) */
  .site-footer {
    padding-top: calc(216.18 * var(--u));
    padding-bottom: calc(85.63 * var(--u));
  }

  .site-footer__track {
    margin-left: calc((100% - var(--cw)) / 2 - 572 * var(--u));
  }

  .site-footer__wordmark {
    font-size: calc(250 * var(--u));
    line-height: calc(132 * var(--u));
  }

  .site-footer__main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: calc(184.75 * var(--u));
  }

  .site-footer__logo img {
    width: calc(210 * var(--u));
  }

  .social {
    gap: calc(20 * var(--u));
  }

  .social__link {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }

  .social__link img {
    width: calc(18 * var(--u));
  }

  .site-footer__contact {
    justify-self: end;
    font-size: calc(20 * var(--u));
    line-height: calc(37 * var(--u));
  }

  .site-footer__bottom {
    gap: 0;
    margin-top: calc(100.3 * var(--u));
    padding-top: calc(99.37 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: calc(22 * var(--u));
  }

  .site-footer__legal ul,
  .site-footer__nav ul {
    gap: 0 calc(30 * var(--u));
  }

  .site-footer__copy {
    margin-top: calc(35 * var(--u));
  }
}
