/* =========================================================
   MUSEL — hareket katmanı
   Bütün sayfalar: imleç, sayfa geçişi, mıknatıslı düğme, eğilen kart.
   Ana sayfa (.hk-home): ışıktan çınar, kinetik başlıklar, kaydırmalı hikâye.
   ========================================================= */
:root {
  --hk-bg: #07060b;
  --hk-bg-2: #0e0c14;
  --hk-ink: #f3efe6;
  --hk-dim: rgba(243, 239, 230, .62);
  --hk-faint: rgba(243, 239, 230, .14);
  --hk-fire: #ff5c39;
  --hk-gold: #f3c24f;
  --hk-ease: cubic-bezier(.16, 1, .3, 1);
  --hk-serif: "Instrument Serif", Georgia, serif;
  --hk-sans: "Inter Tight", system-ui, sans-serif;
  --hk-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- sayfa geçişi (her sayfa) ---------- */
.hk-veil { position: fixed; inset: 0; z-index: 9000; pointer-events: none; display: grid; place-items: center; }
.hk-veil i { position: absolute; inset: 0; background: var(--hk-bg); transform-origin: top; transform: scaleY(0); }
.hk-veil i:nth-child(2) { background: var(--hk-fire); }
.hk-veil b { position: relative; font: 800 clamp(40px, 7vw, 92px)/1 var(--hk-sans); letter-spacing: -.05em; color: var(--hk-ink); opacity: 0; }
.hk-veil.is-in i { animation: hkVeilIn .6s var(--hk-ease) forwards; }
.hk-veil.is-in i:nth-child(2) { animation-delay: 0s; animation-duration: .45s; }
.hk-veil.is-in i:nth-child(1) { animation-delay: .1s; }
.hk-veil.is-in b { animation: hkFade .4s .3s forwards; }
.hk-veil.is-out i { transform: scaleY(1); transform-origin: bottom; animation: hkVeilOut .8s var(--hk-ease) forwards; }
.hk-veil.is-out i:nth-child(2) { animation-delay: .08s; }
@keyframes hkVeilIn { to { transform: scaleY(1); } }
@keyframes hkVeilOut { to { transform: scaleY(0); } }
@keyframes hkFade { to { opacity: 1; } }

/* ---------- imleç (fareli cihazlar) ---------- */
.hk-cursor, .hk-cursor-dot { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; border-radius: 50%; will-change: transform; }
.hk-cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(255, 92, 57, .75); transition: width .35s var(--hk-ease), height .35s var(--hk-ease), margin .35s var(--hk-ease), background .3s, border-color .3s; mix-blend-mode: difference; }
.hk-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--hk-fire); }
.hk-cursor.is-link { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 92, 57, .16); border-color: transparent; }
.hk-cursor.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.hk-cursor.is-hidden, .hk-cursor-dot.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) { html.hk-has-cursor, html.hk-has-cursor a, html.hk-has-cursor button { cursor: none; } }

[data-magnet] { will-change: transform; }
[data-magnet] > * { transition: transform .5s var(--hk-ease); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* =========================================================
   ANA SAYFA
   ========================================================= */
body.hk-home { background: var(--hk-bg); color: var(--hk-ink); }
body.sinema.hk-home main { padding-top: 0; }
.hk-home ::selection { background: var(--hk-fire); color: #fff; }

/* ---------- arka plandaki çınar ---------- */
.hk-gl { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.hk-gl canvas { width: 100%; height: 100%; display: block; }
.hk-gl-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,6,11,.88) 0%, rgba(7,6,11,.55) 32%, rgba(7,6,11,0) 58%), radial-gradient(ellipse 80% 70% at 65% 50%, rgba(7,6,11,0), rgba(7,6,11,.5) 90%); }
.hk-gl.is-dim canvas { opacity: .28; transition: opacity 1s; }
.hk-gl canvas { transition: opacity 1s; }
.hk-home main > :not(.hk-gl) { position: relative; z-index: 1; }
.hk-home .ft { position: relative; z-index: 1; }

/* ---------- ortak ---------- */
.hk-kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 500 12px/1 var(--hk-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--hk-ink); }
.hk-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--hk-fire); box-shadow: 0 0 0 0 rgba(255,92,57,.6); animation: hkPulse 2.2s infinite; }
.hk-kick--dim { color: var(--hk-dim); }
@keyframes hkPulse { 70% { box-shadow: 0 0 0 10px rgba(255,92,57,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,57,0); } }
.hk-acc { font-family: var(--hk-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--hk-fire); }
.hk-h2 { margin: 0; font: 800 clamp(42px, 6.4vw, 96px)/.95 var(--hk-sans); letter-spacing: -.05em; }
.hk-h2--xl { font-size: clamp(50px, 9vw, 150px); }
.hk-line { display: block; }
.hk-w { display: inline-block; white-space: nowrap; }
.hk-ch { display: inline-block; will-change: transform; }

/* kinetik yazı: harfler alttan dönerek gelir */
.js [data-kinetic] .hk-ch { opacity: 0; transform: translateY(.7em) rotate(8deg) scale(.9); filter: blur(6px); }
.js [data-kinetic].is-on .hk-ch { opacity: 1; transform: none; filter: none; transition: opacity .7s var(--hk-ease), transform 1s var(--hk-ease), filter .7s var(--hk-ease); transition-delay: calc(var(--i, 0) * 24ms + var(--d, 0s)); }

/* sıradan görünme */
.js [data-rv] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--hk-ease), transform 1.1s var(--hk-ease); transition-delay: var(--d, 0s); }
.js [data-rv].is-on { opacity: 1; transform: none; }
.js [data-rv][data-kinetic] { opacity: 1; transform: none; }
.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--hk-ease), transform 1s var(--hk-ease); transition-delay: var(--d, 0s); }
.is-ready [data-in] { opacity: 1; transform: none; }

/* düğmeler */
.hk-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--hk-sans); overflow: hidden; isolation: isolate; }
.hk-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--hk-ease); }
.hk-btn:hover::before { transform: none; }
.hk-btn i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: transform .5s var(--hk-ease); }
.hk-btn:hover i { transform: rotate(45deg); }
.hk-btn--fire { background: var(--hk-fire); color: #fff; box-shadow: 0 18px 40px -16px rgba(255, 92, 57, .9); }
.hk-btn--fire::before { background: #fff; }
.hk-btn--fire:hover { color: var(--hk-bg); }
.hk-btn--fire i { background: rgba(255,255,255,.2); }
.hk-btn--ghost { color: var(--hk-ink); border: 1px solid rgba(243, 239, 230, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hk-btn--ghost::before { background: var(--hk-ink); }
.hk-btn--ghost:hover { color: var(--hk-bg); }
.hk-btn--ghost i { background: var(--hk-faint); }

/* ---------- kahraman ---------- */
.hk-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; }
.hk-hero-in { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hk-display { margin: 0 0 30px; font: 800 clamp(56px, 10.5vw, 176px)/.88 var(--hk-sans); letter-spacing: -.06em; max-width: 12ch; }
.hk-display .hk-acc { padding-right: .06em; }
.hk-lead { max-width: 54ch; margin: 0 0 36px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--hk-dim); }
.hk-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hk-hero-foot { display: flex; align-items: flex-end; gap: 48px; margin-top: 56px; }
.hk-stat { display: flex; align-items: center; gap: 12px; }
.hk-stat b { font: 800 56px/1 var(--hk-sans); letter-spacing: -.05em; }
.hk-stat span { font: 500 11px/1.4 var(--hk-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hk-dim); }
.hk-scroll { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--hk-dim); }
.hk-scroll span { width: 26px; height: 42px; border: 1.5px solid var(--hk-faint); border-radius: 14px; position: relative; }
.hk-scroll span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--hk-fire); animation: hkWheel 1.8s infinite; }
.hk-scroll small { font: 500 10px var(--hk-mono); letter-spacing: .2em; text-transform: uppercase; }
@keyframes hkWheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- kaydırmalı hikâye ---------- */
.hk-story { height: calc(var(--steps) * 100svh); }
.hk-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hk-year { position: absolute; right: -2vw; bottom: -4vw; font: 800 clamp(120px, 26vw, 420px)/.8 var(--hk-sans); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 239, 230, .14); user-select: none; font-variant-numeric: tabular-nums; }
.hk-rail { position: absolute; left: var(--gutter, 40px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.hk-rail i { width: 6px; height: 6px; border-radius: 50%; background: var(--hk-faint); transition: background .4s, transform .4s var(--hk-ease); }
.hk-rail i.is-on { background: var(--hk-fire); transform: scale(1.6); }
.hk-rail b { position: absolute; left: 2px; top: 0; width: 2px; height: 0; background: linear-gradient(var(--hk-fire), transparent); border-radius: 2px; }
.hk-step {
  position: absolute; left: clamp(56px, 8vw, 140px); top: 50%; width: min(560px, calc(100% - 96px));
  transform: translateY(-50%); pointer-events: none;
}
.hk-step > * { opacity: 0; transform: translateY(60px); filter: blur(8px); transition: opacity .7s var(--hk-ease), transform .9s var(--hk-ease), filter .7s var(--hk-ease); }
.hk-step > *:nth-child(2) { transition-delay: .06s; }
.hk-step > *:nth-child(3) { transition-delay: .12s; }
.hk-step > *:nth-child(4) { transition-delay: .18s; }
.hk-step > *:nth-child(5) { transition-delay: .24s; }
.hk-step.is-past > * { transform: translateY(-60px); transition-delay: 0s; }
.hk-step.is-on { pointer-events: auto; }
.hk-step.is-on > * { opacity: 1; transform: none; filter: none; }
.hk-step-kick { margin: 0 0 18px; font: 500 12px/1 var(--hk-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--c, var(--hk-fire)); display: flex; align-items: center; gap: 10px; }
.hk-step-kick span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; letter-spacing: 0; }
.hk-step h2 { margin: 0 0 20px; font: 800 clamp(44px, 6vw, 92px)/.92 var(--hk-sans); letter-spacing: -.05em; }
.hk-step h2 em { font-family: var(--hk-serif); font-style: italic; font-weight: 400; color: var(--c, var(--hk-fire)); }
.hk-step[data-focus]:not([data-focus="-1"]):not([data-focus="99"]) h2 { color: var(--hk-ink); text-shadow: 0 0 60px color-mix(in srgb, var(--c) 45%, transparent); }
.hk-step > p:not(.hk-step-kick) { margin: 0 0 22px; font-size: 18px; line-height: 1.6; color: var(--hk-dim); }
.hk-tags { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hk-tags li { padding: 8px 14px; border-radius: 999px; font-size: 14px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.hk-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c, var(--hk-fire)); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hk-link svg { transition: transform .4s var(--hk-ease); }
.hk-link:hover svg { transform: translateX(6px); }

/* ---------- şirket kartları ---------- */
.hk-sec { padding: clamp(110px, 14vw, 200px) 0; }
.hk-brands { background: linear-gradient(var(--hk-bg) 0%, var(--hk-bg-2) 100%); }
.hk-head { margin-bottom: 64px; }
.hk-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; perspective: 1200px; }
.hk-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 26px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.09); overflow: hidden; transition: border-color .4s, background .4s; }
.hk-card:nth-child(4), .hk-card:nth-child(5) { grid-column: span 3; }
.hk-card:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.hk-card-glow { position: absolute; width: 360px; height: 360px; left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--c) 40%, transparent), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hk-card:hover .hk-card-glow { opacity: 1; }
.hk-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; transform: translateZ(40px); }
.hk-mark { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font: 800 20px var(--hk-sans); letter-spacing: -.03em; color: var(--hk-bg); background: var(--c); box-shadow: 0 16px 36px -14px var(--c); }
.hk-card-n { font: 500 12px var(--hk-mono); color: var(--hk-dim); }
.hk-card-tag { margin-top: 56px; font: 500 11px var(--hk-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c); transform: translateZ(30px); }
.hk-card-name { margin: 10px 0 8px; font: 800 clamp(30px, 3vw, 42px)/1 var(--hk-sans); letter-spacing: -.045em; transform: translateZ(50px); }
.hk-card-desc { color: var(--hk-dim); font-size: 15px; line-height: 1.5; transform: translateZ(24px); }
.hk-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font: 500 12px var(--hk-mono); color: var(--hk-dim); }
.hk-card-foot i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .3s, transform .5s var(--hk-ease); }
.hk-card:hover .hk-card-foot i { background: var(--c); color: var(--hk-bg); transform: rotate(45deg); }

/* ---------- akan marka adları ---------- */
.hk-marquee { background: var(--hk-bg-2); padding: 30px 0 60px; overflow: hidden; display: grid; gap: 6px; }
.hk-mq-row { display: flex; align-items: center; gap: 40px; width: max-content; white-space: nowrap; will-change: transform; }
.hk-mq-row span { font: 800 clamp(48px, 8vw, 128px)/1 var(--hk-sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 239, 230, .3); transition: color .3s; }
.hk-mq-row span:hover { color: var(--c, var(--hk-fire)); -webkit-text-stroke-color: transparent; }
.hk-mq-row--rev span { font-family: var(--hk-serif); font-style: italic; font-weight: 400; color: var(--hk-dim); -webkit-text-stroke: 0; letter-spacing: -.02em; }
.hk-mq-row i { font-style: normal; color: var(--hk-fire); font-size: 30px; }

/* ---------- kurucu ---------- */
.hk-founder { background: var(--hk-ink); color: var(--hk-bg); }
.hk-founder .hk-kick--dim { color: rgba(7, 6, 11, .5); }
.hk-founder-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.hk-founder .hk-h2 { font-size: clamp(38px, 5vw, 76px); margin-bottom: 30px; }
.hk-quote { margin: 0 0 40px; font: 400 clamp(22px, 2.2vw, 32px)/1.35 var(--hk-serif); letter-spacing: -.01em; }
.hk-quote.is-quote::before { content: "“"; color: var(--hk-fire); }
.hk-quote span { color: rgba(7, 6, 11, .16); transition: color .3s; }
.hk-quote span.is-lit { color: var(--hk-bg); }
.hk-sign { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.hk-sign img, .hk-mono { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.hk-mono { display: grid; place-items: center; background: var(--hk-bg); color: var(--hk-gold); font: 700 20px var(--hk-serif); }
.hk-sign b { display: block; font-weight: 700; }
.hk-sign small { color: rgba(7,6,11,.55); font-size: 14px; }
.hk-founder .hk-btn--ghost { color: var(--hk-bg); border-color: rgba(7,6,11,.25); }
.hk-founder .hk-btn--ghost::before { background: var(--hk-bg); }
.hk-founder .hk-btn--ghost:hover { color: var(--hk-ink); }
.hk-values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hk-values li { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid rgba(7,6,11,.08); transition: transform .5s var(--hk-ease), box-shadow .5s; }
.hk-values li:hover { transform: translateX(-8px) rotate(-.6deg); box-shadow: 0 30px 50px -30px rgba(7,6,11,.4); }
.hk-values span { font: 500 12px var(--hk-mono); color: var(--hk-fire); }
.hk-values b { display: block; margin: 16px 0 8px; font: 800 28px/1.05 var(--hk-sans); letter-spacing: -.04em; }
.hk-values p { margin: 0; color: rgba(7,6,11,.6); }

/* ---------- iletişim ---------- */
.hk-contact { background: var(--hk-bg); overflow: hidden; }
.hk-contact::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 57, .22), transparent 60%); pointer-events: none; }
.hk-contact-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hk-who { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 18px 48px; justify-content: start; }
.hk-who small { display: block; font: 500 11px var(--hk-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--hk-dim); margin-bottom: 8px; }
.hk-who a { font-size: 18px; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.hk-who a:hover { color: var(--hk-fire); border-color: currentColor; }
.hk-orb { position: relative; width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; background: var(--hk-fire); color: #fff; box-shadow: 0 30px 80px -20px rgba(255, 92, 57, .8); }
.hk-orb > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hkSpin 14s linear infinite; }
.hk-orb text { font: 600 12.5px var(--hk-mono); letter-spacing: .22em; fill: #fff; }
.hk-orb > span { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--hk-bg); color: var(--hk-fire); transition: transform .5s var(--hk-ease); }
.hk-orb:hover > span { transform: rotate(45deg) scale(1.1); }
@keyframes hkSpin { to { transform: rotate(360deg); } }

.hk-home .ft { background: var(--hk-bg); }

/* ---------- uyum ---------- */
@media (max-width: 1000px) {
  .hk-cards { grid-template-columns: 1fr 1fr; }
  .hk-card, .hk-card:nth-child(4), .hk-card:nth-child(5) { grid-column: span 1; }
  .hk-card:nth-child(5) { grid-column: span 2; }
  .hk-founder-in, .hk-contact-in { grid-template-columns: 1fr; }
  .hk-who { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hk-hero { padding-top: 120px; }
  .hk-display { font-size: clamp(50px, 15vw, 80px); }
  .hk-hero-foot { gap: 24px; }
  .hk-stat b { font-size: 40px; }
  .hk-cards { grid-template-columns: 1fr; }
  .hk-card, .hk-card:nth-child(5) { grid-column: span 1; min-height: 280px; }
  .hk-rail { display: none; }
  .hk-step { left: 20px; width: calc(100% - 40px); top: auto; bottom: 14svh; transform: none; }
  .hk-step h2 { font-size: clamp(40px, 12vw, 60px); }
  .hk-step > p:not(.hk-step-kick) { font-size: 16px; }
  .hk-year { right: -4vw; top: 12svh; bottom: auto; }
  .hk-orb { width: 170px; height: 170px; }
  .hk-gl-fade { background: linear-gradient(180deg, rgba(7,6,11,.1) 0%, rgba(7,6,11,0) 25%, rgba(7,6,11,.8) 55%, rgba(7,6,11,.92) 100%); }
  .hk-step > p { text-shadow: 0 1px 12px rgba(7,6,11,.9); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-kinetic] .hk-ch, .js [data-rv], .js [data-in], .hk-step > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hk-step:not(.is-on) { visibility: hidden; }
  .hk-orb svg, .hk-kick i, .hk-scroll span::after { animation: none; }
}
