/* =========================================================
   İlkim İpek — yazar sitesi
   Tema: Turing Kapanı (siyah · altın · ikili kod)
   ========================================================= */

:root {
  --bg: #0a0908;
  --bg-2: #12100d;
  --bg-3: #1a1712;
  --ink: #efe8da;
  --ink-2: #b9b0a0;
  --muted: #847b6d;
  --line: rgba(239, 232, 218, .12);
  --gold: #d2aa55;
  --gold-2: #f0cf82;
  --gold-dim: rgba(210, 170, 85, .18);
  --blue: #3f8fe0;
  --blue-2: #9cc8ff;
  --red: #e0453a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display: "Unbounded", var(--sans);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* ---------- ortak tipografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px;
}
.eyebrow--blue { color: var(--blue-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot--live { background: var(--red); box-shadow: 0 0 0 0 rgba(224, 69, 58, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224, 69, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 69, 58, 0); } }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px); line-height: .98; letter-spacing: -.01em;
  margin: 0 0 28px;
}
.h2 em { color: var(--gold); font-weight: 300; }

/* ---------- ön yükleyici ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: loaderFailsafe 0s 6s forwards; /* JS gecikse bile 6 sn sonra açıl */
}
@keyframes loaderFailsafe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader__code { font-family: var(--mono); font-size: clamp(22px, 4vw, 44px); color: var(--gold); letter-spacing: .25em; white-space: nowrap; }
.loader__bar { width: min(280px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: load 1.6s var(--ease) forwards; }
.loader__hint { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@keyframes load { to { transform: scaleX(1); } }
.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }

/* ---------- imleç ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor .cursor { display: block; }
  .cursor { position: fixed; inset: 0 auto auto 0; z-index: 999; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid rgba(210, 170, 85, .55);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
  }
  .cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
  .cursor.is-hover .cursor__label { opacity: 1; }
  .cursor.is-hover .cursor__dot { opacity: 0; }
}

/* ---------- film greni + ilerleme ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); } 80% { transform: translate(6%, 5%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(10, 9, 8, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--serif); font-size: 28px; letter-spacing: .02em; }
.nav__logo em { color: var(--gold); font-style: normal; margin: 0 2px; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: clamp(44px, 12vw, 72px); line-height: 1.1; display: flex; align-items: baseline; gap: 14px; transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.menu nav a small { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .06s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .12s; } .menu-open .menu nav a:nth-child(4) { transition-delay: .18s; }
.menu__social { display: flex; gap: 24px; margin-top: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

/* ---------- açılış animasyonları ---------- */
.js .reveal-up { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal-up.is-in { opacity: 1; transform: none; }
/* kırpma kapsayıcıya değil içeriğe uygulanır: kapsayıcı görünür kalır, gözlemci ve lazy-load çalışır */
.js .reveal-clip > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io), filter .8s var(--ease), transform 1.2s var(--ease); }
.js .reveal-clip.is-in > img { clip-path: inset(0 0 0 0); }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split .ch { display: inline-block; will-change: transform; }
.js .split .ch { transform: translateY(110%) rotate(6deg); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
.js .split.is-in .ch { transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -4%; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; filter: grayscale(.25) contrast(1.05) brightness(.92); animation: kenburns 24s ease-in-out infinite alternate; }
.js .hero__media img { opacity: 0; transform: scale(1.12); transition: opacity 2s var(--ease), transform 2.6s var(--ease); animation: heroFailsafe 0s 6s forwards; }
@keyframes heroFailsafe { to { opacity: 1; transform: none; } }
.is-loaded .hero__media img { opacity: 1; transform: scale(1); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 9, 8, .86) 30%, rgba(10, 9, 8, .2) 62%, rgba(10, 9, 8, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 8, 0) 30%);
}
.hero__content { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 120px var(--gutter) 90px; }
.hero__title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(84px, 16vw, 240px); line-height: .86; letter-spacing: -.035em;
}
.split-line--indent { padding-inline-start: .55em; }
.hero__title .split-line--indent .split { font-style: italic; color: var(--gold); }
.hero__lead { max-width: 30ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); margin: 34px 0 40px; }
.hero__new {
  display: inline-flex; align-items: center; gap: 18px; padding: 12px 26px 12px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(18, 16, 13, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.hero__new:hover { border-color: rgba(210, 170, 85, .6); background: rgba(210, 170, 85, .08); }
.hero__new img { width: 46px; height: 70px; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 22px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.hero__new:hover img { transform: rotate(-6deg) scale(1.08); }
.hero__new span { display: flex; flex-direction: column; line-height: 1.3; }
.hero__new small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero__new strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.hero__new em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--ink-2); }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__coords { position: absolute; right: var(--gutter); bottom: 32px; display: flex; gap: 22px; font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.blink { color: var(--red); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero__media img { object-position: 100% 32%; }
  .hero__vignette { background: linear-gradient(0deg, var(--bg) 8%, rgba(10, 9, 8, .75) 45%, rgba(10, 9, 8, .15) 75%); }
  .hero__coords { display: none; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 48px; }
}

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 44px); white-space: nowrap; color: var(--ink); }
.marquee__track span:nth-of-type(odd) { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(16px, 2vw, 24px); letter-spacing: .12em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- TURİNG KAPANI ---------- */
.turing { position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; isolation: isolate; }
.turing__matrix { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.turing__glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; left: -10vw; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(210, 170, 85, .14), transparent 60%); pointer-events: none; }
.turing::before, .turing::after { content: ""; position: absolute; left: 0; right: 0; height: 180px; z-index: -1; pointer-events: none; }
.turing::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.turing::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.turing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.turing__cover-col { position: relative; }

.book3d { perspective: 1400px; width: min(100%, 440px); margin: 0 auto; position: relative; }
.book3d__inner { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)); transition: transform .9s var(--ease); }
.book3d__inner img { width: 100%; height: auto; border-radius: 2px 6px 6px 2px; box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); }
.book3d__spine { position: absolute; top: 0; bottom: 0; left: 0; width: 22px; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(255, 255, 255, .08) 45%, rgba(0, 0, 0, .25)); border-radius: 2px 0 0 2px; pointer-events: none; }
.book3d__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 230, 170, .28), transparent 45%); mix-blend-mode: soft-light; opacity: .9; }
.book3d__shadow { position: absolute; left: 10%; right: 10%; bottom: -40px; height: 40px; background: radial-gradient(ellipse, rgba(0, 0, 0, .7), transparent 70%); filter: blur(6px); }
.js .book3d { opacity: 0; transform: translateY(80px) rotate(-4deg); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .book3d.is-in { opacity: 1; transform: none; }
.book3d:not(.is-tilting) .book3d__inner { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.turing__badge { position: absolute; right: max(-10px, calc(50% - 260px)); top: -34px; width: 118px; height: 118px; display: grid; place-items: center; }
.turing__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.turing__badge text { font-family: var(--mono); font-size: 8.4px; letter-spacing: .14em; fill: var(--gold); }
.turing__badge > span { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--bg); display: grid; place-items: center; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
@keyframes spin { to { transform: rotate(360deg); } }

.turing__title { font-family: var(--display); font-weight: 700; font-size: clamp(54px, 8.4vw, 132px); line-height: .92; letter-spacing: .02em; margin: 0; color: var(--gold); display: flex; flex-direction: column; }
.turing__sub { font-size: 13px; letter-spacing: .5em; color: var(--ink-2); margin: 22px 0 34px; min-height: 1.6em; }
.caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -0.2em; background: var(--gold); margin-left: 4px; animation: blink 1s steps(2) infinite; }
.turing__blurb p { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.4; margin: 0 0 16px; color: var(--ink); max-width: 34ch; }
.turing__blurb strong { font-weight: 500; color: var(--gold-2); }
.turing__blurb em { color: var(--gold); }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 40px 0 38px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-size: 15px; }
.specs dd.mono { white-space: nowrap; font-size: 13.5px; }

/* glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #57e0ff; transform: translate(-3px, 0); }
.glitch::after { color: var(--red); transform: translate(3px, 0); }
.glitch.is-glitching::before { opacity: .85; animation: glitch-a .45s steps(2) both; }
.glitch.is-glitching::after { opacity: .85; animation: glitch-b .45s steps(2) both; }
.glitch.is-glitching { animation: glitch-shake .45s steps(3) both; }
@keyframes glitch-a { 0% { clip-path: inset(10% 0 70% 0); } 25% { clip-path: inset(60% 0 10% 0); } 50% { clip-path: inset(30% 0 45% 0); } 75% { clip-path: inset(80% 0 2% 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes glitch-b { 0% { clip-path: inset(70% 0 5% 0); } 25% { clip-path: inset(5% 0 75% 0); } 50% { clip-path: inset(45% 0 30% 0); } 75% { clip-path: inset(15% 0 60% 0); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes glitch-shake { 0%, 100% { transform: none; } 33% { transform: translate(2px, -1px) skewX(4deg); } 66% { transform: translate(-2px, 1px) skewX(-3deg); } }

@media (max-width: 960px) {
  .turing__grid { grid-template-columns: 1fr; }
  .book3d { width: min(78%, 340px); }
  .turing__badge { right: 4%; top: -30px; width: 96px; height: 96px; }
}

/* ---------- butonlar ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden;
  padding: 17px 28px; border-radius: 999px; font-size: 14px; letter-spacing: .06em; font-weight: 500;
  border: 1px solid var(--line); isolation: isolate; transition: color .45s var(--ease), border-color .45s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn i { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--gold { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--gold::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue::before { background: var(--blue-2); }
.btn--blue:hover { color: #08121f; }
.magnetic { will-change: transform; }

/* ---------- KAYDIRMALI ANLATI ---------- */
.story { position: relative; height: 280vh; background: var(--bg); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); overflow: hidden; }
.story__text { font-family: var(--serif); font-size: clamp(24px, min(5.2vw, 6.6vh), 76px); line-height: 1.12; max-width: 18ch; margin: 0; text-wrap: balance; }
.story__eye { width: clamp(80px, min(14vw, 15vh), 180px); margin-bottom: clamp(12px, 3.5vh, 32px); opacity: var(--eye, 0); transform: scale(calc(.8 + var(--eye, 0) * .2)); }
.story__eye svg { width: 100%; overflow: visible; }
.story__eye .lid { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.story__eye .iris { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.story__eye .pupil { fill: var(--gold); }
.story__eye .iris, .story__eye .pupil { transition: transform .25s var(--ease); }
.story__punch { margin: clamp(16px, 5vh, 48px) 0 0; max-width: 100%; opacity: var(--punch, 0); transform: translateY(calc((1 - var(--punch, 0)) * 30px)); }
.glitch--big { font-family: var(--display); font-weight: 700; font-size: clamp(15px, min(4.6vw, 6.5vh), 60px); line-height: 1.15; letter-spacing: .02em; color: var(--red); text-wrap: balance; max-width: 100%; }

[data-scrub] .w { opacity: .14; transition: opacity .25s linear, color .25s linear; }
[data-scrub] .w.on { opacity: 1; }
.no-js [data-scrub] .w, html:not(.js) [data-scrub] .w { opacity: 1; }

/* ---------- TURİNG TESTİ ---------- */
.test { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 100% 0%, rgba(210, 170, 85, .07), transparent 55%), var(--bg); }
.test__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.test .muted { max-width: 46ch; font-size: 18px; }
.terminal { border: 1px solid var(--line); border-radius: 14px; background: #0d0c0a; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 80px rgba(210, 170, 85, .04); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2620; }
.terminal__bar i:first-child { background: var(--red); }
.terminal__bar span { margin-left: auto; font-size: 11px; color: var(--muted); }
.terminal__body { padding: 26px 24px 30px; font-size: 14px; color: #c8bfa9; min-height: 280px; }
.terminal__body p { margin: 0 0 10px; }
.t-q { color: var(--gold-2); }
.terminal__choices { display: flex; gap: 12px; margin: 22px 0; }
.terminal__choices button { font-family: var(--mono); font-size: 14px; color: var(--gold); padding: 10px 16px; border: 1px solid var(--gold-dim); border-radius: 6px; transition: background .3s, color .3s; }
.terminal__choices button:hover, .terminal__choices button:focus-visible { background: var(--gold); color: var(--bg); }
.terminal__choices.is-done button { opacity: .35; pointer-events: none; }
.terminal__choices.is-done button.is-picked { opacity: 1; background: var(--gold); color: var(--bg); }
.t-out { color: var(--ink); white-space: pre-wrap; min-height: 4.5em; }
.t-out .red { color: var(--red); }
@media (max-width: 860px) { .test__grid { grid-template-columns: 1fr; } }

/* ---------- HAKKIMDA ---------- */
.about { padding: clamp(100px, 13vw, 180px) 0; background: var(--bg-2); position: relative; overflow: hidden; }
.about::before { content: "İ"; position: absolute; right: -4vw; top: -10vw; font-family: var(--serif); font-style: italic; font-size: 60vw; line-height: 1; color: rgba(210, 170, 85, .035); pointer-events: none; }
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; position: relative; }
.about__photo { position: relative; max-width: 360px; }
@media (min-width: 861px) { .about__photo { position: sticky; top: 110px; } }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.88) contrast(1.04); border-radius: 4px; transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.about__photo:hover img { filter: saturate(1.05) contrast(1.06); transform: scale(1.02); }
.about__photo::after { content: ""; position: absolute; inset: 14px -14px 22px 14px; border: 1px solid var(--gold-dim); border-radius: 4px; z-index: -1; }
.about__caption { display: block; margin-top: 18px; font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.about__text { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 31px); line-height: 1.42; margin: 0 0 36px; max-width: 36ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 240px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- KİTAPLAR / ALİS ---------- */
.books { padding-top: clamp(100px, 13vw, 170px); background: var(--bg); }
.alis { position: relative; margin-top: 40px; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 30% 50%, rgba(63, 143, 224, .16), transparent 60%), linear-gradient(#070b12, #05070b); }
.alis__rain { position: absolute; inset: 0; z-index: -1; }
.alis__rain canvas { width: 100%; height: 100%; display: block; }
.alis__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.alis__stage { display: grid; place-items: center; }
.alis__keyhole { width: min(100%, 420px); --ms: 34%; }
.alis__keyhole img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 40px 100px -20px rgba(30, 90, 170, .55); }
.js .alis__keyhole {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='38' r='17'/%3E%3Cpath d='M41 48 L33 86 L67 86 L59 48 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='38' r='17'/%3E%3Cpath d='M41 48 L33 86 L67 86 L59 48 Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 42%; mask-position: 50% 42%;
  -webkit-mask-size: var(--ms); mask-size: var(--ms);
}
.js .alis__keyhole.is-open { -webkit-mask-image: none; mask-image: none; }
.alis__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; margin: 0 0 20px; }
.alis__title span { display: block; font-style: italic; font-size: 1.6em; color: #e9c46a; text-shadow: 0 0 40px rgba(233, 196, 106, .3); }
.alis__tag { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--blue-2); margin: 0 0 22px; }
.alis .muted { max-width: 52ch; color: #a9b4c4; }
.alis__quote { font-family: var(--serif); font-size: 22px; color: var(--ink); border-left: 2px solid var(--blue); padding-left: 18px; margin: 26px 0 34px; }
@media (max-width: 860px) { .alis__grid { grid-template-columns: 1fr; } .alis__keyhole { width: min(76%, 320px); } }

/* raf */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.shelf__item { display: block; perspective: 900px; }
.shelf__item img, .shelf__ghost { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .7s var(--ease), box-shadow .5s; }
.shelf__item:hover img { box-shadow: 0 40px 70px -20px rgba(210, 170, 85, .25); }
.shelf__item > div:last-child { margin-top: 18px; display: flex; flex-direction: column; }
.shelf__item small { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.shelf__item strong { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.shelf__ghost { border: 1px dashed var(--gold-dim); background: repeating-linear-gradient(135deg, rgba(210, 170, 85, .025) 0 12px, transparent 12px 24px); box-shadow: none; display: flex; padding: 18px; overflow: hidden; }
.shelf__ghost span { font-size: 12px; line-height: 1.6; color: rgba(210, 170, 85, .45); word-break: break-all; }
@media (max-width: 760px) { .shelf { grid-template-columns: 1fr 1fr; } .shelf__item--soon { grid-column: span 2; max-width: 50%; } }

/* ---------- İLETİŞİM ---------- */
.contact { padding-top: clamp(100px, 13vw, 180px); background: var(--bg); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.contact__title { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 12vw, 190px); line-height: .9; letter-spacing: -.03em; margin: 0 0 56px; }
.contact__title em { color: var(--gold); }
.contact__mail { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; }
.contact__mail-text { font-family: var(--serif); font-size: clamp(28px, 5vw, 64px); line-height: 1.1; background: linear-gradient(90deg, var(--gold) 0 50%, var(--ink) 50% 100%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .8s var(--ease); word-break: break-all; }
.contact__mail:hover .contact__mail-text, .contact__mail:focus-visible .contact__mail-text { background-position: 0 0; }
.contact__mail-hint { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 70px 0 0; padding: 30px 0; border-top: 1px solid var(--line); }

.link-roll { display: inline-block; overflow: hidden; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; height: 1.6em; line-height: 1.6em; }
.link-roll span { display: inline-block; position: relative; transition: transform .55s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--gold); }
.link-roll:hover span, .link-roll:focus-visible span { transform: translateY(-100%); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 40px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.footer__bin { font-size: 11px; color: rgba(210, 170, 85, .35); }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: var(--gutter); background: rgba(5, 5, 4, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.modal__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; transform: scale(.94); transition: transform .6s var(--ease); }
.modal.is-open .modal__frame { transform: none; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 18px; right: 22px; font-size: 40px; line-height: 1; width: 52px; height: 52px; color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 950; transform: translate(-50%, 120px); background: var(--gold); color: var(--bg); padding: 12px 22px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: transform .6s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .story { height: auto; }
  .story__sticky { position: relative; height: auto; padding: 120px var(--gutter); }
  .story__eye, .story__punch { opacity: 1; transform: none; }
  [data-scrub] .w { opacity: 1; }
  .js .alis__keyhole { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================
   ÇOK DİLLİ DESTEK
   ========================================================= */
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .12em; color: var(--ink-2); transition: border-color .3s, color .3s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--gold); color: var(--ink); }
.lang__list {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 200px; margin: 0; padding: 8px; list-style: none;
  background: rgba(18, 16, 13, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lang__list a { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); text-align: start; transition: background .2s, color .2s; }
.lang__list a small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }
.lang__list a:hover, .lang__list a:focus-visible { background: rgba(210, 170, 85, .1); color: var(--ink); }
.lang__list a[aria-current] { color: var(--gold); }
.lang__list a[aria-current] small { color: var(--gold); }
.menu__langs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 40px; font-size: 12px; letter-spacing: .12em; }
.menu__langs a { color: var(--muted); padding: 4px 0; }
.menu__langs a[aria-current] { color: var(--gold); }
@media (max-width: 860px) { .nav__right .lang { display: none; } }

/* dil geçişinde yumuşak solma */

/* çeviri başlıkları & notlar */
.turing__trans { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--ink-2); margin: 14px 0 0; }
.trans-inline { font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-2); font-weight: 400; margin-inline-start: 6px; }
.alis__trans { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue-2); margin: -6px 0 18px; }
.shelf__trans { font-style: italic; font-family: var(--serif); color: var(--ink-2); font-size: 17px; }
.langnote { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .08em; color: var(--gold); border: 1px dashed var(--gold-dim); padding: 8px 12px; border-radius: 6px; margin: -10px 0 30px; }
.langnote::before { content: "TR"; font-size: 10px; background: var(--gold); color: var(--bg); padding: 1px 5px; border-radius: 3px; }
.langnote--blue { color: var(--blue-2); border-color: rgba(156, 200, 255, .3); margin-top: 0; }
.langnote--blue::before { background: var(--blue-2); }
.turing__trans:empty, .alis__trans:empty, .trans-inline:empty, .shelf__trans:empty, .langnote:empty { display: none; }
.t-again { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.t-again:hover { color: var(--gold); }

/* CJK & Arapça yazı tipleri (Latin harfler yine Cormorant/Manrope ile) */
html[lang="zh"] { --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", serif; --sans: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="ja"] { --serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; --sans: "Manrope", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ko"] { --serif: "Cormorant Garamond", "Noto Serif KR", "AppleMyungjo", "Batang", serif; --sans: "Manrope", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="ar"] { --serif: "Cormorant Garamond", "Amiri", "Noto Naskh Arabic", serif; --sans: "Manrope", "Noto Kufi Arabic", "Geeza Pro", "Tahoma", sans-serif; }
html[lang="ru"] { --serif: "Cormorant Garamond", "PT Serif", serif; }
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"]) :is(.h2, .story__text, .about__text, .turing__blurb p, .contact__title, .alis__tag) { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"]) .contact__title { font-size: clamp(48px, 9vw, 140px); line-height: 1.1; }
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"]) .story__text { max-width: 14em; }
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"]) em { font-style: normal; }
html[lang="ar"] em { font-style: normal; }
html[lang="ar"] { --mono: "JetBrains Mono", "Noto Kufi Arabic", "Geeza Pro", monospace; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] .eyebrow, html[lang="ar"] .stat span, html[lang="ar"] .nav__links a { letter-spacing: 0; }
html[lang="ar"] .h2, html[lang="ar"] .story__text, html[lang="ar"] .contact__title { line-height: 1.3; }
html[lang="ru"] .contact__title { font-size: clamp(54px, 10vw, 160px); }

/* sağdan sola (Arapça) */
[dir="rtl"] .hero__media img { scale: -1 1; }
[dir="rtl"] .hero__vignette { background: linear-gradient(270deg, var(--bg) 0%, rgba(10, 9, 8, .86) 30%, rgba(10, 9, 8, .2) 62%, rgba(10, 9, 8, .1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 8, 0) 30%); }
@media (max-width: 860px) { [dir="rtl"] .hero__vignette { background: linear-gradient(0deg, var(--bg) 8%, rgba(10, 9, 8, .75) 45%, rgba(10, 9, 8, .15) 75%); } }
[dir="rtl"] .hero__coords { right: auto; left: var(--gutter); }
[dir="rtl"] .marquee, [dir="rtl"] .hero__title, [dir="rtl"] .turing__title, [dir="rtl"] .terminal__bar, [dir="rtl"] .footer__bin { direction: ltr; }
[dir="rtl"] .hero__title { text-align: right; }
[dir="rtl"] .turing__title { align-items: flex-end; }
[dir="rtl"] .split-line--indent { padding-left: 0; padding-right: .55em; }
[dir="rtl"] .alis__quote { border-left: 0; border-right: 2px solid var(--blue); padding-left: 0; padding-right: 18px; }
[dir="rtl"] .btn i { transform: scaleX(-1); }
[dir="rtl"] .contact__mail { align-items: flex-end; text-align: right; direction: ltr; }
[dir="rtl"] .about::before { right: auto; left: -4vw; }

/* dil önerisi çubuğu */
.suggest { position: fixed; inset-inline-start: 50%; bottom: 22px; z-index: 950; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(18, 16, 13, .94); border: 1px solid rgba(210, 170, 85, .45); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate(-50%, 140%); transition: transform .7s var(--ease); font-size: 14px; max-width: calc(100vw - 32px); }
[dir="rtl"] .suggest { transform: translate(50%, 140%); }
.suggest.is-on { transform: translate(-50%, 0); }
[dir="rtl"] .suggest.is-on { transform: translate(50%, 0); }
.suggest a { color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest button { width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--muted); flex: none; }
.suggest button:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

/* SSS */
.faq { padding: clamp(90px, 12vw, 160px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 110px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.3; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat; transition: transform .5s var(--ease); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover { color: var(--gold-2); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 28px; color: var(--ink-2); max-width: 62ch; }
.faq__a a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.faq__item[open] .faq__a p { animation: faqIn .6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid > div:first-child { position: static; } }

/* JS hiç çalışmazsa (engellendi/hata) içerik 6 sn sonra yine görünür */
.js:not(.js-ok) .reveal-up, .js:not(.js-ok) .book3d { animation: revealFailsafe 0s 6s forwards; }
.js:not(.js-ok) .reveal-clip > img { animation: clipFailsafe 0s 6s forwards; }
@keyframes revealFailsafe { to { opacity: 1; transform: none; } }
@keyframes clipFailsafe { to { clip-path: inset(0 0 0 0); } }

/* =========================================================
   HAKKIMDA — genişletilmiş metin
   ========================================================= */
.about__more p { color: var(--ink-2); font-size: 17.5px; line-height: 1.75; max-width: 62ch; margin: 0 0 18px; }
.about__bridge { color: var(--ink) !important; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 24px) !important; line-height: 1.45 !important; border-inline-start: 2px solid var(--gold); padding-inline-start: 20px; margin-top: 30px !important; }
.about__bridge strong { color: var(--gold); font-weight: 500; }

/* =========================================================
   451 ATÖLYE
   ========================================================= */
.atelier {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(26px, 4vw, 56px); border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(ellipse at 10% 90%, rgba(224, 90, 40, .16), transparent 55%), linear-gradient(160deg, #16110c, #0c0a08);
}
.atelier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #f08a24, #f0cf82, transparent); opacity: .7; }
.atelier__logo { display: flex; align-items: center; justify-content: center; }
.atelier__logo img { width: 100%; max-width: 420px; height: auto; }
.atelier__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; margin: 0; }
.atelier__tag { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: #f3a560; margin: 10px 0 24px; }
.atelier__body > p { color: var(--ink-2); max-width: 64ch; }
.atelier__body em { color: var(--ink); }
.atelier .eyebrow { color: #f3a560; }
.atelier__chips { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atelier__chips li { font-size: 11.5px; letter-spacing: .06em; padding: 7px 13px; border: 1px solid rgba(240, 138, 36, .35); border-radius: 999px; color: #f3c58f; transition: background .3s, color .3s; }
.atelier__chips li:hover { background: rgba(240, 138, 36, .14); color: #fff; }
.atelier__desk { margin: 30px 0 34px; border-top: 1px solid var(--line); padding-top: 22px; }
.atelier__desk-title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.atelier__desk ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.atelier__desk li { display: flex; flex-direction: column; border-inline-start: 1px solid rgba(240, 138, 36, .45); padding-inline-start: 12px; }
.atelier__desk li strong { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.atelier__desk li span { font-size: 12.5px; color: var(--muted); }
.btn--ember { background: linear-gradient(90deg, #d9432f, #f08a24); border-color: transparent; color: #fff; }
.btn--ember::before { background: var(--ink); }
.btn--ember:hover { color: var(--bg); }
@media (max-width: 960px) {
  .atelier { grid-template-columns: 1fr; }
  .atelier__logo img { max-width: 320px; }
}
@media (max-width: 560px) { .atelier__desk ul { grid-template-columns: 1fr; } }
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"], html[lang="ar"]) .atelier__tag { font-style: normal; }

/* =========================================================
   SATIŞ NOKTALARI
   ========================================================= */
.stores { margin: 4px 0 26px; }
.stores__title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.stores__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 580px; }
.store {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 66px; padding: 10px 18px; background: #fff; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.store img { display: block; width: auto; max-width: 100%; max-height: 34px; object-fit: contain; min-width: 0; flex: 0 1 auto; }
.store--square img { max-height: 54px; }
.store img[alt="BKM Kitap"] { max-height: 40px; }
.store img[alt="Trend Kitabevi"] { max-height: 38px; }
.store .store__icon { max-height: 30px; flex: none; }
.store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(210, 170, 85, .35) 50%, transparent 65%); transform: translateX(-110%); transition: transform .9s var(--ease); pointer-events: none; }
.store__go { position: absolute; top: 5px; inset-inline-end: 9px; font-size: 12px; color: #1a1712; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .45s var(--ease); }
.store:hover, .store:focus-visible { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 22px 40px -18px rgba(210, 170, 85, .6); }
.store:hover::after, .store:focus-visible::after { transform: translateX(110%); }
.store:hover .store__go, .store:focus-visible .store__go { opacity: .75; transform: none; }
.stores--blue .store:hover, .stores--blue .store:focus-visible { border-color: var(--blue); box-shadow: 0 22px 40px -18px rgba(63, 143, 224, .7); }
.stores--blue .store::after { background: linear-gradient(105deg, transparent 35%, rgba(63, 143, 224, .3) 50%, transparent 65%); }
.js .stores .stores__grid li { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stores.is-in .stores__grid li { opacity: 1; transform: none; }
.stores__grid li:nth-child(2) { transition-delay: .07s !important; } .stores__grid li:nth-child(3) { transition-delay: .14s !important; }
.stores__grid li:nth-child(4) { transition-delay: .21s !important; } .stores__grid li:nth-child(5) { transition-delay: .28s !important; } .stores__grid li:nth-child(6) { transition-delay: .35s !important; }
.js:not(.js-ok) .stores .stores__grid li { animation: revealFailsafe 0s 6s forwards; }
@media (max-width: 520px) { .stores__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .store { height: 60px; padding: 8px 12px; } }
