/* =========================================================
   ahsenaloglu.dev — portfolyo (bento düzen)
   Renk teması düzenleme panelinden seçilir (data-palette).
   ========================================================= */

/* ---------- Renk temaları ---------- */
:root, [data-palette="lavanta"] { --a1: #7c5cff; --a2: #ff8fb1; --a3: #2fc9a6; --a4: #ffc145; }
[data-palette="okyanus"]  { --a1: #2f7cf6; --a2: #ff8a65; --a3: #1fbfa0; --a4: #ffcc4d; }
[data-palette="seftali"]  { --a1: #ff6b4a; --a2: #9d7bff; --a3: #1fb5a5; --a4: #ffc94d; }
[data-palette="nane"]     { --a1: #0fa37f; --a2: #7b6cff; --a3: #ff8f6b; --a4: #f5c542; }
[data-palette="gece"]     { --a1: #8b7bff; --a2: #ff7eb6; --a3: #4fe0c1; --a4: #ffd76a; }

:root {
  --bg: color-mix(in srgb, var(--a1) 5%, #fbfbfe);
  --surface: #ffffff;
  --surface2: color-mix(in srgb, var(--a1) 7%, #ffffff);
  --ink: color-mix(in srgb, var(--a1) 22%, #15142a);
  --muted: color-mix(in srgb, var(--a1) 18%, #6f6c86);
  --line: color-mix(in srgb, var(--a1) 12%, rgba(20, 20, 40, .07));
  --shadow: 0 1px 2px rgba(30, 25, 70, .04), 0 18px 40px -22px color-mix(in srgb, var(--a1) 45%, rgba(30, 25, 70, .35));
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --pad: clamp(14px, 3.4vw, 48px);
  --r: 28px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
[data-theme="dark"], [data-palette="gece"] {
  --bg: color-mix(in srgb, var(--a1) 12%, #0c0c18);
  --surface: color-mix(in srgb, var(--a1) 9%, #15152a);
  --surface2: color-mix(in srgb, var(--a1) 16%, #191932);
  --ink: #f1f0fb;
  --muted: #a7a4c4;
  --line: rgba(255, 255, 255, .08);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Kahve & Bej (gündüz: bej zemin / gece: espresso zemin) ---------- */
[data-palette="kahve"] {
  --a1: #9a5c36;   /* karamel kahve */
  --a2: #cf7456;   /* kiremit */
  --a3: #7a9666;   /* adaçayı yeşili */
  --a4: #e0a43f;   /* bal sarısı */
  --bg: #f4ebe0;
  --surface: #fcf7f1;
  --surface2: #f1e5d6;
  --ink: #3a281f;
  --muted: #86705f;
  --line: rgba(74, 48, 34, .11);
  --shadow: 0 1px 2px rgba(74, 48, 34, .05), 0 18px 40px -22px rgba(120, 72, 40, .42);
  color-scheme: light;
}
[data-palette="kahve"][data-theme="dark"] {
  --a1: #c98a5d;
  --a2: #e2937a;
  --a3: #a2b98d;
  --a4: #eebd5f;
  --bg: #1a130f;
  --surface: #251b16;
  --surface2: #2f231d;
  --ink: #f5ebe0;
  --muted: #bda895;
  --line: rgba(245, 235, 224, .09);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .75);
  color-scheme: dark;
}
[data-palette="kahve"] .bg__blob { opacity: .26; }
[data-palette="kahve"] .bg__blob--3 { opacity: .2; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background-color .5s; }
.js body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--a1); color: #fff; }
:focus-visible { outline: 2.5px solid var(--a1); outline-offset: 3px; border-radius: 10px; }
body.has-cursor, body.has-cursor * { cursor: none !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.ico { width: 1em; height: 1em; display: block; flex: none; }
[data-icon] { display: inline-flex; }
.char { display: inline-block; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- Açılış: “Hoş geldiniz” ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); color: var(--ink); display: grid; place-items: center; overflow: hidden; }
.no-js .preloader { display: none; }
.pre__glow { position: absolute; display: block; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .4; }
.pre__glow--1 { background: var(--a1); left: -20vmax; top: -24vmax; }
.pre__glow--2 { background: var(--a2); right: -22vmax; bottom: -26vmax; opacity: .3; }
.pre__glow--3 { background: var(--a3); width: 30vmax; height: 30vmax; left: 55%; top: 10%; opacity: .18; }
.pre__center { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: 0 20px; text-align: center; }
.pre__word { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 10vw, 156px); line-height: 1; letter-spacing: -.045em; perspective: 700px; white-space: nowrap; }
.pre__word .char { transform-origin: 50% 100%; will-change: transform, opacity, filter; }
.pre__line { width: min(70%, 520px); height: clamp(14px, 2vw, 24px); overflow: visible; margin-top: 4px; }
.pre__line path { fill: none; stroke: var(--a4); stroke-width: 6; stroke-linecap: round; }
.pre__sub { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- İmleç ---------- */
.cursor { display: none; pointer-events: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; z-index: 99; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--a1); transition: opacity .3s; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid color-mix(in srgb, var(--a1) 45%, transparent); display: grid; place-items: center; transition: width .45s var(--spring), height .45s var(--spring), margin .45s var(--spring), background .3s, border-color .3s, opacity .3s; }
.cursor.is-hover .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: color-mix(in srgb, var(--a1) 12%, transparent); border-color: var(--a1); }
.cursor.has-label .cursor__ring { width: 82px; height: 82px; margin: -41px 0 0 -41px; background: var(--a1); border-color: var(--a1); }
.cursor.has-label .cursor__dot, .cursor.is-out .cursor__dot, .cursor.is-out .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor__label { font-size: 12px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.has-label .cursor__label { opacity: 1; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a4)); transform-origin: left; transform: scaleX(0); border-radius: 0 4px 4px 0; }

/* ---------- Arka plan ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.bg__blob--1 { width: 46vw; height: 46vw; background: var(--a1); top: -18vw; left: -12vw; animation: drift 22s ease-in-out infinite alternate; }
.bg__blob--2 { width: 38vw; height: 38vw; background: var(--a2); top: 20vh; right: -14vw; animation: drift 26s ease-in-out infinite alternate-reverse; }
.bg__blob--3 { width: 34vw; height: 34vw; background: var(--a3); bottom: -16vw; left: 30vw; opacity: .22; animation: drift 30s ease-in-out infinite alternate; }
[data-theme="dark"] .bg__blob, [data-palette="gece"] .bg__blob { opacity: .2; }
@keyframes drift { to { transform: translate(8vw, 6vw) scale(1.15); } }
.bg__dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--a1) 22%, transparent) 1px, transparent 1.2px); background-size: 26px 26px; opacity: .45; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }

/* Sayfaya serpiştirilmiş şekiller */
main { position: relative; }
.shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shp { position: absolute; display: block; will-change: transform; }
.shp > i { display: block; width: 100%; height: 100%; animation: bob 7s ease-in-out infinite; }
.shp--circle > i { border-radius: 50%; background: var(--a4); }
.shp--ring > i { border-radius: 50%; border: 7px solid var(--a3); }
.shp--plus > i { background: linear-gradient(var(--a2), var(--a2)) center / 30% 100% no-repeat, linear-gradient(var(--a2), var(--a2)) center / 100% 30% no-repeat; border-radius: 6px; }
.shp--tri > i { background: var(--a1); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .85; }
.shp--square > i { border: 6px solid var(--a2); border-radius: 12px; }
.shp--dots > i { background-image: radial-gradient(var(--a1) 2.5px, transparent 3px); background-size: 14px 14px; opacity: .6; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(14deg); } }
.bento, .ticker, .section, .journey, .footer { position: relative; z-index: 1; }

/* ---------- Üst menü / sekme çubuğu ---------- */
.nav { position: fixed; top: 14px; left: var(--pad); right: var(--pad); z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.nav > * { pointer-events: auto; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.logo b { color: var(--a2); display: inline-block; transition: transform .5s var(--spring); }
.logo:hover b { transform: translateY(-6px) scale(1.5); }
.tabbar { position: relative; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tabbar a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .35s; }
.tabbar a .ico { font-size: 16px; }
.tabbar a.on { color: #fff; }
.tabbar a:not(.on):hover { color: var(--ink); }
.tabbar__ind { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); width: 0; border-radius: 999px; background: var(--a1); box-shadow: 0 6px 18px -6px var(--a1); transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s; opacity: 0; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); transition: background .3s; }
.icon-btn:hover { background: var(--surface); }
.ico-d { display: none !important; }
[data-theme="dark"] .ico-l { display: none !important; }
[data-theme="dark"] .ico-d { display: inline-flex !important; }
@media (max-width: 900px) {
  /* telefonda uygulama gibi alt sekme çubuğu */
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); justify-content: space-between; padding: 6px; }
  .tabbar a { flex: 1; flex-direction: column; gap: 2px; padding: 7px 2px; font-size: 10.5px; }
  .tabbar a .ico { font-size: 19px; }
  .footer { padding-bottom: 100px !important; }
}

/* ---------- Ortak ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--pad) 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head--pad { max-width: 1320px; margin-left: auto; margin-right: auto; padding: 0 var(--pad); }
.sec-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--a1); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; box-shadow: 0 10px 24px -10px var(--a1); }
.sec-num--light { background: rgba(255,255,255,.2); box-shadow: none; }
.sec-title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; }
.sec-title .mark { position: relative; display: inline-block; color: var(--a1); }
.sec-title .mark svg { position: absolute; left: -2%; right: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; }
.sec-title .mark path { fill: none; stroke: var(--a4); stroke-width: 7; stroke-linecap: round; }
.sec-sub { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn .ico { font-size: 17px; }
.btn--main { background: var(--a1); color: #fff; box-shadow: 0 12px 26px -12px var(--a1); }
.btn--main:hover { box-shadow: 0 16px 34px -10px var(--a1); }
.btn--ghost { background: var(--surface2); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface); }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--a3); flex: none; }
.live::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--a3); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Bento ---------- */
.bento {
  max-width: 1320px; margin: 0 auto; padding: 96px var(--pad) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 14px;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  grid-column: span 4; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: translate .5s var(--spring), box-shadow .4s;
}
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a1) 10%, transparent), transparent 65%); }
.tile:hover { translate: 0 -5px; }
.tile:hover::before { opacity: 1; }
.tile--intro { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 440px; }
.tile--photo { grid-column: span 5; grid-row: span 2; padding: 0; background: linear-gradient(150deg, color-mix(in srgb, var(--a1) 28%, var(--surface)), color-mix(in srgb, var(--a2) 32%, var(--surface))); display: grid; place-items: center; }
.tile--now { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: color-mix(in srgb, var(--a3) 14%, var(--surface)); }
.tile--stat { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.tile--stat.s-0 { background: color-mix(in srgb, var(--a4) 22%, var(--surface)); }
.tile--stat.s-1 { background: color-mix(in srgb, var(--a2) 18%, var(--surface)); }
.tile--stat.s-2 { background: color-mix(in srgb, var(--a3) 16%, var(--surface)); }
.tile--social { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.tile--about { grid-column: span 5; display: flex; flex-direction: column; gap: 12px; }
.tile--interests { grid-column: span 7; display: flex; flex-direction: column; gap: 14px; }

.hi { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.name { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 7.2vw, 118px); line-height: .9; letter-spacing: -.045em; }
.name .n1, .name .n2 { width: max-content; max-width: none; }
.name .n1 { display: block; }
.name .n2 { display: block; background: linear-gradient(100deg, var(--a1), var(--a2) 60%, var(--a4)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.name .n2 { background-size: 200% 100%; animation: shine 8s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.role { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); min-height: 1.4em; }
.role #role { color: var(--a1); }
.caret { display: inline-block; width: 3px; height: .95em; margin-left: 3px; vertical-align: -.12em; border-radius: 2px; background: var(--a2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro { color: var(--muted); max-width: 520px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.photo { position: relative; z-index: 2; width: min(78%, 360px); aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 30px 60px -28px rgba(30, 20, 80, .55); animation: morph 10s ease-in-out infinite; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo span { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--display); font-weight: 800; font-size: 90px; color: #fff; background: var(--a1); }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; } 50% { border-radius: 56% 44% 42% 58% / 40% 56% 44% 60%; } }
.ps { position: absolute; z-index: 1; display: block; transition: translate 1s var(--ease); animation: bob 8s ease-in-out infinite; }
.ps--ring { animation-delay: -2s; } .ps--plus { animation-delay: -4s; animation-duration: 10s; } .ps--tri { animation-delay: -6s; } .ps--squig { animation-duration: 6s; }
.photo { transition: translate 1s var(--ease); }
.ps--circle { width: 74px; height: 74px; border-radius: 50%; background: var(--a4); top: 9%; left: 10%; }
.ps--ring { width: 96px; height: 96px; border-radius: 50%; border: 9px solid var(--a3); bottom: 8%; left: 7%; }
.ps--plus { width: 46px; height: 46px; top: 12%; right: 12%; background: linear-gradient(#fff, #fff) center / 32% 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 32% no-repeat; }
.ps--tri { width: 64px; height: 64px; background: var(--a1); clip-path: polygon(50% 0, 100% 100%, 0 100%); bottom: 12%; right: 10%; }
.ps--squig { width: 110px; top: 47%; right: 3%; }
.ps--squig svg { width: 100%; overflow: visible; }
.ps--squig path { fill: none; stroke: var(--a2); stroke-width: 6; stroke-linecap: round; }

.now { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
.stat__n { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; }
.stat__n small { font-size: .5em; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 22px; background: var(--surface2); border: 1px solid var(--line); transition: background .3s, color .3s, transform .5s var(--spring); }
.soc:hover { background: var(--a1); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.about { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.about .hl { color: var(--a1); font-weight: 700; }
.ints { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.int { --c: var(--a1); --ic: color-mix(in srgb, var(--c) 78%, var(--ink)); display: grid; justify-items: center; align-content: start; gap: 9px; padding: 14px 6px 12px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line); text-align: center; transition: background .45s, border-color .45s, translate .55s var(--spring), box-shadow .45s; }
.int__ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: var(--ic); background: color-mix(in srgb, var(--c) 16%, transparent); transition: transform .6s var(--spring), background .45s, color .45s; }
.int__t { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.int:hover .int__ico { transform: rotate(-10deg) scale(1.1); }
.int.on { translate: 0 -5px; background: color-mix(in srgb, var(--c) 13%, var(--surface)); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 14px 30px -16px var(--c); }
.int.on .int__ico { background: var(--c); color: #17162b; transform: rotate(-8deg) scale(1.08); }
.ints__cap { min-height: 3.2em; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ints__cap b { color: var(--ink); }
.ints__cap a { color: var(--a1); font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--intro, .tile--photo { grid-column: span 6; grid-row: span 1; }
  .tile--photo { min-height: 380px; }
  .tile--intro { min-height: 0; }
  .tile--now, .tile--social, .tile--about, .tile--interests { grid-column: span 6; }
  .tile--stat { grid-column: span 3; }
}
@media (max-width: 900px) { .bento { padding-top: 84px; } }

/* ---------- Kayan şerit ---------- */
.ticker { margin-top: clamp(60px, 8vw, 110px); display: grid; gap: 12px; overflow: hidden; padding: 10px 0; }
.ticker__row { display: flex; width: max-content; will-change: transform; }
.ticker__chunk { display: flex; gap: 12px; padding-right: 12px; }
.tk { --c: var(--a1); display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); white-space: nowrap; box-shadow: var(--shadow); }
.tk .ico { font-size: 1.1em; color: var(--c); }
.no-gsap .ticker__row { animation: mq 50s linear infinite; }
.no-gsap .ticker__row--rev { animation-direction: reverse; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Projeler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: background .3s, color .3s, transform .4s var(--spring); }
.filter:hover { color: var(--ink); transform: translateY(-2px); }
.filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter sup { font-size: 10px; margin-left: 4px; opacity: .7; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.project { --c: var(--a1); display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: translate .5s var(--spring), box-shadow .4s; }
.project:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.project.is-hidden { display: none; }
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, var(--surface)); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project:hover .cover img { transform: scale(1.06); }
.cover__gen { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 55%, var(--a2))); color: #fff; overflow: hidden; }
.cover__gen .ico { font-size: 70px; position: relative; z-index: 1; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); transition: transform .8s var(--spring); }
.project:hover .cover__gen .ico { transform: scale(1.12) rotate(-8deg); }
.cover__gen i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.16); }
.cover__gen i:nth-child(1) { width: 60%; aspect-ratio: 1; right: -14%; top: -24%; }
.cover__gen i:nth-child(2) { width: 34%; aspect-ratio: 1; left: -8%; bottom: -14%; background: rgba(255,255,255,.12); }
.cover__gen i:nth-child(3) { width: 12%; aspect-ratio: 1; left: 18%; top: 16%; background: var(--a4); opacity: .9; }
.status { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: #1d1a3a; backdrop-filter: blur(6px); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--a1); }
.status--live i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.status--wip i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.25); animation: ping2 1.6s ease-in-out infinite; }
@keyframes ping2 { 50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); } }
.project__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.project__meta { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .06em; }
.project__meta span + span::before { content: '•'; margin-right: 8px; color: var(--muted); }
.project__title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2vw, 27px); line-height: 1.1; letter-spacing: -.02em; }
.project__desc { color: var(--muted); font-size: 15px; }
.project__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.pbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--surface2); border: 1px solid var(--line); transition: background .3s, color .3s, gap .3s; }
.pbtn .ico { font-size: 15px; }
.pbtn--main { background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--ink); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.pbtn:hover { background: var(--c); color: #fff; gap: 12px; }
.pbtn--off { color: var(--muted); pointer-events: none; border-style: dashed; }
.project--empty { padding: 40px; text-align: center; color: var(--muted); border-style: dashed; display: grid; place-items: center; min-height: 260px; }

/* ---------- Gelişim yolu ---------- */
.journey { padding-top: clamp(80px, 10vw, 140px); }
.journey__viewport { overflow: hidden; }
.journey__track { position: relative; }
.j-line { position: absolute; background: var(--line); border-radius: 4px; }
.j-fill { position: absolute; left: 0; top: 0; border-radius: 4px; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a4)); }
.j-runner { position: absolute; z-index: 3; width: 30px; height: 30px; margin: -13px 0 0 -15px; border-radius: 50%; background: var(--surface); border: 6px solid var(--a1); box-shadow: 0 0 0 8px color-mix(in srgb, var(--a1) 18%, transparent); }
.j-item { position: relative; z-index: 2; }
.j-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 4px solid var(--line); transition: border-color .4s, transform .6s var(--spring), background .4s; }
.j-card { width: 100%; padding: 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .7s var(--spring), opacity .5s, border-color .4s; }
.j-year { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: var(--surface2); color: var(--a1); margin-bottom: 10px; transition: background .4s, color .4s; }
.j-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; }
.j-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.j-card a, .project__desc a { color: var(--a1); font-weight: 600; overflow-wrap: anywhere; }
.j-item.reached .j-dot { border-color: var(--a1); background: var(--a1); transform: scale(1.25); }
.j-item.reached .j-year { background: var(--a1); color: #fff; }
.j-item.reached .j-card { border-color: color-mix(in srgb, var(--a1) 35%, transparent); }
.j-cap { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--muted); white-space: nowrap; }
.j-cap .ico { font-size: 22px; color: var(--a1); }

/* yatay (masaüstü) */
.journey.is-h .journey__track { display: flex; align-items: stretch; gap: 28px; width: max-content; height: min(64vh, 560px); padding: 0 50vw 0 var(--pad); }
.journey.is-h .j-line { left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; }
.journey.is-h .j-fill { height: 100%; width: 0; }
.journey.is-h .j-runner { top: 50%; left: 0; margin-top: -15px; }
.journey.is-h .j-item { width: 340px; flex: none; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; }
.journey.is-h .j-dot { grid-row: 2; }
.journey.is-h .j-item.up .j-card { grid-row: 1; align-self: end; margin-bottom: 26px; }
.journey.is-h .j-item.down .j-card { grid-row: 3; align-self: start; margin-top: 26px; }
.journey.is-h .j-item:not(.reached) .j-card { transform: scale(.88) translateY(var(--off, 20px)); opacity: .45; }
.journey.is-h .j-item.up { --off: 20px; } .journey.is-h .j-item.down { --off: -20px; }
.journey.is-h .j-cap { align-self: center; display: grid; justify-items: center; gap: 8px; background: var(--bg); padding: 10px; position: relative; z-index: 2; }
.journey.is-h .journey__viewport { height: 100vh; display: flex; align-items: center; }
.journey.is-pinned { padding-top: 0; }
.journey.is-pinned .sec-head { position: absolute; top: 90px; left: 0; right: 0; z-index: 4; }
.journey.is-pinned .journey__viewport { padding-top: 120px; }
/* dikey (telefon) */
.journey:not(.is-h) .journey__track { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; padding: 0 var(--pad) 0 calc(var(--pad) + 46px); }
.journey:not(.is-h) .j-line { left: calc(var(--pad) + 16px); top: 0; bottom: 0; width: 6px; }
.journey:not(.is-h) .j-fill { width: 100%; height: 0; }
.journey:not(.is-h) .j-runner { display: none; }
.journey:not(.is-h) .j-item { display: block; }
.journey:not(.is-h) .j-dot { position: absolute; left: -38px; top: 22px; }
.journey:not(.is-h) .j-cap { display: flex; align-items: center; gap: 10px; margin-left: -46px; }
.journey:not(.is-h) .j-cap .ico { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Sertifikalar ---------- */
.certs { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cert { --c: var(--a1); cursor: pointer; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: translate .5s var(--spring), box-shadow .4s; }
.cert:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.cert__visual { aspect-ratio: 1.414; overflow: hidden; background: color-mix(in srgb, var(--c) 14%, var(--surface)); display: grid; place-items: center; }
.cert__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cert:hover .cert__visual img { transform: scale(1.06); }
.cert__ph { display: grid; place-items: center; gap: 10px; color: var(--c); text-align: center; padding: 20px; }
.cert__ph .ico { font-size: 54px; }
.cert__ph span { font-weight: 700; font-size: 14px; color: var(--muted); }
.cert__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.cert__issuer { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.cert__title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.cert__date { font-size: 13px; color: var(--muted); }

.modal { margin: auto; border: 0; padding: 0; background: transparent; color: var(--ink); width: min(880px, 92vw, max(320px, calc((88vh - 240px) * 1.414))); max-width: 92vw; overflow: visible; }
.modal::backdrop { background: color-mix(in srgb, var(--a1) 25%, rgba(10, 10, 25, .7)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__box { background: var(--surface); border-radius: 28px; overflow: auto; max-height: 90vh; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.modal__visual { aspect-ratio: 1.414; background: var(--surface2); display: grid; place-items: center; }
.modal__visual img { width: 100%; height: 100%; object-fit: contain; }
.modal__body { display: grid; gap: 10px; justify-items: start; padding: 22px 26px 26px; }
.modal__issuer { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--a1); }
.modal__title { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.modal__desc { color: var(--muted); }
.modal__close { position: absolute; top: -18px; right: -18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--a1); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 10px 24px -8px var(--a1); transition: transform .5s var(--spring); }
.modal__close:hover { transform: rotate(90deg) scale(1.08); }
@media (max-width: 600px) { .modal__close { top: -22px; right: -4px; } }

/* ---------- İletişim ---------- */
#iletisim { padding-bottom: clamp(60px, 8vw, 110px); }
.contact { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(46px, 7vw, 100px) clamp(22px, 5vw, 80px); text-align: center; display: grid; justify-items: center; gap: 18px; color: #fff; background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 40%, var(--a2))); box-shadow: 0 40px 80px -40px var(--a1); }
.contact__title { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9vw, 140px); line-height: .95; letter-spacing: -.045em; }
.contact__sub { max-width: 520px; opacity: .85; font-size: 17px; }
.mail { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 16px 26px; border-radius: 999px; background: #fff; color: #1d1a3a; font-weight: 700; font-size: clamp(15px, 1.8vw, 21px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.35); }
.mail #emailText { overflow-wrap: anywhere; }
.mail .ico { font-size: 1.15em; color: var(--a1); }
.mail__copy .ico { color: #8a87a3; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clink { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15px; transition: background .3s, color .3s; }
.clink .ico { font-size: 18px; }
.clink:hover { background: #fff; color: #1d1a3a; }
.cs { position: absolute; z-index: -1; display: block; }
.cs--1 { width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); top: -70px; left: -60px; animation: bob 9s ease-in-out infinite; }
.cs--2 { width: 130px; height: 130px; border-radius: 50%; border: 18px solid color-mix(in srgb, var(--a4) 80%, transparent); bottom: -40px; right: 8%; animation: bob 11s ease-in-out infinite reverse; }
.cs--3 { width: 90px; height: 90px; background: color-mix(in srgb, var(--a3) 85%, transparent); clip-path: polygon(50% 0, 100% 100%, 0 100%); top: 18%; right: 6%; animation: spinb 18s linear infinite; }

/* ---------- Alt bilgi ---------- */
.footer { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; gap: 14px; padding: 0 var(--pad) 36px; color: var(--muted); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.to-top:hover { color: var(--a1); }

.toast { position: fixed; left: 0; right: 0; bottom: 100px; margin: 0 auto; width: max-content; max-width: calc(100vw - 32px); z-index: 96; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; transform: translateY(calc(100% + 140px)); opacity: 0; transition: transform .6s var(--spring), opacity .3s; pointer-events: none; }
.toast.show { transform: none; opacity: 1; }

@media (max-width: 600px) {
  .bento { gap: 10px; }
  .tile--stat { grid-column: span 3; }
  .tile { border-radius: 22px; }
  .contact { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
