/* ==========================================================================
   Samet SELKİ — ana sayfa (index.html) ve ortak stiller
   ========================================================================== */

/* Tokens ------------------------------------------------------------------- */
:root {
  --paper: #f4f5f9;
  --white: #ffffff;
  --ink: #0b0d17;
  --ink-2: #2a2e3f;
  --muted: #5d6275;
  --subtle: #8a8fa3;
  --line: #dfe2ea;
  --line-2: #cdd1dc;

  --blue: #2b4bff;
  --blue-deep: #1430d4;
  --blue-ink: #0d1c80;
  --blue-tint: #e8ecff;
  --cyan: #5ff0ff;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(16px, 3.6vw, 48px);
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 8px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 24px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn-ico {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  overflow: hidden;
}
.btn-ico svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .btn-ico svg { animation: arrow-loop .6s var(--ease); }
@keyframes arrow-loop { 0% { transform: none; } 49% { transform: translateX(140%); } 50% { transform: translateX(-140%); } 100% { transform: none; } }

.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light .btn-ico { background: var(--ink); color: var(--white); }
.btn--light:hover { color: var(--white); }
.btn--light:hover .btn-ico { background: var(--white); color: var(--ink); }
.btn--plain { --bg: transparent; --fg: var(--ink); padding: 0 24px; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--plain:hover { color: var(--white); }
.btn--sm { height: 44px; padding-left: 20px; font-size: 14px; }
.btn--sm .btn-ico { width: 30px; height: 30px; }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-u:hover { background-size: 100% 1px; }

/* Header ------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background-color .3s, box-shadow .3s;
}
.header.is-solid { background: rgba(244, 245, 249, .82); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.brand:hover svg { transform: rotate(180deg); }

.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .25s, background-color .25s; }
.nav a:hover { background: var(--white); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: var(--white); }

.header-right { display: flex; align-items: center; gap: 16px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #1fc77a; box-shadow: 0 0 0 0 rgba(31, 199, 122, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(31, 199, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 199, 122, 0); } }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

.overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 48px) 38px);
  transition: clip-path .8s var(--ease-io);
}
.menu-open { overflow: hidden; }
.menu-open .overlay { clip-path: circle(150% at calc(100% - 48px) 38px); }
.menu-open .header { background: transparent; box-shadow: none; color: var(--white); }
.menu-open .burger { background: var(--white); color: var(--ink); }
.overlay nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0;
  font-family: var(--display); font-size: clamp(40px, 11vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05;
}
.overlay nav a .mono { color: var(--cyan); font-size: 13px; }
.overlay-foot { display: grid; gap: 8px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.overlay-foot a { color: var(--white); font-size: 18px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 40px;
  display: flex; flex-direction: column;
}
.hero-top { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
.hero-top .mono span { color: var(--blue); }

.hero-grid {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(44px, 6.6vw, 112px);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.055em;
}
.hero-title .line { display: flex; align-items: center; white-space: nowrap; }
.hero-title .line + .line { margin-top: .04em; }
.hero-title .line--pill { height: .95em; padding-left: .06em; }

/* Hero görseli */
.hero-visual { position: relative; width: 100%; max-width: 520px; justify-self: end; }
.hv-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 100%, rgba(95, 240, 255, .35), transparent 70%),
    linear-gradient(160deg, #3a58ff 0%, var(--blue) 45%, var(--blue-deep) 100%);
  box-shadow: 0 40px 80px -30px rgba(20, 48, 212, .55);
  clip-path: inset(100% 0 0 0 round 28px);
  transition: clip-path 1.4s var(--ease) .15s;
}
.is-loaded .hv-panel { clip-path: inset(0 0 0 0 round 28px); }
.hv-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
}
.hv-mark {
  position: absolute; left: 50%; top: 40%;
  width: 92%; height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, .07);
}
.hv-index { position: absolute; left: 22px; top: 20px; z-index: 2; color: rgba(255, 255, 255, .7); font-size: 12px; }
.hv-photo {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: 84%; height: auto;
  transform: translate(-50%, 6%) scale(1.04);
  transition: transform 1.6s var(--ease) .25s;
}
.is-loaded .hv-photo { transform: translate(-50%, 0) scale(1); }
.hv-caption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; padding: 0 4px;
  color: var(--muted); font-size: 13px; line-height: 1.35;
}
.hv-caption strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.hv-caption .mono { color: var(--blue); }
.sticker {
  position: absolute; left: -44px; top: 36px; z-index: 3;
  width: 116px; height: 116px;
  color: var(--ink);
  animation: spin 18s linear infinite;
  filter: drop-shadow(0 10px 20px rgba(11, 13, 23, .15));
}
.sticker text { font-family: var(--mono); font-size: 9.6px; letter-spacing: 2.4px; text-transform: uppercase; }
.word-mask { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.word-mask > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-loaded .word-mask > span { transform: none; }
.is-loaded .line:nth-child(3) .word-mask > span { transition-delay: .08s; }
.is-loaded .line:nth-child(5) .word-mask > span { transition-delay: .16s; }

.pill {
  position: relative;
  display: inline-flex; align-items: center;
  height: .78em; border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  transform: scale(.6); opacity: 0;
  transition: transform 1.1s var(--ease) .3s, opacity .6s .3s, width .7s var(--ease);
}
.is-loaded .pill { transform: none; opacity: 1; }
.pill--rotator {
  padding: 0 .38em;
  background: var(--blue); color: var(--white);
  font-size: .5em; height: 1.56em; letter-spacing: -.03em; font-weight: 500;
}
.rotator { position: relative; display: block; height: 1.3em; line-height: 1.3; overflow: hidden; }
.rotator span {
  display: block; width: max-content; white-space: nowrap;
  transform: translateY(110%);
  transition: transform .7s var(--ease);
}
.rotator span.is-current { transform: none; }
.rotator span.is-out { transform: translateY(-110%); }
.rotator span:not(:first-child) { position: absolute; left: 0; top: 0; }
.pill--rotator::after {
  content: ""; width: .32em; height: .32em; margin-left: .3em; flex: none;
  border-radius: 50%; background: var(--cyan);
}
.title-blue { color: var(--blue); }

.hero-bottom {
  margin-top: auto; padding-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: end;
}
.hero-bottom p { max-width: 460px; font-size: 18px; color: var(--muted); line-height: 1.55; }
.hero-bottom p strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--subtle); }
.scroll-hint i { position: relative; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drop 2s var(--ease-io) infinite; }
@keyframes drop { to { top: 100%; } }
.scroll-hint .mono { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .1em; }

/* Ticker ------------------------------------------------------------------- */
.ticker { padding: 28px 0; border-block: 1px solid var(--line); background: var(--white); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; }
.ticker li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--display); font-size: clamp(32px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1;
  white-space: nowrap;
}
.ticker li:nth-child(even) { color: var(--blue); }
.ticker li::after {
  content: ""; width: .5em; height: .5em; flex: none;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Section scaffolding ------------------------------------------------------ */
.section { padding-block: clamp(96px, 12vw, 176px); }
.section--white { background: var(--white); }
.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.s-label { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.s-label b { display: inline-grid; place-items: center; min-width: 32px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500; font-size: 12px; }
.s-title {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 96px);
  line-height: .98; font-weight: 600; letter-spacing: -.05em;
}
.s-title em { font-style: normal; color: var(--blue); }
.s-head p { max-width: 440px; justify-self: end; font-size: 17px; color: var(--muted); }

/* Manifesto ---------------------------------------------------------------- */
.manifesto { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.manifesto::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 20%, #000, transparent 70%);
  mask-image: radial-gradient(60% 70% at 85% 20%, #000, transparent 70%);
}
.manifesto .container { position: relative; }
.manifesto .s-label { color: rgba(255, 255, 255, .7); }
.manifesto .s-label b { background: var(--white); color: var(--blue); }
.manifesto-text {
  margin-top: 40px;
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 72px);
  line-height: 1.08; font-weight: 500; letter-spacing: -.035em;
  max-width: 1200px;
}
.manifesto-text .w { opacity: .22; transition: opacity .3s linear; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-text .hl { color: var(--cyan); }

.stats { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat strong sup { font-size: .4em; color: var(--cyan); vertical-align: top; top: .2em; position: relative; }
.stat > span { display: block; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* Services ----------------------------------------------------------------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line-2); }
.svc summary {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr 1fr 56px; gap: 24px; align-items: center;
  padding: 32px 0;
  cursor: pointer; list-style: none;
  isolation: isolate;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.svc summary:hover::before, .svc[open] summary::before { transform: scaleY(1); }
.svc summary:hover, .svc[open] summary { color: var(--white); }
.svc summary, .svc summary * { transition: color .4s var(--ease); }
.svc-num { color: var(--subtle); }
.svc summary:hover .svc-num, .svc[open] .svc-num { color: var(--cyan); }
.svc h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -.04em;
  transition: transform .6s var(--ease);
}
.svc summary:hover h3 { transform: translateX(12px); }
.svc-short { color: var(--muted); font-size: 16px; max-width: 420px; }
.svc summary:hover .svc-short, .svc[open] .svc-short { color: rgba(255, 255, 255, .7); }
.svc-toggle {
  justify-self: end;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.svc summary:hover .svc-toggle, .svc[open] .svc-toggle { background: var(--blue); box-shadow: none; color: var(--white); }
.svc-toggle svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.svc[open] .svc-toggle svg { transform: rotate(45deg); }
.svc-body {
  display: grid; grid-template-columns: 80px 1fr 1fr 56px; gap: 24px;
  padding: 0 0 40px;
  background: var(--ink); color: var(--white);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.svc-body > div { grid-column: 2; }
.svc-body > ul { grid-column: 3; display: grid; gap: 10px; }
.svc-body p { color: rgba(255, 255, 255, .72); max-width: 440px; }
.svc-body li { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.svc-body li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }
.svc-ref { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--cyan); }
.svc-ref svg { width: 14px; height: 14px; }

/* Work: featured ----------------------------------------------------------- */
.featured { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.feat { position: relative; display: block; }
.feat:nth-child(1) { grid-column: 1 / span 5; }
.feat:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(96px, 14vw, 240px); }
.feat:nth-child(3) { grid-column: 2 / span 4; margin-top: clamp(-160px, -10vw, -48px); }
.feat:nth-child(4) { grid-column: 8 / span 4; margin-top: clamp(48px, 6vw, 96px); }
.feat-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); aspect-ratio: 4 / 5; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.feat:hover .feat-media img { transform: scale(1); }
.feat-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 23, .45));
  opacity: 0; transition: opacity .6s var(--ease);
}
.feat:hover .feat-media::after { opacity: 1; }
.feat-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.feat-meta h3 { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.feat-meta .mono { color: var(--muted); text-align: right; }
.feat-tag {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 12px;
}

/* Work: index list --------------------------------------------------------- */
.index { margin-top: clamp(96px, 12vw, 176px); }
.index-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.index-head h3 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.index-head h3 sup { font-family: var(--mono); font-size: 14px; color: var(--blue); letter-spacing: 0; margin-left: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.tabs button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; }
.tabs .n { font-family: var(--mono); font-size: 11px; color: var(--subtle); transition: color .3s; }
.tabs button[aria-selected="true"] .n { color: var(--cyan); }

.rows { border-top: 1px solid var(--ink); }
.row[hidden] { display: none; }
.row a {
  position: relative;
  display: grid; grid-template-columns: 64px 2fr 1.4fr 120px 32px; gap: 24px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
  transition: padding .5s var(--ease), color .3s;
}
.row a > * { position: relative; }
.rows:hover .row a { color: var(--subtle); }
.rows:hover .row a:hover { color: var(--ink); padding-left: 16px; }
.row .mono { color: inherit; opacity: .7; }
.row h4 { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.row .cat { font-size: 15px; }
.row .kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.row svg { width: 20px; height: 20px; justify-self: end; transition: transform .5s var(--ease), color .3s; }
.row a:hover svg { transform: rotate(45deg); color: var(--blue); }
.row-thumb { display: none; }

.preview {
  position: fixed; left: 0; top: 0; z-index: 80;
  width: 260px; aspect-ratio: 540 / 690;
  border-radius: 14px; overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.7);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(11, 13, 23, .45);
}
.preview.is-on { opacity: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .3s; }

.index-foot { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); }

/* Cursor bubble ------------------------------------------------------------ */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  font-size: 13px; font-weight: 500;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0);
  transition: transform .45s var(--ease);
}
.cursor.is-on { transform: translate3d(-50%, -50%, 0) scale(1); }

/* Process ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative;
  min-height: 380px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.step::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blue);
  clip-path: circle(0 at 100% 0);
  transition: clip-path .8s var(--ease);
}
.step:hover { color: var(--white); transform: translateY(-6px); }
.step:hover::before { clip-path: circle(150% at 100% 0); }
.step-n {
  font-family: var(--display); font-size: 120px; font-weight: 600; letter-spacing: -.06em; line-height: .8;
  color: var(--line);
  transition: color .5s;
}
.step:hover .step-n { color: rgba(255, 255, 255, .28); }
.step h3 { margin-top: auto; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); transition: color .5s; }
.step:hover p { color: rgba(255, 255, 255, .8); }
.step .mono { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--blue); transition: color .5s, border-color .5s; }
.step:hover .mono { color: var(--cyan); border-color: rgba(255, 255, 255, .3); }

/* About -------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.about-visual figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.04); }
.about-visual figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--white); font-size: 14px;
}
.about-visual figcaption .mono { color: var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }

.about-body .s-title { font-size: clamp(36px, 4.6vw, 72px); }
.about-lead { margin-top: 32px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }
.about-body > p:not(.about-lead) { margin-top: 20px; color: var(--muted); }

/* Experience --------------------------------------------------------------- */
.xp-section { background: var(--ink); color: var(--white); overflow: hidden; }
.xp-section .s-label { color: rgba(255, 255, 255, .6); }
.xp-section .s-label b { background: var(--white); color: var(--ink); }
.xp-section .s-title em { color: var(--cyan); }
.xp-section .s-head p { color: rgba(255, 255, 255, .65); }

.xp-list { border-top: 1px solid rgba(255, 255, 255, .22); counter-reset: xp; }
.xp-item {
  position: relative;
  display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  isolation: isolate;
}
.xp-item::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--blue);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.xp-item:hover::before { transform: scaleY(1); }
.xp-year { color: var(--cyan); font-size: 14px; font-variant-numeric: tabular-nums; }
.xp-role {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05;
  transition: transform .6s var(--ease);
}
.xp-item:hover .xp-role { transform: translateX(12px); }
.xp-company { font-size: 16px; color: rgba(255, 255, 255, .7); text-align: right; transition: color .4s; }
.xp-item:hover .xp-company { color: var(--white); }

.tools { margin-top: 56px; }
.tools h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); }
.tools ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.tools li:hover { background: var(--ink); color: var(--white); transform: translateY(-3px) rotate(-2deg); }

/* Contact ------------------------------------------------------------------ */
.contact { background: var(--white); }
.contact-big {
  display: block;
  font-family: var(--display);
  font-size: clamp(44px, 9vw, 152px); font-weight: 600; letter-spacing: -.055em; line-height: .95;
}
.contact-big span { display: block; }
.contact-big .mail {
  display: inline-flex; align-items: center; gap: .2em;
  color: var(--blue);
  background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 .06em no-repeat;
  transition: background-size .8s var(--ease);
  font-size: .5em; letter-spacing: -.04em; margin-top: .3em;
}
.contact-big .mail svg { width: .7em; height: .7em; transition: transform .6s var(--ease); }
.contact-big .mail:hover { background-size: 100% .06em; }
.contact-big .mail:hover svg { transform: rotate(45deg); }

.contact-grid { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); padding-top: 40px; border-top: 1px solid var(--ink); }
.contact-aside dl { display: grid; gap: 24px; margin: 0; }
.contact-aside dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); }
.contact-aside dd { margin: 6px 0 0; font-size: 17px; }
.contact-aside .socials { display: flex; flex-wrap: wrap; gap: 4px 16px; }

.form { display: grid; gap: 40px; }
.form-q { display: grid; gap: 16px; }
.form-q > label, .form-q legend { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; padding: 0; }
.form-q legend .mono { margin-right: 10px; color: var(--blue); font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
fieldset.form-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15px; font-weight: 500;
  pointer-events: none;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip span::before {
  content: "+"; font-family: var(--mono); font-size: 15px; width: 10px; text-align: center;
  transition: transform .4s var(--ease);
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--blue); color: var(--white); box-shadow: none; }
.chip input:checked + span::before { transform: rotate(45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.line-field input, .line-field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent;
  font-size: 18px;
  transition: border-color .3s;
}
.line-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.line-field input::placeholder, .line-field textarea::placeholder { color: var(--subtle); }
.line-field input:focus, .line-field textarea:focus { outline: none; border-color: var(--blue); }
.form-send { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-send p { font-size: 14px; color: var(--muted); }

/* Footer ------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--white); padding-top: 64px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top p { max-width: 360px; color: rgba(255, 255, 255, .6); }
.footer-top h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .4); }
.footer-top ul { margin-top: 16px; display: grid; gap: 8px; }
.footer-top a { color: rgba(255, 255, 255, .8); }
.footer-top a:hover { color: var(--white); }
.wordmark {
  display: block;
  padding-top: 24px;
  font-family: var(--display);
  font-size: min(19.4vw, 306px); font-weight: 700; letter-spacing: -.065em; line-height: .78;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, var(--white) 30%, rgba(255, 255, 255, .08) 100%);
  -webkit-background-clip: text; background-clip: text;
  margin-left: -.04em;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font-size: 13px; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .12); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }

/* Reveal ------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .no-js .word-mask > span, .no-js .pill, .no-js .hv-photo { opacity: 1; transform: translate(-50%, 0); }
.no-js .rv, .no-js .word-mask > span, .no-js .pill { transform: none; }
.no-js .hv-panel { clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .word-mask > span, .pill { opacity: 1; transform: none; }
  .hv-panel { clip-path: none; }
  .hv-photo { transform: translate(-50%, 0); }
  .manifesto-text .w { opacity: 1; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .avail { display: none; }
  .header-right .btn { display: none; }
  .burger { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 32px; }
  .hero-bottom { grid-template-columns: 1fr auto; }
  .hero-bottom .scroll-hint { display: none; }
}

@media (max-width: 900px) {
  .xp-item { grid-template-columns: 140px 1fr; gap: 8px 24px; }
  .xp-company { grid-column: 2; text-align: left; }
  .s-head { grid-template-columns: 1fr; }
  .s-head p { justify-self: start; }
  .svc summary { grid-template-columns: 48px 1fr 48px; padding: 24px 0; }
  .svc-short { display: none; }
  .svc-toggle { width: 44px; height: 44px; }
  .svc-body { grid-template-columns: 48px 1fr; }
  .svc-body > div, .svc-body > ul { grid-column: 2; }
  .featured { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(n) { grid-column: auto; margin-top: 0; }
  .row a { grid-template-columns: 40px 1fr 24px; gap: 16px; }
  .row .cat, .row .kind { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-visual { position: relative; top: 0; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; max-width: 440px; }
  .sticker { left: auto; right: 12px; top: -28px; width: 96px; height: 96px; }
}

@media (max-width: 640px) {
  .index-head { display: block; }
  .index-head .tabs { margin-top: 20px; }
  .tabs {
    flex-wrap: nowrap; gap: 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter);
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - 48px), transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; height: 44px; padding: 0 18px; scroll-snap-align: start; }
  :root { --header-h: 68px; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero-top { flex-direction: column; gap: 6px; }
  .hero-title { font-size: clamp(34px, 11.2vw, 60px); }
  .hero-visual { max-width: none; }
  .sticker { left: auto; right: 14px; top: -30px; width: 88px; height: 88px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 300px; }
  .featured { grid-template-columns: 1fr; gap: 40px; }
  .feat:nth-child(n) { grid-column: 1; }
  .feat:nth-child(n) .feat-media { aspect-ratio: 4 / 4.4; }
  .row a { grid-template-columns: 64px 1fr 20px; }
  .row .mono { display: none; }
  .row-thumb { display: block; width: 64px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
  .row-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .rows:hover .row a:hover { padding-left: 0; }
  .xp-item { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .xp-company { grid-column: auto; text-align: left; font-size: 15px; }
  .xp-item:hover .xp-role { transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 32px; }
  .chip span { height: 44px; padding: 0 16px; font-size: 14px; }
  .form-send .btn { width: 100%; justify-content: space-between; }
  .footer-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (hover: none) {
  .cursor, .preview { display: none; }
}

/* data.json okunamazsa gösterilen mesaj */
.data-error { padding: 24px; border-radius: var(--radius-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); list-style: none; }
