/* ==========================================================================
   Hasan Kağıt — kişisel site
   Tasarım dili: kağıt zemin, ölçü ızgarası, numaralı bölüm çizgileri, köşe
   işaretleri ve kısa eşaralıklı notlar. Çizgiler kendini çizer.
   Vurgu rengini değiştirmek için yalnızca --accent değerini değiştirin.
   ========================================================================== */

/* Yazı tipleri sitenin içinde barındırılır (Inter, Inter Tight · SIL Open Font License).
   Notlar için sistemin eşaralıklı yazı tipi kullanılır, ek dosya yüklenmez. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-tight-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-tight-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #0E7C6B;
  --accent-soft: #E0EFEC;
  --accent-bright: #5FC2B0;
  --accent-ink: #0B6B5C;

  --bg: #EEEDE9;            /* zemin: kartların beyazından belirgin, ama zıt olmayan taş tonu */
  --surface: #FFFFFF;
  --surface-2: #EFEEE9;
  --stage: #E9E8E3;
  --ink: #16171A;
  --ink-2: #6A6B70;
  --ink-3: #36373B;
  --line: rgba(22, 23, 26, 0.09);
  --line-2: rgba(22, 23, 26, 0.17);
  --grid-1: rgba(22, 23, 26, 0.045);   /* ince ızgara */
  --grid-2: rgba(22, 23, 26, 0.085);   /* kalın ızgara */
  --dark: #1B1C1F;
  --dark-ink: #F4F4F2;
  --dark-ink-2: #9FA0A5;
  --header-bg: rgba(238, 237, 233, 0.84);
  --sheet-bg: rgba(238, 237, 233, 0.98);
  --glow: rgba(255, 255, 255, 0.6);

  --radius-l: 26px;
  --radius: 18px;
  --radius-s: 12px;
  /* Kart yüzeyi: üstten ışık alan sıcak beyaz, çok ince doku, katmanlı yumuşak gölge */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --card-bg: var(--grain), linear-gradient(180deg, #FFFFFF 0%, #FEFEFC 60%, #FBFAF7 100%);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(22, 23, 26, 0.07), 0 1px 2px rgba(22, 23, 26, 0.04), 0 12px 28px -16px rgba(22, 23, 26, 0.14), 0 32px 64px -44px rgba(22, 23, 26, 0.2);
  --shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(22, 23, 26, 0.11), 0 2px 4px rgba(22, 23, 26, 0.04), 0 22px 40px -20px rgba(22, 23, 26, 0.2), 0 48px 80px -48px rgba(22, 23, 26, 0.28);
  /* Teknoloji işaretlerinin oturduğu oyuk tepsi */
  --tray-bg: rgba(22, 23, 26, 0.035);
  --tray-shadow: inset 0 1px 2px rgba(22, 23, 26, 0.06), inset 0 0 0 1px rgba(22, 23, 26, 0.035);
  --chip-shadow: 0 0 0 1px rgba(22, 23, 26, 0.07), 0 1px 2px rgba(22, 23, 26, 0.07), inset 0 1px 0 #FFFFFF;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --space: clamp(44px, 5vw, 72px);   /* bölüm çizgisinin üstündeki ve altındaki boşluk */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-draw: cubic-bezier(.65, 0, .2, 1);
}

@supports (color: color-mix(in srgb, red 50%, white)) {
  :root {
    --accent-soft: color-mix(in srgb, var(--accent) 14%, #FFFFFF);
    --accent-bright: color-mix(in srgb, var(--accent) 55%, #FFFFFF);
    --accent-ink: color-mix(in srgb, var(--accent) 88%, #000000);
  }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 132px; }
/* Zemin: bütün sayfaya yayılan ince bir nokta dokusu ve sayfa kaydıkça yerinde duran iki yumuşak ışık.
   Kartlar bu dokunun üstünde düz beyaz yüzeyler olarak durur; ayrım ton farkından değil dokudan gelir. */
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 680px at 88% -8%, rgba(14, 124, 107, 0.075), transparent 62%),
    radial-gradient(900px 640px at -8% 46%, rgba(196, 160, 110, 0.07), transparent 62%),
    radial-gradient(circle, rgba(22, 23, 26, 0.09) 1px, transparent 1.3px);
  background-size: auto, auto, 22px 22px;
  background-attachment: fixed, fixed, scroll;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #FFFFFF; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #FFFFFF; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Pafta dili: notlar, ızgara, köşe işaretleri, çizgiler ---------- */
.mono { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }

/* Ölçü ızgarası: 24 px ince, 120 px kalın çizgi */
.paper, .pstage--light, .wc__media, .screen__frame, .hl__vis {
  background-color: var(--stage);
  background-image:
    linear-gradient(var(--grid-2) 1px, transparent 1px), linear-gradient(90deg, var(--grid-2) 1px, transparent 1px),
    linear-gradient(var(--grid-1) 1px, transparent 1px), linear-gradient(90deg, var(--grid-1) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.pstage--dark, .contact {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

/* Köşe işaretleri: üzerine gelince dört köşede çizim işaretleri belirir */
.ticks { position: relative; }
.ticks::after {
  --t: var(--accent);
  content: ''; position: absolute; inset: 12px; z-index: 5; pointer-events: none;
  background:
    linear-gradient(var(--t), var(--t)) left top / 14px 1px, linear-gradient(var(--t), var(--t)) left top / 1px 14px,
    linear-gradient(var(--t), var(--t)) right top / 14px 1px, linear-gradient(var(--t), var(--t)) right top / 1px 14px,
    linear-gradient(var(--t), var(--t)) left bottom / 14px 1px, linear-gradient(var(--t), var(--t)) left bottom / 1px 14px,
    linear-gradient(var(--t), var(--t)) right bottom / 14px 1px, linear-gradient(var(--t), var(--t)) right bottom / 1px 14px;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.03); transition: opacity .35s, transform .7s var(--ease);
}
.ticks:hover::after, .ticks:focus-visible::after { opacity: 1; transform: none; }

/* Bölüm çizgisi: numara — kendini çizen çizgi — bölümün adı (bölüm başlığı yerine) */
.rule { display: flex; align-items: center; gap: 18px; margin-bottom: var(--space); color: var(--ink); }
.rule > .mono { font-size: 15px; letter-spacing: 0.1em; }
.rule > .mono:first-child { color: var(--accent-ink); }
.rule .rail-btns { margin-left: 6px; }
/* Bölüm çizgisinin sonunda küçük bağlantı (ör. Projeler → Tümünü gör) */
.rule__link {
  display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; padding: 5px 5px 5px 14px; border-radius: 12px;
  background: linear-gradient(180deg, #FFFFFF, #F8F7F3); box-shadow: var(--chip-shadow);
  font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: color .3s, box-shadow .4s, transform .4s var(--ease);
}
.rule__link-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--tray-bg); box-shadow: var(--tray-shadow); transition: background-color .3s, color .3s; }
.rule__link-ico svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.rule__link:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.3), 0 8px 16px -8px rgba(22, 23, 26, 0.3), inset 0 1px 0 #FFFFFF; }
.rule__link:hover .rule__link-ico { background: var(--accent); color: #FFFFFF; box-shadow: none; }
.rule__link:hover .rule__link-ico svg { transform: translateX(2px); }
@media (max-width: 480px) { .rule__link { padding-left: 5px; } .rule__link-t { display: none; } }
.rule i { flex: 1; height: 1px; background: var(--line-2); transform-origin: left; }
.js .rule[data-reveal] { opacity: 1; transform: none; }
.js .rule i { transform: scaleX(0); transition: transform 1.6s var(--ease-draw) .1s; }
.js .rule.is-in i { transform: none; }

/* ---------- Tipografi yardımcıları ---------- */
.h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.045em; }
.h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--accent-ink); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(36px, 4vw, 52px); }
.sec-head__text { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.sec-head__text p { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); text-wrap: pretty; }

/* ---------- Düğmeler ve bağlantılar ----------
   Düğmeyi üzerine gelince soldan sağa bir renk doldurur; ok hücresi ayrı durur. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: color .4s var(--ease), box-shadow .4s;
}
.btn:has(.btn__arrow) { padding-right: 6px; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sweep, var(--accent));
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(127, 127, 127, 0.16); background: color-mix(in srgb, currentColor 14%, transparent); transition: background-color .4s; }
.btn__arrow svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.btn:hover .btn__arrow svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { color: #FFFFFF; }
.btn--accent { background: var(--accent); color: #FFFFFF; --sweep: var(--accent-ink); }
.btn--light { background: #FFFFFF; color: #16171A; --sweep: var(--accent-bright); }
.btn--light .btn__arrow { background: rgba(0, 0, 0, 0.06); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); --sweep: var(--ink); }
.btn--line .btn__arrow { background: var(--surface-2); color: var(--ink); }
.btn--line:hover { color: var(--bg); }
.btn--line:hover .btn__arrow { background: color-mix(in srgb, var(--bg) 16%, transparent); color: var(--bg); }
.btn--line-light { color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26); --sweep: rgba(255, 255, 255, 0.12); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; gap: 10px; }
.btn--sm:has(.btn__arrow) { padding-right: 5px; }
.btn--sm .btn__arrow { width: 28px; height: 28px; border-radius: 7px; }
.btn--sm .btn__arrow svg { width: 15px; height: 15px; }
.btn--xs { min-height: 32px; padding: 0 14px; font-size: 13px; }

/* Metin bağlantısı: uzun gövdeli ok, üzerine gelince uzar */
.more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--accent-ink); white-space: nowrap;
}
.more::after {
  content: ''; flex: none; width: 22px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 1l5 4-5 4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 60px 10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 1l5 4-5 4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 60px 10px no-repeat;
  transition: width .6s var(--ease);
}
.more:hover::after { width: 40px; }
.more .mono { color: var(--ink-2); }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px;
  border-radius: 8px; background: var(--surface-2); font-size: 12px; font-weight: 500; white-space: nowrap;
}
.chip--white { background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink-3); height: 30px; font-size: 13px; }
.chip--glass { background: rgba(255, 255, 255, 0.1); }
.chip--soft { background: rgba(255, 255, 255, 0.7); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.is-dark .chip .dot { background: var(--accent-bright); }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--ink-3); }

.card { border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--shadow); }
.card.is-dark { background: var(--grain), linear-gradient(180deg, #24252A, #18191C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -28px rgba(0, 0, 0, 0.45); }
.lift { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.is-dark { background-color: var(--dark); color: var(--dark-ink); box-shadow: none; }
.is-dark .muted { color: var(--dark-ink-2); }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { grid-column: 2; display: flex; gap: 30px; font-size: 14px; color: var(--ink-3); }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 0; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__i { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; color: var(--accent-ink); }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; align-items: center; justify-content: center; }
.menu-btn__lines { position: relative; width: 20px; height: 12px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn__lines::before { top: 2px; }
.menu-btn__lines::after { top: 9px; }
.menu-open .menu-btn__lines::before { top: 5.5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 5.5px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 59;
  display: flex; flex-direction: column; padding: 16px var(--gutter) 40px; overflow-y: auto;
  background: var(--sheet-bg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.menu-open .menu-sheet { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.menu-sheet a:not(.btn) { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.035em; }
.menu-sheet .nav__i { font-size: 11px; }
.menu-sheet .btn { margin-top: 28px; align-self: flex-start; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
}
@media (min-width: 901px) { .menu-sheet { display: none; } }

/* Ölçeklenen sahne: içerik sabit bir tasarım genişliğinde çizilir, kapsayıcıya sığacak şekilde ölçeklenir */
.fit { position: relative; width: 100%; }
.fit__inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--fit, 1)); }

.ph-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.82); font-size: 12px; font-weight: 500; color: #36373B;
}
.ph-label svg { width: 14px; height: 14px; flex: none; }
.ph-label--dark { background: rgba(0, 0, 0, 0.38); color: #FFFFFF; }

/* ---------- Hakkımda: metin kartı ve fotoğraf yan yana ---------- */
.about { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.about__body { flex: 1.4 1 460px; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); }
/* Kimlik: ad, odak alanı ve unvanlar; .about__body p kuralını ezmek için seçiciler gövdeye bağlı */
.about__id { display: flex; flex-direction: column; }
.about__body .about__name { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--accent-ink); }
.about__body .about__name::after { content: ''; width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), rgba(14, 124, 107, 0.15)); }
.about__body .about__focus { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
/* Unvanlar ince dikey çizgilerle ayrılır; satır kırılırsa baştaki çizgi kırpılır */
.about__roles { display: flex; flex-wrap: wrap; row-gap: 2px; margin: 2px 0 0 -15px; padding: 0; list-style: none; clip-path: inset(0 0 0 15px); font-family: var(--font-display); font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: -0.012em; color: var(--ink-2); }
.about__roles li { position: relative; padding: 0 14px 0 15px; }
.about__roles li::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; transform: translateY(-50%); background: var(--line-2); }
.about__body h2 { margin: 4px 0 6px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.045em; text-wrap: balance; }
.about__body p { font-size: 17px; line-height: 1.7; color: var(--ink-3); text-wrap: pretty; }
.about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.about__facts dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.about__facts dt::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.about__facts dd { margin-top: 8px; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.about__photo { position: relative; flex: 1 1 360px; min-height: 480px; overflow: hidden; border-radius: var(--radius-l); background: #D7D6D1; }
.about__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .about__photo { order: -1; min-height: 380px; } }
@media (max-width: 480px) { .about__facts { gap: 12px; } .about__facts dd { font-size: 14px; } .about__body .about__focus { font-size: 15px; } .about__roles { font-size: 14px; margin-left: -11px; clip-path: inset(0 0 0 11px); } .about__roles li { padding: 0 10px 0 11px; } }

/* ---------- Projeler: geniş satırlar ---------- */
.cases { display: flex; flex-direction: column; gap: var(--space); }
.case { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 32px clamp(40px, 5vw, 72px); }
.case:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.case:nth-child(even) .case__media { order: 2; }
.case__media { display: block; border-radius: var(--radius-l); }
.case__media .pstage { margin-top: 0; box-shadow: inset 0 0 0 1px var(--line); transition: transform 1.1s var(--ease); }
.case__media:hover .pstage { transform: translateY(-6px); }
.case__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.case__idx { display: flex; align-items: center; gap: 14px; color: var(--ink-2); }
.case__idx b { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: var(--accent-ink); }
.case__idx b::after { content: ''; width: 32px; height: 1px; background: var(--line-2); }
.case__title { font-size: clamp(38px, 4.6vw, 68px); line-height: 0.96; letter-spacing: -0.055em; overflow-wrap: anywhere; }
.case__title { display: flex; align-items: center; gap: 16px; }
.pbar__logo .logo-tile { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.case__logo .logo-tile { width: clamp(44px, 4.4vw, 60px); height: clamp(44px, 4.4vw, 60px); }
.case__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease); }
.case__title a:hover { background-size: 100% 2px; }
.case__sum { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.case__tech { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 2px; }

@media (max-width: 900px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
}

.cases__more { display: flex; justify-content: center; margin-top: var(--space); }
/* Bütün projeler: önizlemeli kart düğme */
.allbtn {
  display: inline-grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  max-width: 100%; padding: 12px 12px 12px 14px; border-radius: 22px; background: var(--card-bg); box-shadow: var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.allbtn:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(14, 124, 107, 0.22), 0 22px 40px -20px rgba(22, 23, 26, 0.22), 0 40px 70px -46px rgba(14, 124, 107, 0.35); }
.allbtn__thumbs { display: flex; padding-left: 10px; }
.allbtn__thumbs i { width: 48px; height: 48px; margin-left: -10px; overflow: hidden; border-radius: 13px; background: var(--stage); box-shadow: 0 0 0 3px #FFFFFF, 0 8px 16px -8px rgba(0, 0, 0, 0.35); transition: transform .5s var(--ease); }
.allbtn__thumbs i:nth-child(2) { transition-delay: .03s; }
.allbtn__thumbs i:nth-child(3) { transition-delay: .06s; }
.allbtn__thumbs i:nth-child(4) { transition-delay: .09s; }
.allbtn__thumbs img { width: 220%; max-width: none; height: auto; }
.allbtn:hover .allbtn__thumbs i { transform: translateY(-3px); }
.allbtn__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-right: 8px; }
.allbtn__txt b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.allbtn__txt small { font-size: 13px; color: var(--ink-2); }
.allbtn__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: #FFFFFF; transition: background-color .4s, transform .5s var(--ease); }
.allbtn__go svg { width: 19px; height: 19px; }
.allbtn:hover .allbtn__go { background: var(--accent); transform: translateX(3px); }
@media (max-width: 560px) {
  .allbtn { width: 100%; gap: 14px; }
  .allbtn__thumbs i { width: 40px; height: 40px; }
  .allbtn__thumbs i:nth-child(n + 4) { display: none; }
  .allbtn__txt small { display: none; }
}

/* ---------- Topluluk (kaydırmalı ray) ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 24px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s, opacity .2s; }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); box-shadow: none; }
.rail-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 40px) / 2.4); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
}
@media (max-width: 699px) { .rail { grid-auto-columns: 80%; } .rail-btns { display: none; } }

.sc { display: flex; flex-direction: column; overflow: hidden; }
.sc__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.sc__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.sc__kicker { color: var(--accent-ink); }
.sc__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.sc__text { font-size: 14px; color: var(--ink-2); }
.zoom { transition: transform 1.2s var(--ease); }
.sc:hover .zoom, .wc:hover .zoom { transform: scale(1.035); }

/* ---------- Fotoğraf alanı ---------- */
.photo { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--tone, #5B5C60); }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0) 55%); pointer-events: none; }
.photo.has-img::after { display: none; }

/* ---------- Uzmanlık: alan kartları ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 20px; border-radius: var(--radius-l);
  background: radial-gradient(320px circle at 100% 0%, rgba(14, 124, 107, 0.07), transparent 70%), var(--card-bg);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
/* İmleci izleyen yumuşak ışık (main.js --sx/--sy verir) */
.area::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), rgba(14, 124, 107, 0.11), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.area:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(14, 124, 107, 0.22), 0 22px 40px -20px rgba(22, 23, 26, 0.2), 0 48px 80px -48px rgba(14, 124, 107, 0.3); }
.area:hover::before { opacity: 1; }
.area__top { display: flex; align-items: flex-start; justify-content: space-between; }
.area__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #FFFFFF;
  background: linear-gradient(150deg, #19A48D 0%, #0E7C6B 48%, #0A5D50 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 10px 22px -10px rgba(10, 93, 80, 0.75);
  transition: transform .6s var(--ease);
}
.area__icon svg { width: 23px; height: 23px; }
.area:hover .area__icon { transform: translateY(-2px) rotate(-4deg); }
.area__n { padding: 4px 8px; border-radius: 7px; background: var(--tray-bg); box-shadow: var(--tray-shadow); color: var(--ink-2); }
.area__body { display: flex; flex-direction: column; gap: 8px; }
.area h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.03em; }
.area p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.area__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding: 7px; border-radius: 14px; background: var(--tray-bg); box-shadow: var(--tray-shadow); }

/* Teknoloji işareti ve üzerine gelince açılan etiket */
.tool { position: relative; display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: linear-gradient(180deg, #FFFFFF, #FAF9F6); box-shadow: var(--chip-shadow); outline-offset: 2px; cursor: default; transition: transform .4s var(--ease), box-shadow .4s; }
.tool img { width: 22px; height: 22px; object-fit: contain; }
.tool svg { width: 20px; height: 20px; color: var(--accent-ink); }
.tool--text { padding: 0 11px; }
.tool--text > b { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.tool:hover, .tool:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.3), 0 8px 16px -8px rgba(22, 23, 26, 0.3), inset 0 1px 0 #FFFFFF; }
.tool__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; width: max-content; max-width: 240px;
  display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 10px;
  background: var(--ink); color: #FFFFFF; box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.5);
  font-size: 12.5px; line-height: 1.4; text-align: left; pointer-events: none;
  display: none; transform: translate(-50%, 0); animation: tip-in .3s var(--ease);
}
.tool__tip::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.tool__tip b { font-weight: 600; }
.tool__tip span { color: rgba(255, 255, 255, 0.72); }
.tool:hover .tool__tip, .tool:focus .tool__tip { display: flex; }
/* Kenara yakın işaretlerde etiket içeri doğru açılır (main.js) */
.tool.is-left .tool__tip { left: 0; transform: none; animation-name: tip-in-side; }
.tool.is-left .tool__tip::after { left: 17px; }
.tool.is-right .tool__tip { left: auto; right: 0; transform: none; animation-name: tip-in-side; }
.tool.is-right .tool__tip::after { left: auto; right: 12px; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .areas { grid-template-columns: 1fr; gap: 12px; } .area { padding: 20px; } }
.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: clamp(56px, 7vw, 88px) 0 20px; }
.sub-head h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.035em; }
.sub-head p { font-size: 15px; color: var(--ink-2); }
/* Proje sayfası mimari diyagramı: noktalı oyuk bir tuval, her katman bir sütun, düğümler beyaz çipler.
   Bağlantılar main.js'te çizilir; üzerine gelinen düğümün bağlantıları yeşile döner ve akış yönünde kayar. */
.arch { padding: clamp(10px, 1.4vw, 14px); border-radius: var(--radius-l); }
.arch__canvas {
  position: relative; display: grid; grid-template-columns: repeat(var(--tiers), minmax(0, 1fr)); column-gap: clamp(60px, 8.6vw, 128px);
  padding: clamp(22px, 3vw, 38px) clamp(20px, 3vw, 40px); border-radius: 18px;
  background: radial-gradient(rgba(22, 23, 26, 0.1) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--tray-bg); box-shadow: var(--tray-shadow);
}
.arch__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch__tier { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.arch__tier-h { display: flex; align-items: center; gap: 9px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.arch__tier-h b { padding: 3px 7px; border-radius: 6px; background: linear-gradient(180deg, #FFFFFF, #F8F7F3); box-shadow: var(--chip-shadow); font-weight: 500; color: var(--accent-ink); }
.arch__nodes { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.anode {
  display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 12px 10px 10px; border-radius: 13px;
  background: linear-gradient(180deg, #FFFFFF, #FAF9F6); box-shadow: var(--chip-shadow);
  transition: opacity .35s, box-shadow .35s, transform .35s var(--ease);
}
.anode__mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tray-bg); box-shadow: var(--tray-shadow); }
.anode__mark img { width: 20px; height: 20px; object-fit: contain; }
.anode__mark svg { width: 18px; height: 18px; color: var(--accent-ink); }
.anode__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.anode__name { font-family: var(--font-display); font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.anode__sub { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
/* Dış servis: kesik çerçeveli, yarı saydam */
.anode--ext { background: rgba(255, 255, 255, 0.5); box-shadow: none; outline: 1px dashed rgba(22, 23, 26, 0.24); outline-offset: -1px; }
.anode--ext .anode__mark { background: rgba(255, 255, 255, 0.7); }
.arch__wire { fill: none; stroke: rgba(22, 23, 26, 0.3); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .35s, opacity .35s; }
.arch__flow { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 8; opacity: 0; transition: opacity .35s; animation: arch-flow .9s linear infinite; }
.arch__dot { fill: #FFFFFF; stroke: rgba(22, 23, 26, 0.38); stroke-width: 1.2; opacity: 0; transition: opacity .4s, stroke .35s; }
.arch__tip { fill: none; stroke: rgba(22, 23, 26, 0.45); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s, stroke .35s; }
.arch.is-in .arch__wire { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-draw) var(--d), stroke .35s, opacity .35s; }
.arch.is-in .arch__dot, .arch.is-in .arch__tip { opacity: 1; transition: opacity .5s calc(var(--d) + .9s), stroke .35s; }
@keyframes arch-flow { to { stroke-dashoffset: -10; } }
.arch__lbl {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); padding: 2px 6px; border-radius: 6px;
  background: #F3F2EE; box-shadow: 0 0 0 1px var(--line); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-2); white-space: nowrap;
  transition: opacity .35s, color .35s, box-shadow .35s;
}
/* Aynı katmandaki dikey bağlantının etiketi çizginin yanında durur */
.arch__lbl--side { transform: translate(9px, -50%); }
.arch__canvas.is-focus .anode:not(.is-on) { opacity: 0.38; }
.arch__canvas.is-focus .arch__link:not(.is-on), .arch__canvas.is-focus .arch__lbl:not(.is-on) { opacity: 0.2; }
.anode.is-on { box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.32), 0 10px 22px -12px rgba(22, 23, 26, 0.35), inset 0 1px 0 #FFFFFF; }
.arch__link.is-on .arch__wire { stroke: rgba(14, 124, 107, 0.35); }
.arch__link.is-on .arch__flow { opacity: 1; }
.arch__link.is-on .arch__dot, .arch__link.is-on .arch__tip { stroke: var(--accent); }
.arch__lbl.is-on { color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.3); }
.arch__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 16px clamp(8px, 1.6vw, 18px) 6px; }
.arch__foot p { max-width: 72ch; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.arch__legend { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.arch__legend i { width: 24px; height: 14px; border-radius: 4px; outline: 1px dashed rgba(22, 23, 26, 0.3); outline-offset: -1px; background: rgba(255, 255, 255, 0.5); }
@media (prefers-reduced-motion: reduce) { .arch__flow { animation: none; stroke-dasharray: none; } }
/* Telefonda katmanlar alt alta; aralarında aşağı bakan kısa bir ok */
@media (max-width: 760px) {
  .arch__canvas { grid-template-columns: minmax(0, 1fr); row-gap: 46px; padding: 20px 16px; }
  .arch__links, .arch__lbl { display: none; }
  .arch__tier { gap: 12px; }
  .arch__nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
  .arch__tier + .arch__tier::before { content: ''; position: absolute; left: 50%; top: -34px; width: 1px; height: 20px; background: rgba(22, 23, 26, 0.3); }
  .arch__tier + .arch__tier::after { content: ''; position: absolute; left: 50%; top: -19px; width: 7px; height: 7px; border: solid rgba(22, 23, 26, 0.45); border-width: 0 1.3px 1.3px 0; transform: translate(-50%, 0) rotate(45deg); }
}

/* Proje sayfası teknoloji grupları: her grup bir kart, teknolojiler oyuk bir tepside beyaz çipler */
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tgrid > .tcard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tcard { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: var(--radius-l); }
.tcard__head { display: flex; align-items: flex-start; gap: 14px; }
.tcard__n { flex: none; padding: 4px 8px; border-radius: 7px; background: var(--tray-bg); box-shadow: var(--tray-shadow); color: var(--accent-ink); }
.tcard__head h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.03em; }
.tcard__head p { margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.tcard__items { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-content: start; gap: 6px; padding: 7px; border-radius: 14px; background: var(--tray-bg); box-shadow: var(--tray-shadow); }
.tech {
  display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 10px; border-radius: 11px;
  background: linear-gradient(180deg, #FFFFFF, #FAF9F6); box-shadow: var(--chip-shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tech:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.3), 0 10px 20px -10px rgba(22, 23, 26, 0.3), inset 0 1px 0 #FFFFFF; }
.tech__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tech__logo { display: grid; place-items: center; flex: none; width: 32px; height: 32px; }
.tech__logo img { width: 26px; height: 26px; object-fit: contain; }
.tech__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); }
.tech__icon svg { width: 19px; height: 19px; }
.tech__mono {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-ink); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: -0.01em;
}
.tech__name { font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.tech__sub { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 860px) { .tgrid { grid-template-columns: 1fr; } .tgrid > .tcard:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 480px) { .tcard { padding: 18px; } .tcard__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Medyada: video kartı ---------- */
.vlist { display: flex; flex-direction: column; gap: 16px; }
.vcard { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: 12px; border-radius: var(--radius-l); }
.vcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #101114; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 48px -28px rgba(0, 0, 0, 0.5); }
.vcard__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.vcard__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.vcard__play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35)); }
.vcard__play:hover img { transform: scale(1.03); filter: brightness(.92); }
.vcard__btn {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: #16171A; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18), 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--ease), box-shadow .5s;
}
.vcard__btn svg { width: 28px; height: 28px; margin-left: 4px; }
.vcard__play:hover .vcard__btn { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.16), 0 24px 48px -12px rgba(0, 0, 0, 0.55); }
.vcard__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 24px 12px 0; }
.vcard__k { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.vcard__k i { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.15); }
.vcard__txt h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -0.045em; }
.vcard__txt p { font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.vcard__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 8px 8px 16px; border-radius: 12px;
  background: linear-gradient(180deg, #FFFFFF, #F7F6F2); box-shadow: var(--chip-shadow); font-size: 14px; font-weight: 500;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.vcard__link span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #FFFFFF; }
.vcard__link svg { width: 15px; height: 15px; }
.vcard__link:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(14, 124, 107, 0.3), 0 10px 20px -10px rgba(22, 23, 26, 0.3), inset 0 1px 0 #FFFFFF; }
@media (max-width: 860px) { .vcard { grid-template-columns: 1fr; } .vcard__txt { padding: 4px 12px 14px; } }

/* ---------- İletişim ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px clamp(32px, 5vw, 72px);
  padding: clamp(24px, 5vw, 64px); border-radius: var(--radius-l);
  background: var(--grain), radial-gradient(700px circle at 0% 0%, rgba(14, 124, 107, 0.32), transparent 60%), radial-gradient(600px circle at 100% 100%, rgba(95, 194, 176, 0.12), transparent 60%), linear-gradient(160deg, #1E1F23, #141518);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -44px rgba(0, 0, 0, 0.6);
}
.contact__main { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__status {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 13px; color: var(--dark-ink-2);
}
.contact__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.18); animation: pulse 2.4s ease-in-out infinite; }
.contact h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.055em; }
.contact p { max-width: 500px; font-size: 17px; line-height: 1.65; color: var(--dark-ink-2); text-wrap: pretty; }
.contact__links { display: flex; flex-direction: column; gap: 12px; }
.clink { position: relative; display: flex; align-items: stretch; gap: 8px; }
.clink__main {
  flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 14px 14px 14px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.clink__main:hover { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(95, 194, 176, 0.45); transform: translateY(-2px); }
.clink__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #FFFFFF; background: linear-gradient(150deg, #19A48D, #0E7C6B 48%, #0A5D50); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 22px -10px rgba(10, 93, 80, 0.8); }
.clink__ico svg { width: 22px; height: 22px; }
.clink__ico--in { background: linear-gradient(150deg, #2C8FD6, #0A66C2 55%, #084E96); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 22px -10px rgba(8, 78, 150, 0.8); }
.clink__ico--in svg { width: 19px; height: 19px; margin-top: -1px; }
.clink__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.clink__txt small { font-size: 10.5px; color: var(--dark-ink-2); }
.clink__txt b { overflow-wrap: anywhere; font-size: clamp(15px, 1.35vw, 17px); font-weight: 600; letter-spacing: -0.01em; color: var(--dark-ink); }
.clink__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--dark-ink); transition: background-color .4s, color .4s, transform .5s var(--ease); }
.clink__go svg { width: 17px; height: 17px; }
.clink__main:hover .clink__go { background: var(--accent-bright); color: #0B1D1A; transform: translateX(2px); }
.clink__copy {
  position: relative; flex: none; display: grid; place-items: center; width: 56px; border: 0; border-radius: 18px; color: var(--dark-ink-2);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: color .3s, background-color .3s;
}
.clink__copy:hover { color: var(--dark-ink); background: rgba(255, 255, 255, 0.09); }
.clink__copy svg { width: 19px; height: 19px; }
.clink__copy .i-done { display: none; color: #3DD68C; }
.clink__copy.is-done .i-copy { display: none; }
.clink__copy.is-done .i-done { display: block; }
.clink__tip { position: absolute; bottom: calc(100% + 8px); left: 50%; padding: 5px 9px; border-radius: 8px; background: #FFFFFF; color: #16171A; font-size: 12px; font-weight: 500; white-space: nowrap; transform: translateX(-50%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.clink__copy.is-done .clink__tip { opacity: 1; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .clink__main { gap: 12px; padding: 12px; } .clink__ico { width: 42px; height: 42px; } .clink__go { display: none; } .clink__copy { width: 46px; } .clink__txt b { font-size: 14.5px; } }

/* ---------- Alt bilgi ---------- */
.site-footer { margin-top: clamp(64px, 8vw, 104px); padding: 26px 0 44px; border-top: 1px solid var(--line-2); }
.site-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--ink-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a:hover { color: var(--ink); }

/* ==========================================================================
   Cihaz çizimleri — tüm ölçüler em cinsinden; boyutu --w belirler
   ========================================================================== */
.mock-skel { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock-skel i, .mock-skel b { display: block; flex: none; }

.phone {
  --w: 264px;
  position: relative; flex: none; font-size: calc(var(--w) / 26);
  width: 26em; height: 53.4em; padding: 0.9em; border-radius: 4.6em;
  background: linear-gradient(150deg, #66676C, #1C1C1E 60%);
  box-shadow: inset 0 0 0 0.1em rgba(255, 255, 255, 0.12), 0 4em 8em -3em rgba(0, 0, 0, 0.45);
}
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 3.7em; background: #FAFAF8; }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__cam { position: absolute; z-index: 3; top: 1.4em; left: 50%; width: 1.1em; height: 1.1em; margin-left: -0.55em; border-radius: 50%; background: #1C1C1E; }
.phone .mock-skel { padding: 4.4em 1.4em 0; gap: 1.2em; }
.phone--dark .phone__screen { background: #1D1D1F; }

.laptop { --w: 1000px; position: relative; font-size: calc(var(--w) / 100); width: 100em; }
.laptop__lid { width: 86em; height: 53em; margin: 0 auto; padding: 1.4em; border-radius: 2.2em; background: #1D1D1F; box-shadow: inset 0 0 0 0.1em rgba(255, 255, 255, 0.08); }
.laptop__screen { position: relative; height: 100%; overflow: hidden; border-radius: 0.9em; background: #FFFFFF; }
.laptop__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base { position: relative; height: 2.2em; border-radius: 0 0 2em 2em; background: linear-gradient(#DADAD6, #B8B8B3); }
.laptop__base::before { content: ''; position: absolute; left: 50%; top: 0; width: 15em; height: 0.8em; margin-left: -7.5em; border-radius: 0 0 0.8em 0.8em; background: #A9A9A4; }

.browser {
  --w: 440px;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  font-size: calc(var(--w) / 44); width: 44em; height: 30em; border-radius: 1.2em; background: #FFFFFF;
  box-shadow: 0 0 0 0.1em rgba(0, 0, 0, 0.07), 0 3em 6em -3em rgba(0, 0, 0, 0.3);
}
.browser__bar { flex: none; height: 2.4em; display: flex; align-items: center; gap: 0.55em; padding: 0 1.1em; background: #F1F1EE; border-bottom: 0.1em solid rgba(0, 0, 0, 0.05); }
.browser__bar > i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #D6D6D1; }
.browser__body { position: relative; flex: 1; min-height: 0; }
.browser__body > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.logo-tile {
  display: grid; place-items: center; flex: none; width: 84px; height: 84px; overflow: hidden; border-radius: 23%; background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--line), 0 16px 30px -18px rgba(0, 0, 0, 0.3); font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #6A6B70;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
/* Uygulama simgesi gibi karoyu kaplayan logo */
.logo-tile--fill { background: #E9E8E3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 34px -18px rgba(0, 0, 0, 0.45); }
.logo-tile--fill img { padding: 0; object-fit: cover; }

/* ==========================================================================
   Proje sayfası şablonu
   ========================================================================== */
.pbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 50; pointer-events: none; }
.pbar__in {
  pointer-events: auto; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(22, 23, 26, 0.07), 0 14px 32px -18px rgba(22, 23, 26, 0.28);
}
.pbar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pbar__back { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 4px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: background-color .3s, color .3s; }
.pbar__back-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, #FFFFFF, #F7F6F2); box-shadow: var(--chip-shadow); transition: transform .5s var(--ease); }
.pbar__back-ico svg { width: 16px; height: 16px; }
.pbar__back:hover { color: var(--ink); background: var(--tray-bg); }
.pbar__back:hover .pbar__back-ico { transform: translateX(-3px); }
.pbar__sep { width: 1px; height: 22px; flex: none; background: var(--line-2); }
.pbar__title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.025em; }
.pbar__nav { position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 13px; background: var(--tray-bg); box-shadow: var(--tray-shadow); }
.pbar__nav a { position: relative; z-index: 1; padding: 8px 13px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.pbar__nav a:hover, .pbar__nav a.is-on { color: var(--ink); }
.pbar__pill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 10px; background: linear-gradient(180deg, #FFFFFF, #FAF9F6); box-shadow: var(--chip-shadow); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
@media (max-width: 1060px) { .pbar__nav { display: none; } }
@media (max-width: 480px) { .pbar__back-t, .pbar__sep { display: none; } .pbar__back { padding-right: 4px; } }

/* Proje sayfası doğrudan görselle başlar; altında bilgi şeridi */
.phero { padding-top: clamp(24px, 3vw, 40px); }
.phero .pstage, .phero .photo-hero { margin-top: 0; }
.phero__facts { padding-top: 16px; }

.pstage { position: relative; margin-top: clamp(40px, 5vw, 56px); overflow: hidden; border-radius: var(--radius-l); isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.pstage--tint {
  background-color: var(--accent-soft);
  background-image: linear-gradient(rgba(14, 124, 107, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 124, 107, 0.09) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.pstage__glow { position: absolute; z-index: -1; left: 50%; top: -32%; width: 72%; height: 70%; transform: translateX(-50%); border-radius: 50%; filter: blur(90px); }
.pstage--dark .pstage__glow { background: var(--accent); opacity: 0.28; }
.pstage--light .pstage__glow, .pstage--tint .pstage__glow { background: var(--glow); }
.pstage__lg { aspect-ratio: 1144 / 680; }
.pstage__lg .fit__inner { width: 1144px; height: 680px; }
.pstage__sm { display: none; aspect-ratio: 360 / 480; }
.pstage__sm .fit__inner { width: 360px; height: 480px; }
@media (max-width: 699px) {
  .pstage__lg { display: none; }
  .pstage__sm { display: block; }
}
.abs { position: absolute; }
.ground { position: absolute; border-radius: 50%; background: rgba(0, 0, 0, 0.28); filter: blur(24px); }

.photo-hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(440px, 50vw, 680px); margin-top: clamp(40px, 5vw, 56px); }
.photo-hero > * { border-radius: 22px; overflow: hidden; }
.photo-hero > :first-child { grid-row: span 2; }
.photo-hero--2 { grid-template-columns: 1.35fr 1fr; grid-template-rows: minmax(0, 1fr); }
.photo-hero--1 { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
.photo-hero--1 > :first-child, .photo-hero--2 > :first-child { grid-row: auto; }
@media (max-width: 699px) {
  .photo-hero { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 170px; height: auto; }
  .photo-hero > :first-child { grid-row: auto; grid-column: span 2; }
  .photo-hero--2 { grid-template-columns: 1fr; grid-template-rows: 260px 200px; }
  .photo-hero--1 { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .photo-hero--1 > :first-child, .photo-hero--2 > :first-child { grid-column: auto; }
  .photo-hero > * { border-radius: 16px; }
}

/* Bilgi şeridi: pafta antedi gibi */
.facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.fact { padding: 18px 20px 20px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.fact dt::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fact dd { margin-top: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .fact:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact:nth-child(3n + 1) { padding: 16px 0 16px 16px; border-left: 1px solid var(--line); border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fact:nth-child(5) { grid-column: span 2; }
}

/* ---------- Genel bakış: büyük giriş cümlesi, altında birbirine bağlanan iki kart ---------- */
.ov { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.ov__lead {
  position: relative; max-width: 980px; padding-left: clamp(20px, 2.4vw, 32px);
  font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.25; text-wrap: pretty;
}
.ov__lead::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), rgba(14, 124, 107, 0.15)); }
.ov__pair { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: stretch; }
.ov__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-l); }
.ov__card p { font-size: 16.5px; line-height: 1.7; color: var(--ink-3); text-wrap: pretty; }
.ov__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--tray-bg); box-shadow: var(--tray-shadow); color: var(--ink-2); }
.ov__icon svg { width: 22px; height: 22px; }
.ov__k { font-weight: 500; color: var(--ink-2); }
.ov__card--b { background: radial-gradient(420px circle at 100% 0%, rgba(14, 124, 107, 0.1), transparent 70%), var(--card-bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(14, 124, 107, 0.2), 0 12px 28px -16px rgba(22, 23, 26, 0.14), 0 32px 64px -44px rgba(14, 124, 107, 0.35); }
.ov__card--b .ov__icon { color: #FFFFFF; background: linear-gradient(150deg, #19A48D, #0E7C6B 48%, #0A5D50); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px -10px rgba(10, 93, 80, 0.75); }
.ov__card--b .ov__k { color: var(--accent-ink); }
.ov__arrow { display: grid; place-items: center; align-self: center; justify-self: center; z-index: 1; width: 40px; height: 40px; margin: 0 -14px; border-radius: 50%; background: linear-gradient(180deg, #FFFFFF, #F5F4F0); box-shadow: var(--chip-shadow); color: var(--accent-ink); }
.ov__arrow svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .ov__pair { grid-template-columns: 1fr; }
  .ov__arrow { margin: -14px 0; transform: rotate(90deg); }
}

/* ---------- Öne çıkanlar: küçük, net kartlar; görsel aynı oranda bir çerçevede, kesilmeden ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.hl { display: flex; flex-direction: column; gap: 16px; padding: 10px 10px 22px; border-radius: var(--radius-l); }
.hl__vis {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden;
  border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font: inherit;
}
button.hl__vis, .shot__frame { cursor: zoom-in; }
.hl__fit, .shot__fit { position: absolute; inset: 14px; display: flex; align-items: center; justify-content: center; }
.hl__shot, .shot__fit img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 8px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 14px 28px -16px rgba(0, 0, 0, 0.4);
  transition: transform .8s var(--ease);
}
.hl__vis:hover .hl__shot, .shot__frame:hover .shot__fit img { transform: scale(1.025); }
.hl__body { display: flex; flex-direction: column; gap: 7px; padding: 0 12px; }
.hl__n { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--accent-ink); }
.hl__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.hl__text { font-size: 14px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
/* Büyüt işareti: üzerine gelince sağ üstte belirir */
.zoom-ico {
  position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: rgba(22, 23, 26, 0.78); color: #FFFFFF; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s var(--ease);
}
.zoom-ico svg { width: 16px; height: 16px; }
.hl__vis:hover .zoom-ico, .hl__vis:focus-visible .zoom-ico, .shot__frame:hover .zoom-ico, .shot__frame:focus-visible .zoom-ico { opacity: 1; transform: none; }
@media (hover: none) { .zoom-ico { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hl-grid { grid-template-columns: 1fr; } }
.vis-rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.vis-rings i:nth-child(1) { width: 150px; height: 150px; box-shadow: inset 0 0 0 1px var(--accent); opacity: .5; }
.vis-rings i:nth-child(2) { width: 96px; height: 96px; box-shadow: inset 0 0 0 1px var(--accent); opacity: .8; }
.vis-rings i:nth-child(3) { width: 46px; height: 46px; background: var(--accent); }
.vis-bars { position: absolute; left: 40px; right: 40px; bottom: 30px; height: 100px; display: flex; align-items: flex-end; gap: 10px; }
.vis-bars i { flex: 1; border-radius: 6px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); }
.vis-bars i:last-child { background: var(--accent); box-shadow: none; }
.vis-grid { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vis-grid i { border-radius: 8px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); }
.vis-grid i:nth-child(5) { background: var(--accent); box-shadow: none; }

/* Telefon ekranları akışı */
.flow-wrap { overflow-x: auto; scrollbar-width: thin; }
.flow { display: flex; justify-content: space-between; gap: 24px; min-width: 1000px; padding: 48px 44px 40px; }
.flow--few { justify-content: center; gap: clamp(24px, 6vw, 88px); min-width: 0; width: max-content; margin: 0 auto; }
.flow__item { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.flow__zoom { cursor: zoom-in; transition: transform .6s var(--ease); }
.flow__zoom:hover { transform: translateY(-4px); }
.flow__cap { display: flex; flex-direction: column; gap: 3px; max-width: 180px; }
.flow__cap span:first-child { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--accent-ink); }
.flow__cap span:nth-child(2) { font-size: 15px; font-weight: 600; }
.flow__cap span:nth-child(3) { font-size: 13px; color: var(--ink-2); }
@media (max-width: 699px) { .flow { padding: 32px 24px; gap: 20px; } }

/* ---------- Ekranlar: üçlü ızgara, aynı oranda çerçeveler, tıklayınca büyür ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.shot { display: flex; flex-direction: column; gap: 14px; }
.shot__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden;
  border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); font: inherit;
}
div.shot__frame .browser { position: absolute; inset: 16px 16px 0; width: auto; height: auto; font-size: 8px; border-radius: 8px 8px 0 0; }
.shot__cap { display: flex; flex-direction: column; gap: 3px; padding: 0 4px; }
.shot__cap b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.shot__cap span { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.gnote { margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }

/* Fotoğraf düğmeleri: kahraman ve ızgaradaki fotoğraflar tıklayınca büyür */
.zbtn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.zbtn .photo > img { transition: transform 1.2s var(--ease); }
.zbtn:hover .photo > img { transform: scale(1.03); }

/* ---------- Nasıl çalışır: zaman çizelgesi; çizginin üstünde noktalar, altında kartlar ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 12px; }
.steps::before {
  content: ''; position: absolute; left: calc(100% / var(--n, 6) / 2); right: calc(100% / var(--n, 6) / 2); top: 9px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(14, 124, 107, 0.18));
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.step__dot {
  position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px var(--under, var(--bg)); transition: background-color .4s, box-shadow .4s;
}
.step__dot::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); transform: scale(.55); transition: transform .4s var(--ease); }
.step__card { align-self: stretch; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; border-radius: 18px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.step:hover .step__card { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step:hover .step__dot { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px var(--under, var(--bg)), 0 0 0 12px rgba(14, 124, 107, 0.12); }
.step:hover .step__dot::after { transform: scale(1); }
.step__n { width: max-content; padding: 4px 8px; border-radius: 7px; background: var(--tray-bg); box-shadow: var(--tray-shadow); color: var(--accent-ink); }
.step__title { margin-top: 4px; font-size: 17px; line-height: 1.25; letter-spacing: -0.025em; }
.step__text { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
/* Dar ekranda dikey zaman çizelgesi: çizgi solda, kartlar sağda */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; gap: 12px; padding-left: 36px; }
  .steps::before { left: 9px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(var(--accent), rgba(14, 124, 107, 0.18)); }
  .step { display: block; }
  .step__dot { position: absolute; left: -36px; top: 22px; }
}

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 12px; }
.pgrid > * { border-radius: 18px; overflow: hidden; }
.pgrid .s-2x2 { grid-column: span 2; grid-row: span 2; }
.pgrid .s-2x1 { grid-column: span 2; }
.pgrid .s-full { grid-column: 1 / -1; }
@media (max-width: 860px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .pgrid { grid-auto-rows: 150px; } .pgrid > * { border-radius: 14px; } }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.product .logo-tile { width: 64px; height: 64px; }
.product__k { font-size: 13px; color: var(--ink-2); }
.product .more { margin-top: auto; }
.pcard { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border-radius: 22px; }
.pcard > div { display: flex; flex-direction: column; gap: 3px; }
.pcard__k { font-size: 12.5px; color: var(--ink-2); }
.pcard__t { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.product .h3 { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; }

.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.stack__group { display: flex; flex-direction: column; gap: 16px; padding: 26px; }
.stack__group h3 { font-size: 18px; letter-spacing: -0.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Önceki / sonraki proje ---------- */
.pnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pn {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 16px 16px 16px 20px; border-radius: var(--radius-l); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pn:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pn--next { grid-template-columns: auto minmax(0, 1fr) auto; padding: 16px 20px 16px 16px; }
.pn--next .pn__thumb { order: -1; }
.pn--next .pn__txt { text-align: right; align-items: flex-end; }
.pn--next .pn__go { order: 2; }
.pn__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tray-bg); box-shadow: var(--tray-shadow); color: var(--ink);
  transition: background-color .4s, color .4s, transform .6s var(--ease);
}
.pn__go svg { width: 18px; height: 18px; }
.pn--prev:hover .pn__go { transform: translateX(-4px); background: var(--accent); color: #FFFFFF; box-shadow: none; }
.pn--next:hover .pn__go { transform: translateX(4px); background: var(--accent-bright); color: #0B1D1A; box-shadow: none; }
.pn--next .pn__go { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.pn__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pn__txt small { font-size: 10.5px; color: var(--ink-2); }
.pn__txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.pn__txt > span { font-size: 13.5px; color: var(--ink-2); }
.pn.is-dark .pn__txt small, .pn.is-dark .pn__txt > span { color: var(--dark-ink-2); }
.pn__thumb { position: relative; width: 136px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--stage); box-shadow: 0 0 0 1px var(--line), 0 12px 24px -14px rgba(0, 0, 0, 0.4); }
.pn__thumb > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.pn:hover .pn__thumb > img { transform: scale(1.06); }
.pn__thumb--logo { display: grid; place-items: center; background: var(--accent-soft); }
.pn__thumb--logo .logo-tile { width: 54px; height: 54px; }
.pn.is-dark .pn__thumb { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 24px -14px rgba(0, 0, 0, 0.6); }
@media (max-width: 860px) { .pnav { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pn__thumb { width: 88px; } .pn, .pn--next { gap: 14px; padding: 12px; } }

/* ---------- Görsel büyütme penceresi ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px;
  padding: clamp(16px, 3vw, 40px); background: rgba(14, 15, 17, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lb.is-on { opacity: 1; visibility: visible; }
.lb-open { overflow: hidden; }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; background: #FFFFFF; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8); transform: scale(.97); transition: transform .4s var(--ease); }
.lb.is-on .lb__fig img { transform: none; }
.lb__fig figcaption { display: flex; align-items: center; gap: 16px; max-width: 760px; font-size: 14px; color: rgba(255, 255, 255, 0.85); text-align: center; }
.lb__count { flex: none; white-space: nowrap; color: rgba(255, 255, 255, 0.5); }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background-color .3s; }
.lb__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { position: absolute; right: clamp(12px, 2vw, 24px); top: clamp(12px, 2vw, 24px); }
.lb--single .lb__prev, .lb--single .lb__next { visibility: hidden; }
@media (max-width: 699px) {
  .lb { grid-template-columns: 1fr; padding: 64px 12px 84px; }
  .lb__prev, .lb__next { position: absolute; bottom: 20px; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
  .lb__fig img { max-height: calc(100vh - 220px); }
}

.notice { max-width: 640px; margin: 0 auto; padding: 120px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ==========================================================================
   İşler listesi
   ========================================================================== */
/* İşler sayfası: yalnızca yan yana sekmeler */
.lhead { padding-top: clamp(24px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 32px); }
/* Sekmeler dar ekranda alt satıra geçer; çizgi seçili sekmenin hemen altına kayar */
.filters { position: relative; display: flex; flex-wrap: wrap; column-gap: 32px; border-bottom: 1px solid var(--line-2); }
.filter {
  display: inline-flex; align-items: baseline; gap: 8px; flex: none; min-height: 48px; padding: 12px 0; border: 0; background: none;
  font-size: 16px; font-weight: 500; color: var(--ink-2); transition: color .3s;
}
.filter:hover, .filter[aria-pressed="true"] { color: var(--ink); }
.filter .mono { font-size: 10.5px; color: var(--accent-ink); }
.filters__bar { position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
@media (max-width: 600px) { .filters { column-gap: 24px; } .filter { min-height: 44px; padding: 10px 0; } }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.wc { display: flex; flex-direction: column; overflow: hidden; }
.wc__media { position: relative; height: 240px; overflow: hidden; }
.wc__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.wc__kicker { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.wc__kicker b { font-weight: 600; color: var(--accent-ink); }
.wc__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.wc__text { font-size: 14px; color: var(--ink-2); }
.wc__stage { position: absolute; inset: 0; }
.wc__media .browser { position: absolute; left: 50%; bottom: -40px; margin-left: -150px; }
/* Mobil uygulama: üç telefon yelpaze gibi, ortadaki önde; hepsi çerçevenin içinde tam görünür */
.wc__media .wc__ph { position: absolute; left: 50%; box-shadow: inset 0 0 0 0.1em rgba(255, 255, 255, 0.12), 0 2.4em 4.4em -1.6em rgba(22, 23, 26, 0.42); }
.wc__ph--c { z-index: 2; top: 22px; margin-left: -47px; }
.wc__ph--l { top: 46px; margin-left: -106px; transform: rotate(-7deg); }
.wc__ph--r { top: 46px; margin-left: 26px; transform: rotate(7deg); }
/* Girişim: ürün ailesi; web ürünü arkada, mobil ürünler iki yanında */
.wc__media .browser.wc__fam-web { top: 34px; bottom: auto; margin-left: -110px; }
.wc__fam-l, .wc__fam-r { z-index: 2; top: 66px; }
.wc__fam-l { margin-left: -150px; transform: rotate(-5deg); }
.wc__fam-r { margin-left: 72px; transform: rotate(5deg); }
/* Gerçek ekran görüntüsü: kartın neredeyse tamamını kaplayan, alttan taşan pencere */
.wc__media .browser.wc__shot { left: 22px; right: 22px; top: 28px; bottom: auto; width: auto; height: auto; margin: 0; }
.wc__shot .browser__body > img { height: auto; }
.wc__body { flex: 1; }
.wc__tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.wc__tech .tool { min-width: 30px; height: 30px; padding: 5px; }
.wc__tech .tool img { width: 20px; height: 20px; }
.wc__media--logo { display: grid; place-items: center; background-color: var(--accent-soft); }
.wc__media .logo-tile { position: static; width: 96px; height: 96px; }
.wc__badge { position: absolute; left: 16px; top: 16px; z-index: 4; }
.wc__badge .logo-tile { width: 44px; height: 44px; box-shadow: 0 0 0 1px rgba(22, 23, 26, 0.06), 0 10px 20px -10px rgba(22, 23, 26, 0.45); }

/* ==========================================================================
   Hareket
   ========================================================================== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tip-in { from { opacity: 0; transform: translate(-50%, 6px); } }
@keyframes tip-in-side { from { opacity: 0; transform: translateY(6px); } }
.float { animation: float 7s ease-in-out infinite; }
.float--2 { animation-duration: 8s; animation-delay: -3s; }
.float--3 { animation-duration: 9s; animation-delay: -5s; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .draw, .draw.is-in { animation: draw 2.4s var(--ease-draw) .2s forwards; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .rule i { transform: none; }
  .draw { stroke-dashoffset: 0; }
}
