/* Coach Ayyildiz — kayak + muhendislik
   Renkler logo ve Instagram sablonlarindan: lacivert, buz mavisi, kirmizi (logodaki mont). */

@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-BlackItalic.woff2) format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-ExtraBold.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-VF.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/JetBrainsMono-latinext.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/JetBrainsMono-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kaushan Script"; src: url(assets/fonts/KaushanScript-Regular.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #060b1a;
  --bg-2: #0a1633;
  --panel: rgba(14, 28, 62, 0.55);
  --line: rgba(159, 226, 255, 0.16);
  --ice: #9fe2ff;
  --acc: #38c6ff;
  --red: #e3262e;
  --white: #f4f8ff;
  --muted: #8ea3c8;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --script: "Kaushan Script", cursive;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acc); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.display { font-family: var(--display); font-weight: 900; font-style: italic; line-height: 0.88; letter-spacing: -0.01em; text-transform: uppercase; }
.display.big { font-size: clamp(56px, 9vw, 150px); }
.acc { color: var(--acc); }
.script { font-family: var(--script); color: var(--ice); font-size: clamp(22px, 2.4vw, 34px); }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }
.tag { color: var(--acc); font-size: 12px; letter-spacing: 0.18em; margin-bottom: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 38, 46, .7); }
.btn-red:hover { transform: translateY(-2px); background: #f2323a; }
.btn-ghost { border: 1px solid var(--line); color: var(--white); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn.center { margin: 48px auto 0; display: flex; width: max-content; }

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* ---------- boot ---------- */
.boot { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-lines { font-family: var(--mono); font-size: 13px; color: var(--muted); width: min(560px, 86vw); min-height: 9em; white-space: pre-wrap; }
.boot-lines b { color: var(--acc); font-weight: 600; }
.boot-lines .ok { color: #6ff0b0; }

/* ---------- kar ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 11, 26, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(159, 226, 255, .25), 0 6px 18px rgba(0, 0, 0, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.brand-text small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--ice); margin-top: 4px; }
.nav-links { display: flex; gap: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { color: var(--muted); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--acc); transition: width .3s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 20px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 260vh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--bg); mix-blend-mode: multiply;
}
.hero-word {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: 31vw; line-height: .8; letter-spacing: -0.02em; color: #fff;
  transform-origin: 50% 52%; will-change: transform; margin-top: -2vh;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,26,.6) 0%, rgba(6,11,26,.1) 28%, rgba(6,11,26,.25) 50%, rgba(6,11,26,.92) 100%), linear-gradient(90deg, rgba(6,11,26,.75) 0%, rgba(6,11,26,.25) 45%, rgba(6,11,26,0) 70%); opacity: 0; pointer-events: none; }
.hud { position: absolute; z-index: 3; font-size: 11px; letter-spacing: .18em; color: var(--ice); display: flex; align-items: center; gap: 8px; }
.hud-tl { top: 96px; left: var(--gutter); }
.hud-tr { top: 96px; right: var(--gutter); }
.hud-bl { bottom: 28px; left: var(--gutter); }
.hud-br { bottom: 28px; right: var(--gutter); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,38,46,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(227,38,46,0); } 100% { box-shadow: 0 0 0 0 rgba(227,38,46,0); } }
.blink { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-copy {
  position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(70px, 12vh, 140px);
  max-width: 720px; opacity: 0; transform: translateY(40px);
}
.hero-copy .display { font-size: clamp(56px, 8vw, 128px); margin: 6px 0 18px; text-shadow: 0 10px 40px rgba(6,11,26,.6); }
.hero-copy .lead { color: #d7e3f7; text-shadow: 0 2px 16px rgba(6,11,26,.8); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marq 26s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ice); }
.marquee i { color: var(--red); font-style: normal; font-size: 26px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story { position: relative; height: 420vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 var(--gutter); }
.story-bgwords { position: absolute; inset: 0; pointer-events: none; }
.story-bgwords span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 30vw; line-height: .8;
  color: rgba(56, 198, 255, .07); -webkit-text-stroke: 1.5px rgba(159, 226, 255, .2); white-space: nowrap; opacity: 0;
}
/* arka plani silinmis kesitler: dev yazinin onunde, yere basan figur */
.story-media { position: relative; height: 100%; grid-column: 2; grid-row: 1; }
.sm { position: absolute; inset: 0; opacity: 0; }
.cutbox { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: block; line-height: 0; }
.cutbox .cut { height: min(80vh, 780px); width: auto; max-width: none; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .55)); }
.sm-2 .cutbox { bottom: 12vh; }
.sm-2 .cut { height: min(62vh, 600px); }
.mark { position: absolute; left: var(--x); top: var(--y); line-height: 1; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.mark i { width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1.5px solid var(--red); border-radius: 50%; position: relative; flex: none; }
.mark i::before, .mark i::after { content: ""; position: absolute; background: var(--red); }
.mark i::before { left: 50%; top: -7px; bottom: -7px; width: 1.5px; transform: translateX(-50%); }
.mark i::after { top: 50%; left: -7px; right: -7px; height: 1.5px; transform: translateY(-50%); }
.mark em { font-style: normal; font-size: 11px; letter-spacing: .16em; color: var(--white); background: rgba(6, 11, 26, .75); border: 1px solid rgba(227, 38, 46, .6); padding: 5px 9px; border-radius: 6px; margin-top: -11px; white-space: nowrap; }
.inset { position: absolute; top: 16vh; right: 0; width: clamp(130px, 12vw, 190px); line-height: 1.2; rotate: 5deg; z-index: 2; }
.inset img, .inset video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); background: var(--bg-2); }
.inset b { display: block; margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.sm-2 .inset { top: auto; bottom: 8vh; right: auto; left: 0; rotate: -5deg; }
.sm-3 .inset { top: 36vh; }
.sm-photo { position: absolute; left: 0; right: 0; top: 11vh; width: 100%; height: 84vh; object-fit: cover; object-position: 44% 50%; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sm-2 .inset { z-index: 3; bottom: 2vh; left: -4vw; }
.sm-3 .sm-photo { object-position: 50% 30%; }
.sm-3 .inset { z-index: 3; right: -2vw; }
.sm-video { position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: min(78vh, 760px); aspect-ratio: 9 / 16; width: auto; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); background: var(--bg-2); object-fit: cover; }
.story-texts { position: relative; grid-column: 1; grid-row: 1; height: 60vh; }
.st { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; max-width: 560px; }
.st .display { font-size: clamp(80px, 12vw, 200px); }
.st p:not(.tag) { color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); margin: 18px 0 22px; max-width: 34ch; }
.st code { display: inline-block; width: max-content; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ice); font-size: 13px; background: rgba(255,255,255,.03); }
.st code b { color: #6ff0b0; }
.st-sub { display: block; font-size: .36em; line-height: 1; letter-spacing: .04em; color: var(--acc); margin-top: .12em; }
.story-progress { position: absolute; left: var(--gutter); bottom: 30px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.story-progress span { color: var(--white); }
.story-progress i { display: block; width: 140px; height: 2px; background: var(--line); }
.story-progress i b { display: block; height: 100%; width: 0; background: var(--acc); }

/* ---------- section head ---------- */
section { position: relative; }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .display { margin-bottom: 18px; }

/* ---------- lessons ---------- */
.lessons { padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); perspective: 1200px; }
.card {
  position: relative; aspect-ratio: 3 / 4.4; border-radius: 26px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2); text-align: left; color: inherit; font: inherit;
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, border-color .3s;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,26,0) 35%, rgba(6,11,26,.92) 100%); }
.card.anim { transition: none; }
.card:hover { transform: translateY(-10px) rotateX(4deg); box-shadow: 0 40px 70px -30px rgba(56,198,255,.35); border-color: rgba(56,198,255,.5); }
.card:hover img { transform: scale(1.06); }
.card-info { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.card-info .mono { font-size: 11px; color: var(--ice); letter-spacing: .18em; }
.card-info .display { font-size: clamp(44px, 4.6vw, 72px); margin: 6px 0 10px; }
.card-info .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(6,11,26,.4); }
.card-num { position: absolute; z-index: 2; top: 20px; left: 22px; font-family: var(--mono); font-size: 12px; color: var(--white); background: rgba(6,11,26,.5); padding: 6px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
.card-plus { position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--bg); font-size: 22px; transition: transform .4s ease, background .3s; }
.card:hover .card-plus { transform: rotate(90deg); background: var(--acc); }

/* sheet (detay) */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 15, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; width: min(980px, 100%); max-height: 88vh; overflow: hidden; background: rgba(10, 22, 51, .78); }
.sheet-img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.sheet-body { padding: clamp(24px, 3.5vw, 48px); overflow: auto; }
.sheet-body .display { font-size: clamp(52px, 6vw, 92px); margin-bottom: 16px; }
.sheet-body p { color: var(--muted); }
.sheet-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6,11,26,.6); color: var(--white); font-size: 16px; cursor: pointer; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 26px 0 30px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.specs div { background: rgba(6, 11, 26, .7); padding: 14px 16px; }
.specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--muted); }
.specs dd { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .02em; }

/* ---------- map ---------- */
.map { height: 110vh; min-height: 720px; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #0d1d44 0%, var(--bg) 60%); }
.map-canvas { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.map-canvas:active { cursor: grabbing; }
.map-canvas canvas { display: block; }
.map-ui { position: relative; z-index: 2; padding-top: clamp(90px, 10vw, 140px); pointer-events: none; display: flex; flex-direction: column; height: 100%; }
.map-ui .section-head { max-width: 640px; }
.readout { pointer-events: auto; margin: auto var(--gutter) 40px; width: max-content; display: grid; grid-template-columns: repeat(2, minmax(170px, auto)); gap: 1px; overflow: hidden; background: var(--line); }
.readout div { padding: 14px 18px; background: rgba(8, 17, 40, .85); display: flex; flex-direction: column; gap: 2px; }
.readout span { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.readout b { font-size: 14px; color: var(--ice); font-weight: 600; }
.map::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6,11,26,.85) 0%, rgba(6,11,26,.35) 38%, transparent 60%); }
.map-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.map-label { position: absolute; left: 0; top: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; opacity: 0; transition: opacity .35s; will-change: transform; }
.map-label span { font-size: 11px; letter-spacing: .14em; padding: 5px 9px; border-radius: 8px; background: rgba(6,11,26,.82); border: 1px solid rgba(255,255,255,.3); color: var(--white); white-space: nowrap; text-transform: uppercase; }
.map-label span b { color: var(--acc); }
.map-label i { order: 2; width: 1px; height: 26px; background: linear-gradient(rgba(255,255,255,.6), transparent); }
.map-label.peak span { border-color: var(--red); font-size: 12px; }
.map-label.peak i { height: 44px; background: linear-gradient(var(--red), transparent); }
.map-label.sel span { border-color: var(--acc); }
.piste-panel { pointer-events: auto; position: absolute; right: var(--gutter); top: clamp(96px, 11vw, 150px); width: 270px; padding: 16px; border-radius: 16px; background: rgba(6, 11, 26, .78); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.piste-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.piste-top > p { font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.map-mode { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.map-mode button { font: inherit; font-size: 10px; letter-spacing: .16em; padding: 5px 9px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.map-mode button.on { background: var(--acc); color: #04101f; font-weight: 700; }
.piste-list { display: flex; flex-direction: column; gap: 2px; max-height: min(46vh, 420px); overflow-y: auto; scrollbar-width: thin; }
.piste-list button { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: none; border: 1px solid transparent; color: var(--white); font: 600 14px var(--body); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.piste-list button:hover, .piste-list button.on { background: rgba(56, 198, 255, .1); border-color: rgba(56, 198, 255, .35); }
.piste-list em { font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.piste-panel i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.piste-panel i.blk { background: #0a0d14; box-shadow: 0 0 0 1.5px #f4f8ff; }
.piste-panel i.lift { height: 0; border-radius: 0; border-top: 2px dashed #ffd24a; background: none; }
.piste-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 9.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.piste-legend span { display: inline-flex; align-items: center; gap: 6px; }
.piste-legend i { width: 9px; height: 9px; }
.map-credit { position: absolute; z-index: 2; right: var(--gutter); bottom: 14px; max-width: 60%; text-align: right; font-size: 9.5px; letter-spacing: .06em; color: rgba(142, 163, 200, .7); }
.map-hint { position: absolute; z-index: 2; right: var(--gutter); bottom: 40px; font-size: 11px; color: var(--muted); letter-spacing: .18em; }

/* ---------- about: kucukluk -> bugun ---------- */
.about { padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.yol { position: relative; }
.yol-pin { position: relative; }
@media (min-width: 901px) { .yol-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 60px; } }
.yol-head { padding: 0 var(--gutter); max-width: 1100px; }
.yol-head .display { margin: 6px 0 22px; font-size: clamp(52px, 7vw, 120px); }
.yol-meter { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .2em; color: var(--muted); max-width: 520px; }
.yol-meter i { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.yol-meter b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acc), var(--ice)); }
.yol-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 40px var(--gutter) 10px; width: max-content; align-items: flex-end; }
.yol-card { position: relative; flex: none; height: clamp(260px, min(56vh, calc(100vh - 340px)), 560px); margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.yol-card img, .yol-card video { height: 100%; width: auto; display: block; object-fit: cover; }
.yol-card.is-vid { aspect-ratio: 9 / 16; }
.yol-card.is-vid video { width: 100%; object-fit: cover; }
.yol-card:nth-child(even) { translate: 0 -28px; }
.yol-card figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(6, 11, 26, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.yol-card figcaption b { font-size: 10.5px; letter-spacing: .18em; color: var(--acc); font-weight: 600; }
.yol-card figcaption span { font-size: 14px; color: var(--white); }
.yol-card.is-vid { border-color: rgba(227, 38, 46, .6); }
.yol-card.is-vid figcaption b { color: var(--red); }

.bio { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); padding: clamp(70px, 9vw, 130px) var(--gutter) 0; align-items: start; }
.bio-title { font-size: clamp(40px, 5.4vw, 84px); margin: 8px 0 26px; }
.bio-main p:not(.tag) { color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; margin: 0 0 18px; max-width: 64ch; }
.bio-main .bio-lead { color: var(--white); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.6; }
.bio-side { position: sticky; top: 110px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: rgba(10, 22, 51, .6); }
.wins { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: w; }
.wins li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--white); }
.wins li b { font-size: 11px; letter-spacing: .16em; color: var(--acc); font-weight: 700; padding-top: 3px; }
.bio-close { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.6; }
.caret { color: var(--acc); animation: blink 1s steps(2) infinite; margin-left: 4px; }

/* ---------- builder ---------- */
.builder { padding: clamp(80px, 10vw, 140px) 0; }
.builder-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); align-items: stretch; }
.controls { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; }
fieldset { border: 0; }
legend { font-size: 11px; letter-spacing: .18em; color: var(--muted); margin-bottom: 12px; display: flex; gap: 10px; width: 100%; }
legend b { color: var(--acc); margin-left: auto; font-weight: 800; }
legend small { font-size: 10px; color: var(--muted); opacity: .7; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: rgba(6,11,26,.6); border: 1px solid var(--line); }
.seg button { padding: 12px 6px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .03em; cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--acc); color: var(--bg); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--p, 0%), rgba(159,226,255,.18) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(159,226,255,.18); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--acc); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 5px solid var(--acc); box-shadow: 0 0 0 6px rgba(56,198,255,.15); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 5px solid var(--acc); }
.ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); letter-spacing: .12em; margin-top: 4px; }
.date { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6,11,26,.6); color: var(--white); font-family: var(--mono); font-size: 15px; color-scheme: dark; }
.date:focus { border-color: var(--acc); outline: none; }
.code { display: flex; flex-direction: column; overflow: hidden; background: rgba(5, 10, 24, .82); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a5e; }
.code-bar i:first-child { background: var(--red); }
.code-bar span { margin-left: 10px; }
.code pre { flex: 1; padding: clamp(18px, 2.5vw, 30px); font-size: clamp(12.5px, 1.05vw, 15px); line-height: 1.85; color: #c9d6ee; overflow-x: auto; white-space: pre; }
.code pre .k { color: #ff7b9c; }
.code pre .p { color: var(--ice); }
.code pre .s { color: #8ef0b8; }
.code pre .n { color: #ffcf6b; }
.code pre .c { color: #5f7399; }
.code pre .f { color: var(--acc); }
.code pre .flash { animation: flash .6s ease; border-radius: 4px; }
@keyframes flash { from { background: rgba(56,198,255,.35); } to { background: transparent; } }
.code-actions { display: flex; gap: 12px; padding: 0 clamp(18px, 2.5vw, 30px) clamp(18px, 2.5vw, 30px); flex-wrap: wrap; }

/* ---------- reels ---------- */
.reels { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.reels .section-head { text-align: center; }
.phones { display: flex; justify-content: center; gap: clamp(20px, 5vw, 70px); padding: 0 var(--gutter); }
.phone { width: min(300px, 42vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2b3550, #0b1226); box-shadow: 0 50px 90px -40px rgba(56,198,255,.45), inset 0 0 0 1px rgba(255,255,255,.12); transform: rotate(-4deg); }
.phone-2 { transform: rotate(4deg) translateY(50px); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }

/* ---------- foto seridi ---------- */
.strip { display: flex; gap: 16px; width: max-content; margin: 0 0 clamp(60px, 8vw, 110px); animation: marq 60s linear infinite; }
.strip:hover { animation-play-state: paused; }
.strip figure { position: relative; height: clamp(220px, 30vw, 380px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.strip img { height: 100%; width: auto; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 10px; letter-spacing: .16em; color: var(--ice); background: rgba(6,11,26,.6); padding: 5px 8px; border-radius: 6px; }
.reels { overflow: hidden; }

/* ---------- footer ---------- */
.footer { padding: clamp(90px, 12vw, 160px) var(--gutter) 40px; text-align: center; background: linear-gradient(180deg, var(--bg), #0a1633); border-top: 1px solid var(--line); }
.footer-logo { width: clamp(140px, 16vw, 220px); margin: 0 auto 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(159, 226, 255, .2), 0 20px 60px -10px rgba(56, 198, 255, .35); }
.big-script { font-size: clamp(40px, 6vw, 88px); color: var(--white); margin-bottom: 48px; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 980px; margin: 0 auto 56px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.contact-item { background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: background .3s; }
a.contact-item:hover { background: #0d1d44; }
.contact-item span { font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.contact-item b { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .02em; }
.fine { font-size: 11px; color: var(--muted); letter-spacing: .14em; }

/* ---------- mobil ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .brand-text small { display: none; }
  .hud-tr { display: none; }
  .hud-tl { top: 84px; }
  .hero-word { font-size: 33vw; }
  .story { height: auto; }
  .story-pin { position: relative; height: auto; display: block; padding: 90px var(--gutter) 40px; }
  .story-bgwords, .story-progress { display: none; }
  .story-media, .story-texts { display: contents; }
  .sm, .st { position: relative; opacity: 1; inset: auto; }
  .sm { height: 74vh; width: 100%; margin: 0 0 18px; border-radius: 26px; overflow: hidden; background: radial-gradient(80% 60% at 50% 60%, #12295e 0%, var(--bg) 75%); border: 1px solid var(--line); }
  .cutbox .cut { height: auto; width: auto; max-height: 62vh; max-width: calc(100vw - 56px); }
  .sm-2 .cutbox { bottom: 8vh; }
  .sm-2 .cut { max-height: 44vh; }
  .inset { top: 18px; right: 14px; width: 100px; }
  .sm-2 .inset { top: auto; bottom: 18px; left: auto; right: 14px; rotate: 5deg; }
  .sm-3 .inset { top: auto; bottom: 22px; right: 14px; }
  .sm-photo { top: 0; bottom: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .sm-1 .sm-video { inset: 0; translate: none; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; object-fit: contain; box-shadow: none; }
  .mark em { font-size: 9.5px; }
  .st { margin-bottom: 72px; }
  .hero-copy { right: var(--gutter); }
  .st code { width: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 1.5; }
  .sm-1 { order: 1; } .st-1 { order: 2; } .sm-2 { order: 3; } .st-2 { order: 4; } .sm-3 { order: 5; } .st-3 { order: 6; }
  .story-pin { display: flex; flex-direction: column; }
  .cards { grid-template-columns: repeat(3, 78vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; }
  .sheet-card { grid-template-columns: 1fr; max-height: 90vh; overflow: auto; }
  .sheet-img { min-height: 0; height: 22vh; }
  .map { height: 100svh; min-height: 640px; }
  .readout { grid-template-columns: 1fr 1fr; width: auto; }
  .readout div { padding: 10px 12px; }
  .readout b { font-size: 12px; }
  .yol-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .yol-track::-webkit-scrollbar { display: none; }
  .yol-card { height: 62vh; max-height: 520px; scroll-snap-align: center; }
  .yol-card img { max-width: 84vw; }
  .yol-card.is-vid { max-width: 84vw; }
  .yol-card:nth-child(even) { translate: none; }
  .bio { grid-template-columns: 1fr; }
  .bio-side { position: static; padding: 20px; }
  .wins li { grid-template-columns: 1fr; gap: 6px; }
  .builder-grid { grid-template-columns: 1fr; }
  .phone { width: 44vw; border-radius: 30px; padding: 7px; }
  .phone video { border-radius: 24px; }
  .contact { grid-template-columns: 1fr; }
  .map-hint { display: none; }
  .map::before { display: none; }
  .map-ui > * { position: relative; z-index: 2; }
  .map { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .map-canvas { position: relative; inset: auto; order: 2; height: 62svh; min-height: 420px; margin-top: -40px; }
  .map-ui { display: contents; }
  .map-ui .section-head { order: 1; padding-top: 90px; }
  .piste-panel { position: relative; order: 3; right: auto; top: auto; width: auto; margin: 0 var(--gutter); padding: 14px; }
  .piste-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .piste-list::-webkit-scrollbar { display: none; }
  .piste-list button { flex: none; grid-template-columns: 12px auto; padding: 8px 12px; border-color: var(--line); border-radius: 999px; font-size: 13px; }
  .piste-list em { display: none; }
  .readout { order: 4; margin: 12px var(--gutter) 0; }
  .map-credit { position: static; order: 5; max-width: none; text-align: left; margin: 10px var(--gutter) 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .dot, .blink, .caret, .strip { animation: none; }
  .snow { display: none; }
}

/* ---------- dar telefonlar ---------- */
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text b { font-size: 18px; white-space: nowrap; }
  .nav-cta { padding: 10px 14px; font-size: 12px; }
}

/* map hint: touch devices can't drag the map */
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .hint-desk { display: none; }
  .hint-touch { display: inline; }
}

/* telefon/tablet: bulaniklik efektleri kaydirirken cok pahali, yerine koyu opak zemin */
@media (hover: none), (pointer: coarse) {
  .snow { bottom: auto; height: 100lvh; } /* adres cubugu oynasa da kanvas sabit kalsin */
  .glass, .nav.scrolled, .card-num, .sheet-backdrop, .piste-panel, .yol-card figcaption { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass { background: rgba(10, 20, 46, .94); }
  .nav.scrolled { background: rgba(6, 11, 26, .94); }
  .sheet-backdrop { background: rgba(3, 6, 15, .82); }
  .yol-card figcaption { background: rgba(6, 11, 26, .86); }
  .card-num { background: rgba(6, 11, 26, .75); }
  .piste-panel { background: rgba(6, 11, 26, .94); }
}

/* dil dugmesi (Alpine X ile ayni) */
.lang { font: 600 13px var(--mono); letter-spacing: .08em; color: var(--white); background: none; border: 1.5px solid rgba(244, 248, 255, .55); border-radius: 99px; padding: 7px 11px; cursor: pointer; display: flex; gap: 7px; margin-right: -12px; transition: border-color .2s; }
.nav-links { margin-inline: auto; }
.lang:hover { border-color: var(--acc); }
.lang span { opacity: .45; transition: opacity .2s, color .2s; }
.lang span.on { opacity: 1; color: var(--acc); }
@media (max-width: 900px) { .lang { padding: 6px 9px; font-size: 12px; gap: 6px; margin-left: auto; margin-right: -14px; } }
@media (max-width: 380px) { .lang { padding: 5px 7px; font-size: 11px; gap: 5px; margin-right: -16px; } }
