:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --surface: #161616;
  --line: #282828;
  --text: #f4f4f0;
  --muted: #9b9b96;
  --accent: #a6f25a;   /* yeşil tişört */
  --accent-2: #ec7fd0; /* pasta mumu pembesi */
  --accent-3: #3f7ee0; /* pasta mumu mavisi */
  --on-accent: #0d0d0d;

  --serif: "Syne", "Arial Black", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 72rem;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--accent); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--bg); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* NAV */
.nav {
  /* Sayfanın en üstünde durur, kaydırınca sayfayla birlikte yukarı gider */
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* Her zaman aynı görünüm: koyu, bulanık zemin + alt çizgi; kaydırınca değişmez */
  padding: .75rem var(--gutter);
  background: rgba(11, 11, 13, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: block; line-height: 0; }
.logo { display: block; height: 40px; width: auto; }
.logo--full { aspect-ratio: 855 / 188; }
.logo--icon { display: none; aspect-ratio: 356 / 188; }
@media (max-width: 860px) { .logo--full { display: none; } .logo--icon { display: block; } }
/* img/logo/sg-logo-animasyonlu-koyu-zemin.svg'nin animasyonu; açılış ışığı sürerken (.intro) bekler, main.js ışık açılınca .logo-ready ekler */
.logo .lg-s, .logo .lg-g { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.logo .lg-s { animation: lg-draw 1.1s cubic-bezier(.65,0,.35,1) .1s forwards; }
.logo .lg-g { animation: lg-draw 1.2s cubic-bezier(.65,0,.35,1) .45s forwards; }
.logo .lg-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lg-pop .5s cubic-bezier(.34,1.56,.64,1) 1.5s forwards; }
.logo .lg-bar { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); animation: lg-bar .5s cubic-bezier(.65,0,.35,1) 1.6s forwards; }
.logo .lg-nm { opacity: 0; animation: lg-name .7s ease 1.85s forwards; }
.intro:not(.logo-ready) .logo * { animation: none; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-pop { to { transform: scale(1); } }
@keyframes lg-bar { to { transform: scaleY(1); } }
@keyframes lg-name { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .logo .lg-s, .logo .lg-g { animation: none; stroke-dashoffset: 0; }
  .logo .lg-dot, .logo .lg-bar { animation: none; transform: none; }
  .logo .lg-nm { animation: none; opacity: 1; }
}
.nav__menu { display: flex; gap: 2rem; align-items: center; }
.nav__menu a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav__menu a:hover { color: var(--text); }
.nav__menu .nav__cta { color: var(--bg); background: var(--text); padding: .5rem 1rem; border-radius: 999px; }
.nav__menu .nav__cta:hover { color: var(--on-accent); background: var(--accent); }
.nav__toggle { display: none; background: none; border: 0; width: 2rem; height: 2rem; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: .25rem; right: .25rem; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: .7rem; }
.nav__toggle span:last-child { bottom: .7rem; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(.3rem) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-.3rem) rotate(-45deg); }

/* HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
}
/* ışık yalnızca hero içinde kalsın: alt/üst kenardan kırp, yanlara taşabilsin */
.hero { isolation: isolate; clip-path: inset(0 calc(50% - 50vw)); }
.hero__glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax;
  right: -20vmax; top: -15vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 242, 90, .16), rgba(63, 126, 224, .10) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation:
    glow-in 1.8s var(--ease) both,
    drift 9s ease-in-out 1.8s infinite alternate;
}
.hero__glow::after {
  content: ""; position: absolute; width: 70%; height: 70%; left: -35%; top: 45%; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 127, 208, .20), transparent 65%);
  animation: drift-2 11s ease-in-out infinite alternate;
}
@keyframes glow-in {
  from { opacity: 0; transform: translate(10vmax, -10vmax) scale(.6); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14vmax, 8vmax) scale(1.15); }
  100% { transform: translate(-4vmax, 16vmax) scale(.95); }
}
@keyframes drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18vmax, -10vmax) scale(1.3); }
}
/* SPOTLIGHT — yukarıdan inen sahne ışığı, sonra tüm sayfa açılır */
.spotlight {
  --x: 50vw; --y: -100vh; --rx: 300px; --ry: 200px; --lit: 0; --bw: 40px;
  position: absolute; top: 0; left: 0; right: 0; height: var(--spot-h, 100svh); z-index: 100; pointer-events: none;
  transition: opacity 1.1s var(--ease);
  display: none;
}
.intro .spotlight { display: block; animation: spot-failsafe .6s ease 7s forwards; }
@keyframes spot-failsafe { to { opacity: 0; visibility: hidden; } }
.spotlight__dark {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y),
    rgba(255, 255, 250, calc(var(--lit) * .10)) 0%,
    rgba(255, 255, 250, calc(var(--lit) * .04)) 45%,
    transparent 72%, rgba(4, 4, 6, .965) 100%);
}
.spotlight__beamwrap { position: absolute; inset: 0; filter: blur(28px); opacity: var(--lit); }
.spotlight__beam {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(255, 255, 250, .20) 0, rgba(255, 255, 250, .07) calc(var(--y) - var(--ry) * .4),
    rgba(255, 255, 250, .02) var(--y), transparent calc(var(--y) + var(--ry) * .5));
  clip-path: polygon(
    calc(var(--x) - var(--bw)) -5%, calc(var(--x) + var(--bw)) -5%,
    calc(var(--x) + var(--rx) * .8) var(--y), calc(var(--x) - var(--rx) * .8) var(--y));
}
.spotlight.is-done { opacity: 0; }
.spotlight.is-off { display: none; }
.intro .hero .reveal { transition: none; }

.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.hero__title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.6rem, 7.3vw, 5.6rem); line-height: 1; letter-spacing: -.04em; max-width: 14ch;
}
.hero__title em { position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em;
  background: var(--accent-2); border-radius: 1em; transform-origin: left;
  animation: underline 1s var(--ease) 4.6s both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero__lead { max-width: 36rem; margin-top: 2rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.hero__scroll { position: absolute; bottom: 2.2rem; left: 50%; translate: -50% 0; width: 2rem; height: 3.2rem; border: 2px solid var(--muted); border-radius: 1.2rem; transition: border-color .2s; }
.hero__scroll:hover { border-color: var(--accent); }
.hero__scroll span { position: absolute; left: 50%; top: .55rem; width: 4px; height: 9px; margin-left: -2px; background: var(--text); border-radius: 2px; animation: scroll 1.8s infinite; }
.hero__swipe { display: none; }
/* dokunmatik ekranda fare yerine yukarı kaydıran parmak */
@media (hover: none) and (pointer: coarse) {
  .hero__scroll { border: 0; width: 2.4rem; height: 3.4rem; }
  .hero__scroll span { display: none; }
  .hero__swipe { display: block; width: 100%; height: 100%; color: var(--text); animation: swipe 1.8s var(--ease) infinite; }
}
@keyframes swipe { 0% { transform: translateY(10px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(-10px); opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(1.2rem); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--text); }

/* SECTIONS */
.section { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.section__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.section__num { font-size: .8rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.section h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; }

/* ABOUT */
.about__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #2a2420, #121215 60%), var(--surface);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about__text p { color: var(--muted); margin-bottom: 1.2rem; }
.about__text .about__big { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; color: var(--text); letter-spacing: -.01em; }

/* SKILLS */
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.skill {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: border-color .3s, transform .4s var(--ease);
}
.skill:hover { border-color: #3a3a42; transform: translateY(-3px); }
.skill__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.skill__icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); }
.skill:nth-child(2) .skill__icon { color: var(--accent-2); }
.skill:nth-child(3) .skill__icon { color: var(--accent-3); }
.skill:nth-child(4) .skill__icon { color: #ffb02e; }
.skill__num { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.skill h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.skill p { font-size: .95rem; color: var(--muted); max-width: 34rem; }
.skill .tags { margin-top: auto; padding-top: .6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .85rem; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.tags--sm li { font-size: .75rem; padding: .25rem .7rem; color: var(--muted); }

/* PROJECTS */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { font: inherit; font-size: .85rem; color: var(--muted); background: none; border: 1px solid var(--line); padding: .45rem 1rem; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s; }
.project:hover { transform: translateY(-4px); border-color: #3a3a42; }
.project.is-hidden { display: none; }
.project--wide { grid-column: 1 / -1; flex-direction: row; }
.project--wide .project__media span { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.project--wide .project__media { flex: 1.3; aspect-ratio: auto; min-height: 20rem; }
.project--wide .project__body { flex: 1; align-self: center; padding: 2.5rem; }
.project--wide h3 { font-size: 2rem; }
.project__media { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.project__media span { font-family: var(--serif); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.6rem); text-align: center; padding: 0 1rem; line-height: 1.1; color: rgba(255, 255, 255, .88); letter-spacing: -.02em; position: relative; z-index: 1; transition: transform .5s var(--ease); }
.project:hover .project__media span { transform: scale(1.05); }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__media > img { transition: transform .8s var(--ease); }
.project:hover .project__media > img { transform: scale(1.06); }
.project__media--wine { background: radial-gradient(circle at 30% 70%, #7a1f2e, #2b0d14 65%); }
.project__media--barber { background: linear-gradient(135deg, #3f7ee0, #1b1f5e); }
.project__media--screen { background: linear-gradient(135deg, #2d2a4a, #121022), repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.03) 24px 25px); }
.project__media--product { background: radial-gradient(circle at 70% 30%, #a6f25a, #3d6b00 55%, #10200a); }
.project__media--site { background: radial-gradient(ellipse 40% 60% at 50% 0%, rgba(255,255,250,.35), transparent 70%), repeating-linear-gradient(90deg, #121212 0 22px, #161616 22px 23px); }
.project__media--plant { background: linear-gradient(135deg, #63a35f, #1f3d1e); }
.project__media--hotel { background: linear-gradient(135deg, #3f7ee0, #0f2147); }
.project__media--board { background: linear-gradient(135deg, #f0dc6a, #b58a3c); }
.project__media--poster { background: linear-gradient(160deg, #ffe14f 0%, #ec7fd0 60%, #5b2bff 100%); }
.project__media--video { background: linear-gradient(120deg, #ff6b2e, #ec7fd0 55%, #6a1b4d); }
.project__media--game { background: linear-gradient(135deg, #7b5bff, #22c3ff); }
.project__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.project__meta { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.project h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.2; }
.project__body > p:not(.project__meta) { font-size: .92rem; color: var(--muted); }
.project__link { margin-top: auto; padding-top: .4rem; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--accent); align-self: flex-start; padding-bottom: 2px; }
.project__link:hover { color: var(--accent); }
.project__link--case { color: var(--accent); }
.project__link--case:hover { color: var(--text); }
.project__link--case + .project__link { margin-top: .6rem; }

/* TIMELINE */
.timeline { position: relative; padding-left: 2rem; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding-bottom: 3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem - 5px); top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline__date { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; margin-top: .25rem; }
.timeline__org { color: var(--accent); font-size: .95rem; margin-bottom: .5rem; }
.timeline p:last-child { color: var(--muted); max-width: 40rem; font-size: .95rem; }

/* APPROACH */
.approach { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; border-top: 1px solid var(--line); }
.quote { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.3; letter-spacing: -.015em; }
.interests h3 { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1rem; }

/* CONTACT */
.contact { text-align: left; }
.status-badge { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; padding: .45rem 1rem .45rem .8rem; border: 1px solid rgba(166, 242, 90, .35); border-radius: 999px; background: rgba(166, 242, 90, .08); color: var(--accent); font-size: .9rem; font-weight: 600; }
.status-badge i { position: relative; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); }
.status-badge i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: badge-pulse 2s ease-out infinite; }
@keyframes badge-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status-badge i::after { animation: none; } }
.contact__big { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -.03em; }
.contact__mail { display: inline-block; margin-top: 1.5rem; font-size: clamp(1.1rem, 3vw, 1.8rem); text-decoration: none; border-bottom: 1px solid var(--accent); word-break: break-all; transition: color .2s; }
.contact__mail:hover { color: var(--accent); }

/* MEKTUP (letter.js) */
.lm { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.lm__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 2rem; }
.lm__desk { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lm__paper {
  --line-h: 2.1rem;
  position: relative; color: var(--on-accent); background: #f6f1e7; border-radius: 4px;
  padding: 2.4rem 2.2rem 2rem 3.4rem; transform: rotate(-.6deg);
  box-shadow: 0 1px 0 #e4dccb, 0 24px 50px rgba(0, 0, 0, .45);
  background-image: linear-gradient(90deg, transparent 2.2rem, rgba(236, 127, 208, .55) 2.2rem, rgba(236, 127, 208, .55) calc(2.2rem + 2px), transparent calc(2.2rem + 2px));
  transition: box-shadow .2s;
}
.lm__paper.is-over { box-shadow: 0 0 0 3px var(--accent), 0 24px 50px rgba(0, 0, 0, .45); }
.lm__paper.is-shake { animation: lm-shake .45s; }
@keyframes lm-shake { 20% { transform: rotate(-.6deg) translateX(-8px); } 40% { transform: rotate(-.6deg) translateX(7px); } 60% { transform: rotate(-.6deg) translateX(-4px); } 80% { transform: rotate(-.6deg) translateX(2px); } }
.lm__greet { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: .6rem; }
.lm__body {
  display: block; width: 100%; min-height: calc(var(--line-h) * 8); resize: vertical; border: 0; outline: none;
  font: 400 1.05rem/var(--line-h) var(--sans); color: var(--on-accent);
  background: repeating-linear-gradient(transparent 0, transparent calc(var(--line-h) - 1px), rgba(13, 13, 13, .12) calc(var(--line-h) - 1px), rgba(13, 13, 13, .12) var(--line-h));
  background-attachment: local;
}
.lm__body::placeholder, .lm__from input::placeholder { color: #8d877b; }
.lm__from { display: grid; gap: .2rem; margin-top: 1.4rem; max-width: 22rem; }
.lm__from span { font-size: 1rem; }
.lm__from input { font: 700 1.15rem var(--sans); color: var(--on-accent); background: transparent; border: 0; border-bottom: 1.5px dashed rgba(13, 13, 13, .3); padding: .3rem 0; outline: none; }
.lm__from .lm__email { font-weight: 500; font-size: .95rem; }
.lm__from input:focus, .lm__body:focus { border-color: var(--on-accent); }
.lm__paper :focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }
.lm__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lm__placed { position: absolute; inset: 0; pointer-events: none; }
.lm__stamp {
  position: absolute; width: 56px; padding: 0; border: 0; background: none; cursor: grab; pointer-events: auto; touch-action: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
  animation: lm-stick .35s cubic-bezier(.34, 1.56, .64, 1);
}
.lm__stamp svg, .lm__sheet-stamp svg, .lm__ghost svg { display: block; width: 100%; height: auto; }
@keyframes lm-stick { from { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1.3); } }
.lm__sheet { position: sticky; top: 1.5rem; padding: 1.1rem; border: 1px dashed #3a3a42; border-radius: var(--radius); background: var(--surface); }
.lm__sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.lm__sheet-stamp { padding: 0; border: 0; background: none; cursor: grab; touch-action: none; transition: transform .2s var(--ease), opacity .2s; }
.lm__sheet-stamp:hover { transform: rotate(-5deg) scale(1.08); }
.lm__sheet-stamp.is-used { opacity: .18; cursor: default; transform: none; }
.lm__tip { margin-top: .9rem; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.lm__ghost { position: fixed; left: 0; top: 0; width: 64px; z-index: 300; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.lm__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; }
.lm__status { color: var(--accent-2); font-size: .9rem; }
@media (max-width: 860px) {
  .lm__desk { grid-template-columns: 1fr; }
  .lm__sheet { position: static; order: -1; }
  .lm__sheet-grid { grid-template-columns: repeat(5, minmax(0, 3.4rem)); }
  .lm__paper { padding: 1.8rem 1.2rem 1.6rem 2.6rem; background-image: linear-gradient(90deg, transparent 1.6rem, rgba(236, 127, 208, .55) 1.6rem, rgba(236, 127, 208, .55) calc(1.6rem + 2px), transparent calc(1.6rem + 2px)); }
  .lm__stamp { width: 46px; }
}

/* gönderim sahnesi */
.lm-stage { position: fixed; inset: 0; z-index: 250; background: rgba(8, 8, 10, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.lm-scene { position: absolute; inset: 0; }
.lm-scene > * { position: absolute; left: 50%; top: 50%; }
.lm-fold { perspective: 1400px; transform-style: preserve-3d; }
.lm-panel { position: absolute; left: 0; width: 100%; transform-style: preserve-3d; }
.lm-face, .lm-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lm-face { background-repeat: no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.lm-back { background: #ede6d6; transform: rotateX(180deg); box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .08); }
.lm-env { --ink: #0d0d0d; }
.lm-env > i { position: absolute; display: block; }
.lm-env__back { inset: 0; background: #e3d6bb; border: 3px solid var(--ink); border-radius: 8px; z-index: 1; }
.lm-env__letter { left: 50%; width: 86%; background: #f6f1e7 repeating-linear-gradient(transparent 0 10px, rgba(13, 13, 13, .1) 10px 11px); border: 2px solid rgba(13, 13, 13, .35); z-index: 2; visibility: hidden; }
.lm-env__front { inset: 0; z-index: 3; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 62' preserveAspectRatio='none'%3E%3Cpath d='M1 16 50 40 99 16 99 61 1 61Z' fill='%23f1e7d2' stroke='%230d0d0d' stroke-width='3' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.lm-env__flap { left: 0; right: 0; top: 0; height: 58%; z-index: 0; transform-origin: 50% 0; transform: perspective(700px) rotateX(180deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 36' preserveAspectRatio='none'%3E%3Cpath d='M1 1 99 1 50 35Z' fill='%23d9caa9' stroke='%230d0d0d' stroke-width='3' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.lm-env__stamps { position: absolute; right: 7%; top: 9%; z-index: 6; display: flex; gap: 4px; opacity: 0; transform: translateY(-16px) scale(1.2); transition: opacity .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.lm-env__stamps.is-on { opacity: 1; transform: none; }
.lm-env__stamp { width: 34px; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.lm-env__stamp svg { display: block; width: 100%; height: auto; }
.lm-postmark { position: absolute; right: 5%; top: 7%; z-index: 7; width: 44%; color: rgba(40, 50, 110, .82); opacity: 0; mix-blend-mode: multiply; }
.lm-postmark svg { display: block; width: 100%; height: auto; }
.lm-boom { position: absolute; right: 22%; top: 20%; width: 120px; height: 120px; margin: -60px -60px 0 0; z-index: 8; border-radius: 50%; border: 4px solid #ffd84d; animation: lm-boom .5s ease-out forwards; pointer-events: none; }
@keyframes lm-boom { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* posta kutusu (yandan, kapağı solda) */
.lm-box { width: 210px; height: 260px; }
.lm-box > i { position: absolute; display: block; border: 4px solid #0d0d0d; }
.mb-post { left: 104px; top: 122px; width: 24px; height: 138px; background: #8a5a35; border-radius: 3px; }
.mb-body { left: 46px; top: 34px; width: 150px; height: 96px; background: #3f7ee0; border-radius: 48px 48px 8px 8px / 44px 44px 8px 8px; box-shadow: inset -12px -8px 0 rgba(0, 0, 0, .14); }
.mb-hole { left: 22px; top: 40px; width: 58px; height: 90px; background: linear-gradient(160deg, #3b5fa8, #1a2a52 70%); border-radius: 29px 29px 6px 6px; box-shadow: inset 8px 12px 0 rgba(0, 0, 0, .28); }
/* koyu sahnede kutu kaybolmasın: arkada spot ışığı, altta yer gölgesi */
.lm-box::before { content: ""; position: absolute; left: -90px; right: -90px; top: -70px; bottom: -30px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 244, 214, .22), rgba(255, 244, 214, .08) 60%, transparent); }
.lm-box::after { content: ""; position: absolute; left: 40px; width: 150px; bottom: -8px; height: 18px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); }
.mb-door { left: 22px; top: 40px; width: 58px; height: 90px; background: #6b9cf0; border-radius: 29px 29px 6px 6px; transform-origin: 50% 100%; }
.mb-door::after { content: ""; position: absolute; left: 50%; top: 42%; width: 14px; height: 6px; margin-left: -7px; background: #0d0d0d; border-radius: 3px; }
.lm-box > .mb-flag { left: 170px; top: 22px; width: 7px; height: 62px; background: #0d0d0d; border: 0; border-radius: 3px; transform-origin: 50% 100%; transform: rotate(90deg); z-index: 2; }
.mb-flag b { position: absolute; left: 5px; top: 0; width: 30px; height: 20px; background: #ff4a3d; border: 4px solid #0d0d0d; border-radius: 2px 5px 5px 2px; }

/* sonuç yazısı */
.lm-done { position: absolute; inset: 0; z-index: 10; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; gap: 1rem; padding: var(--gutter); text-align: center; background: rgba(8, 8, 10, 0); transition: background .5s; }
.lm-done.is-in { background: rgba(8, 8, 10, .82); }
.lm-done__title { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 7vw, 4.75rem); line-height: 1.02; letter-spacing: -.03em; max-width: min(14ch, 100%); }
.lm-done__title .lm-word { display: inline-block; white-space: nowrap; }
.lm-done__title .lm-word span { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(8deg); }
.lm-done.is-in .lm-done__title .lm-word span { animation: lm-letter .55s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes lm-letter { to { opacity: 1; transform: none; } }
.lm-done__sub { color: var(--muted); font-size: 1.1rem; max-width: 34ch; opacity: 0; transition: opacity .6s .6s; }
.lm-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .6rem; opacity: 0; transition: opacity .6s .8s; }
.lm-done.is-in .lm-done__sub, .lm-done.is-in .lm-done__actions { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lm-done__title .lm-word span, .lm-done.is-in .lm-done__title .lm-word span { animation: none; opacity: 1; transform: none; }
  .lm__stamp { animation: none; }
}
.socials { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.socials a { text-decoration: none; color: var(--muted); transition: color .2s; }
.socials a:hover { color: var(--text); }

.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* REVEAL */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__glow, .hero__scroll span, .hero__swipe { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .skills { grid-template-columns: 1fr; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__menu a { font-size: 1.5rem; color: var(--text); }
  .nav__menu.is-open { opacity: 1; pointer-events: auto; }
  .about__grid, .approach { grid-template-columns: 1fr; }
  .about__photo { max-width: 20rem; }
  .projects { grid-template-columns: 1fr; }
  .project--wide { flex-direction: column; }
  .project--wide .project__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .footer { flex-direction: column; }
}

.nav__menu .nav__lang { font-size: .75rem; font-weight: 600; letter-spacing: .08em; border: 1px solid var(--line); padding: .35rem .6rem; border-radius: 999px; }
.nav__menu .nav__lang:hover { border-color: var(--text); }
[hidden] { display: none !important; }

/* KENAR IŞIĞI — kartların çerçevesinde gezen ışık; kaydırdıkça hızlanır */
.edge-glow { position: relative; }
.edge-glow::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: conic-gradient(from calc(var(--edge, 0deg) + var(--off, 0deg)),
    transparent 0deg, transparent 250deg,
    rgba(63, 126, 224, .25) 290deg, rgba(236, 127, 208, .9) 330deg,
    rgba(166, 242, 90, 1) 352deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .85;
}
@media (prefers-reduced-motion: reduce) { .edge-glow::after { display: none; } }

/* KAYAN BANT */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--accent); color: var(--on-accent);
  transform: rotate(-1.5deg) scale(1.02); margin: 1rem 0 2rem;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  padding: .8rem 1.4rem; white-space: nowrap; letter-spacing: -.01em;
}
.marquee__track span:nth-child(even) { opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ÇIKARTMALAR & ROZET */
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker {
  position: absolute; pointer-events: auto; cursor: grab; touch-action: none; user-select: none;
  transition: transform .25s var(--ease);
}
/* gölge svg'de: dönen kapsayıcıda filter, Safari'de yıldızın arkasında kare iz bırakıyor */
.sticker > svg { filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.sticker:hover { transform: rotate(var(--rot, 0deg)) scale(1.08); }
.sticker.is-dragging { cursor: grabbing; transition: none; transform: rotate(var(--rot, 0deg)) scale(1.12); }
.sticker svg { display: block; width: 100%; height: 100%; }
.sticker--star { --rot: 14deg; width: 84px; height: 84px; right: 30%; top: 62%; transform: rotate(14deg); }
.sticker--star:hover, .sticker--star.is-dragging { transform: rotate(14deg); }
.sticker--smile { --rot: -12deg; width: 70px; height: 70px; right: 9%; bottom: 14%; transform: rotate(-12deg); }
.sticker--hello {
  --rot: -6deg; right: 18%; top: 14%; transform: rotate(-6deg);
  background: var(--text); color: var(--on-accent); font-family: var(--serif); font-weight: 800;
  font-size: 1.1rem; padding: .55rem 1.1rem; border-radius: 999px; border: 2px dashed var(--on-accent);
  outline: 4px solid var(--text); box-shadow: 0 10px 22px rgba(0,0,0,.45);
}

.about__photo { position: relative; }
.photo-note {
  position: absolute; left: -.5rem; bottom: 1.2rem; transform: rotate(-4deg);
  background: var(--accent); color: var(--on-accent); font-style: normal; font-weight: 600; font-size: .85rem;
  padding: .35rem .8rem; border-radius: 4px;
}

/* OYUNBAZ HOVER */
.tags li { transition: transform .2s var(--ease), background .2s, color .2s; }
.tags li:hover { transform: rotate(-4deg) scale(1.06); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tags li:nth-child(even):hover { transform: rotate(4deg) scale(1.06); background: var(--accent-2); border-color: var(--accent-2); }
.skills .skill:hover { transform: translateY(-4px) rotate(-.6deg); }
.skills .skill:nth-child(even):hover { transform: translateY(-4px) rotate(.6deg); }

@media (max-width: 860px) {
  .vinyl { top: auto; bottom: 6%; right: 1.2rem; width: 118px; }
  .sticker--star { width: 56px; height: 56px; right: 40%; top: auto; bottom: 6%; }
  .sticker--smile { display: none; }
  .sticker--hello { top: 12%; right: 1rem; font-size: .9rem; }
}

/* TARAYICI PENCERESİ MOCKUP */
.shot {
  position: absolute; left: 9%; right: 9%; top: 14%; bottom: -6%;
  background: #1c1c1c; border-radius: 10px 10px 0 0; padding-top: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); transform: rotate(-2deg);
  transition: transform .5s var(--ease);
}
.shot i { position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; left: 10px; }
.shot i:nth-child(2) { background: #febc2e; left: 22px; }
.shot i:nth-child(3) { background: #28c840; left: 34px; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: static; }
.project:hover .shot { transform: rotate(0deg) translateY(-6px); }
.project--wide .shot { left: 8%; right: 8%; top: 12%; }

/* KÜÇÜK BEN → ŞİMDİKİ BEN */
.about__photo { cursor: pointer; }
.about__photo img { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; }
.about__then { filter: saturate(1.1) contrast(1.05); }
.about__now { opacity: 0; transform: scale(1.08); object-position: center 30%; }
.about__photo:hover .about__now, .about__photo:focus-visible .about__now, .about__photo.is-now .about__now { opacity: 1; transform: scale(1); }
.about__photo:hover .about__then, .about__photo:focus-visible .about__then, .about__photo.is-now .about__then { transform: scale(.94); filter: blur(4px); }
.note-now { display: none; }
.about__photo:hover .note-then, .about__photo:focus-visible .note-then, .about__photo.is-now .note-then { display: none; }
.about__photo:hover .note-now, .about__photo:focus-visible .note-now, .about__photo.is-now .note-now { display: inline; }
.about__photo:hover .photo-note, .about__photo.is-now .photo-note { background: var(--accent-2); transform: rotate(3deg); }
.photo-note { z-index: 2; transition: background .3s, transform .3s var(--ease); }

/* ipucu: fotoğrafın altında şimdiki hâlim olduğunu belli eder; ilk dokunuş/üzerine gelişte kaybolur */
.photo-hint {
  position: absolute; top: .9rem; right: .9rem; z-index: 3; display: flex; align-items: center; gap: .4rem;
  width: 2.1rem; height: 2.1rem; justify-content: center; border-radius: 50%; background: rgba(13, 13, 13, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--text); font-size: .8rem; font-weight: 600;
  pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.photo-hint svg { width: 18px; height: 18px; color: var(--accent); animation: hint-tap 1.6s var(--ease) infinite; }
@keyframes hint-tap { 0%, 55%, 100% { transform: translate(0, 0) scale(1); } 25% { transform: translate(-3px, -3px) scale(1); } 40% { transform: translate(-3px, -3px) scale(.78); } }
.about__photo:hover .photo-hint, .about__photo.is-now .photo-hint, .about__photo.hint-done .photo-hint { opacity: 0; transform: translateY(-6px); }
/* göz atma: şimdiki fotoğraf sağ kenardan bir an görünüp geri çekilir */
.about__photo.is-peek .about__now { animation: photo-peek 2.2s var(--ease); }
@keyframes photo-peek {
  0% { opacity: 1; transform: none; clip-path: inset(0 0 0 100%); }
  35%, 55% { opacity: 1; transform: none; clip-path: inset(0 0 0 60%); }
  90%, 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 100%); }
}
@media (prefers-reduced-motion: reduce) { .photo-hint svg { animation: none; } .about__photo.is-peek .about__now { animation: none; } }

/* PLAK */
.vinyl {
  position: absolute; right: clamp(1.5rem, 7vw, 7rem); top: 20%;
  width: clamp(150px, 15vw, 210px); aspect-ratio: 1;
  pointer-events: auto; touch-action: none; cursor: grab; user-select: none;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6));
}
.vinyl.is-grabbed { cursor: grabbing; }
.vinyl__disc { width: 100%; height: 100%; display: block; will-change: transform; }
.vinyl__grooves circle { fill: none; stroke: rgba(255,255,255,.06); stroke-width: .7; }
.vinyl__text { font-family: var(--sans); font-weight: 700; font-size: 7.4px; letter-spacing: .14em; fill: var(--on-accent); }
.vinyl__mid { font-size: 22px; fill: var(--on-accent); }
.vinyl__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.14) 13%, transparent 20% 55%, rgba(255,255,255,.10) 62%, transparent 70%);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%, #000 99%, transparent 100%);
          mask: radial-gradient(circle, transparent 46%, #000 47%, #000 99%, transparent 100%);
}
.vinyl__arm {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  transform-origin: 98% 3%; transition: transform .45s var(--ease);
}
.vinyl.is-grabbed .vinyl__arm { transform: rotate(-24deg); }
.footer__note { flex: 1; text-align: center; }
@media (max-width: 480px) { .footer__note { text-align: left; } }

/* MOBİL: 3B süzülen telefonlar — üzerine gelince düzelip öne çıkar */
.project__media--quality { background: radial-gradient(circle at 50% 30%, #eef2f8, #9fb2cf 75%); perspective: 900px; }
.project__media .device {
  position: absolute; left: 50%; top: 50%; width: auto; height: 118%; max-width: none; object-fit: contain;
  translate: -50% -50%;
  transform: rotateY(-16deg) rotateX(8deg) rotateZ(2deg) scale(.86);
  filter: drop-shadow(0 22px 30px rgba(10, 20, 50, .35)); border-radius: 12px;
  transition: transform .7s var(--ease), filter .7s var(--ease);
  animation: device-float 6s ease-in-out infinite;
}
.project__media--quality .device { height: 100%; width: 100%; object-fit: cover; border-radius: 8px; }
.project:hover .project__media .device {
  transform: rotateY(0) rotateX(0) rotateZ(0) scale(.98);
  filter: drop-shadow(0 30px 40px rgba(10, 20, 50, .45));
  animation-play-state: paused;
}
@keyframes device-float { 50% { translate: -50% calc(-50% - 8px); } }

/* VİDEO KARTLARI */
.project__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media video { transform: scale(1.05); }
.project__media--logo { background: #0d0d0d; }
.play-badge {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 2; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border-radius: 50%; background: rgba(13, 13, 13, .7); color: var(--accent); font-size: .8rem; backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.project__media.is-playing .play-badge { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .project__media .device { animation: none; } }

/* WEB PENCERESİ İÇİNDE GEZİNME VİDEOSU */
.shot video { position: static; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: none !important; }

/* SAYFA İÇİ VİDEO OYNATICI */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 5, .86); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__frame {
  position: relative; max-width: min(1100px, 100%); max-height: 100%;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(.2); opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.1), opacity .3s var(--ease);
}
.lightbox.is-open .lightbox__frame { transform: none; opacity: 1; }
.lightbox__video { display: block; max-width: 100%; max-height: calc(100svh - 6rem); border-radius: 14px; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lightbox__close {
  position: absolute; top: -.9rem; right: -.9rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 0; background: var(--accent); color: var(--on-accent); font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: transform .2s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg) scale(1.08); }
@media (max-width: 600px) { .lightbox__close { top: .5rem; right: .5rem; } }

/* MOBİL HERO YERLEŞİMİ (temel kurallardan sonra gelmeli) */
@media (max-width: 860px) {
  .vinyl { top: auto; bottom: 3.5%; right: 1rem; width: 112px; }
  .sticker--star { right: auto; left: 1.2rem; top: auto; bottom: 4.5%; width: 52px; height: 52px; }
  .sticker--hello { top: 5.2rem; right: 1rem; font-size: .85rem; }
  .hero { padding-bottom: 9rem; }
}

/* GİZLİ SÜRPRİZLER */
.footer__eggs { font-size: .8rem; }
.footer__eggs b { color: var(--accent); }
.egg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }
.egg-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 410; translate: -50% 150%;
  background: var(--accent); color: var(--on-accent); font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); transition: translate .45s cubic-bezier(.2,.9,.25,1.2); max-width: calc(100vw - 2rem); text-align: center;
}
.egg-toast.is-in { translate: -50% 0; }

/* DJ modu */
.dj .hero__glow { animation: dj-pulse .45s ease-in-out infinite alternate; }
.dj .marquee__track { animation-duration: 6s; }
.dj .hero { animation: dj-hue 1.8s linear infinite; }
.dj .vinyl { animation: dj-bounce .45s ease-in-out infinite alternate; }
@keyframes dj-pulse { to { opacity: .4; transform: scale(1.25); } }
@keyframes dj-hue { to { filter: hue-rotate(360deg); } }
@keyframes dj-bounce { to { scale: 1.08; } }

/* Yıldız Yakala */
.egg-game { position: fixed; inset: 0; z-index: 420; background: rgba(8, 8, 8, .94); backdrop-filter: blur(6px); touch-action: none; }
.egg-game canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.egg-game__hud { position: absolute; top: 1rem; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 1.5rem; font-family: var(--serif); font-weight: 800; font-size: 2rem; pointer-events: none; }
.egg-game__hud span:first-child { color: var(--accent); }
.egg-game__hud span:last-child::after { content: "s"; font-size: 1rem; margin-left: .15rem; color: var(--muted); }
.egg-game__panel {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(22rem, calc(100% - 2rem));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center;
}
.egg-game__panel[hidden] { display: none; }
.egg-game__panel h3 { font-family: var(--serif); font-weight: 800; font-size: 1.8rem; margin-bottom: .5rem; }
.egg-game__panel p { color: var(--muted); margin-bottom: .8rem; }
.egg-game__panel button { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: .7rem 1.4rem; margin: .3rem; cursor: pointer; }
.egg-game__panel [data-start] { background: var(--accent); color: var(--on-accent); }
.egg-game__panel [data-quit] { background: var(--line); color: var(--text); }

/* YÜKLENİYOR EFEKTİ — görsel gelene kadar kartın üzerinden ışık geçer */
.project__media.is-loading::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.10) 45%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.10) 55%, transparent 80%);
  background-size: 250% 100%; animation: shimmer 1.4s linear infinite;
}
.project__media.is-loading > img, .project__media.is-loading > video, .project__media.is-loading .shot img, .project__media.is-loading .shot video { opacity: 0; }
.project__media > img, .project__media > video, .shot img, .shot video { transition: opacity .6s var(--ease), transform .8s var(--ease); }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .project__media.is-loading::before { animation: none; background: rgba(255,255,255,.05); } }

/* Mobilde sürekli çalışan animasyonları kıs (hafıza ve pil) */
@media (max-width: 860px), (pointer: coarse) {
  .project__media .device { animation: none; }
  .hero__glow, .hero__glow::after { animation-duration: 18s; filter: none; }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 13, 13, .96); }
}

/* ═══ ATÖLYE: masaüstü + Photoshop sahnesi (studio.js oynatır) ═══════════
   Sahne sabit 1000×620 px olarak çizilir ve .studio__scaler içinde genişliğe
   göre ölçeklenir (--studio-scale, studio.js ayarlar). */
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.studio__frame { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #08080a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.studio__scaler { position: relative; width: 100%; aspect-ratio: 1000 / 620; overflow: hidden; }
.studio-stage {
  position: absolute; left: 0; top: 0; width: 1000px; height: 620px;
  transform: scale(var(--studio-scale, .6)); transform-origin: 0 0;
  font-family: var(--sans); color: #e8e8e8; overflow: hidden; user-select: none;
  background:
    radial-gradient(60% 70% at 18% 20%, rgba(63, 126, 224, .35), transparent 70%),
    radial-gradient(50% 60% at 85% 85%, rgba(236, 127, 208, .28), transparent 70%),
    radial-gradient(40% 40% at 70% 15%, rgba(166, 242, 90, .12), transparent 70%),
    #101014;
}
.studio__text h2 { margin-bottom: 1rem; line-height: 1.05; }
.studio__lead { color: var(--muted); margin-bottom: 1.6rem; max-width: 36ch; }
.studio__steps { counter-reset: st; display: grid; gap: 1.1rem; }
[data-panel][hidden] { display: none; }
.studio__steps li { counter-increment: st; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .4rem; opacity: .38; transition: opacity .4s var(--ease); }
.studio__steps li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-size: .8rem; color: var(--muted); padding-top: .35rem; font-variant-numeric: tabular-nums; transition: color .4s; }
.studio__steps li b { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; }
.studio__steps li span { color: var(--muted); font-size: .95rem; }
.studio__steps li.is-active { opacity: 1; }
.studio__steps li.is-active::before { color: var(--accent); }
.no-studio-anim .studio__steps li { opacity: 1; }
@media (max-width: 860px) { .studio__grid { grid-template-columns: 1fr; } }

/* masaüstü */
.ds-menubar { position: absolute; inset: 0 0 auto 0; height: 26px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 12.5px; background: rgba(20, 20, 24, .55); backdrop-filter: blur(10px); }
.ds-menubar b { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; }
.ds-clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.ds-file { position: absolute; right: 12px; top: 48px; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; text-align: center; }
.ds-file__icon { width: 50px; height: 62px; border-radius: 6px; background: #001e36; color: #31a8ff; display: grid; place-items: end center; padding-bottom: 8px; font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1.5px #31a8ff; }
.ds-dock { position: absolute; left: 0; right: 0; bottom: 12px; width: fit-content; margin: 0 auto; display: flex; gap: 10px; padding: 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); }
.ds-app { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 19px; letter-spacing: -.02em; position: relative; transition: transform .25s var(--ease); }
.ds-app--ps { background: #001e36; color: #31a8ff; box-shadow: inset 0 0 0 2px #31a8ff; }
.ds-app--ai { background: #330000; color: #ff9a00; box-shadow: inset 0 0 0 2px #ff9a00; }
.ds-app--ae { background: #00005b; color: #9999ff; box-shadow: inset 0 0 0 2px #9999ff; }
.ds-app--pr { background: #00005b; color: #ea77ff; box-shadow: inset 0 0 0 2px #ea77ff; }
.ds-app--code { background: #1f2937; color: #a6f25a; font-size: 15px; }
.ds-app--finder { background: linear-gradient(90deg, #6ec6ff 50%, #e8f3ff 50%); }
.ds-app--finder i { width: 18px; height: 10px; border-bottom: 2.5px solid #0d2a4a; border-radius: 0 0 10px 10px; margin-top: 10px; }
.ds-app.is-hover { transform: translateY(-6px) scale(1.12); }
.ds-app.is-running::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; }
@keyframes ds-bounce { 0%, 100% { transform: translateY(-6px) scale(1.12); } 30% { transform: translateY(-22px) scale(1.12); } 60% { transform: translateY(-6px) scale(1.12); } 80% { transform: translateY(-14px) scale(1.12); } }
.ds-app.is-bouncing { animation: ds-bounce .9s ease-out; }

.ds-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 20; will-change: transform; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.ds-cursor svg { width: 100%; height: 100%; transition: transform .12s; transform-origin: 3px 2px; }
.ds-cursor.is-down svg { transform: scale(.82); }
.ds-cursor.is-text svg { opacity: 0; }
.ds-cursor.is-text::after { content: ""; position: absolute; left: 4px; top: 0; width: 2px; height: 20px; background: #fff; box-shadow: 0 0 0 1px #000; }
.ds-cursor.is-resize svg { opacity: 0; }
.ds-cursor.is-resize::after { content: "⤡"; position: absolute; left: -4px; top: -6px; font-size: 24px; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }

/* Photoshop penceresi */
.ps-win {
  position: absolute; left: 60px; top: 44px; width: 840px; height: 480px; z-index: 5;
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: #252525; border: 1px solid #3a3a3a; box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(0, 300px) scale(.06); transform-origin: 50% 100%;
  transition: transform .55s var(--ease), opacity .3s;
}
.ps-win.is-open { opacity: 1; transform: none; }
.ps-win.is-min { opacity: 0; transform: translate(0, 320px) scale(.06); transition: transform .5s cubic-bezier(.6, 0, .8, .4), opacity .4s .1s; }
.ps-title { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 10px; background: #323232; font-size: 11.5px; color: #bdbdbd; flex-shrink: 0; }
.ps-title > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ps-title > i:nth-child(2) { background: #febc2e; }
.ps-title > i:nth-child(3) { background: #28c840; margin-right: 10px; }
.ps-export { margin-left: auto; font: inherit; font-size: 11.5px; font-weight: 600; color: #fff; background: #1473e6; border: none; border-radius: 4px; padding: 4px 12px; transition: background .15s, transform .1s; }
.ps-export.is-hover { background: #0d66d0; }
.ps-export.is-press { transform: scale(.94); }
.ps-menu { height: 24px; display: flex; align-items: center; gap: 15px; padding: 0 12px; font-size: 11.5px; color: #cfcfcf; background: #2b2b2b; border-bottom: 1px solid #1d1d1d; flex-shrink: 0; }
.ps-menu b { color: #31a8ff; font-size: 12px; }
.ps-options { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 11.5px; color: #cfcfcf; background: #2f2f2f; border-bottom: 1px solid #1d1d1d; flex-shrink: 0; }
.ps-opt-tool { width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.ps-opt-field { padding: 3px 9px; border-radius: 3px; background: #1f1f1f; border: 1px solid #3c3c3c; }
.ps-opt-field b { font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; min-width: 2ch; text-align: right; }
.ps-opt-color { width: 20px; height: 16px; border-radius: 2px; background: #ffffff; border: 1px solid #555; transition: background .3s; }
.ps-body { flex: 1; display: flex; min-height: 0; }
.ps-tools { width: 42px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; background: #2b2b2b; border-right: 1px solid #1d1d1d; font-size: 14px; color: #cfcfcf; }
.ps-tools > span { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 4px; transition: background .15s; }
.ps-tools > span[data-s="tool-text"] { font-family: Georgia, serif; font-weight: 700; }
.ps-tools > span.is-on { background: #4b4b4b; color: #fff; }
.ps-fgbg { position: relative; margin-top: auto; height: 34px !important; }
.ps-fgbg i { position: absolute; width: 16px; height: 16px; border: 1px solid #888; }
.ps-fgbg i:first-child { left: 2px; top: 2px; z-index: 1; background: #ffffff; transition: background .3s; }
.ps-fgbg i:last-child { left: 10px; top: 10px; background: #000; }
.ps-canvas-wrap { flex: 1; display: grid; place-items: center; background: #1e1e1e; position: relative; }

/* afiş (tuval) */
.ps-canvas { position: relative; width: 268px; height: 357px; overflow: hidden; background: #3f7ee0; box-shadow: 0 0 0 1px #000, 0 10px 30px rgba(0, 0, 0, .5); font-family: var(--serif); }
.pz-circle { position: absolute; width: 230px; height: 230px; right: -70px; top: -50px; border-radius: 50%; background: #ec7fd0; }
.pz-vol { position: absolute; left: 20px; top: 18px; font-size: 11px; font-weight: 700; color: #0d0d0d; }
.pz-head { position: absolute; left: 20px; top: 150px; font-size: 30px; font-weight: 800; line-height: .88; letter-spacing: -.03em; color: #ffffff; text-transform: uppercase; }
.pz-head > span { display: block; }
.pz-bbox { position: absolute; inset: -5px; border: 1px solid #31a8ff; opacity: 0; transition: opacity .15s; pointer-events: none; }
.pz-bbox.is-on { opacity: 1; }
.pz-bbox i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1px solid #31a8ff; }
.pz-bbox i:nth-child(1) { left: -4px; top: -4px; }
.pz-bbox i:nth-child(2) { right: -4px; top: -4px; }
.pz-bbox i:nth-child(3) { left: -4px; bottom: -4px; }
.pz-bbox i:nth-child(4) { right: -4px; bottom: -4px; }
.pz-star { position: absolute; right: 22px; bottom: 54px; width: 62px; height: 62px; fill: #ffd84d; opacity: 0; transform: scale(.2) rotate(-90deg); transition: opacity .3s, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.pz-star svg { width: 100%; height: 100%; display: block; }
.pz-star.is-on { opacity: 1; transform: none; }
.pz-sub { position: absolute; left: 20px; bottom: 18px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .08em; color: #ffffff; }

/* paneller */
.ps-panels { width: 200px; flex-shrink: 0; background: #2b2b2b; border-left: 1px solid #1d1d1d; display: flex; flex-direction: column; font-size: 11.5px; }
.ps-panel { padding: 10px; border-bottom: 1px solid #1d1d1d; }
.ps-panel__t { font-weight: 600; color: #fff; margin-bottom: 8px; }
.ps-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.ps-swatches i { aspect-ratio: 1; background: var(--c); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .15s, box-shadow .15s; }
.ps-swatches i.is-hover { transform: scale(1.25); box-shadow: 0 0 0 1.5px #fff; }
.ps-layers { flex: 1; }
.ps-layer { display: flex; align-items: center; gap: 7px; padding: 5px 4px; border-radius: 3px; color: #cfcfcf; transition: background .15s, opacity .2s; }
.ps-layer.is-sel { background: #3c5a80; color: #fff; }
.ps-layer.is-hidden { opacity: .45; }
.ps-eye { width: 14px; height: 14px; color: #9b9b9b; display: grid; place-items: center; }
.ps-eye svg { width: 14px; height: 14px; }
.ps-layer.is-hidden .ps-eye svg { opacity: 0; }
.ps-eye.is-hover { color: #fff; }
.ps-thumb { width: 24px; height: 18px; border-radius: 2px; background: #3f7ee0; flex-shrink: 0; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; box-shadow: inset 0 0 0 1px #555; }
.ps-thumb--t { background: #3a3a3a; font-family: Georgia, serif; }
.ps-thumb--circle { background: radial-gradient(circle at 70% 30%, #ec7fd0 45%, #3f7ee0 47%); }
.ps-thumb--star { background: #3f7ee0 radial-gradient(circle, #ffd84d 30%, transparent 32%); }

/* dışa aktarma penceresi */
.ps-dialog { position: absolute; left: 50%; top: 50%; width: 280px; padding: 18px; transform: translate(-50%, -40%) scale(.96); opacity: 0; transition: opacity .2s, transform .3s var(--ease); background: #323232; border: 1px solid #474747; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); display: grid; gap: 6px; font-size: 12px; z-index: 3; }
.ps-dialog.is-on { opacity: 1; transform: translate(-50%, -50%); }
.ps-dialog b { color: #fff; font-size: 13px; }
.ps-dialog span { color: #a8a8a8; }
.ps-bar { height: 5px; border-radius: 3px; background: #1d1d1d; overflow: hidden; margin-top: 6px; }
.ps-bar i { display: block; height: 100%; width: 100%; background: #31a8ff; transform: scaleX(0); transform-origin: 0 50%; }

/* çıktı: masaüstüne düşen afiş */
.ds-print { position: absolute; left: 380px; top: 120px; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; opacity: 0; pointer-events: none; }
.ds-print__poster { width: 204px; height: 272px; padding: 8px; background: #fafafa; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); overflow: hidden; }
.ds-print__poster .ps-canvas { transform: scale(.7015); transform-origin: 0 0; box-shadow: none; }
.ds-print > span { padding: 2px 8px; border-radius: 4px; background: rgba(20, 20, 24, .7); }

/* Hareket azaltma / durdurulmuş hali: bitmiş sahne */
.no-studio-anim .ps-win, .no-studio-anim .ae-win { transition: none; }
.no-studio-anim .ds-cursor { display: none; }

/* sekmeler: Afiş (Ps) / Animasyon (Ae) */
.studio__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 1.6rem; border: 1px solid var(--line); border-radius: 999px; }
.studio__tabs button { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-size: .9rem; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: .4rem .9rem .4rem .45rem; cursor: pointer; transition: color .2s, background .2s; }
.studio__tabs button:hover { color: var(--text); }
.studio__tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.studio__tab-ico { width: 1.5rem; height: 1.5rem; border-radius: 6px; display: grid; place-items: center; font-size: .68rem; font-weight: 700; }
.studio__tab-ico--ps { background: #001e36; color: #31a8ff; box-shadow: inset 0 0 0 1.5px #31a8ff; }
.studio__tab-ico--ae { background: #00005b; color: #9999ff; box-shadow: inset 0 0 0 1.5px #9999ff; }

/* After Effects penceresi (Photoshop penceresiyle aynı kabuk) */
.ae-win {
  position: absolute; left: 60px; top: 44px; width: 840px; height: 480px; z-index: 6;
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: #232323; border: 1px solid #3a3a3a; box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-20px, 300px) scale(.06); transform-origin: 50% 100%;
  transition: transform .55s var(--ease), opacity .3s;
}
.ae-win.is-open { opacity: 1; transform: none; }
.ae-win.is-min { opacity: 0; transform: translate(-20px, 320px) scale(.06); transition: transform .5s cubic-bezier(.6, 0, .8, .4), opacity .4s .1s; }
.ae-logo { color: #9999ff !important; }
.ae-render { margin-left: auto; font: inherit; font-size: 11.5px; font-weight: 600; color: #fff; background: #5a5aff; border: none; border-radius: 4px; padding: 4px 12px; transition: background .15s, transform .1s; }
.ae-render.is-hover { background: #4646e6; }
.ae-render.is-press { transform: scale(.94); }
.ae-bar-progress i { background: #9999ff; }

.ae-top { height: 228px; display: flex; flex-shrink: 0; border-bottom: 2px solid #161616; }
.ae-project { width: 170px; flex-shrink: 0; padding: 10px; background: #2b2b2b; border-right: 1px solid #1d1d1d; font-size: 11.5px; color: #cfcfcf; }
.ae-item { display: flex; align-items: center; gap: 7px; padding: 4px; border-radius: 3px; }
.ae-item.is-sel { background: #3c3c64; color: #fff; }
.ae-ico { width: 13px; height: 11px; border-radius: 2px; flex-shrink: 0; display: inline-grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 700; color: #fff; }
.ae-ico--comp { background: linear-gradient(135deg, #7d7dff 50%, #5a5aff 50%); }
.ae-ico--img { background: #3f7ee0; }
.ae-ico--shape { background: #ec7fd0; border-radius: 50%; width: 11px; }
.ae-ico--t { background: #555; font-family: Georgia, serif; }
.ae-viewer { flex: 1; display: flex; flex-direction: column; background: #1b1b1b; min-width: 0; }
.ae-comp { flex: 1; display: grid; place-items: center; position: relative; }
.ae-comp > .ps-canvas { position: absolute; left: 50%; top: 50%; margin: -98px 0 0 -74px; transform: scale(.55); transform-origin: 0 0; }
.ae-viewer-bar { height: 26px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 10px; font-size: 11px; color: #a8a8a8; background: #262626; border-top: 1px solid #161616; }
.ae-play { width: 20px; height: 18px; display: grid; place-items: center; border-radius: 3px; color: #cfcfcf; font-size: 10px; transition: background .15s, color .15s; }
.ae-play.is-hover, .ae-play.is-on { background: #3c3c64; color: #fff; }
.ae-time { color: #9999ff; font-variant-numeric: tabular-nums; font-weight: 600; }

.ae-timeline { flex: 1; position: relative; background: #232323; font-size: 11px; color: #cfcfcf; --name-w: 210px; overflow: hidden; }
.ae-tl-head { display: flex; height: 22px; align-items: center; background: #2b2b2b; border-bottom: 1px solid #1a1a1a; color: #9b9b9b; }
.ae-tl-head .ae-name { padding-left: 10px; }
.ae-ruler { position: relative; flex: 1; height: 100%; margin-right: 12px; }
.ae-ruler span { position: absolute; left: calc(var(--t) * 100%); top: 4px; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.ae-ruler span:first-child { transform: none; }
.ae-ruler span:last-child { transform: translateX(-100%); }
.ae-row { display: flex; height: 21px; align-items: center; border-bottom: 1px solid #1d1d1d; transition: background .15s; }
.ae-row.is-sel { background: #34345a; }
.ae-name { width: var(--name-w); flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding-left: 8px; white-space: nowrap; overflow: hidden; }
.ae-num { width: 14px; font-style: normal; color: #7a7a7a; text-align: right; }
.ae-track { position: relative; flex: 1; height: 100%; margin-right: 12px; }
.ae-bar { position: absolute; inset: 4px 0; border-radius: 2px; opacity: .55; }
.ae-bar--a { background: #b06ad1; }
.ae-bar--b { background: #c94f4f; }
.ae-bar--c { background: #4f7fc9; }
.ae-prop { display: none; background: #262626; }
.ae-prop.is-open { display: flex; }
.ae-prop .ae-name { padding-left: 34px; color: #a8a8a8; }
.ae-watch, .ae-addkey { font-weight: 400; width: 14px; text-align: center; color: #7a7a7a; transition: color .15s, transform .15s; }
.ae-watch.is-on { color: #9999ff; }
.ae-watch.is-hover, .ae-addkey.is-hover { transform: scale(1.3); color: #fff; }
.ae-key { position: absolute; left: calc(var(--t) * 100%); top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -4px; background: #e8e8e8; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.ae-key.is-on { transform: rotate(45deg) scale(1); }
.ae-cti { position: absolute; top: 0; bottom: 0; left: calc(var(--name-w) + var(--cti, 0) * (100% - var(--name-w) - 12px)); width: 1px; background: #4f8cff; pointer-events: none; }
.ae-cti i { position: absolute; top: 3px; left: -6px; width: 13px; height: 14px; background: #4f8cff; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* render çıktısı: masaüstünde oynayan video */
.ds-video { position: absolute; left: 404px; top: 92px; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; opacity: 0; pointer-events: none; }
.ds-video__screen { position: relative; width: 168px; height: 224px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 0 6px #1b1b1f; }
.ds-video__screen > .ps-canvas { transform: scale(.6269); transform-origin: 0 0; box-shadow: none; }
.ds-video__bar { width: 168px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ds-video__bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.ds-video > span { padding: 2px 8px; border-radius: 4px; background: rgba(20, 20, 24, .7); }

/* PROJE DETAY SAYFALARI (/projeler/<proje>/, /en/projects/<proje>/) */
.case-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.case-nav__logo img { display: block; height: 36px; width: auto; }
.case-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.case-nav__links a { text-decoration: none; color: var(--muted); font-size: .9rem; transition: color .2s; }
.case-nav__links a:hover { color: var(--text); }
.case-page main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.case-hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 5vw, 3rem); }
.case-hero__meta { color: var(--accent); font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.case-hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .95; letter-spacing: -.04em; }
.case-hero__lead { max-width: 40ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); }
.case-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.case-shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.case-shot__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 2.2rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.case-shot__bar i { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #ff5f57; left: 14px; }
.case-shot__bar i:nth-child(2) { background: #febc2e; left: 30px; }
.case-shot__bar i:nth-child(3) { background: #28c840; left: 46px; }
.case-shot__bar span { font-size: .78rem; color: var(--muted); padding: .15rem .8rem; border-radius: 6px; background: var(--surface); }
.case-shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #111; }
.case-body { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding: clamp(3rem, 8vw, 5rem) 0; }
.case-facts dl { position: sticky; top: 1.5rem; display: grid; gap: 1.3rem; }
.case-facts dt { font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.case-facts dd { font-weight: 500; }
.case-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.case-text { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); max-width: 42rem; }
.case-text h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em; margin-bottom: .9rem; }
.case-text p { color: var(--muted); font-size: 1.05rem; }
.case-features { display: grid; gap: 1.1rem; list-style: none; }
.case-features li { display: grid; gap: .15rem; padding-left: 1.4rem; position: relative; }
.case-features li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 2px; background: var(--accent-2); transform: rotate(45deg); }
.case-features b { font-weight: 600; }
.case-features span { color: var(--muted); }
.case-next { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.case-next span { color: var(--muted); }
.case-next b { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 5vw, 3.5rem); letter-spacing: -.03em; transition: color .25s, transform .25s var(--ease); }
.case-next:hover b { color: var(--accent); transform: translateX(6px); }
.case-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.case-contact p { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); }
@media (max-width: 760px) {
  .case-body { grid-template-columns: 1fr; }
  .case-facts dl { position: static; grid-template-columns: 1fr 1fr; }
  .case-facts dl div:last-child { grid-column: 1 / -1; }
}

/* ATÖLYE: Illustrator (logo) ve kod sahneleri (studio.js) */
.studio__tabs { flex-wrap: wrap; }
.studio__tab-ico--ai { background: #330000; color: #ff9a00; box-shadow: inset 0 0 0 1.5px #ff9a00; }
.studio__tab-ico--code { background: #1f2937; color: #a6f25a; font-size: .6rem; }
@media (max-width: 480px) { .studio__tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; } }

.ai-win, .code-win {
  position: absolute; left: 60px; top: 44px; width: 840px; height: 480px; z-index: 7;
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: #252525; border: 1px solid #3a3a3a; box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(0, 300px) scale(.06); transform-origin: 50% 100%;
  transition: transform .55s var(--ease), opacity .3s;
}
.ai-win.is-open, .code-win.is-open { opacity: 1; transform: none; }
.ai-win.is-min, .code-win.is-min { opacity: 0; transform: translate(0, 320px) scale(.06); transition: transform .5s cubic-bezier(.6, 0, .8, .4), opacity .4s .1s; }
.ai-logo { color: #ff9a00 !important; }
.ai-export, .code-deploy { margin-left: auto; font: inherit; font-size: 11.5px; font-weight: 600; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; transition: background .15s, transform .1s; }
.ai-export { background: #c46a00; }
.ai-export.is-hover { background: #a85b00; }
.ai-export.is-press, .code-deploy.is-press { transform: scale(.94); }
.ai-bar-progress i { background: #ff9a00; }
.ai-desk { flex: 1; display: grid; place-items: center; background: #1e1e1e; position: relative; }
.ai-board { width: 560px; height: 250px; display: grid; place-items: center; background: #0e0f12; box-shadow: 0 0 0 1px #3a3a3a, 0 10px 30px rgba(0, 0, 0, .4); }
.ai-art { width: 500px; height: 110px; }
.ai-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ai-art path[pathLength] { stroke-dasharray: 1 1; }
.ai-anchor { fill: #fff; stroke: #2f80ff; stroke-width: 3; }
.ai-handle { stroke: #2f80ff; stroke-width: 2; }
.ai-thumb--path { background: #0e0f12; color: #f2f3f5; font-family: var(--sans); }
.ai-thumb--dot { background: #0e0f12 radial-gradient(circle, #f2f3f5 28%, transparent 31%); }
.ai-win .ps-tools > span[data-s="ai-type"] { font-family: Georgia, serif; font-weight: 700; }

.code-win { background: #1a1b1e; }
.code-deploy { background: #2b7a3d; }
.code-deploy.is-hover { background: #23652f; }
.code-bar-progress i { background: var(--accent); }
.code-body { flex: 1; display: flex; min-height: 0; font-size: 11.5px; }
.code-chat { width: 250px; flex-shrink: 0; display: flex; flex-direction: column; background: #202124; border-right: 1px solid #111; }
.code-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; overflow: hidden; }
.code-msg { max-width: 92%; padding: 7px 10px; border-radius: 10px; line-height: 1.4; animation: code-pop .3s var(--ease); }
.code-msg--me { align-self: flex-end; background: #3c5a80; color: #fff; border-bottom-right-radius: 3px; }
.code-msg--ai { align-self: flex-start; background: #2d2e33; color: #e6e6e6; border-bottom-left-radius: 3px; }
.code-msg--ai::before { content: "✳ "; color: #d97757; }
.code-msg--typing { color: #9b9b96; letter-spacing: .2em; }
@keyframes code-pop { from { opacity: 0; transform: translateY(6px); } }
.code-input { display: flex; align-items: center; gap: 8px; margin: 0 10px 10px; padding: 8px 8px 8px 10px; border-radius: 10px; background: #2d2e33; box-shadow: inset 0 0 0 1px #3a3b40; transition: box-shadow .2s; }
.code-input.is-focus { box-shadow: inset 0 0 0 1.5px #6b9cf0; }
.code-input span { flex: 1; min-height: 16px; color: #f4f4f0; line-height: 1.35; }
.code-input span:empty::before { content: attr(data-ph); color: #77787d; }
.code-input.is-focus span::after { content: ""; display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; vertical-align: -2px; background: #f4f4f0; animation: code-caret 1s steps(1) infinite; }
@keyframes code-caret { 50% { opacity: 0; } }
.code-send { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #3a3b40; color: #9b9b96; font-size: 12px; transition: background .15s, color .15s, transform .1s; }
.code-send.is-ready { background: #d97757; color: #fff; }
.code-send.is-hover { transform: scale(1.12); }
.code-editor { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; background: #16171a; border-right: 1px solid #111; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; }
.code-tab { height: 26px; display: flex; align-items: center; padding: 0 12px; color: #cfcfcf; background: #1a1b1e; border-bottom: 1px solid #111; font-family: var(--sans); font-size: 11px; }
.code-lines { flex: 1; list-style: none; padding: 8px 0; margin: 0; overflow: hidden; counter-reset: ln; }
.code-lines li { counter-increment: ln; display: flex; white-space: pre; line-height: 1.65; color: #d4d4d4; animation: code-line .25s ease-out; }
.code-lines li::before { content: counter(ln); width: 30px; flex-shrink: 0; padding-right: 10px; text-align: right; color: #55575c; }
.code-lines li.is-new { background: rgba(166, 242, 90, .1); }
@keyframes code-line { from { opacity: 0; transform: translateX(-6px); } }
.code-lines .k { color: #ec7fd0; } .code-lines .a { color: #9cdcfe; } .code-lines .s { color: #a6f25a; } .code-lines .c { color: #6a9955; }
.code-preview { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #2b2b2b; padding: 10px; gap: 8px; }
.code-url { align-self: center; padding: 3px 12px; border-radius: 6px; background: #1d1d1d; color: #9b9b96; font-size: 10.5px; }
.code-site { position: relative; flex: 1; border-radius: 6px; overflow: hidden; background: #0d0d0d; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.code-site > i, .code-site > div, .code-site > b, .ds-site__body > * { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.code-site > .is-on, .ds-site__body > * { opacity: 1; transform: none; }
.cs-nav { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #f4f4f0 0 18%, transparent 18% 60%, #3a3a3a 60% 72%, transparent 72% 76%, #3a3a3a 76% 88%, transparent 88% 92%, #a6f25a 92%); margin-bottom: 8px; }
.cs-h1 { display: block; width: 78%; height: 14px; border-radius: 3px; background: #f4f4f0; }
.cs-h1--b { width: 56%; background: #a6f25a; }
.cs-h1.is-big { height: 20px; width: 82%; }
.cs-h1--b.is-big { width: 64%; }
.cs-p { display: block; width: 84%; height: 22px; border-radius: 3px; background: repeating-linear-gradient(#5c5c58 0 4px, transparent 4px 9px); }
.cs-btn { display: block; width: 60px; height: 16px; border-radius: 999px; background: #a6f25a; }
.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.cs-cards i { display: block; height: 42px; border-radius: 4px; background: #1f1f22; box-shadow: inset 0 0 0 1px #2c2c30; }
.cs-cards i:nth-child(1) { background: linear-gradient(#3f7ee0 0 55%, #1f1f22 55%); }
.cs-cards i:nth-child(2) { background: linear-gradient(#ec7fd0 0 55%, #1f1f22 55%); }
.cs-cards i:nth-child(3) { background: linear-gradient(#ffd84d 0 55%, #1f1f22 55%); }
.cs-star { position: absolute; right: 14px; top: 26px; font-size: 26px; color: #ffd84d; text-shadow: 0 0 0 #0d0d0d; -webkit-text-stroke: 1.5px #0d0d0d; }
.code-site > .cs-star { transform: scale(0) rotate(-120deg); }
.code-site > .cs-star.is-on { transform: rotate(14deg); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }

/* masaüstüne düşen çıktılar */
.ds-logo, .ds-site { position: absolute; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; opacity: 0; pointer-events: none; }
.ds-logo { left: 330px; top: 170px; }
.ds-logo__art { width: 300px; padding: 26px 24px; border-radius: 10px; background: #0e0f12; box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 0 1px #2a2b30; }
.ds-logo__art svg { display: block; width: 100%; height: auto; }
.ds-logo > span, .ds-site__live { padding: 2px 8px; border-radius: 4px; background: rgba(20, 20, 24, .7); }
.ds-site { left: 320px; top: 90px; }
.ds-site__bar { position: relative; width: 320px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 10px 10px 0 0; background: #2b2b2b; }
.ds-site__bar i { position: absolute; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; left: 10px; }
.ds-site__bar i:nth-child(2) { background: #febc2e; left: 22px; }
.ds-site__bar i:nth-child(3) { background: #28c840; left: 34px; }
.ds-site__bar span { font-size: 10.5px; color: #cfcfcf; padding: 2px 10px; border-radius: 5px; background: #1d1d1d; }
.ds-site__body { position: relative; width: 320px; height: 200px; padding: 16px; display: flex; flex-direction: column; gap: 9px; background: #0d0d0d; border-radius: 0 0 10px 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.ds-site__body .cs-star { transform: rotate(14deg); }
.ds-site__live i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(166, 242, 90, .25); }
