:root {
  --bg: #09090b;
  --bg-2: #121215;
  --bg-3: #18181c;
  --fg: #ededee;
  --fg-2: #b0b0b8;
  --muted: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --accent: #d4ff3a;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --pad: clamp(20px, 4vw, 56px);
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  background: var(--bg); 
  color: var(--fg); 
  font-family: var(--sans); 
  -webkit-font-smoothing: antialiased; 
  overflow-x: hidden; 
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #000; }

body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: 0.035;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 18px; left: 50%; translate: -50% 0; z-index: 50;
  display: flex; align-items: center; gap: 20px; padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(14, 14, 17, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 13.5px;
}
.nav__logo { display: flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; letter-spacing: -0.01em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 6px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav__links .nav__cta { background: var(--fg); color: #000; font-weight: 500; margin-left: 2px; }
.nav__links .nav__cta:hover { background: var(--accent); color: #000; }
main { min-height: 100vh; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * .04s); }
.split.in .w > span { transform: none; }

/* ================= COMMON ================= */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 450; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--fg-2); white-space: nowrap; }
.chip small { opacity: .6; }
.chip--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 10px; }
.chip--lg { font-size: 13px; padding: 7px 14px; transition: background .2s, color .2s; }
.chip--lg:hover { background: var(--c, var(--accent)); color: #000; }
.pill { font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.05em; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.link { color: var(--muted); font-size: 13.5px; transition: color .2s; }
.link:hover { color: var(--fg); }
.idx { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--fg); color: #000; font-weight: 500; font-size: 13.5px; transition: background .2s; }
.btn:hover { background: var(--accent); }

/* ================= HERO (Kompakt & Sade) ================= */
.hero { padding: 140px var(--pad) 40px; max-width: 1320px; margin: 0 auto; }
.hero__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13.5px; margin-bottom: 28px; flex-wrap: wrap; }
.hero__meta .status { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.hero__title { 
  font-size: clamp(40px, 6vw, 84px); 
  line-height: 1.02; 
  letter-spacing: -0.04em; 
  font-weight: 550; 
  max-width: 18ch;
}
.hero__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--accent); }
.hero__services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero__svc { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--fg-2); transition: all .25s var(--ease); }
.hero__svc small { color: var(--muted); font-size: 11px; }
.hero__svc:hover { background: rgba(255,255,255,0.06); color: var(--fg); border-color: rgba(255,255,255,0.2); }
.hero__bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 44px; align-items: end; border-top: 1px solid var(--line); padding-top: 32px; }
.hero__intro { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; max-width: 580px; color: var(--fg-2); font-weight: 400; }
.hero__stats { display: flex; justify-content: flex-end; gap: clamp(24px, 4vw, 48px); }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.hero__stats span { color: var(--muted); font-size: 12.5px; }

/* ================= SHOWREEL ================= */
.reel { padding: 24px var(--pad) 0; max-width: 1320px; margin: 0 auto; }
.reel__inner {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line);
}
.reel__inner > video, .reel__inner > img, .reel__inner > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 20px 24px; font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.9); background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); pointer-events: none; }

/* ================= SECTIONS ================= */
.section { padding: 80px var(--pad) 20px; max-width: 1320px; margin: 0 auto; }
.section__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; }
.section__head h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; }
.section__head p { color: var(--muted); font-size: 13.5px; }

/* services list (Sade & Anlaşılır) */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 20px; align-items: center; padding: 20px 0; }
.svc-row__name { font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; font-weight: 500; transition: color .2s; }
.svc-row__count { color: var(--muted); font-size: 13px; }
.svc-row__body { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc-row__body > span { overflow: hidden; }
.svc-row__body p { color: var(--fg-2); max-width: 680px; line-height: 1.5; padding-top: 10px; margin-bottom: 12px; font-size: 14.5px; }
.svc-row:hover .svc-row__name { color: var(--accent); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.filter { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: all .2s var(--ease); }
.filter small { opacity: .6; margin-left: 4px; }
.filter:hover { color: var(--fg); border-color: rgba(255,255,255,.2); }
.filter.active { background: var(--fg); color: #000; border-color: var(--fg); font-weight: 500; }

/* brand list (Abartısız tipografi) */
.brands { list-style: none; border-top: 1px solid var(--line); }
.brand-row { border-bottom: 1px solid var(--line); display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease), opacity .3s, border-color .3s; }
.brand-row > a { overflow: hidden; min-height: 0; }
.brand-row.is-hidden { grid-template-rows: 0fr; opacity: 0; border-color: transparent; }
.brand-row a { display: grid; grid-template-columns: 48px 1fr auto auto 32px; align-items: center; gap: 20px; padding: 22px 0; }
.brand-row .name { font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; transition: transform .3s var(--ease), color .2s; }
.brand-row__chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 380px; }
.brand-row__count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.brand-row .arrow { font-size: 18px; transform: translateX(-6px) rotate(-45deg); opacity: 0; transition: all .3s var(--ease); color: var(--muted); }
.brand-row a:hover .name { transform: translateX(8px); color: var(--c); }
.brand-row a:hover .arrow { opacity: 1; transform: rotate(-45deg); color: var(--fg); }
.brands:hover .brand-row a:not(:hover) .name { opacity: 0.5; }

.hover-preview {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 280px; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  opacity: 0; scale: .9;
  transition: opacity .25s var(--ease), scale .3s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,.6); border: 1px solid var(--line-strong);
}
.hover-preview.show { opacity: 1; scale: 1; }
.hover-preview > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* lab cards (home) */
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lab-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; min-height: 220px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.lab-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.lab-card__type { font-size: 11.5px; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.lab-card h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.lab-card p { color: var(--fg-2); line-height: 1.5; font-size: 14px; flex: 1; }

/* ================= PLACEHOLDER ================= */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c, #333) 12%, transparent) 0%, rgba(20,20,24,0.9) 100%);
  border: 1px dashed var(--line-strong);
  display: grid; place-items: center;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}
.ph span { position: relative; z-index: 1; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; text-align: center; padding: 0 12px; }
.ph.is-before { filter: grayscale(1) brightness(.7); }

/* ================= BRAND PAGE ================= */
.project-hero { padding: 130px var(--pad) 20px; max-width: 1320px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-bottom: 28px; transition: color .2s, gap .2s; }
.back:hover { color: var(--fg); gap: 10px; }
.project-hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.project-hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 550; color: var(--c); }
.project-hero__logo { max-height: 60px; max-width: 160px; object-fit: contain; }
.project-info { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.project-info h4, .svc-page__brands h4, .about__h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.project-info p { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.project-info .desc { font-size: 16px; line-height: 1.55; max-width: 540px; color: var(--fg); }
.jump { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.jump > span { color: var(--muted); font-size: 13px; margin-right: 6px; }

.svc-block { padding: 60px var(--pad) 10px; max-width: 1320px; margin: 0 auto; scroll-margin-top: 60px; }
.svc-block__head { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 20px; align-items: start; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.svc-block__head h2 { font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.025em; font-weight: 500; }
.svc-block__head p { color: var(--muted); line-height: 1.5; font-size: 14px; max-width: 480px; justify-self: end; }
.svc-block__head .idx { padding-top: 4px; }

.works { columns: 3 320px; column-gap: 14px; margin-bottom: 14px; }
.work { break-inside: avoid; margin-bottom: 14px; cursor: pointer; display: block; width: 100%; }
.work__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: var(--r, 16/9); transform: translateZ(0); border: 1px solid var(--line); }
.work__media > video, .work__media > img, .work__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media > * { transform: scale(1.03); }
.work__badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10.5px; letter-spacing: .06em; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); }
.work__meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px 4px; font-size: 13.5px; }
.work__meta span:first-child { font-weight: 450; }
.work__meta span:last-child { color: var(--muted); text-align: right; font-size: 12.5px; }

.block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.block-head h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.block-head p { color: var(--muted); font-size: 13px; margin-top: 3px; }

/* resize set */
.resize { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 14px; }
.resize__row { --h: clamp(180px, 22vw, 320px); display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.resize__item { flex: none; cursor: pointer; }
.resize__media { position: relative; height: var(--h); aspect-ratio: var(--r); border-radius: var(--radius-sm); overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .2s; }
.resize__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resize__item:hover .resize__media { border-color: var(--accent); }
.resize__label { display: flex; gap: 6px; align-items: baseline; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.resize__label b { color: var(--fg); font-size: 13.5px; font-weight: 500; }

/* before / after */
.ba-wrap { margin-bottom: 24px; }
.ba { --pos: 50%; position: relative; aspect-ratio: var(--r, 16/9); border-radius: var(--radius); overflow: hidden; cursor: ew-resize; user-select: none; border: 1px solid var(--line); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--accent); translate: -50% 0; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #000; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.ba__tag { position: absolute; top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); pointer-events: none; }
.ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.next { display: block; padding: 80px var(--pad); border-top: 1px solid var(--line); text-align: center; margin-top: 40px; max-width: 1320px; margin-inline: auto; }
.next small { color: var(--muted); font-size: 13px; }
.next h3 { font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; margin-top: 10px; transition: color .3s; }
.next:hover h3 { color: var(--c); }

/* ================= SERVICES PAGE ================= */
.page-hero { padding: 140px var(--pad) 40px; max-width: 1320px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 68px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 550; margin-top: 14px; max-width: 16ch; }
.page-hero__sub { font-size: clamp(16px, 1.35vw, 19px); color: var(--fg-2); max-width: 580px; margin-top: 24px; line-height: 1.5; }
.svc-page { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 50px var(--pad); border-top: 1px solid var(--line); max-width: 1320px; margin: 0 auto; scroll-margin-top: 60px; }
.svc-page__num { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; color: var(--muted); }
.svc-page__main h2 { font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.15; }
.svc-page__desc { font-size: 15.5px; color: var(--fg-2); line-height: 1.55; max-width: 680px; margin: 16px 0 18px; }
.svc-page__brands { margin-top: 28px; }
.svc-page__brands div { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-page__brands a { font-size: 14.5px; font-weight: 450; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); transition: all .2s; }
.svc-page__brands a small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.svc-page__brands a:hover { background: var(--c); color: #000; border-color: var(--c); }
.svc-page__brands a:hover small { color: #000; }
.svc-page__samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.sample__media { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; position: relative; border: 1px solid var(--line); }
.sample__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sample:hover .sample__media > * { transform: scale(1.04); }
.sample > span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.sample b { color: var(--fg); font-weight: 450; margin-right: 4px; }

/* ================= LAB PAGE ================= */
.lab-list { padding: 10px var(--pad) 50px; display: flex; flex-direction: column; gap: 16px; max-width: 1320px; margin: 0 auto; }
.tool { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.tool--rev .tool__media { order: 2; }
.tool__media { position: relative; aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; display: block; width: 100%; border: 1px solid var(--line); }
.tool__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool__body { display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.tool__body h2 { font-size: clamp(22px, 2.5vw, 34px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; }
.tool__body p { color: var(--fg-2); line-height: 1.5; font-size: 14.5px; }
.tool__body ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tool__body li { display: flex; gap: 8px; color: var(--fg-2); font-size: 13.5px; }
.tool__body li::before { content: "↳"; color: var(--accent); }
.tool__body .btn { align-self: flex-start; margin-top: 4px; }

/* ================= ABOUT ================= */
.about { padding: 140px var(--pad) 80px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; max-width: 1320px; margin: 0 auto; }
.about h1 { font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; margin-top: 14px; }
.about__text { font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.about__h { margin-top: 36px; margin-bottom: 12px; }
.about__svcs { list-style: none; border-top: 1px solid var(--line); }
.about__svcs li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.about__svcs small { color: var(--muted); font-size: 11.5px; }
.about__svcs a:hover { color: var(--accent); }

/* Minimal İletişim Kartı */
.about__contact-card {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__contact-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  font-weight: 500;
}
.about__contact-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}
.about__contact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--active {
  background: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
}
.about__contact-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.about__contact-mail code {
  color: var(--fg);
  font-family: inherit;
  font-weight: 450;
}

/* ================= FOOTER ================= */
.footer { padding: 80px var(--pad) 28px; border-top: 1px solid var(--line); max-width: 1320px; margin: 0 auto; }
.footer__big { display: block; font-size: clamp(26px, 4.5vw, 64px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; transition: color .2s; word-break: break-word; }
.footer__big:hover { color: var(--accent); }
.footer__label { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 60px; color: var(--muted); font-size: 13px; }
.footer__row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__row a:hover { color: var(--fg); }

/* ================= DRAFT BADGE ================= */
.draft-badge { position: fixed; bottom: 14px; left: 14px; z-index: 70; font-size: 11px; padding: 6px 10px; border-radius: 999px; background: #ffb020; color: #000; font-weight: 600; }

/* ================= LIGHTBOX ================= */
.lightbox { border: 0; padding: 0; background: transparent; color: var(--fg); width: 100vw; height: 100vh; max-width: none; max-height: none; display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fadeIn .3s var(--ease); }
.lightbox::backdrop { background: rgba(5,5,7,.9); backdrop-filter: blur(12px); }
.lightbox__media { width: min(88vw, 1280px); max-height: 80vh; display: grid; place-items: center; }
.lightbox__media > video, .lightbox__media > img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); border: 1px solid var(--line); }
.lightbox__media .ph { width: auto; height: min(75vh, 520px); max-width: 88vw; aspect-ratio: var(--r, 16/9); border-radius: var(--radius); }
.lightbox__close { position: fixed; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); text-align: center; font-size: 14px; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 18px; transition: background .2s; text-align: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--fg); color: #000; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.lightbox__caption { position: fixed; bottom: 24px; left: 50%; translate: -50% 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
@keyframes fadeIn { from { opacity: 0; } }

::view-transition-old(root) { animation: vtOut .3s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .nav { gap: 4px; width: calc(100% - 24px); justify-content: space-between; padding-left: 12px; font-size: 12.5px; }
  .nav__links a { padding: 6px 7px; }
  .nav__links a[data-route="home"] { display: none; }
  .hero__bottom, .about, .tool, .svc-page { grid-template-columns: 1fr; }
  .hero__stats { justify-content: flex-start; }
  .tool--rev .tool__media { order: 0; }
  .brand-row a { grid-template-columns: 28px 1fr 20px; gap: 10px; padding: 18px 0; }
  .brand-row__chips { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
  .brand-row__count { display: none; }
  .brand-row .arrow { opacity: 1; transform: rotate(-45deg); font-size: 14px; }
  .svc-row { grid-template-columns: 32px 1fr; }
  .svc-row__count { display: none; }
  .svc-row__body { grid-template-rows: 1fr; }
  .svc-block__head { grid-template-columns: 1fr; }
  .svc-block__head p { justify-self: start; }
  .project-info { grid-template-columns: 1fr 1fr; }
  .project-info > :first-child { grid-column: 1 / -1; }
  .svc-page { grid-template-columns: 1fr; gap: 12px; }
  .svc-page__num { display: none; }
  .svc-page__samples { grid-template-columns: 1fr 1fr; }
  .resize { padding: 14px; }
  .resize__row { --h: 220px; }
  .hover-preview { display: none; }
  .lightbox__nav { top: auto; bottom: 16px; translate: none; }
  .lightbox__caption { bottom: 80px; }
}
@media (hover: none) { .hover-preview { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
}

/* =========================================================
   PREMIUM LAYER — aurora, cam efektleri, gradient detaylar
   ========================================================= */
:root {
  --violet: #8b7bff;
  --cyan: #3ad4ff;
  --grad-accent: linear-gradient(120deg, #d4ff3a 0%, #7dffb2 55%, #3ad4ff 100%);
  --glass: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}
html { scroll-padding-top: 80px; }

/* Aurora arka plan */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 12%, rgba(212,255,58,.14), transparent 70%),
    radial-gradient(34% 30% at 85% 18%, rgba(139,123,255,.20), transparent 70%),
    radial-gradient(40% 34% at 70% 80%, rgba(58,212,255,.12), transparent 70%),
    radial-gradient(30% 28% at 10% 85%, rgba(139,123,255,.12), transparent 70%);
  filter: blur(30px);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

/* Kaydırma ilerleme çubuğu */
body::after { z-index: 100; }
.nav::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--grad-accent); transform-origin: left; transform: scaleX(0);
  animation: progress linear both; animation-timeline: scroll(root);
}
@keyframes progress { to { transform: scaleX(1); } }

/* Nav */
.nav {
  background: rgba(14,14,18,.6); border-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.nav .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 16px var(--accent), 0 0 4px var(--accent); } }

/* Butonlar */
.btn { gap: 8px; align-items: center; transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--glow {
  background: var(--grad-accent); color: #07110a; padding: 12px 22px; font-weight: 600;
  box-shadow: 0 8px 30px -6px rgba(212,255,58,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--glow:hover { background: var(--grad-accent); box-shadow: 0 14px 40px -6px rgba(212,255,58,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--ghost { padding: 12px 22px; backdrop-filter: blur(10px); }
.btn span { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover span { transform: translate(2px, -2px); }

/* Başlık yapısı */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.section__head h2 em, .footer__title em {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.section__head { align-items: flex-end; }
.section__head > div { display: flex; flex-direction: column; gap: 10px; }

/* HERO */
.hero { position: relative; padding-top: 150px; }
.hero__meta .status {
  padding: 6px 12px; border-radius: 999px; background: rgba(212,255,58,.08); border: 1px solid rgba(212,255,58,.25); color: var(--accent);
}
.hero__title { font-size: clamp(46px, 8vw, 118px); line-height: .98; max-width: 14ch; }
.hero__title .w > span {
  background: linear-gradient(180deg, #fff 30%, #8d8d99 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title em .w > span {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(212,255,58,.25));
}
.hero__intro { margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__services { margin-top: 28px; }
.hero__svc { background: var(--glass); backdrop-filter: blur(10px); }
.hero__svc:hover { border-color: rgba(212,255,58,.5); color: var(--accent); transform: translateY(-2px); }
.hero__bottom { grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.hero__stats b {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Mini timeline (AE benzeri) */
.tl {
  position: relative; padding: 14px 16px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  overflow: hidden;
}
.tl__ruler { display: flex; justify-content: space-between; padding-left: 96px; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-bottom: 10px; }
.tl__track { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); }
.tl__name { font-size: 11.5px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl__lane { position: relative; height: 18px; border-radius: 4px; background: rgba(255,255,255,.03); }
.tl__lane i {
  position: absolute; top: 2px; bottom: 2px; left: var(--s); width: var(--w); border-radius: 4px;
  background: linear-gradient(90deg, rgba(212,255,58,.85), rgba(125,255,178,.6));
  transform-origin: left; animation: barIn 1.2s var(--ease) both; animation-delay: calc(.4s + var(--i, 0) * .15s);
}
.tl__track:nth-of-type(2) .tl__lane i { background: linear-gradient(90deg, rgba(139,123,255,.9), rgba(181,166,255,.6)); }
.tl__track:nth-of-type(3) .tl__lane i { background: linear-gradient(90deg, rgba(58,212,255,.9), rgba(140,230,255,.6)); }
.tl__track:nth-of-type(4) .tl__lane i { background: linear-gradient(90deg, rgba(58,212,255,.9), rgba(140,230,255,.6)); }
@keyframes barIn { from { transform: scaleX(0); opacity: 0; } }
.tl__head {
  position: absolute; top: 0; bottom: 0; left: 112px; width: 1.5px; background: #ff5a7a; box-shadow: 0 0 12px #ff5a7a;
  animation: playhead 7s linear infinite;
}
.tl__head::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; background: #ff5a7a; clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes playhead { from { transform: translateX(0); } to { transform: translateX(calc(min(560px, 52vw) - 20px)); } }

/* SHOWREEL */
.reel { padding-top: 40px; }
.reel__inner {
  border-radius: 20px; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 100px -30px rgba(139,123,255,.35), 0 0 0 1px rgba(255,255,255,.02), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.reel__inner:hover { transform: translateY(-4px); box-shadow: 0 50px 120px -30px rgba(212,255,58,.3), inset 0 1px 0 rgba(255,255,255,.1); }
.reel__inner .ph {
  border: 0; background:
    radial-gradient(60% 80% at 20% 30%, rgba(212,255,58,.18), transparent 60%),
    radial-gradient(60% 80% at 80% 70%, rgba(139,123,255,.25), transparent 60%),
    #0d0d11;
}
.reel__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 3;
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.3); color: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,.4); transition: transform .4s var(--ease), background .3s, color .3s;
}
.reel__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.reel__inner:hover .reel__play { transform: scale(1.1); background: var(--accent); color: #000; }
.reel__label { padding: 22px 28px; }
.reel__tc { font-variant-numeric: tabular-nums; letter-spacing: .08em; }

/* Hizmet kartları */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card {
  --sc: var(--accent); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 340px;
  border-radius: 20px; background: var(--glass); border: 1px solid var(--line-strong); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.svc-card:nth-child(2) { --sc: var(--violet); }
.svc-card:nth-child(3) { --sc: var(--cyan); }
.svc-card::before {
  content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, var(--sc), transparent 68%); opacity: .22; filter: blur(8px); transition: opacity .4s, transform .6s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--sc) 55%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--sc) 60%, transparent); }
.svc-card:hover::before { opacity: .5; transform: scale(1.25); }
.svc-card > * { position: relative; }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; }
.svc-card .idx { color: var(--sc); font-weight: 600; font-size: 13px; letter-spacing: .06em; }
.svc-card__count { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.svc-card h3 { font-size: clamp(21px, 2vw, 27px); letter-spacing: -.03em; line-height: 1.12; font-weight: 550; margin-top: 18px; }
.svc-card p { color: var(--fg-2); line-height: 1.55; font-size: 14.5px; flex: 1; }
.svc-card .chip--ghost { border-color: color-mix(in srgb, var(--sc) 30%, transparent); }
.svc-card__arrow {
  position: absolute !important; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-size: 15px; transition: all .35s var(--ease);
}
.svc-card:hover .svc-card__arrow { background: var(--sc); color: #000; border-color: var(--sc); transform: rotate(45deg); }
.svc-card .chips { padding-right: 52px; }

/* Marka satırları */
.brands { border-top-color: var(--line-strong); }
.brand-row a { grid-template-columns: 40px 76px 1fr auto auto 32px; padding: 18px 12px; margin: 0 -12px; border-radius: 16px; transition: background .3s; }
.brand-row a:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); }
.brand-row__thumb {
  width: 76px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, #0b0b0e), #0b0b0e); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.brand-row__thumb b { font-size: 24px; font-weight: 600; color: var(--c); letter-spacing: -.04em; }
.brand-row__thumb > video, .brand-row__thumb > img, .brand-row__thumb > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-row a:hover .brand-row__thumb { transform: scale(1.08) rotate(-2deg); box-shadow: 0 10px 30px -8px var(--c); }

/* Filtre */
.filter { background: var(--glass); }
.filter.active { background: var(--grad-accent); border-color: transparent; color: #07110a; }

/* Araç çantası */
.toolbelt { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-pill {
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 450; color: var(--fg-2);
  background: var(--glass); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), color .2s, border-color .2s, box-shadow .3s;
}
.tool-pill:hover { transform: translateY(-3px); color: var(--accent); border-color: rgba(212,255,58,.5); box-shadow: 0 10px 30px -10px rgba(212,255,58,.4); }

/* Lab kartları */
.lab-card, .tool {
  border-radius: 20px; background: var(--glass); border: 1px solid var(--line-strong); position: relative; overflow: hidden;
}
.lab-card::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0%, rgba(139,123,255,.18), transparent 70%); pointer-events: none;
}
.lab-card:hover { border-color: rgba(212,255,58,.4); box-shadow: 0 30px 70px -30px rgba(212,255,58,.35); }
.lab-card > * { position: relative; }

/* Placeholder daha canlı */
.ph { background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c, #555) 28%, transparent), rgba(14,14,18,.95) 70%); border-style: solid; border-color: var(--line); }

/* Sayfa başlıkları */
.page-hero h1, .about h1 {
  background: linear-gradient(180deg, #fff 30%, #9a9aa6 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero h1 .w > span, .about h1 .w > span, .project-hero h1 .w > span {
  background: linear-gradient(180deg, #fff 30%, #9a9aa6 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.project-hero h1 { color: inherit; }
.project-hero h1 .w > span { background: linear-gradient(180deg, #fff 20%, var(--c) 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1, .about h1, .project-hero h1 { -webkit-background-clip: border-box; background: none; color: inherit; }

.svc-page, .about__contact-card { border-radius: 0; }
.about__contact-card { border-radius: 20px; background: var(--glass); box-shadow: 0 30px 70px -40px rgba(212,255,58,.35); }
.svc-page__brands a:hover, .chip--lg:hover { box-shadow: 0 8px 24px -8px var(--c, var(--accent)); }
.project-hero { position: relative; }
.project-hero::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: min(900px, 90vw); height: 380px; translate: -50% 0; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 28%, transparent), transparent); filter: blur(40px); pointer-events: none;
}
.work__media, .resize, .ba, .tool__media, .sample__media { box-shadow: 0 20px 50px -25px rgba(0,0,0,.8); }

/* Footer CTA */
.footer { border-top: 0; padding-top: 60px; }
.footer__cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 90px) 24px; border-radius: 28px;
  background:
    radial-gradient(50% 80% at 15% 0%, rgba(212,255,58,.20), transparent 70%),
    radial-gradient(50% 80% at 90% 100%, rgba(139,123,255,.28), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line-strong);
}
.footer__label { margin-bottom: 10px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.footer__title { font-size: clamp(38px, 7vw, 96px); letter-spacing: -.045em; line-height: 1; font-weight: 550; }
.footer__title em { font-family: var(--serif); font-weight: 400; font-style: italic; }
.footer__big { font-size: clamp(16px, 2.2vw, 26px); color: var(--fg-2); margin-top: 22px; letter-spacing: -.01em; }
.footer__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.footer__row { margin-top: 36px; }

/* Responsive */
@media (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .tl__ruler { padding-left: 72px; }
  .tl__track { grid-template-columns: 60px 1fr; }
  .tl__head { left: 88px; }
  .brand-row a { grid-template-columns: 56px 1fr 20px; gap: 12px; padding: 14px 8px; margin: 0 -8px; }
  .brand-row .idx { display: none; }
  .brand-row__thumb { width: 56px; grid-row: 1 / span 2; }
  .brand-row .name { grid-column: 2; }
  .brand-row .arrow { grid-column: 3; grid-row: 1; }
  .brand-row__chips { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
  .reel__play { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .tl__head, .reel__play::after, .nav .dot, .nav::after { animation: none !important; }
}
.hero__bottom--solo { grid-template-columns: 1fr; }
.hero__bottom--solo .hero__stats { justify-content: flex-start; }
