/* =========================================================
   emrahdemirci.com — ön yüz stilleri
   Gilber tasarım dilinin birebir yeniden yazımı (bağımlılıksız)
   ========================================================= */

:root {
  --bg: #161616;
  --bg-2: #1c1c1c;
  --bg-3: #222;
  --white: #fff;
  --text: #7d7d7d;
  --muted: rgba(255, 255, 255, .6);
  --line: rgba(255, 255, 255, .1);
  --accent: #cf000f;
  --font: 'Urbanist', system-ui, sans-serif;
  --gutter: clamp(24px, 15vw, 195px);
  --edge: 48px;
  --header-h: 96px;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6, .display, .h1, .h3, .h5 { color: var(--white); margin: 0 0 .5em; font-weight: 400; line-height: 1.25; }
.display { font-size: clamp(52px, 9.4vw, 120px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; line-height: 1.15; }
.h3 { font-size: clamp(32px, 3.9vw, 50px); line-height: 1.35; }
.h5 { font-size: 22px; line-height: 1.5; }
p { margin: 0 0 1.2em; }
.accent { color: var(--accent); }
.accent-text { color: var(--accent); }
.muted { color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-center { text-align: center; }
.eyebrow { color: var(--white); font-size: 16px; line-height: 1; margin-bottom: 26px; }
.eyebrow-sm { color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.lead { color: var(--white); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.lead-sm { font-size: 17px; max-width: 560px; }

.container { width: min(1170px, calc(100vw - 2 * var(--gutter))); margin-inline: auto; }
.container.narrow { width: min(820px, calc(100vw - 2 * var(--gutter))); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---------- Buton ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  padding: 15px 34px; border-radius: 0; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease-out);
}
.btn::before { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); z-index: -1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-more { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.link-more .ico { transition: transform .4s var(--ease-out); }
.link-more:hover .ico, .post-card:hover .link-more .ico { transform: translateX(6px); }

/* ---------- Ön yükleyici ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center; transition: opacity .6s, visibility 0s .6s; }
.preloader__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pulse { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1.3); opacity: 1; } }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); padding: 0 var(--edge);
  display: flex; align-items: center; gap: 40px;
  transition: background .4s, height .4s;
}
.brand { flex: 0 0 auto; color: var(--white); }
.main-nav { position: absolute; left: max(var(--gutter), calc(var(--edge) + 175px)); top: 50%; transform: translateY(-50%); }
.brand img { height: 28px; width: auto; max-width: 180px; }
.brand__text { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--white); }
.brand:hover .brand__text { color: var(--white); }
.main-nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.main-nav a, .offcanvas a[data-menuanchor] { color: var(--white); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.main-nav a.is-active, .main-nav a:hover { color: var(--accent); }
.header-phone { margin-left: auto; color: var(--white); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.burger { display: none; margin-left: auto; width: 34px; height: 34px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 5px; right: 5px; height: 2px; background: #fff; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 20px; left: 12px; }
.menu-open .burger span:first-child { top: 16px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 16px; left: 5px; transform: rotate(-45deg); }
.is-inner .site-header.is-scrolled, .fp-off .site-header.is-scrolled { background: rgba(22, 22, 22, .94); backdrop-filter: blur(8px); height: 76px; }

/* ---------- Mobil menü ---------- */
.offcanvas {
  position: fixed; inset: 0; z-index: 110; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .offcanvas { clip-path: inset(0 0 0 0); visibility: visible; }
.offcanvas ul { list-style: none; margin: 0 0 40px; padding: 0; }
.offcanvas li { overflow: hidden; }
.offcanvas a[data-menuanchor] { display: inline-block; font-size: clamp(28px, 8vw, 44px); font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.45; transform: translateY(100%); transition: transform .6s var(--ease-out); }
.menu-open .offcanvas a[data-menuanchor] { transform: none; }
.menu-open .offcanvas li:nth-child(2) a { transition-delay: .05s; } .menu-open .offcanvas li:nth-child(3) a { transition-delay: .1s; }
.menu-open .offcanvas li:nth-child(4) a { transition-delay: .15s; } .menu-open .offcanvas li:nth-child(5) a { transition-delay: .2s; }
.menu-open .offcanvas li:nth-child(6) a { transition-delay: .25s; } .menu-open .offcanvas li:nth-child(7) a { transition-delay: .3s; }
.offcanvas__foot { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.offcanvas__foot a { color: var(--white); }
.offcanvas__socials { display: flex; gap: 18px; margin: 14px 0; color: #fff; }
.offcanvas__foot p { font-size: 12px; margin: 0; }

/* ---------- Sol sosyal medya çizgisi ---------- */
.side-socials {
  position: fixed; left: var(--edge); top: calc(var(--header-h) + 14px); bottom: 70px; z-index: 90;
  width: 16px; display: flex; flex-direction: column; align-items: center; gap: 24px; color: #fff;
}
.side-socials__line { flex: 1; width: 1px; background: var(--line); }
.side-socials a { color: #fff; display: grid; place-items: center; }
.side-socials a:hover { color: var(--accent); }

/* ---------- Sağ ilerleme çubuğu ---------- */
.fp-progress { position: fixed; right: var(--edge); top: 50%; height: 36vh; transform: translateY(-50%); width: 2px; background: rgba(255, 255, 255, .85); z-index: 90; }
.fp-progress__bar { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent); transition: height 1s var(--ease); }

/* ---------- Alt bilgi ---------- */
.site-footer { position: fixed; left: var(--edge); bottom: 22px; z-index: 90; font-size: 12px; color: var(--white); pointer-events: none; }
.site-footer p { margin: 0; }
.is-inner .site-footer { position: static; padding: 40px var(--edge); border-top: 1px solid var(--line); margin-top: 120px; pointer-events: auto; }

/* =========================================================
   TAM SAYFA (fullpage) DAVRANIŞI — masaüstü
   ========================================================= */
.fp-section { position: relative; background: var(--bg); overflow: hidden; }
.fp-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 100%; padding: calc(var(--header-h) + 20px) 0 90px; }
.fp-inner > .container { width: min(1170px, calc(100vw - 2 * var(--gutter))); }

html.fp-on, html.fp-on body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.fp-on .fp { position: fixed; inset: 0; }
.fp-on .fp-section {
  position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translate3d(0, 8%, 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), visibility 0s linear 1.1s;
}
.fp-on .fp-section.is-before { transform: translate3d(0, -8%, 0); }
.fp-on .fp-section.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; z-index: 3; }
.fp-on .fp-inner { height: 100%; overflow-y: auto; scrollbar-width: none; }
.fp-on .fp-inner::-webkit-scrollbar { display: none; }

/* Giriş animasyonları */
.js [data-anim] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.fp-on .fp-section.is-active [data-anim], .is-visible[data-anim], .is-visible [data-anim] { opacity: 1; transform: none; }
.fp-on .fp-section:not(.is-active) [data-anim] { transition-delay: 0s; transition-duration: .3s; }
.fp-off [data-anim] { transition-duration: .7s, .9s; }
.fp-off [data-anim]:not(.is-visible):not(.is-visible [data-anim]) { transform: translate3d(0, 24px, 0); }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fp-on .fp-section { transition-duration: .01s !important; }
}

/* ---------- Ana sayfa / hero ---------- */
.s-home .hero { max-width: 620px; position: relative; z-index: 3; }
.hero__text { color: var(--muted); font-size: 15px; max-width: 470px; }
.s-home .display { margin-bottom: 30px; }
.s-home .btn { margin-top: 18px; }
.hero-media { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: min(58%, 980px); pointer-events: none; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img {
  object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.05) brightness(.82);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, #000 55%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, #000 55%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
  transform: scale(1.08); transition: transform 2.4s var(--ease-out);
}
.fp-on .s-home.is-active .hero-media img, .fp-off .s-home .hero-media img.is-in { transform: scale(1); }

/* ---------- Hakkımda ---------- */
.exp-box { position: relative; width: 270px; height: 375px; border: 1px solid var(--line); border-right-color: transparent; justify-self: start; }
.exp-box::after { content: ''; position: absolute; right: -1px; top: 0; height: 30%; width: 1px; background: var(--line); }
.exp-box__num { position: absolute; left: 24px; top: 38px; font-size: clamp(120px, 15vw, 200px); line-height: 1; font-weight: 500; color: #fff; white-space: nowrap; letter-spacing: -.03em; }
.exp-box__num .accent { font-size: .7em; }
.exp-box__label { position: absolute; right: 0; bottom: 44px; display: flex; align-items: flex-end; gap: 22px; color: #fff; font-size: 17px; line-height: 1.6; text-align: right; }
.exp-box__dash { width: 60px; height: 1px; background: #fff; margin-bottom: 12px; }
.about { max-width: 470px; }
.skills { margin-top: 34px; display: grid; gap: 34px; }
.skill__head { display: flex; justify-content: space-between; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; line-height: 1; }
.skill__bar { height: 5px; background: #fff; position: relative; overflow: hidden; }
.skill__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 1.6s var(--ease-out) .5s; }
.fp-on .is-active .skill__bar span, .fp-off .skill.is-visible .skill__bar span { width: var(--w); }

/* ---------- Projeler ---------- */
.s-projects { padding: 0; }
.proj-slider { position: absolute; inset: 0; }
.proj-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 1s var(--ease), visibility 0s 1s; }
.proj-slide.is-active { visibility: visible; opacity: 1; transition-delay: 0s; z-index: 2; }
.proj-slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 6s var(--ease-out); }
.proj-slide__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,22,22,.88) 0%, rgba(22,22,22,.55) 55%, rgba(22,22,22,.35) 100%); }
.proj-slide.is-active .proj-slide__bg { transform: scale(1); }
.proj-slide .fp-inner { height: 100%; }
.proj-slide__content { max-width: 100%; }
.proj-slide__content .display { white-space: nowrap; }
.proj-slide__content > * { opacity: 0; transform: translate3d(0, 50px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.proj-slide.is-active .proj-slide__content > * { opacity: 1; transform: none; }
.proj-slide.is-active .proj-slide__content > :nth-child(2) { transition-delay: .12s; }
.proj-slide.is-active .proj-slide__content > :nth-child(3) { transition-delay: .24s; }
.fp-on .s-projects:not(.is-active) .proj-slide__content > * { opacity: 0; transform: translate3d(0, 50px, 0); }
.proj-slide__content .display a { color: #fff; }
.proj-slide__content .display a:hover { color: #fff; }
.proj-slide__text { color: var(--muted); font-size: 15px; max-width: 420px; margin-bottom: 40px; }
.slider-arrow { position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -27px; display: grid; place-items: center; color: #fff; transition: color .3s, transform .4s var(--ease-out); }
.slider-arrow:hover { color: var(--accent); }
.slider-arrow--prev { left: calc(var(--edge) + 60px); }
.slider-arrow--next { right: calc(var(--edge) + 60px); }
.slider-arrow--prev:hover { transform: translateX(-4px); }
.slider-arrow--next:hover { transform: translateX(4px); }
.slider-dots-wrap { position: absolute; left: 0; right: 0; bottom: 15vh; z-index: 5; }
.slider-dots { display: flex; gap: 16px; align-items: center; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: background .3s, transform .3s; }
.slider-dots button.is-active { background: var(--accent); transform: scale(1.15); }

/* ---------- Deneyim ---------- */
.section-title { margin-bottom: 50px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 50px; }
.section-head .section-title { margin: 0; }
.tl-slider { position: relative; }
.tl-page { display: none; }
.tl-page.is-active { display: block; animation: tlIn .9s var(--ease-out) both; }
@keyframes tlIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.tl-item { display: grid; grid-template-columns: 220px 1fr 1.15fr; gap: 30px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); }
.tl-page .tl-item:last-child { border-bottom: 0; }
.tl-item__icon img { max-height: 46px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .55; }
.tl-item__mono { font-size: 40px; font-weight: 600; color: rgba(255,255,255,.45); letter-spacing: -.02em; line-height: 1; }
.tl-item__period { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; line-height: 1.4; }
.tl-item__meta .h5 { margin: 0; }
.tl-item__text { margin: 0; font-size: 14px; line-height: 1.75; }
.tl-slider .slider-dots { margin-top: 40px; }

/* ---------- Markalar ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.partners li { display: grid; }
.partner { display: grid; place-items: center; min-height: 150px; padding: 20px; position: relative; }
.partner img { max-height: 56px; max-width: 150px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .45; transition: opacity .4s, filter .4s, transform .5s var(--ease-out); }
.partner__name { color: rgba(255,255,255,.45); font-size: 20px; font-weight: 600; text-align: center; line-height: 1.2; letter-spacing: -.01em; transition: color .4s, transform .5s var(--ease-out); }
.partner:hover img { opacity: 1; filter: none; transform: scale(1.06); }
.partner:hover .partner__name { color: #fff; transform: scale(1.04); }

/* ---------- Blog kartları ---------- */
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.post-cards--grid { row-gap: 40px; }
.post-card { position: relative; min-height: 470px; overflow: hidden; background: var(--bg-2); isolation: isolate; }
.post-card__link { position: absolute; inset: 0; z-index: 4; }
.post-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) brightness(.55); transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .6s; }
.post-card__body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 34px 30px 30px; background: rgba(28, 28, 28, .9); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.post-card__body time { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-card__body .h5 { font-size: 26px; line-height: 1.3; margin-bottom: 18px; }
.post-card__body p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.post-card__body .link-more { margin-top: auto; }
.post-card:hover .post-card__img { transform: scale(1.1); }
.post-card:hover .post-card__body, .post-card.no-image .post-card__body, .post-card:focus-within .post-card__body { opacity: 1; transform: none; }
.post-card.no-image .post-card__body { background: transparent; }
.post-card.no-image .post-card__img { filter: none; opacity: .9; }
.post-card.no-image:hover .post-card__body { background: rgba(28,28,28,.6); }

/* ---------- İletişim ---------- */
.s-contact__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, #2b2b2b 0%, #161616 70%); background-size: cover; background-position: center; filter: grayscale(1); }
.s-contact__bg::after { content: ''; position: absolute; inset: 0; background: rgba(22, 22, 22, .72); }
.contact-info .h3 { margin-bottom: 44px; }
.contact-info__big { display: block; color: #fff; font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.45; margin-bottom: 24px; max-width: 380px; }
.contact-info__mail { display: inline-block; color: var(--white); font-size: 14px; margin-top: 30px; }
.contact-form__title { margin-bottom: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: #fff;
  font: inherit; font-size: 15px; padding: 26px 12px 10px; outline: none; border-radius: 0; resize: vertical; transition: border-color .3s;
}
.field textarea { min-height: 90px; }
.field label { position: absolute; left: 12px; top: 22px; font-size: 13px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease-out), font-size .3s, color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-16px); font-size: 11px; color: #fff; }
.field.is-error input, .field.is-error textarea { border-color: var(--accent); }
.contact-form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.form-status { margin: 0; font-size: 14px; color: #fff; }
.form-status.is-error { color: #ff5a64; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bölüm arka plan dokusu (panelden: grain / ızgara / nokta, opaklık) ---------- */
.tex .fp-section:not(.s-home):not(.s-projects)::before,
.tex.is-inner::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--tex-op, .1);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 30%, transparent 100%);
}
.tex.is-inner::before { position: fixed; z-index: 0; }
.is-inner .inner, .is-inner .site-footer { position: relative; z-index: 1; }
.tex-grain .fp-section:not(.s-home):not(.s-projects)::before, .tex-grain.is-inner::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: calc(var(--tex-op, .1) * 1.1);
}
.tex-grid .fp-section:not(.s-home):not(.s-projects)::before, .tex-grid.is-inner::before {
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 88px 88px; background-position: -1px -1px;
}
.tex-dots .fp-section:not(.s-home):not(.s-projects)::before, .tex-dots.is-inner::before {
  background-image: radial-gradient(circle, rgba(255,255,255,.95) 1.1px, transparent 1.6px);
  background-size: 24px 24px;
}

/* =========================================================
   İÇ SAYFALAR (proje, yazı, blog)
   ========================================================= */
.inner { padding-top: calc(var(--header-h) + 60px); min-height: 70vh; }
.inner--center { display: grid; place-items: center; min-height: 80vh; }
.page-hero { padding: 40px 0 60px; }
.page-hero--post { padding-bottom: 40px; }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.project-facts p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.project-body { margin-bottom: 70px; }
.project-body .h3 { margin-top: 10px; }
.project-figure { margin: 0 auto 70px; }
.ratio { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.prose { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.85; }
.prose h2, .prose h3 { color: #fff; margin: 1.8em 0 .6em; font-weight: 500; }
.prose h2 { font-size: 32px; } .prose h3 { font-size: 26px; }
.prose a { color: #fff; border-bottom: 1px solid var(--accent); }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; } .prose li { margin-bottom: .4em; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--accent); color: #fff; font-size: 21px; line-height: 1.6; }
.prose img { margin: 2em 0; }
.prose strong { color: #fff; font-weight: 600; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.post__meta { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.post__meta .sep { margin: 0 10px; opacity: .4; }
.post__cover { margin: 0 auto 60px; }
.post__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post__share { display: flex; align-items: center; gap: 18px; margin: 50px 0 40px; padding-top: 30px; border-top: 1px solid var(--line); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.post__share a { color: #fff; display: grid; place-items: center; }
.post__share a:hover { color: var(--accent); }
.author-box { display: flex; align-items: center; gap: 20px; padding: 26px; background: var(--bg-2); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.author-box strong { color: #fff; font-size: 18px; font-weight: 500; }
.author-box p { margin: 0; font-size: 14px; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 40px 0; margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { color: #fff; display: flex; align-items: center; gap: 16px; font-size: 18px; line-height: 1.35; }
.pager a:hover { color: var(--accent); }
.pager small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager__next { justify-content: flex-end; text-align: right; }
.pager__home { font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 90px 0 0; }
.cta-band .h3 { margin: 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 60px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: #fff; font-size: 14px; }
.pagination a.is-active, .pagination a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.err-code { font-size: clamp(110px, 20vw, 220px); color: #fff; font-weight: 500; line-height: 1; margin-bottom: 20px; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* =========================================================
   DUYARLI (tablet / mobil) — tam sayfa kapalı, normal kaydırma
   ========================================================= */
@media (max-width: 1199px) {
  .main-nav ul { gap: 24px; }
  .main-nav a { font-size: 12px; }
  .brand { width: auto; }
}
@media (max-width: 1024px), (max-height: 600px) {
  :root { --gutter: 24px; --edge: 24px; --header-h: 76px; }
  .main-nav, .header-phone, .side-socials, .fp-progress { display: none; }
  .burger { display: block; }
  .site-footer { position: static; padding: 30px var(--edge); border-top: 1px solid var(--line); pointer-events: auto; }
  .is-inner .site-footer { margin-top: 80px; }
  .fp-section { min-height: auto; }
  .fp-inner { min-height: auto; padding: 100px 0 80px; }
  .s-home { min-height: 100svh; display: flex; align-items: flex-end; }
  .s-home .fp-inner { width: 100%; padding-bottom: 70px; padding-top: 55vh; }
  .hero-media { width: 100%; bottom: 30%; }
  .hero-media img { object-position: 50% 18%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%); mask-image: linear-gradient(to top, transparent 0%, #000 45%); -webkit-mask-composite: source-over; mask-composite: add; }
  .s-projects { height: 100svh; min-height: 560px; }
  .slider-arrow { top: auto; bottom: 60px; margin: 0; }
  .slider-dots-wrap { bottom: 78px; }
  .slider-arrow--prev { left: auto; right: 64px; }
  .slider-arrow--next { right: 12px; }
  .grid-2 { grid-template-columns: 1fr; gap: 50px; }
  .exp-box { width: 100%; max-width: 330px; height: 300px; margin-bottom: 10px; }
  .exp-box__num { font-size: 120px; top: 34px; }
  .exp-box__label { bottom: 34px; }
  .proj-slide__content .display { white-space: normal; }
  .main-nav { position: static; transform: none; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 110px; }
  .post-cards { grid-template-columns: 1fr; }
  .post-card { min-height: 380px; }
  .post-card__body { opacity: 1; transform: none; background: linear-gradient(to top, rgba(22,22,22,.96) 40%, rgba(22,22,22,.55)); justify-content: flex-end; }
  .post-card__body p { display: none; }
  .post-card__body .link-more { margin-top: 10px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__home { display: none !important; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1150px) { .header-phone { display: none; } }
@media (min-width: 640px) and (max-width: 1024px) {
  .post-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .project-facts { grid-template-columns: 1fr; gap: 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .contact-form__foot .btn { width: 100%; }
}
