/* =========================================================
   TEGEV — Public site styles
   ========================================================= */
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../lib/fonts/pjs-latin-ext.woff2") format("woff2");
    font-weight: 200 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../lib/fonts/pjs-latin.woff2") format("woff2");
    font-weight: 200 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;
}

:root {
    --navy: #0b2545;
    --navy-2: #13315c;
    --navy-3: #1d4580;
    --blue: #0a84d6;
    --blue-600: #0670bd;
    --blue-700: #055a99;
    --sky: #e9f4fd;
    --sky-2: #d6eafb;
    --ink: #0f1d33;
    --text: #2b3a50;
    --muted: #5d6d82;
    --line: #e2e9f2;
    --soft: #f4f8fc;
    --white: #fff;
    --success: #12805c;
    --warn: #b7791f;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
    --shadow: 0 10px 30px -12px rgba(11, 37, 69, .18), 0 4px 12px -6px rgba(11, 37, 69, .08);
    --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 84px;
    --container: 1240px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
    background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(10, 132, 214, .45); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }
.ico { flex-shrink: 0; }
.ico.flip { transform: rotate(180deg); }
.pre { white-space: pre-line; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--blue); --fg: #fff; --bd: var(--blue);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .78em 1.5em; border-radius: 12px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
    font-weight: 700; font-size: .95rem; line-height: 1.2; overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after { /* parlama efekti */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(10, 132, 214, .55); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--blue); --bd: var(--blue); }
.btn-primary:hover { --bg: var(--blue-600); --bd: var(--blue-600); }
.btn-outline { --bg: transparent; --fg: var(--blue-600); --bd: var(--blue); }
.btn-outline:hover { --bg: var(--sky); box-shadow: 0 10px 20px -12px rgba(10,132,214,.45); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-light:hover { --fg: var(--navy); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--blue-600); font-size: .95rem; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--back { margin-top: 2rem; }
.link-arrow--back:hover .ico { transform: rotate(180deg) translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
    font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2);
}
.eyebrow::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--blue); }
.eyebrow--light { color: #b9d6f2; }
.section-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); max-width: 22ch; }
.lead { font-size: 1.08rem; color: var(--muted); }
.text-gradient {
    background: linear-gradient(90deg, var(--blue) 0%, #2aa7f0 50%, var(--blue-600) 100%);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.tag {
    display: inline-flex; align-items: center; padding: .25em .7em; border-radius: 6px; background: var(--sky);
    color: var(--blue-700); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.tag--light { background: rgba(255,255,255,.14); color: #fff; }
.badge {
    display: inline-flex; align-items: center; gap: .35em; padding: .3em .75em; border-radius: 999px;
    font-size: .72rem; font-weight: 700; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--completed { color: var(--success); }
.badge--ongoing { color: var(--blue-600); }
.badge--planned { color: #7c4dcc; }
.badge--inpreparation { color: var(--warn); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: transform .45s var(--ease), box-shadow .3s, border-color .3s, height .3s;
}
/* Bulanık arka plan pseudo-element'te: header'a backdrop-filter verilirse mobil menü (position:fixed) header'ın içine hapsolur */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11,37,69,.35); border-color: var(--line); --header-h: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand img { height: 40px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { list-style: none; display: flex; gap: 4px; align-items: center; }
.main-nav__list > li { position: relative; }
.main-nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px;
    color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.main-nav__link::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav__list > li:hover > .main-nav__link, .main-nav__list > li.is-active > .main-nav__link { color: var(--blue-600); }
.main-nav__list > li:hover > .main-nav__link::after, .main-nav__list > li.is-active > .main-nav__link::after { transform: scaleX(1); }
.caret { transition: transform .3s var(--ease); opacity: .7; }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.main-nav__contact-mobile { display: none; }

.dropdown {
    position: absolute; top: calc(100% + 6px); left: 50%; min-width: 280px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown--right { left: auto; right: 0; transform: translate(0, 10px) scale(.98); min-width: 180px; }
.has-dropdown:hover > .dropdown--right, .has-dropdown:focus-within > .dropdown--right { transform: translate(0, 0) scale(1); }
.dropdown--wide { min-width: 330px; }
.dropdown ul { list-style: none; }
.dropdown a {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text);
    font-size: .9rem; font-weight: 500; line-height: 1.35; transition: background .2s, color .2s, padding .25s var(--ease);
}
.dropdown a:hover { background: var(--soft); color: var(--blue-600); padding-left: 16px; }
.dropdown a.is-current { color: var(--blue-600); font-weight: 700; }
.dropdown__rich strong { font-weight: 600; }
.dropdown__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sky); color: var(--blue-600); flex-shrink: 0; transition: background .2s, color .2s; }
.dropdown a:hover .dropdown__icon { background: var(--blue); color: #fff; }
.dropdown__sep { height: 1px; background: var(--line); margin: 6px 8px; }
.dropdown__all a { color: var(--blue-600); font-weight: 700; }
.lang-code { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px; background: var(--soft); font-size: .72rem; font-weight: 800; color: var(--navy-2); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0;
    background: transparent; color: var(--ink); transition: background .2s, color .2s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--soft); color: var(--blue-600); }
.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 10px; border: 0; background: transparent; font-weight: 700; font-size: .85rem; color: var(--ink); border-radius: 12px; }
.lang-switch__btn:hover { background: var(--soft); }
.header-contact { margin-left: 8px; padding: .62em 1.3em; }
.nav-toggle { display: none; }
.nav-toggle__bars { position: relative; width: 22px; height: 16px; display: block; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: linear-gradient(90deg, var(--blue), #3fb6f5); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: start center; padding-top: 14vh; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(11,37,69,.55); backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease); }
.search-overlay__box {
    position: relative; width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 20px; padding: 10px 10px 10px 22px; box-shadow: var(--shadow-lg);
    animation: popIn .45s var(--ease-out);
}
.search-overlay__box input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.15rem; padding: 14px 0; color: var(--ink); background: transparent; }
.search-overlay__icon { color: var(--blue); display: flex; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes softIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(-16px) scale(.97); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tight { padding: 0 0 clamp(40px, 5vw, 70px); }
.section--tight-bottom { padding-bottom: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #c7d6ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .section-title { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 6vw, 84px); }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 70% at 0% 0%, #e7f2fd 0%, transparent 60%),
        radial-gradient(40% 50% at 100% 100%, #eef6fe 0%, transparent 70%),
        linear-gradient(180deg, #f6fafe 0%, #fff 100%);
}
.hero__bg::after { /* nokta deseni */
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(10,132,214,.14) 1px, transparent 1.2px); background-size: 22px 22px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--text); max-width: 32ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hero__actions .link-arrow { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.hero__media { position: relative; }
.hero__image {
    position: relative; border-radius: 120px 24px 24px 24px; overflow: hidden; aspect-ratio: 1.42;
    box-shadow: var(--shadow-lg); will-change: transform;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 1.8s var(--ease-out) .2s forwards; }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(11,37,69,.28)); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__badge {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); z-index: 2;
}
.hero__badge--a { left: -28px; bottom: 44px; flex-direction: column; align-items: flex-start; gap: 0; }
.hero__badge--b { right: 24px; top: -18px; max-width: 270px; }
.hero__badge-num { font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.hero__badge-label { font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.hero__badge--b .hero__badge-label { color: var(--ink); font-size: .82rem; }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--blue-600); flex-shrink: 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 16px; width: 24px; height: 38px; border: 2px solid rgba(11,37,69,.25); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Hero giriş animasyonları */
.js .hero-anim { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease-out) var(--d, 0s) forwards; }
.js .hero__title .hero-anim { transform: translateY(105%); opacity: 1; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.js .hero-media-anim { clip-path: inset(0 0 0 100% round 120px 24px 24px 24px); animation: clipIn 1.3s var(--ease-out) .25s forwards; }
@keyframes clipIn { to { clip-path: inset(-60px -60px -60px -60px round 0); } }
.float-card { animation: float 7s ease-in-out var(--float-delay, 0s) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Kelime kelime başlık animasyonu */
.split-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split-words .word > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.section-title.split-words.is-visible .word > span { transform: none; }
.js .section-title.split-words[data-reveal] { opacity: 1; transform: none; }
.page-header__title.split-words { opacity: 1 !important; transform: none !important; animation: none !important; }
.page-header__title.split-words .word > span { animation: wordUp .9s var(--ease-out) both; }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }

/* 3B eğim */
.tech-card, .duo-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tech-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.duo-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.hero__media { perspective: 1200px; }
.btn-lg, .header-contact { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s, translate .25s var(--ease); }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.work-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.work-card__img { aspect-ratio: 4/3; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 8px; }
.work-card h3 { font-size: 1.02rem; margin: 0; font-weight: 700; line-height: 1.3; }
.work-card__arrow { color: var(--blue); transition: transform .4s var(--ease); }
.work-card__summary { padding: 0 18px 18px; margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.work-card:hover img { transform: scale(1.08); }
.work-card:hover .work-card__arrow { transform: translateX(5px); }
.work-card:hover::after { transform: scaleX(1); }

/* ---------- Values band ---------- */
.values-band {
    display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 32px; padding: 34px 40px;
    border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--sky) 0%, #f3f9ff 100%); border: 1px solid var(--sky-2);
}
.values-band__title { font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); margin: 0; color: var(--navy); }
.values-band__items { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item { display: flex; gap: 14px; align-items: flex-start; padding: 6px 22px; border-left: 1px solid var(--sky-2); }
.value-item__icon { color: var(--blue); transition: transform .5s var(--ease); }
.value-item:hover .value-item__icon { transform: translateY(-4px) rotate(-6deg); }
.value-item strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.value-item span { font-size: .85rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Split (MESEM) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-frame:hover img { transform: scale(1.04); }
.img-frame--tall { aspect-ratio: 1.3; }
.stat-chip { position: absolute; right: -22px; bottom: 32px; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 14px 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.stat-chip strong { font-size: 2.2rem; color: var(--blue); line-height: 1; }
.stat-chip span { font-size: .8rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.chip {
    display: inline-flex; align-items: center; padding: .6em 1.15em; border-radius: 10px; background: var(--sky);
    color: var(--blue-700); font-size: .88rem; font-weight: 600; border: 1px solid transparent;
    transition: background .25s, color .25s, transform .35s var(--ease), border-color .25s;
}
.chip:hover, .chip.is-active { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---------- Duo cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; background: #fff;
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.duo-card__text { padding: 30px 28px; display: flex; flex-direction: column; position: relative; z-index: 1; }
.duo-card__text h3 { font-size: 1.35rem; }
.duo-card__text p { font-size: .9rem; color: var(--muted); }
.duo-card__text .link-arrow { margin-top: auto; }
.duo-card__img { position: relative; overflow: hidden; }
.duo-card__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 40%); }
.duo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover .duo-card__img img { transform: scale(1.07); }

/* ---------- Tech cards (featured projects) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); }
.tech-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tech-card__overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px;
    background: linear-gradient(180deg, rgba(11,37,69,0) 35%, rgba(11,37,69,.92) 100%); transition: background .5s var(--ease);
}
.tech-card__overlay .badge { align-self: flex-start; }
.tech-card h3 { color: #fff; font-size: 1.1rem; margin: 0; line-height: 1.3; }
.tech-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: #9fd3fb;
    max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.tech-card:hover img { transform: scale(1.1); }
.tech-card:hover .tech-card__overlay { background: linear-gradient(180deg, rgba(11,37,69,.15) 0%, rgba(6,90,153,.95) 100%); }
.tech-card:hover .tech-card__more { max-height: 30px; opacity: 1; }
.tech-card:hover { color: #fff; }

/* ---------- Heritage ---------- */
.heritage { overflow: hidden; }
.heritage__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(10,132,214,.35), transparent 65%); animation: glow 10s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-120px, 80px) scale(1.15); } }
.heritage__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.heritage__head .section-title { max-width: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 48px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .4s, transform .4s var(--ease); }
.stat:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.stat strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.stat > span { font-size: .88rem; color: #9db5d3; font-weight: 600; }
.heritage__label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8aa6c8; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { padding: 14px 28px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 700; white-space: nowrap; background: rgba(255,255,255,.03); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.heritage__note { text-align: center; margin: 30px auto 24px; max-width: 60ch; color: #c7d6ea; }
.heritage__cta { text-align: center; }

/* ---------- Post cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; color: var(--text); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.post-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card__img .badge { position: absolute; top: 14px; left: 14px; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.post-card__date { font-size: .8rem; color: var(--muted); font-weight: 500; }
.post-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 8px; transition: color .25s; }
.post-card p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; font-size: .88rem; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.post-card:hover img { transform: scale(1.07); }
.post-card:hover h3 { color: var(--blue-600); }
.post-card:hover .link-arrow .ico { transform: translateX(4px); }

/* İmleci takip eden yumuşak ışık */
.work-card, .post-card, .platform-card {
    background-image: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(10,132,214,.07), transparent 60%);
}

/* ---------- Publications (dergi kapakları) ---------- */
.pub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.pub-card { display: flex; flex-direction: column; }
.pub-card__cover {
    position: relative; display: block; aspect-ratio: 3/4; border-radius: 6px 14px 14px 6px; overflow: hidden; background: var(--soft);
    box-shadow: -6px 0 0 -2px #d9e3ee, 0 18px 30px -16px rgba(11,37,69,.45);
    transform: perspective(900px) rotateY(0deg); transform-origin: left center;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pub-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-card__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); }
.pub-card__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.pub-card__tag { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); }
.pub-card:hover .pub-card__cover { transform: perspective(900px) rotateY(-14deg) translateX(6px); box-shadow: -10px 0 0 -2px #cddaea, 0 26px 40px -18px rgba(11,37,69,.55); }
.pub-card:hover .pub-card__shine { transform: translateX(120%); }
.pub-card__body { padding: 14px 4px 0; }
.pub-card__body h3 { font-size: 1rem; line-height: 1.35; margin: 4px 0 8px; }

/* ---------- Support band (ana sayfa) ---------- */
.support-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, #0d3f78 60%, var(--blue) 120%); color: #c7d6ea; box-shadow: var(--shadow); }
.support-band__text { padding: clamp(28px, 4vw, 52px); }
.support-band__text h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.support-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.support-band .btn-outline { --fg: #fff; --bd: rgba(255,255,255,.6); }
.support-band .btn-outline:hover { --bg: rgba(255,255,255,.1); }
.support-band__img { position: relative; min-height: 280px; }
.support-band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.support-band__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,37,69,.9), transparent 45%); }
.support-band:hover .support-band__img img { transform: scale(1.05); }

/* ---------- Platforms ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform-card {
    display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--line); color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.platform-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue-600); flex-shrink: 0; transition: background .3s, color .3s, transform .5s var(--ease); }
.platform-card__text { flex: 1; display: flex; flex-direction: column; }
.platform-card__text strong { color: var(--ink); }
.platform-card__text span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.platform-card__go { color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.platform-card:hover .platform-card__icon { background: var(--blue); color: #fff; transform: rotate(-8deg); }
.platform-card:hover .platform-card__go { transform: translate(3px, -3px); color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; background: var(--navy) var(--cta-bg) right center / cover no-repeat; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 35%, rgba(11,37,69,.35)); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 130px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.cta-band__title { color: #fff; margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }

/* ---------- Footer ---------- */
.site-footer { background: #081c35; color: #a9bbd3; font-size: .9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 36ch; line-height: 1.6; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer h3.mt { margin-top: 28px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #a9bbd3; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .3s var(--ease); }
.site-footer ul a:hover { color: #fff; transform: translateX(3px); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.contact-list .ico { margin-top: 3px; color: #5fb4f0; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); color: #cfe0f3; transition: background .25s, transform .35s var(--ease), color .25s; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--blue); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .4s var(--ease), visibility .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); transform: translateY(-3px); }

/* ---------- Page header ---------- */
/* İç sayfa başlığı — ana sayfa karşılama alanıyla aynı dil */
.page-header { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-header__bg { position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(60% 80% at 0% 0%, #e7f2fd 0%, transparent 60%), radial-gradient(40% 60% at 100% 100%, #eef6fe 0%, transparent 70%), linear-gradient(180deg, #f6fafe 0%, #fff 100%); }
.page-header__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,132,214,.14) 1px, transparent 1.2px); background-size: 22px 22px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%); }
.page-header__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.page-header--media .page-header__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-header__title { color: var(--ink); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; margin-bottom: 16px; }
.page-header__intro { font-size: 1.08rem; max-width: 60ch; margin: 0; color: var(--text); }
.page-header__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.page-header__media { position: relative; }
.page-header__image { position: relative; border-radius: 96px 22px 22px 22px; overflow: hidden; aspect-ratio: 1.45; box-shadow: var(--shadow-lg); }
.page-header__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: heroZoom 1.8s var(--ease-out) .2s forwards; }
.page-header__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(11,37,69,.25)); }
.page-header .tag--light { background: var(--sky); color: var(--blue-700); }
.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 700; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb__sep { display: flex; color: #a9b8ca; }
@media (max-width: 900px) {
    .page-header--media .page-header__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .page-header__image { border-radius: 64px 18px 18px 18px; aspect-ratio: 16/9; }
}

/* ---------- List / detail ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); background: var(--soft); }
.empty-state .ico { color: var(--blue); opacity: .7; }
.empty-state p { margin: 0; max-width: 46ch; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: all .25s; }
.pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }
.pager a:hover, .pager a.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.area-list { display: grid; gap: 28px; }
.area-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--text); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.area-row:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.area-row:nth-child(even) .area-row__img { order: 2; }
.area-row__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.area-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area-row__text { padding: 10px 20px; }
.area-row__num { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--sky-2); margin-bottom: 8px; transition: color .4s; }
.area-row h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.area-row p { color: var(--muted); }
.area-row:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--text); }
.area-row:hover img { transform: scale(1.06); }
.area-row:hover .area-row__num { color: var(--blue); }

.mesem-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; margin-bottom: 56px; padding: 24px; border-radius: var(--radius-lg); background: var(--soft); }
.mesem-intro .img-frame { aspect-ratio: 4/3; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.detail-grid--left { grid-template-columns: 280px minmax(0, 1fr); }
.detail-grid--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.detail-figure { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; }
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff8eb; border: 1px solid #f3dfb5; color: #7a5413; font-size: .92rem; margin-bottom: 24px; }
.notice .ico { margin-top: 2px; }

.prose { font-size: 1.04rem; color: var(--text); }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; color: var(--navy-2); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); opacity: .85; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 34px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--blue-700); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--blue); background: var(--sky); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* ---- Fotoğraf galerisi ---- */
.gallery { margin-top: 44px; }
.gallery__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.gallery__head h2 { font-size: 1.4rem; margin: 0; }
.gallery__count { font-size: .85rem; font-weight: 700; color: var(--muted); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__item { position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sky); cursor: zoom-in; isolation: isolate; }
.gallery__grid--feature .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__grid--five .gallery__item:first-child { grid-column: span 2; aspect-ratio: auto; }
.gallery__grid--two { grid-template-columns: repeat(2, 1fr); }
.gallery__grid--one { grid-template-columns: 1fr; }
.gallery__grid--one .gallery__item { aspect-ratio: 16/9; }
.gallery__item.is-hidden { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .4s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 37, 69, .35), transparent 55%); opacity: 0; transition: opacity .35s; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gallery__more { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(11, 37, 69, .62); color: #fff; font-size: 1.8rem; font-weight: 800; backdrop-filter: blur(2px); transition: background .3s; }
.gallery__item:hover .gallery__more { background: rgba(10, 132, 214, .72); }
@media (max-width: 640px) {
    .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery__grid--one { grid-template-columns: 1fr; }
    .gallery__grid--feature .gallery__item:first-child, .gallery__grid--five .gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}

/* ---- Tam ekran fotoğraf görüntüleyici ---- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6, 18, 36, .94); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; overscroll-behavior: contain; touch-action: pan-y; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.lightbox__counter { font-size: .9rem; font-weight: 700; letter-spacing: .04em; opacity: .85; font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; }
.lightbox__img { width: 100%; height: 100%; max-width: 1280px; object-fit: contain; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .5)); transition: opacity .25s, transform .35s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lightbox__img.is-loading { opacity: 0; transform: scale(.97); }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__thumbs { display: flex; gap: 6px; padding: 12px 18px 18px; overflow-x: auto; scrollbar-width: thin; justify-content: safe center; }
.lightbox__thumb { flex: 0 0 auto; width: 64px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); opacity: .5; cursor: pointer; transition: opacity .2s, border-color .2s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb.is-active { opacity: 1; border-color: var(--blue); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) {
    .lightbox__stage { padding: 0 8px; }
    .lightbox__nav { top: auto; bottom: 12px; transform: none; background: rgba(0, 0, 0, .5); }
    .lightbox__nav:active { transform: scale(.92); }
}

.detail-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav { padding: 22px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.side-nav h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.side-nav ul { list-style: none; display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: .9rem; font-weight: 500; line-height: 1.35; transition: background .2s, color .2s, padding .3s var(--ease); }
.side-nav a:hover { background: #fff; color: var(--blue-600); padding-left: 16px; }
.side-nav a.is-active { background: var(--blue); color: #fff; font-weight: 700; }
.side-nav a .ico { color: var(--blue); }
.side-nav a.is-active .ico { color: #fff; }
.side-cta { padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #c7d6ea; }
.side-cta h3 { color: #fff; font-size: 1.2rem; }
.side-cta p { font-size: .9rem; }

/* Corporate templates */
.block-title { font-size: 1.4rem; margin: 2.2em 0 1em; }
.founder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.founder { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.founder:hover { border-color: var(--sky-2); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.founder__num { font-size: .78rem; font-weight: 800; color: var(--blue); background: var(--sky); border-radius: 8px; padding: 6px 8px; }
.founder strong { display: block; color: var(--ink); font-size: .95rem; }
.founder span { font-size: .82rem; color: var(--muted); }
.heritage-card { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--soft)); text-align: center; margin-bottom: 36px; }
.heritage-card h2 { font-size: 1.35rem; }
.heritage-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.heritage-card__stats strong { display: block; font-size: 2.4rem; color: var(--blue-600); line-height: 1.1; }
.heritage-card__stats span { font-size: .85rem; color: var(--muted); }
.heritage-card__label { font-weight: 700; color: var(--muted); font-size: .9rem; }
.heritage-card__orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.heritage-card__orgs span { padding: 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: transform .35s var(--ease), border-color .3s, color .3s; }
.heritage-card__orgs span:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue-600); }
.heritage-card__note { margin: 0; font-weight: 600; color: var(--ink); }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.person-card { text-align: center; padding: 26px 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person-card__photo { width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), var(--sky-2)); color: var(--blue-700); font-size: 2rem; font-weight: 800; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card strong { display: block; color: var(--ink); }
.person-card__role { font-size: .85rem; color: var(--blue-600); font-weight: 600; }
.person-card p { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member-tile { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.member-tile img { max-height: 40px; width: auto; }
.member-tile__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sky); color: var(--blue-600); flex-shrink: 0; }
.member-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--sky-2); color: var(--ink); }
.report-list { display: grid; gap: 12px; margin-top: 24px; }
.report-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text); transition: all .3s var(--ease); }
.report-item__icon { color: var(--blue); }
.report-item__text { flex: 1; display: flex; flex-direction: column; }
.report-item__text strong { color: var(--ink); }
.report-item__text span { font-size: .85rem; color: var(--muted); }
.report-item__dl { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--blue-600); font-size: .85rem; }
.report-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card--soft { background: var(--soft); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue-600); flex-shrink: 0; }
.contact-card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-card p { margin: 0 0 6px; font-size: .95rem; }
.contact-form-wrap { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.5rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--soft); outline: 0; transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10,132,214,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .72rem; font-weight: 700; color: var(--blue-600); }
.field-error, .form-error-summary { color: #c0392b; font-size: .82rem; display: block; margin-top: 4px; }
.form-error-summary ul { list-style: none; }
.input-validation-error { border-color: #e2a39b !important; background: #fff7f6 !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 4px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.contact-form .btn { margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 30px 10px; animation: popIn .6s var(--ease-out); }
.form-success__icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #e6f6ef; color: var(--success); margin-bottom: 16px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,128,92,.35); } 100% { box-shadow: 0 0 0 22px rgba(18,128,92,0); } }

/* ---------- Search page ---------- */
.search-page-form { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.search-page-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,132,214,.12); }
.search-page-form .ico { color: var(--blue); }
.search-page-form input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: 10px 0; background: transparent; }
.search-count { color: var(--muted); }
.search-results { display: grid; gap: 14px; }
.search-hit { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text); transition: all .35s var(--ease); }
.search-hit h2 { font-size: 1.2rem; margin: 10px 0 6px; transition: color .2s; }
.search-hit p { margin: 0; font-size: .92rem; color: var(--muted); }
.search-hit:hover { border-color: var(--sky-2); box-shadow: var(--shadow-sm); transform: translateX(4px); color: var(--text); }
.search-hit:hover h2 { color: var(--blue-600); }

/* ---------- Status page ---------- */
.status-page { padding: clamp(80px, 12vw, 160px) 0; text-align: center; background: radial-gradient(60% 60% at 50% 0%, var(--sky), #fff 70%); }
.status-page__code { font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-page p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.status-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- View transitions (sayfa geçişleri) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .main-nav__link { padding: 10px 9px; font-size: .88rem; }
    .header-contact { display: none; }
    .work-grid { grid-template-columns: repeat(3, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-card { aspect-ratio: 4/3; }
}
@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: inline-grid; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; display: block; padding: 20px 24px 40px;
        overflow-y: auto; opacity: 0; visibility: hidden; transform: translateX(30px);
        transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav__list > li { border-bottom: 1px solid var(--line); }
    .main-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
    .main-nav__link::after { display: none; }
    .main-nav .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0; }
    .main-nav .has-dropdown.is-open > .dropdown { display: block; animation: fadeIn .3s var(--ease); }
    .main-nav .has-dropdown.is-open .caret { transform: rotate(180deg); }
    .main-nav__contact-mobile { display: inline-flex; margin-top: 24px; width: 100%; }
    .nav-open .main-nav__list > li { animation: slideIn .5s var(--ease-out) both; }
    .nav-open .main-nav__list > li:nth-child(2) { animation-delay: .05s; }
    .nav-open .main-nav__list > li:nth-child(3) { animation-delay: .1s; }
    .nav-open .main-nav__list > li:nth-child(4) { animation-delay: .15s; }
    .nav-open .main-nav__list > li:nth-child(5) { animation-delay: .2s; }
    .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .hero__media { margin: 10px 18px 0; }
    .values-band { grid-template-columns: 1fr; }
    .duo { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .detail-grid, .detail-grid--left { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .detail-grid--left .detail-side { order: 2; }
    .card-grid--3, .platform-grid, .people-grid, .member-grid { grid-template-columns: repeat(2, 1fr); }
    .mesem-intro, .area-row, .area-row:nth-child(even) { grid-template-columns: 1fr; }
    .area-row:nth-child(even) .area-row__img { order: 0; }
    .stat-chip { right: 12px; }
    .pub-grid { grid-template-columns: repeat(3, 1fr); }
    .support-band { grid-template-columns: 1fr; }
    .support-band__img { min-height: 220px; order: -1; }
    .support-band__img::before { background: linear-gradient(0deg, rgba(11,37,69,.9), transparent 60%); }
}
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
@media (max-width: 680px) {
    .container { padding: 0 16px; }
    .brand img { height: 38px; }
    .work-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .work-card__summary { display: none; }
    .work-card h3 { font-size: .92rem; }
    .work-card__body { padding: 14px; }
    .values-band { padding: 26px 22px; }
    .values-band__items { grid-template-columns: 1fr; gap: 18px; }
    .value-item { border-left: 0; padding: 0; }
    .duo-card { grid-template-columns: 1fr; }
    .duo-card__img { height: 200px; order: -1; }
    .duo-card__img::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 40%); }
    .tech-grid, .card-grid--3, .platform-grid, .people-grid, .member-grid, .founder-grid, .form-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .hero__badge--a { left: -10px; bottom: 16px; }
    .hero__badge--b { display: none; }
    .hero__image { border-radius: 64px 18px 18px 18px; }
    .heritage-card__orgs { grid-template-columns: repeat(2, 1fr); }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .hero__scroll { display: none; }
    .pub-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}

/* =========================================================
   Animasyon paketi (10–20)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 10 — Katmanlı derinlik: görseller kendi çerçevesinde farklı hızda kayar (JS 'translate' verir) */
[data-parallax-img] { scale: 1.14; will-change: translate; }

/* 12 — Kendini çizen ikonlar */
.js .icon-draw .ico :is(path, circle, rect, line, polyline, ellipse) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease-out) var(--draw-d, .25s); }
.js .is-visible .icon-draw .ico :is(path, circle, rect, line, polyline, ellipse),
.js .icon-draw.is-visible .ico :is(path, circle, rect, line, polyline, ellipse) { stroke-dashoffset: 0; }
.js .hero__badge-icon.icon-draw { --draw-d: 1.3s; }

/* 13 — Yapışkan hikâye */
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + 32px); }
.story__frame { position: relative; aspect-ratio: 4/3.3; border-radius: 96px 22px 22px 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sky); }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.story__img.is-active { opacity: 1; transform: none; }
.story__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,37,69,.4), transparent 45%); pointer-events: none; }
.story__progress { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; }
.story__progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.story__steps { list-style: none; padding: 0; margin: 0; }
.story__step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 32px; border-left: 2px solid var(--line); opacity: .32; transition: opacity .5s var(--ease), border-color .5s; }
.story__step.is-active { opacity: 1; border-color: var(--blue); }
.story__num { font-size: .85rem; font-weight: 800; color: var(--blue); letter-spacing: .12em; margin-bottom: 10px; }
.story__step h3 { font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem); margin-bottom: 12px; }
.story__step p { font-size: 1.08rem; color: var(--text); max-width: 44ch; margin: 0; }
@media (max-width: 900px) {
    .story__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .story__media { top: 0; z-index: 2; background: #fff; padding: 10px 0 14px; margin: 0 -4px; box-shadow: 0 12px 16px -12px rgba(255,255,255,1); }
    .story__frame { aspect-ratio: 16/9; border-radius: 48px 14px 14px 14px; }
    .story__step { min-height: 46vh; padding-left: 20px; }
}

/* 14 — Sırayla açılan kartlar: ızgaralardaki kartlar dalga gibi gelir (gecikmeyi JS verir) */
.js :is(.work-grid, .card-grid, .tech-grid, .pub-grid, .platform-grid, .member-grid, .people-grid, .founder-grid) > [data-reveal]:not(.is-visible) { transform: translateY(48px) scale(.94); }

/* 15 — Fosforlu kalem vurgu */
mark { color: inherit; padding: 0 .06em; border-radius: 3px; background: linear-gradient(transparent 58%, rgba(10,132,214,.25) 58%) no-repeat 0 0 / 0% 100%; }
.js .is-visible mark, html:not(.js) mark { background-size: 100% 100%; transition: background-size 1.1s var(--ease-out) .55s; }
.js .hero mark { animation: markIn 1.1s var(--ease-out) 1.2s forwards; }
.section--navy mark { background-image: linear-gradient(transparent 58%, rgba(63,182,245,.38) 58%); }
@keyframes markIn { to { background-size: 100% 100%; } }

/* 16 — Daktilo ile değişen kelime */
.hero__focus { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45em; margin: -12px 0 30px; font-weight: 600; color: var(--muted); font-size: 1.02rem; }
.typewriter { color: var(--blue); font-weight: 800; min-height: 1.4em; border-right: 2px solid currentColor; padding-right: 3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* 17 — Kartlarda görsel yakınlaşma (eksik olanlar) */
.post-card:hover .post-card__img img { transform: scale(1.07); }
.pub-card__cover img { transition: transform 1s var(--ease); }
.pub-card:hover .pub-card__cover img { transform: scale(1.04); }
.platform-card__icon { transition: transform .5s var(--ease); }
.platform-card:hover .platform-card__icon { transform: scale(1.12) rotate(-6deg); }

/* 18 — Açılış perdesi (oturumda yalnızca ilk sayfa) */
.intro-curtain { display: none; }
.js.intro .intro-curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 2000; background: var(--navy); pointer-events: none; animation: curtainUp .85s cubic-bezier(.7, 0, .3, 1) 1s forwards; }
.intro-curtain img { width: min(240px, 56vw); height: auto; opacity: 0; transform: translateY(14px); animation: curtainLogo .6s var(--ease-out) .12s forwards, curtainLogoOut .3s ease .85s forwards; }
.js.intro .hero-anim, .js.intro .page-header .hero-anim { animation-delay: calc(var(--d, 0s) + 1.15s); }
.js.intro .hero-media-anim { animation-delay: 1.4s; }
@keyframes curtainUp { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes curtainLogo { to { opacity: 1; transform: none; } }
@keyframes curtainLogoOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes curtainFade { to { opacity: 0; visibility: hidden; } }

/* 19 — Yatay kayan projeler (masaüstünde kaydırmaya bağlı, mobilde parmakla kaydırma) */
.section--hscroll { overflow-x: clip; }
.hscroll { position: relative; }
.tech-grid--scroll { display: flex; gap: 18px; }
.tech-grid--scroll > .tech-card { flex: 0 0 clamp(250px, 24vw, 320px); }
.hscroll.is-pinned .hscroll__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.hscroll.is-pinned .tech-grid--scroll { will-change: transform; }
.hscroll:not(.is-pinned) .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.hscroll:not(.is-pinned) .hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll:not(.is-pinned) .tech-card { scroll-snap-align: start; }
@media (max-width: 640px) { .tech-grid--scroll > .tech-card { flex-basis: 78vw; aspect-ratio: 4/5; } }

/* 11 — Kendini çizen zaman çizelgesi */
.timeline { margin-top: 56px; }
.timeline__track { position: relative; margin-top: 28px; }
.timeline__line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.timeline__line > span { display: block; width: 100%; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.timeline__item { position: relative; padding-left: 52px; opacity: .3; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.timeline__item.is-on { opacity: 1; transform: none; }
.timeline__dot { position: absolute; left: 3px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: border-color .4s, background .4s, transform .4s var(--ease-out); }
.timeline__item.is-on .timeline__dot { border-color: var(--blue); background: var(--sky); transform: scale(1.15); }
.timeline__year { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; letter-spacing: .04em; }
.timeline__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline__item p { margin: 0; color: var(--text); max-width: 60ch; }
html:not(.js) .timeline__item { opacity: 1; transform: none; }

/* 20 — Buton dalgası */
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .3; transform: scale(0); pointer-events: none; z-index: -1; animation: ripple .7s var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Hareket azaltma tercihi (Windows "Animasyon efektleri" kapalıyken de açılır):
   kayma/büyüme/sürekli hareket kapatılır, yumuşak solma geçişleri korunur. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .js [data-reveal] { transform: none !important; transition: opacity .8s ease var(--d, 0s) !important; }
    .js .hero-anim { transform: none !important; animation: softIn .9s ease var(--d, 0s) both !important; }
    .js .hero-media-anim { clip-path: none !important; animation: softIn 1s ease .2s both !important; }
    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    [class*="float"], .hero__scroll *, .glow { animation: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-name: fadeIn !important; animation-duration: .25s !important; }
    ::view-transition-old(root) { animation-direction: reverse !important; }
    [data-parallax-img] { scale: 1; }
    .story__img { transform: none !important; }
    .js :is(.work-grid, .card-grid, .tech-grid, .pub-grid, .platform-grid, .member-grid, .people-grid, .founder-grid) > [data-reveal]:not(.is-visible) { transform: none; }
    .timeline__item { transform: none; }
    .typewriter { animation: none; border-right-color: transparent; }
    .js.intro .intro-curtain { animation: curtainFade .45s ease .7s forwards !important; }
    .intro-curtain img { transform: none !important; }
    .js.intro .hero-anim, .js.intro .page-header .hero-anim { animation-delay: calc(var(--d, 0s) + .8s) !important; }
    .ripple { display: none; }
}
