/* =========================================================
   Açık Creative — Dark Creative tema
   ========================================================= */

:root {
  --bg: #0F0F0D;
  --surface: #171714;
  --surface-2: #1F1F1B;
  --line: #2E2E2A;
  --line-strong: #45443F;
  --text: #F2F0EA;
  --text-soft: #C9C6BD;
  --muted: #A8A59C;
  --accent: #D4F521;
  --accent-text: #D4F521;
  --accent-surface: #C3E312; /* geniş lime alanlar: göze butonlarla aynı tonda görünsün */
  --accent-ink: #0F0F0D;
  --header-bg: rgba(15, 15, 13, .78);
  --error: #FF9C9C;
  --error-line: #FF8A8A;
  --art-1: #1B1A17; --art-2: #22201C; --art-3: #191A1C; --art-4: #1E1C18; --art-5: #1A1917;
  color-scheme: dark;

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(80px, 11vw, 136px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Gündüz teması */
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F6F5F1;
  --surface-2: #F0EEE8;
  --line: #E6E3DC;
  --line-strong: #CFCBC1;
  --text: #141412;
  --text-soft: #45433D;
  --muted: #6B685F;
  --accent-text: var(--text); /* lime is unreadable as text on white; see the highlighter below */
  --header-bg: rgba(255, 255, 255, .82);
  --error: #B42318;
  --error-line: #D92D20;
  --art-1: #F3F1EC; --art-2: #ECE9E2; --art-3: #EEF0F2; --art-4: #F1EDE6; --art-5: #EFEEEA;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body, .site-header, .service, .form, .field input, .field textarea {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.h-display {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  letter-spacing: -.04em; line-height: .95;
}
.h-section {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.5vw, 72px); line-height: 1; letter-spacing: -.035em;
}
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-soft); max-width: 540px; }
.accent { color: var(--accent-text); }

/* Gündüz teması: lime beyaz üzerinde yazı rengi olarak okunmuyor (1.2:1).
   Yazı koyu kalır, lime fosforlu kalem gibi arkasına geçer. */
:root[data-theme="light"] .accent {
  background: linear-gradient(transparent 52%, var(--accent) 52%, var(--accent) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .08em;
}
:root[data-theme="light"] .brand__cat,
:root[data-theme="light"] .case__cat,
:root[data-theme="light"] .post-card__cat {
  display: inline-block;
  width: fit-content;
  padding: .2em .55em;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--diag:hover svg { transform: translate(3px, -3px); }
.btn--down:hover svg { transform: translateY(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* Bulanık zemin ayrı katmanda: header üzerinde backdrop-filter, sabit konumlu mobil menüyü bozar */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 32px; height: 32px; color: var(--accent); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.logo__sub { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; text-decoration: none; font-size: 15px; color: var(--text-soft); transition: color .2s; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 32px var(--gutter) 48px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block; font-family: var(--font-display); font-weight: 600; font-size: 34px;
    color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav .btn { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); position: relative; z-index: 1; }
.hero__title { font-size: clamp(42px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.04em; max-width: 1000px; }
.hero .eyebrow + .hero__title { margin-top: calc(-1 * clamp(12px, 2vw, 24px)); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ring {
  position: absolute; right: -180px; top: 40px; width: 560px; height: 560px; color: var(--accent);
  opacity: .14; pointer-events: none; animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; list-style: none; margin: 0; padding-left: 0; }
.marquee__group li {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 40px;
}
.marquee__group li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: var(--section-y) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .lead { max-width: 440px; }

/* ---------- Hizmetler ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service {
  position: relative; padding: clamp(28px, 3vw, 40px); min-height: 320px;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surface-2);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.service:hover::before, .service:focus-within::before { transform: none; }
.service__num { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); }
.service__icon { width: 44px; height: 44px; color: var(--accent); margin: 8px 0 6px; }
.service__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(23px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.service__text { margin: 0; color: var(--text-soft); font-size: 15.5px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 12px 0 0; list-style: none; }
.service__tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-soft); }

@media (max-width: 1020px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* telefon: hizmetler 2x3 sade ızgara (ikon + başlık); dokunulan hizmetin açıklaması altta görünür */
.services__detail { display: none; }
@media (max-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; }
  .service {
    min-height: 0; padding: 16px 16px 18px; gap: 10px;
    border: 1px solid var(--line); border-radius: 16px;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: border-color .25s, background-color .25s;
  }
  .service::before { display: none; }
  .service__num, .service__text, .service__tags { display: none; }
  .service__icon { width: 30px; height: 30px; margin: 0; }
  .service__title { font-size: 16px; line-height: 1.25; }
  /* plus mark: says "tap me" before anyone taps */
  .service::after {
    content: ""; position: absolute; top: 16px; right: 16px; width: 14px; height: 14px;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
    color: var(--muted); transition: transform .3s var(--ease), color .25s;
  }
  .service.is-active { border-color: var(--accent); background: var(--surface); }
  .service.is-active::after { transform: rotate(45deg); color: var(--accent); }
  .js .services .reveal { opacity: 1; transform: none; }

  .services__detail {
    display: grid; gap: 14px; margin-top: 14px;
    padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 16px;
  }
  .services__detail h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
  .services__detail .service__text, .services__detail .service__tags { display: flex; }
  .services__detail .service__text { display: block; }
  .services__detail .service__tags { padding-top: 2px; }
  .services__detail > * { animation: detail-in .35s var(--ease) both; }
}
@keyframes detail-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Portfolyo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text-soft); font-size: 15px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--text); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.work { grid-column: span 6; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.work--wide { grid-column: span 12; }
.work--third { grid-column: span 4; }
.work.is-hidden { display: none; }

.work__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.work--wide .work__media { aspect-ratio: 16 / 7; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work__art { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .7s var(--ease); }
.work__art svg { width: 46%; height: auto; }
.work:hover .work__art, .work:hover .work__media img { transform: scale(1.05); }
.work__placeholder {
  position: absolute; left: 16px; bottom: 16px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); background: var(--header-bg); padding: 6px 10px; border-radius: 6px;
}
.work__cta {
  position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.work__cta svg { width: 20px; height: 20px; }
.work:hover .work__cta, .work:focus-visible .work__cta { transform: none; opacity: 1; }
.work__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.work__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.work__cat { font-size: 14px; color: var(--muted); }

.art-a { background: var(--art-1); } .art-b { background: var(--art-2); } .art-c { background: var(--art-3); }
.art-d { background: var(--art-4); } .art-e { background: var(--art-5); }

@media (max-width: 900px) { .work, .work--third { grid-column: span 6; } }
@media (max-width: 640px) { .work, .work--third, .work--wide { grid-column: span 12; } .work--wide .work__media { aspect-ratio: 4 / 3; } }

/* ---------- Süreç ---------- */
.process-wrap { border-top: 1px solid var(--line); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--line-strong); display: flex; flex-direction: column; gap: 12px; transition: border-color .4s; }
.step:hover { border-top-color: var(--accent); }
.step__num { font-size: 14px; color: var(--muted); }
.step__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.step__text { margin: 0; color: var(--text-soft); font-size: 15.5px; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }

/* ---------- İletişim ---------- */
.contact { background: var(--surface); color: var(--text); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__title { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.contact__title > span.line { display: block; }
.contact__lead { margin: 32px 0 0; font-size: 18px; color: var(--text-soft); }
.lead-line { display: block; }
@media (min-width: 1100px) { .lead-line--one { white-space: nowrap; } }
.contact__lead--small { max-width: 520px; }
.contact__lead--small { margin: 16px 0 32px; font-size: 16px; }
.contact__lead strong { font-weight: 700; color: var(--text); }
.underline { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .16em; }
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; font-weight: 500; }
.contact__list a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.contact__list a:hover { border-bottom-color: var(--accent); }
.contact__list span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.form { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; color: var(--text-soft); padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; font-size: 16px; color: var(--text); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field.has-error input, .field.has-error textarea { border-color: var(--error-line); }
.field__error { font-size: 13px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-soft); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip input:checked + label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
.form__status { margin: 0; font-size: 15px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--accent); }
.form__status[hidden] { display: none; }

@media (max-width: 900px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.site-footer__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 12vw, 180px); letter-spacing: -.05em; line-height: .85; margin: 0; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.site-footer__cols h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.site-footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__cols a { text-decoration: none; color: var(--text-soft); }
.site-footer__cols a:hover { color: var(--text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.to-top { background: none; border: 0; color: var(--text-soft); cursor: pointer; padding: 0; font-size: 14px; }
.to-top:hover { color: var(--text); }

/* ---------- Kaydırınca beliren öğeler ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Blog
   ========================================================= */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1020px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .posts { grid-template-columns: minmax(0, 1fr); } }
/* ana sayfa blog: tablet ve telefonda yana kaydırmalı; bir sonraki kartın kenarı görünür */
@media (max-width: 1020px) {
  .posts--rail {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .posts--rail::-webkit-scrollbar { display: none; }
  .posts--rail .post-card { flex: 0 0 min(80%, 340px); scroll-snap-align: start; }
  .js .posts--rail .reveal { opacity: 1; transform: none; }
}

.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; color: var(--text);
  transition: border-color .3s, transform .3s var(--ease);
}
.post-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.post-card__cat {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text);
  font-weight: 600;
}
.post-card__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.post-card__excerpt { margin: 0; font-size: 15.5px; color: var(--text-soft); }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.post-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

.section__head .link-more { font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.section__head .link-more:hover { border-bottom-color: var(--accent); }

/* Blog liste sayfası */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 64px); }
.page-hero__title { font-size: clamp(42px, 6.2vw, 88px); margin-top: 16px; }
.page-hero .lead { margin-top: 24px; }

/* Yazı sayfası */
.post { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(64px, 8vw, 104px); }
.post__back { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--text-soft); text-decoration: none; margin-bottom: 40px; }
.post__back:hover { color: var(--text); }
.post__title { margin: 16px 0 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.post__meta { font-size: 14px; color: var(--muted); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post__body { font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.post__body > * + * { margin-top: 1.1em; }
.post__body p { margin-bottom: 0; }
.post__intro { font-size: 20px; line-height: 1.65; color: var(--text); margin-top: 32px; }
.post__body h2 { margin: 2em 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--text); }
.post__body h3 { margin: 1.6em 0 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--text); }
.post__body h2 + p, .post__body h3 + p { margin-top: .6em; }
.post__body strong { color: var(--text); font-weight: 600; }
.post__body ul { padding-left: 1.2em; margin-bottom: 0; }
.post__body li + li { margin-top: .5em; }
.post__body li::marker { color: var(--accent); }
.post__note {
  margin-top: 2em !important; padding: 20px 24px; border-radius: 16px;
  background: var(--surface); border-left: 3px solid var(--accent);
  color: var(--text); font-size: 17px; line-height: 1.65;
}

.post-cta {
  margin-top: 56px; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.post-cta__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.post-cta__text { margin: 6px 0 0; color: var(--text-soft); font-size: 15.5px; }
.related { border-top: 1px solid var(--line); }

/* ---------- WhatsApp butonu ---------- */
.wa-float {
  position: fixed; z-index: 45;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-float__icon {
  position: relative; width: 60px; height: 60px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #FFFFFF;
  background: linear-gradient(145deg, #2EDB6E, #1EB257);
  box-shadow: 0 8px 22px rgba(30, 178, 87, .38), 0 2px 6px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float__icon svg { width: 31px; height: 31px; }
.wa-float__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0; animation: wa-pulse 3.2s ease-out 1.5s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.wa-float__label {
  display: flex; flex-direction: column; gap: 1px; padding: 10px 16px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); white-space: nowrap;
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease);
}
.wa-float__label strong { font-size: 14.5px; font-weight: 600; }
.wa-float__label span { font-size: 12.5px; color: var(--muted); }
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(30, 178, 87, .45), 0 3px 8px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
}
@media (hover: hover) {
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
}
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__icon { outline: 2px solid var(--accent); outline-offset: 4px; }
body.nav-open .wa-float { display: none; }
@media (max-width: 560px) {
  .wa-float { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float__icon { width: 56px; height: 56px; }
  .wa-float__icon svg { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__icon::after { display: none; } }

/* ---------- Footer: adres ve sosyal medya ---------- */
.site-footer__brand { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.site-footer__contact {
  font-style: normal; display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; line-height: 1.55; color: var(--text-soft); max-width: 360px;
}
.site-footer__contact a { color: inherit; text-decoration: none; width: fit-content; transition: color .2s; }
.site-footer__contact a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text);
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.social svg { width: 20px; height: 20px; }
.social:hover, .social:focus-visible { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }

/* ---------- Blog kapakları ---------- */
.post-card__cover { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.04); }
.post-card__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 28px); }
.post__cover { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 100%; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Yasal bağlantılar ---------- */
.form__note a, .legal-link { color: inherit; text-underline-offset: 3px; }
.form__note a:hover, .legal-link:hover { color: var(--text); }
.legal-link { margin-left: 12px; white-space: nowrap; }

/* ---------- KVKK penceresi ---------- */
.legal-dialog {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0;
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: var(--bg); color: var(--text); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.legal-dialog[open] { display: flex; flex-direction: column; animation: dlg-in .3s var(--ease); }
.legal-dialog::backdrop { background: rgba(10, 10, 9, .62); backdrop-filter: blur(4px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.legal-dialog__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px clamp(20px, 4vw, 36px) 18px; border-bottom: 1px solid var(--line);
}
.legal-dialog__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.03em; }
.legal-dialog__meta { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.legal-dialog__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s;
}
.legal-dialog__close:hover { border-color: var(--text); }
.legal-dialog__close svg { width: 18px; height: 18px; }
.legal-dialog__body { overflow-y: auto; padding: 8px clamp(20px, 4vw, 36px) 32px; font-size: 16px; }
.legal-dialog__body .post__intro { font-size: 17px; margin-top: 20px; }
.legal-dialog__body h2 { font-size: 20px; margin-top: 1.6em; }
body.dialog-open { overflow: hidden; }

/* ---------- Açılır menü: Açık Creative ---------- */
.nav__item.has-sub { position: relative; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; color: var(--text-soft);
}
.nav__trigger svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.has-sub:hover .nav__trigger, .has-sub.is-open .nav__trigger { color: var(--text); }
.has-sub:hover .nav__trigger svg, .has-sub.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__trigger::after { display: none; }

.subnav {
  position: absolute; top: calc(100% + 16px); left: -26px; min-width: 290px; z-index: 60;
  padding: 14px 26px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav {
  opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease);
}
.subnav__label { margin: 0 0 10px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.subnav__list a {
  display: block; padding: 9px 0; font-size: 19px; font-weight: 500; letter-spacing: -.01em;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: color .2s, transform .25s var(--ease);
}
.subnav__list a:hover, .subnav__list a:focus-visible { color: var(--accent-text); transform: translateX(4px); }

@media (max-width: 860px) {
  .nav__trigger { width: 100%; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--text); }
  .nav__trigger svg { width: 26px; height: 26px; }
  .subnav {
    position: static; display: none; min-width: 0; padding: 4px 0 14px 4px;
    background: none; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
    border-bottom: 1px solid var(--line);
  }
  .subnav::before { display: none; }
  .has-sub.is-open .subnav { display: block; }
  .has-sub.is-open .nav__trigger { border-bottom-color: transparent; }
  .subnav__label { display: none; }
  .subnav__list a { font-size: 21px; color: var(--text-soft); padding: 10px 0; }
}

/* ---------- Kurumsal sayfası ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.about__text { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--text-soft); max-width: 640px; }
.about__text p { margin: 0; }
.about__lead { font-size: clamp(21px, 2vw, 25px); line-height: 1.45; color: var(--text); font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 860px) { .about__grid { grid-template-columns: minmax(0, 1fr); } }

.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.reason { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.reason__icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
.reason__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.reason__text { margin: 0; font-size: 15.5px; color: var(--text-soft); }
@media (max-width: 1020px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 6vw, 96px); align-items: center; }
.soon { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 3vw, 36px); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.soon__text { margin: 0; font-size: 18px; color: var(--text-soft); }
.soon .link-more { font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.soon .link-more:hover { border-bottom-color: var(--accent); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split__head .h-section, .about__grid > .h-section { font-size: clamp(36px, 4.4vw, 60px); text-wrap: balance; }
.nav__list { align-items: center; }
.nav__trigger { line-height: inherit; padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 860px) { .nav__trigger { padding-top: 14px; padding-bottom: 14px; line-height: 1.6; } }

/* ---------- Referanslar ---------- */
/* Esnek ızgara: son satırdaki logolar ortalanır, yarım satır boş kalmaz */
.refs {
  --cols: 4; --gap: 12px;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.ref {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  aspect-ratio: 3 / 2; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
  transition: background-color .3s, border-color .3s;
}
.ref:hover { background: var(--surface); border-color: var(--line-strong); }
/* Logolar tek renkli sergilenir: koyu temada beyaz, gündüz temasında siyah */
.ref img {
  max-width: 72%; max-height: 64px; width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s, transform .4s var(--ease);
}
:root[data-theme="light"] .ref img { filter: brightness(0); }
.ref:hover img { opacity: 1; transform: scale(1.04); }
.ref--tall img { max-height: 104px; max-width: 46%; }
.ref--empty span {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 10px 16px; border: 1px dashed var(--line-strong); border-radius: 10px;
}
@media (max-width: 900px) { .refs { --cols: 3; } }
@media (max-width: 560px) {
  .refs { --cols: 2; --gap: 10px; }
  .ref img { max-height: 40px; }
  .ref--tall img { max-height: 66px; }
  .ref--empty span { font-size: 10.5px; padding: 8px 10px; white-space: nowrap; letter-spacing: .1em; }
}

.ref-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.ref-cta .h-section { font-size: clamp(34px, 4.6vw, 64px); text-wrap: balance; }
/* Dolu, yuvarlak amblemler görsel olarak ağır durur; biraz daha küçük gösterilir */
.ref--emblem img { max-height: 86px; max-width: 40%; }
@media (max-width: 560px) { .ref--emblem img { max-height: 58px; } }
/* Çok geniş logolar yatayda daha fazla yer kaplar */
.ref--wide img { max-width: 84%; max-height: 52px; }
@media (max-width: 560px) { .ref--wide img { max-height: 32px; } }
/* İnce detaylı logolar biraz daha büyük gösterilir */
.ref--large img { max-height: 92px; max-width: 80%; }
@media (max-width: 560px) { .ref--large img { max-height: 58px; } }

/* ---------- Referanslar: üzerine gelince orijinal renkler ---------- */
.ref { position: relative; overflow: hidden; }
/* İki hal kartın aynı hücresine üst üste yerleşir: aynı sınırlar, aynı boyut */
.ref .ref__mono, .ref .ref__color { grid-area: 1 / 1; }
.ref .ref__color { filter: none; opacity: 0; pointer-events: none; }
:root[data-theme="light"] .ref .ref__color { filter: none; }
@media (hover: hover) {
  .ref:hover { background: #FFFFFF; border-color: #FFFFFF; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
  :root[data-theme="light"] .ref:hover { border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(20, 20, 18, .10); }
  .ref:hover .ref__mono { opacity: 0; }
  .ref:hover .ref__color { opacity: 1; }
}
/* Dokunmatik ekranlarda: logoya dokununca renklenir, tekrar dokununca ya da başka logoya geçince döner */
.ref.is-active { background: #FFFFFF; border-color: #FFFFFF; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
:root[data-theme="light"] .ref.is-active { border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(20, 20, 18, .10); }
.ref.is-active .ref__mono { opacity: 0; }
.ref.is-active .ref__color { opacity: 1; }
.ref.is-active img { transform: scale(1.04); }
@media (hover: none) { .ref { cursor: pointer; -webkit-tap-highlight-color: transparent; } }
.ref { transition: background-color .35s, border-color .35s, box-shadow .35s; }
/* Renkli logo, kart beyazlarken hemen ardından belirir */
.ref .ref__color { transition: opacity .3s .06s, transform .4s var(--ease); }
/* Detaylı illüstrasyon logolar tek renge zorlanmaz, siyah-beyaz fotoğraf gibi gri tonlarda gösterilir */
.ref--photo .ref__mono { filter: grayscale(1) contrast(1.15) brightness(1.6); opacity: .9; }
:root[data-theme="light"] .ref--photo .ref__mono { filter: grayscale(1) contrast(1.1); opacity: .8; }

/* ---------- Medya markaları ---------- */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
@media (max-width: 1020px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .brands { grid-template-columns: minmax(0, 1fr); } }
.brand {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--text); text-decoration: none; min-height: 230px;
  transition: border-color .3s, transform .3s var(--ease);
}
.brand:hover { border-color: var(--accent); transform: translateY(-4px); }
.brand__cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.1; }
.brand__text { font-size: 15px; color: var(--text-soft); }
.brand__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 14px; color: var(--text-soft); }
.brand__handle { display: inline-flex; align-items: center; gap: 8px; }
.brand__handle svg { width: 17px; height: 17px; }
.brand__followers { color: var(--text); font-weight: 600; }

/* Ana sayfa şeridi */
.brand-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.brand-band__inner { padding-block: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.brand-band__title { margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.brand-band__lead { margin: 18px 0 0; font-size: 17px; color: var(--text-soft); max-width: 520px; }
.brand-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brand-band__list a {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease);
}
.brand-band__list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.brand-band__list span { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-band__list small { font-size: 13px; color: var(--muted); }
.brand-band__more { display: inline-block; margin-top: 22px; font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.brand-band__more:hover { border-bottom-color: var(--accent); }
@media (max-width: 860px) { .brand-band__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .brand-band__list { grid-template-columns: minmax(0, 1fr); } }

/* Medya markası logoları */
.brand__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand__logo { width: 64px; height: 64px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--line); }
.brand-band__list a { flex-direction: row; align-items: center; gap: 14px; }
.brand-band__logo { width: 48px; height: 48px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line); }
.brand-band__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Logo (gece/gündüz) */
.theme-img { display: block; }
.theme-img.theme-img--light { display: none; }
:root[data-theme="light"] .theme-img.theme-img--dark { display: none; }
:root[data-theme="light"] .theme-img.theme-img--light { display: block; }
.logo__img { height: 44px; width: auto; }
@media (max-width: 560px) { .logo__img { height: 38px; } }
.site-footer__logo { width: clamp(120px, 15vw, 190px); height: auto; }
.site-footer__big { line-height: 1; margin-bottom: 0; }
/* logo ile adres arası: sütun aralığından (28px) biraz daha sıkı */
.site-footer__big + .site-footer__contact { margin-top: -8px; }

/* Çok uzun, ince logolar (ör. Rönesans Holding) */
.ref--xwide img { max-width: none; max-height: none; width: clamp(120px, 17vw, 210px); }

/* ---------- Ana sayfa: Biz kimiz? ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__title { margin-top: 16px; }
.intro__lead { margin: 24px 0 0; font-size: 17px; line-height: 1.75; color: var(--text-soft); max-width: 560px; }
.intro__more { display: inline-block; margin-top: 24px; }
.intro__statement {
  margin: 0; padding-left: clamp(24px, 3vw, 44px); border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12; letter-spacing: -.035em; text-wrap: balance;
}
@media (max-width: 860px) { .intro__grid { grid-template-columns: minmax(0, 1fr); } }
.intro__more { font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.intro__more:hover { border-bottom-color: var(--accent); }

/* ---------- Portfolyo: proje kartı ---------- */
.case {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color .3s, transform .4s var(--ease);
}
.case:hover { border-color: var(--accent); transform: translateY(-4px); }
.case__media { overflow: hidden; background: #0C0D10; }
.case__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case__media img { transform: scale(1.03); }
.case__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.4vw, 48px); justify-content: center; }
.case__cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.case__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.05; }
.case__text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-soft); }
.case__tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-soft); }
.case__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.case__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.case:hover .case__more svg { transform: translateX(4px); }
@media (max-width: 900px) { .case { grid-template-columns: minmax(0, 1fr); } .case__media img { aspect-ratio: 16 / 10; height: auto; } }

/* ---------- Proje detay sayfası ---------- */
.project-meta { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.project-meta li { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.project-meta span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project-meta a { color: var(--text); }
@media (max-width: 760px) { .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-cover { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project-cover img { display: block; width: 100%; height: auto; }
.project-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); }
.project-text h2 { margin: 0; }
.project-text p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--text-soft); }
@media (max-width: 860px) { .project-text { grid-template-columns: minmax(0, 1fr); } }
.gallery-group + .gallery-group { margin-top: clamp(48px, 6vw, 80px); }
.gallery-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gallery-group__head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; }
.gallery-group__head span { color: var(--muted); font-size: 14px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Büyük görsel penceresi */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 6, 6, .9); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 640px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,20,18,.7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { border-color: var(--accent); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }
body.dialog-open { overflow: hidden; }
.gallery .gallery__wide { grid-column: 1 / -1; }
.gallery .gallery__wide img { aspect-ratio: auto; }
.lightbox img { max-width: 92vw; }

/* Portfolyo: ikinci ve sonraki kartlar */
.case + .case { margin-top: clamp(16px, 2vw, 24px); }
.case--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.case--reverse .case__media { order: 2; }
@media (max-width: 900px) { .case--reverse { grid-template-columns: minmax(0, 1fr); } .case--reverse .case__media { order: 0; } }

/* Proje sayfası: öne çıkan özellikler ve ekran görüntüleri */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.features li { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.features strong { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.features span { font-size: 15px; color: var(--text-soft); line-height: 1.6; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.gallery--screens { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery--screens img { aspect-ratio: 791 / 499; object-fit: cover; object-position: top; }
.gallery--phones { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.gallery--phones a { border-radius: 22px; }
.gallery--phones img { aspect-ratio: 630 / 1362; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.project-link:hover { border-bottom-color: var(--accent); }
.gallery--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.gallery--cards img { aspect-ratio: 1019 / 641; }
.gallery--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.gallery--tall img { aspect-ratio: 1656 / 2306; }
@media (max-width: 560px) { .gallery--cards { grid-template-columns: minmax(0, 1fr); } }
.gallery--masonry { display: block; columns: 4; column-gap: clamp(10px, 1.4vw, 18px); }
.gallery--masonry li { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px); }
.gallery--masonry img { aspect-ratio: auto; }
@media (max-width: 900px) { .gallery--masonry { columns: 3; } }
@media (max-width: 560px) { .gallery--masonry { columns: 2; } }
.gallery--stories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery--stories a { border-radius: 18px; }
.gallery--stories img { aspect-ratio: 9 / 16; }
@media (max-width: 900px) { .gallery--stories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery--stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Carousel serisi: yatay kaydırılan şerit */
.gallery--carousel { display: flex; gap: clamp(10px, 1.4vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.gallery--carousel li { flex: 0 0 clamp(220px, 26vw, 300px); scroll-snap-align: start; position: relative; }
.gallery--carousel img { aspect-ratio: 4 / 5; }
.gallery--carousel .slide-no { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(15,15,13,.75); color: #fff; pointer-events: none; }
.gallery--story-strip li { flex-basis: clamp(170px, 19vw, 220px); }
.gallery--story-strip a { border-radius: 18px; }
.gallery--story-strip img { aspect-ratio: 9 / 16; }

/* Reels videoları */
.reels { list-style: none; margin: 0; padding: 0 0 14px; display: flex; gap: clamp(10px, 1.4vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; }
.reel { flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.reel video { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #0c0c0b; border: 1px solid var(--line); display: block; object-fit: cover; }
.reel__cap { font-size: 14px; color: var(--text-soft); }
.reel--45 video { object-fit: contain; }

/* =========================================================
   Giriş animasyonu: "açık kilit", 3D jiroskop
   Her halka ayrı bir katman; döngü boyunca farklı eksenlerde takla atar,
   sonunda hepsi düzleşir, açıklıklar sağ üstte hizalanır ve merkezden
   bir ışık noktası o yoldan çıkar. Yapı fareye doğru hafifçe eğilir.
   Kütüphane yok: SVG + CSS 3D dönüşümleri.
   ========================================================= */
.hero__lock {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(24px, 6vw, 120px); top: 50%;
  width: min(30vw, 400px); aspect-ratio: 1;
  transform: translateY(-66%);
  perspective: 1200px;
  container-type: inline-size;
}
.lock__stage {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(calc(12deg + var(--ty, 0deg))) rotateY(calc(-16deg + var(--tx, 0deg)));
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lock__ring {
  /* gap of --g degrees; base turn puts every gap's centre at the upper right (315°) */
  --base: calc(var(--g) / 2 * 1deg - 45deg);
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  transform: translateZ(calc(var(--z) * 1px)) rotateZ(var(--base));
  animation: lock-gyro 12s cubic-bezier(.65, 0, .35, 1) infinite;
  will-change: transform;
}
.lock__ring circle {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: var(--w);
  stroke-linecap: round;
  stroke-dasharray: calc(360 - var(--g)) var(--g);
}
.lock__ring--accent circle { stroke: var(--accent); }
.lock__ring--soft circle { stroke: var(--muted); opacity: .6; }
.lock__ring--line circle { stroke: var(--surface-2); }
.lock__ring--ink circle { stroke: var(--text); }

@keyframes lock-gyro {
  0%, 10% {
    transform: translateZ(calc(var(--z) * 1px)) rotateX(0deg) rotateY(0deg) rotateZ(var(--base));
  }
  40% {
    transform: translateZ(0) rotateX(calc(var(--x1) * 1deg)) rotateY(calc(var(--y1) * 1deg)) rotateZ(calc(var(--base) + var(--t1) * 1deg));
  }
  66% {
    transform: translateZ(0) rotateX(calc(var(--x2) * 1deg)) rotateY(calc(var(--y2) * 1deg)) rotateZ(calc(var(--base) + var(--t2) * 1deg));
  }
  88%, 100% {
    transform: translateZ(calc(var(--z) * 1px)) rotateX(0deg) rotateY(0deg) rotateZ(calc(var(--base) + var(--turns) * 1deg));
  }
}

.lock__core, .lock__spark {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%; background: var(--accent);
}
.lock__core { width: 2.4cqw; height: 2.4cqw; margin: -1.2cqw 0 0 -1.2cqw; transform: translateZ(40px); }
.lock__spark {
  width: 3cqw; height: 3cqw; margin: -1.5cqw 0 0 -1.5cqw;
  opacity: 0;
  box-shadow: 0 0 2.5cqw var(--accent);
  animation: lock-spark 12s linear infinite;
}
@keyframes lock-spark {
  0%, 87% { opacity: 0; transform: translate3d(0, 0, 40px) scale(.6); }
  89%     { opacity: 1; transform: translate3d(0, 0, 40px) scale(1); }
  97%     { opacity: 1; transform: translate3d(34cqw, -34cqw, 40px) scale(1); }
  100%    { opacity: 0; transform: translate3d(40cqw, -40cqw, 40px) scale(.4); }
}

/* tablet ve telefon: animasyon başlığın arkasında, sağ üstte, sakin durur */
@media (max-width: 899.98px) {
  .hero__lock {
    top: 16px; right: -26vw; transform: none;
    width: 62vw; opacity: .3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lock__ring, .lock__spark { animation: none !important; }
  .lock__stage { transition: none; }
}

/* =========================================================
   Medya markalarımız: Instagram hikâyesi biçiminde kartlar
   Her kart markanın kendi renginde; logo hikâye halkasında,
   kategori kartın arkasında dev bir yazı dokusu. Kartın tamamı hesaba gider.
   ========================================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mbrands {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  list-style: none; margin: 0; padding: 0;
}
.mbrand { min-width: 0; }
.mbrand__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  height: 100%; min-height: 480px;
  padding: 18px 18px 20px; border-radius: 24px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgb(255 255 255 / .16), transparent 60%),
    linear-gradient(180deg, transparent 40%, rgb(0 0 0 / .22)),
    var(--brand);
  color: #fff; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mbrand__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 0 0 1px rgb(255 255 255 / .08);
}
.mbrand__card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--brand) 80%, black); }
.mbrand__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 24px; }

.mbrand__word {
  position: absolute; left: -.06em; bottom: -.2em; z-index: -1;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4.5rem, 7.4vw, 7rem); line-height: 1; letter-spacing: -.05em;
  white-space: nowrap; color: rgb(255 255 255 / .1);
  writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none;
}
.mbrand__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mbrand__ring {
  position: relative; flex: none; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
}
.mbrand__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, #fff, rgb(255 255 255 / .25), #fff 60%, rgb(255 255 255 / .55), #fff);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  transition: transform .6s var(--ease);
}
.mbrand__card:hover .mbrand__ring::before { transform: rotate(120deg); }
.mbrand__ring img { width: 52px; height: 52px; border-radius: 50%; }
.mbrand__handle { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mbrand__body { display: grid; gap: 10px; }
.mbrand__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -.03em; }
.mbrand__desc { font-size: 15.5px; line-height: 1.5; color: rgb(255 255 255 / .82); }
.mbrand__follow {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 0 0 1px rgb(255 255 255 / .18);
  transition: background-color .2s;
}
.mbrand__card:hover .mbrand__follow { background: rgb(255 255 255 / .24); }
.mbrand__follow svg { transition: transform .25s var(--ease); }
.mbrand__card:hover .mbrand__follow svg { transform: translate(2px, -2px); }

/* Açık Müzik's near-black card needs an edge on the dark page */
:root:not([data-theme="light"]) .mbrand__card::after { box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 0 0 1px rgb(255 255 255 / .12); }

@media (max-width: 1080px) {
  .mbrands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbrand__card { min-height: 420px; }
}
/* telefon: 2x2, küçük hikâye kartları; dördü de kaydırmadan görünür */
@media (max-width: 560px) {
  .mbrands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mbrand__card { min-height: 0; aspect-ratio: 9 / 14; padding: 12px 12px 14px; gap: 10px; border-radius: 18px; }
  .mbrand__word { font-size: 3.6rem; }
  .mbrand__ring { width: 46px; height: 46px; }
  .mbrand__ring::before { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)); }
  .mbrand__ring img { width: 38px; height: 38px; }
  .mbrand__handle { display: none; }
  .mbrand__body { gap: 6px; }
  .mbrand__name { font-size: 18px; }
  .mbrand__desc { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* the whole card is the link; the pill becomes a small round arrow */
  .mbrand__follow { position: absolute; top: 14px; right: 12px; margin: 0; padding: 0; width: 34px; height: 34px; justify-content: center; font-size: 0; gap: 0; }
  .mbrand__follow svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mbrand__card:hover { transform: none; }
}

/* =========================================================
   Telefon menüsü (hamburger): sola hizalı tam genişlik satırlar,
   sağda ok, satırlar sırayla belirir; altta buton ve iletişim.
   ========================================================= */
.nav__foot { display: none; }
@media (max-width: 860px) {
  .nav {
    padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    gap: 0; overflow-y: auto; text-align: left;
  }
  .nav__list { width: 100%; align-items: stretch; }
  .nav__list > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link, .nav__trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; text-align: left;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -.035em; line-height: 1.1;
    padding: 18px 0; border: 0; background: none; color: var(--text);
  }
  /* arrow on plain links: says "this goes somewhere" */
  .nav__list > li > a.nav__link::before {
    content: ""; order: 2; flex: none; width: 22px; height: 22px;
    background: var(--muted);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .25s var(--ease), background-color .2s;
  }
  .nav__list > li > a.nav__link:active::before { transform: translateX(4px); background: var(--accent); }
  .nav__link.is-active { color: var(--accent-text); }
  .nav__link.is-active::before { background: var(--accent); }
  .nav__trigger svg { width: 24px; height: 24px; color: var(--muted); }
  .has-sub.is-open .nav__trigger svg { color: var(--accent); }
  .has-sub.is-open .nav__trigger { border-bottom: 0; }
  .subnav { border-bottom: 0; padding: 0 0 16px; }
  .subnav__list a { font-size: 19px; padding: 9px 0; color: var(--text-soft); }

  /* rows arrive one after another when the menu opens */
  .nav.is-open .nav__list > li, .nav.is-open .nav__foot { animation: nav-row .5s var(--ease) both; }
  .nav.is-open .nav__list > li:nth-child(2) { animation-delay: .04s; }
  .nav.is-open .nav__list > li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__list > li:nth-child(4) { animation-delay: .12s; }
  .nav.is-open .nav__list > li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__foot { animation-delay: .22s; }

  .nav__foot { display: grid; gap: 18px; margin-top: auto; padding-top: 32px; }
  .nav__foot .btn { width: 100%; justify-content: center; }
  .nav__contact { display: grid; gap: 6px; font-size: 15px; }
  .nav__contact a { color: var(--muted); text-decoration: none; width: fit-content; }

  /* close icon: a clean ×, not a + */
  .nav-toggle__bars span { transform-origin: 50% 50%; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] { border-color: var(--text); }
  /* the bars wrapper is itself a span:first-child; keep it from turning with the lines */
  .nav-toggle[aria-expanded="true"] span.nav-toggle__bars { transform: none; top: auto; opacity: 1; }
}
@keyframes nav-row { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* "Biz kimiz" ile "Hizmetler" arası: iki bölümün boşlukları üst üste binmesin */
.section.intro { padding-bottom: clamp(56px, 7vw, 96px); }
/* Hizmetler bir ton açık bir şeritte: "Biz kimiz" ve portfolyodan ayrılır, sayfaya ritim verir */
#hizmetler {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 112px);
}
@media (max-width: 640px) {
  #hizmetler .service { background: var(--bg); }
  #hizmetler .service.is-active { background: var(--surface-2); }
  #hizmetler .services__detail { background: var(--bg); }
}

/* Footer: medya markalarımız (Menü sütununun yanında, küçük yuvarlak logolar) */
.footer-media ul { gap: 8px; }
.footer-media li { display: flex; line-height: 1.6; }
.footer-media__link { display: inline-flex; align-items: center; gap: 10px; }
.footer-media__link img {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-strong);
  transition: box-shadow .25s var(--ease);
}
.footer-media__link:hover img, .footer-media__link:focus-visible img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (max-width: 560px) {
  .site-footer__cols { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* =========================================================
   Ana sayfa: kısa iletişim daveti (form artık İletişim sayfasında)
   ========================================================= */
.contact--band { padding-block: clamp(56px, 7vw, 96px); }
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.contact-band__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.035em; }
.contact-band__text { margin: 12px 0 0; font-size: 17px; color: var(--text-soft); }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .contact-band__actions, .contact-band__actions .btn { width: 100%; } .contact-band__actions .btn { justify-content: center; } }

/* =========================================================
   İletişim sayfası: solda kanallar, sağda form
   ========================================================= */
.contact-page__hero { padding-bottom: clamp(24px, 3vw, 40px); }
.contact-page { padding-top: 0; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-page__ways { display: grid; gap: 12px; }
.way {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease);
}
.way:hover, .way:focus-visible { border-color: var(--accent); }
.way > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.way:hover > svg { color: var(--accent); transform: translateX(3px); }
.way__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.way__icon svg { width: 22px; height: 22px; }
.way__text { display: grid; gap: 2px; min-width: 0; }
.way__label { font-size: 13px; color: var(--muted); }
.way__value { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.way__hint { margin-top: 4px; font-size: 14px; color: var(--accent-text); font-weight: 500; }
.way--wa .way__icon { background: #25D366; color: #fff; }
.contact-page__form { background: var(--surface); }
@media (max-width: 900px) { .contact-page__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .way { padding: 16px; gap: 14px; }
  .way__value { font-size: 15.5px; overflow-wrap: break-word; }
}

/* ana sayfa portfolyo: öne çıkan 3 proje, altında tüm projeler bağlantısı */
.works__all { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.portfolio-page { padding-top: 0; }
/* "Biz kimiz?" etiketi başlıktan biraz daha yukarıda */
.intro__text > .eyebrow { margin-bottom: 8px; }
/* "Biz kimiz" bölümü kayan hizmetler şeridine biraz daha yakın */
.section.intro { padding-top: max(64px, calc(var(--section-y) - 40px)); }

/* 4:5 ilan videoları */
.reels--post .reel { flex-basis: clamp(240px, 26vw, 300px); }
.reels--post .reel video { aspect-ratio: 4 / 5; }
