/* Nesne Lab — site.css */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/Onest-normal-400-600-latin-ext.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/Onest-normal-400-600-latin.woff2") format("woff2");
  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 {
  --ink: #111214;
  --mute: #5f6368;
  --faint: #8a8e93;
  --line: #e4e5e7;
  --accent: #111214;
  --obj: #ff5a1f;
  --bg: #ffffff;
  --wrap: 1240px;
  --pad: 40px;
  --col: 260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nb { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Üst bant */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 46px; height: 16px; display: block; }
.brand span { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.brand span b { font-weight: 400; color: var(--mute); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--mute); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .apply { color: var(--ink); text-decoration: underline; }

/* Açılış */
.open { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; padding: 88px 0 40px; align-items: start; }
.open h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -0.022em; }
.open .lede { margin-top: 28px; max-width: 34em; color: var(--mute); font-size: 18px; }

.doors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.doors li { border-bottom: 1px solid var(--line); }
.doors a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0 17px; text-decoration: none; }
.doors strong { font-weight: 500; font-size: 19px; }
.doors small { grid-column: 1; color: var(--mute); font-size: 15px; line-height: 1.45; }
.doors i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 20px; color: var(--faint); transition: transform .18s ease, color .18s ease; }
.doors a:hover i { color: var(--obj); }
.doors a:hover i { transform: translateX(4px); }

/* Bölümler */
.sec { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); gap: 48px; padding: 72px 0 80px; border-top: 1px solid var(--line); }
.sec > h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; position: sticky; top: 24px; align-self: start; }
.sec > h2 span { display: block; margin-top: 6px; font-weight: 400; color: var(--mute); max-width: 15em; line-height: 1.5; }

/* Projeler */
.proj { list-style: none; margin: 0; padding: 0; }
.proj li { display: grid; grid-template-columns: 200px minmax(0, 1fr) 170px; gap: 8px 40px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.proj li:first-child { padding-top: 0; }
.proj h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; transition: color .3s; }
.proj li:hover h3 { color: var(--c); }
.proj p { color: var(--ink); max-width: 36em; }
.proj .meta { font-size: 14px; color: var(--mute); display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.proj .meta a { color: var(--ink); }
.state { display: inline-flex; align-items: center; gap: 8px; }
.state::before { content: ""; width: 9px; height: 9px; background: var(--c, var(--ink)); flex: none; }
.state.dev::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c, var(--faint)); }

/* Proje ekran görüntüsü */
.proj .shot { grid-column: 2 / -1; margin: 18px 0 0; border: 1px solid var(--line); overflow: hidden; background: #f5f6f8; }
.proj .shot img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.proj li:hover .shot img { transform: scale(1.015); }
.nav .lang { color: var(--mute); font-size: 13px; font-weight: 500; letter-spacing: .02em; border: 1px solid var(--line); padding: 2px 7px; text-decoration: none; }
.nav .lang:hover { color: var(--ink); border-color: var(--ink); }

/* Nesne şeridi: iki kişi arasında el değiştiren nesne */
.strip { padding: 8px 0 72px; }
.stage { position: relative; height: 120px; }
.stage .line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.stage .dot { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--ink); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.stage .dot.l { left: 0; }
.stage .dot.r { right: 0; }
.stage .dot.on { transform: scale(1.16); }
.stage .obj { position: absolute; top: 50%; left: 60px; width: 40px; height: 40px; margin-top: -20px; background: var(--obj);
  transition: left 1.6s cubic-bezier(.65, 0, .35, 1), transform 1.6s cubic-bezier(.65, 0, .35, 1), background-color .9s ease; }
.stage.at-r .obj { left: calc(100% - 100px); }
.caption { margin-top: 20px; font-size: 15px; min-height: 1.6em; }
.caption a { text-decoration: none; display: inline-flex; gap: 10px; align-items: baseline; }
.caption b { font-weight: 500; }
.caption b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; background: var(--obj); transition: background-color .9s; }
.caption span { color: var(--mute); transition: opacity .4s; }
.caption.fade span, .caption.fade b { opacity: 0; }
.caption b { transition: opacity .4s; }

/* Destekçiler: Artsürem vitrini */
.backer-head { display: flex; align-items: center; gap: 28px; margin-bottom: 28px; }
.backer-head .logo { width: 200px; height: auto; display: block; }
.backer-head a { font-size: 14px; }
.vitrin { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vitrin a { display: grid; gap: 6px; text-decoration: none; }
.vitrin .frame { display: block; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 10; background: #f5f6f8; margin-bottom: 8px; }
.vitrin img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.vitrin a:hover img { transform: scale(1.03); }
.vitrin strong { font-weight: 500; font-size: 19px; }
.vitrin small { color: var(--mute); font-size: 15px; line-height: 1.45; }
.vitrin em { font-style: normal; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.vitrin a:hover em { text-decoration-thickness: 2px; }

.backers { list-style: none; margin: 0; padding: 0; }
.backers li { display: flex; align-items: baseline; gap: 24px; }
.backers strong { font-size: 26px; font-weight: 500; letter-spacing: -0.015em; }
.backers a { font-size: 14px; }
.person .note { margin-top: 18px; color: var(--faint); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  .proj .shot img,
  .vitrin img,
  .stage .obj, .stage .dot, .caption b::before { transition: none; }
}

/* Duyurular */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 40px; padding: 0 0 26px; }
.news time { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 3px; }
.news p { max-width: 40em; }
.news a { white-space: nowrap; }

/* Bülten */
.bulten { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 640px; display: grid; gap: 14px; }
.bulten-soru { font-size: 19px; font-weight: 500; }
.bulten-satir { display: flex; gap: 0; }
.bulten-satir input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9cbce; border-right: 0; border-radius: 0; background: #fff; color: var(--ink); }
.bulten-satir input:focus { outline: none; border-color: var(--ink); }
.bulten-satir button { flex: none; }
.riza { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mute); line-height: 1.5; cursor: pointer; }
.riza input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.bulten .done { display: none; }
.bulten.sent .bulten-satir, .bulten.sent .riza { display: none; }
.bulten.sent .done { display: block; font-size: 17px; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kv-not { font-size: 14px; color: var(--mute); }
.form.sent .kv-not { display: none; }

/* Aydınlatma metni */
.kv { max-width: 44em; padding: 72px 0 96px; }
.kv h1 { font-size: clamp(32px, 3vw, 44px); line-height: 1.15; letter-spacing: -0.02em; }
.kv .kv-giris { margin-top: 20px; color: var(--mute); font-size: 18px; }
.kv h2 { font-size: 19px; font-weight: 500; margin: 40px 0 10px; }
.kv p + p { margin-top: 10px; }
.kv ul { margin: 0; padding-left: 1.2em; }
.kv li + li { margin-top: 8px; }
.kv ul + p { margin-top: 14px; }

/* Yayınlar */
.cite { max-width: 46em; padding-left: 2em; text-indent: -2em; }
.cite em { font-style: italic; }

/* Kişi */
.person h3 { font-size: 26px; letter-spacing: -0.015em; }
.person p { color: var(--mute); margin-top: 4px; }
.person .role { color: var(--ink); font-size: 14px; margin: 0 0 10px; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--mute); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--mute); }
.foot a:hover { color: var(--ink); }

/* Form sayfaları */
.page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; padding: 80px 0 96px; }
.page h1 { font-size: clamp(32px, 3vw, 44px); line-height: 1.15; letter-spacing: -0.02em; }
.page .intro p { margin-top: 20px; color: var(--mute); max-width: 30em; }
.page .intro p + p { margin-top: 12px; }

.form { display: grid; gap: 26px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.field .opt { font-weight: 400; color: var(--faint); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 0; border-bottom: 1px solid #c9cbce; border-radius: 0;
  padding: 10px 0 9px; width: 100%;
}
.field textarea { min-height: 132px; resize: vertical; border: 1px solid #c9cbce; padding: 12px 14px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6368' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea:focus { box-shadow: inset 0 0 0 1px var(--ink); }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 400; font-size: 15px; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: 7px 14px; border: 1px solid #c9cbce; }
.choices input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
button {
  font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  color: #fff; background: var(--ink); border: 0; border-radius: 0; padding: 14px 28px;
}
button:hover { background: var(--accent); }
button[disabled] { opacity: .5; cursor: default; }
.status { font-size: 15px; color: var(--mute); }
.status.ok { color: var(--accent); }
.status.err { color: #b3261e; }
.done { display: none; }
.form.sent .field, .form.sent .send { display: none; }
.form.sent .done { display: block; font-size: 20px; line-height: 1.5; max-width: 26em; }

/* 404 */
.lost { padding: 120px 0 160px; }
.lost h1 { font-size: 40px; letter-spacing: -0.02em; }
.lost p { margin-top: 16px; color: var(--mute); }

/* Orta ekran */
@media (max-width: 1080px) {
  :root { --col: 200px; }
  .proj li { grid-template-columns: minmax(0, 1fr) 160px; }
  .proj h3 { grid-column: 1 / -1; }
  .proj .shot { grid-column: 1 / -1; }
  .vitrin { gap: 20px; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .open { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 64px; }
  .sec { grid-template-columns: 1fr; gap: 28px; padding: 52px 0 56px; }
  .sec > h2 { position: static; }
  .page { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
  .nav { gap: 20px; }
  .nav .hide-s { display: none; }
}
@media (max-width: 600px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .top .wrap { height: auto; padding-top: 18px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav { gap: 18px; font-size: 15px; flex-wrap: wrap; }
  .open .lede { font-size: 17px; }
  .proj li { grid-template-columns: 1fr; gap: 10px; }
  .proj .meta { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
  .vitrin { grid-template-columns: 1fr; gap: 32px; }
  .bulten-satir { flex-direction: column; gap: 10px; }
  .bulten-satir input { border-right: 1px solid #c9cbce; }
  .backer-head .logo { width: 160px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .stage { height: 84px; }
  .stage .dot { width: 32px; height: 32px; margin-top: -16px; }
  .stage .obj { width: 28px; height: 28px; margin-top: -14px; left: 44px; }
  .stage.at-r .obj { left: calc(100% - 72px); }
  .strip { padding-bottom: 48px; }
}
