/* Düzen: beyaz zemin, geniş harfli yazı işareti, etiket solda içerik sağda. Seçilmiş projeler kısa liste, Tüm işler filtreli tam liste.
   Palet: beyaz zemin, mürekkep, tek vurgu ege. */
:root {
  --ground: #ffffff;
  --ink: #000000;
  --muted: #595959;
  --line: #dedede;
  --ege: #2f5d6b;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #000000; --ink: #ffffff; --muted: #a6a6a6; --line: #2b2b2b; --ege: #7fb0bf;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #000000; --ink: #ffffff; --muted: #a6a6a6; --line: #2b2b2b; --ege: #7fb0bf;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--ground); z-index: 20; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ege); color: var(--ege); }
:focus-visible { outline: 2px solid var(--ege); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: .01em; }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

.hero { padding-block: 40px 28px; }
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.2rem, 11.4vw, 16.5rem);
  line-height: .9;
  letter-spacing: -.01em;
  white-space: nowrap;
  display: flex;
}
.wordmark span { display: inline-block; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
.wordmark .sp { width: .28em; }
@keyframes rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: end; }
.hero-meta p { margin: 0; max-width: 34ch; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; font-weight: 500; text-wrap: balance; }
.hero-meta .label { justify-self: end; text-align: right; }
.plan { display: block; width: 100%; height: auto; margin-top: 36px; border-top: 1px solid var(--line); }
.plan .grid { stroke: var(--line); stroke-width: 1; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linejoin: miter; }
.plan .thin { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.plan .door { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.plan .room { fill: var(--line); opacity: .45; }
.plan .dim { stroke: var(--ege); stroke-width: 1.6; fill: none; }
.plan text { font-family: var(--font-mono); font-size: 13px; fill: var(--ege); letter-spacing: .06em; }

section { border-top: 1px solid var(--line); }
section .wrap { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: 24px; padding-block: 56px 72px; }
section h2 { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.lead { margin: 0 0 24px; font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.prose p.muted { color: var(--muted); }
.module { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.module b { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 34px; color: var(--ink); }

/* proje ve iş listeleri */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); transition: color .2s; }
.rows li:first-child { border-top: 1px solid var(--line); }
.rows .t { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 3vw, 42px); line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.rows .t i { font-style: normal; font-weight: 400; color: var(--muted); }
.rows .m { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rows .go { text-align: right; }
.rows .go a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.rows li.soon .t { color: var(--muted); font-weight: 500; }
.rows li[hidden] { display: none; }
@media (hover: hover) { .rows li:hover .t { color: var(--ege); } }
.more { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 20px; flex-wrap: wrap; }
.more a { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 20px; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.more a:hover { border-bottom-color: var(--ege); }
.count { font-variant-numeric: tabular-nums; }

#peek { position: fixed; left: 0; top: 0; width: 240px; aspect-ratio: 4 / 3; background: var(--ground); border: 1px solid var(--ink); pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 15; padding: 12px; }
#peek.on { opacity: 1; }
#peek svg { width: 100%; height: 100%; display: block; }
#peek .wall { fill: none; stroke: var(--ink); stroke-width: 7; }
#peek .thin { fill: none; stroke: var(--muted); stroke-width: 1.5; }
#peek .solid { fill: none; stroke: var(--ink); stroke-width: 6; }
@media (hover: none) { #peek { display: none; } }

/* filtre çubuğu */
.filterbar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 4px; padding: 6px; background: var(--ink); color: var(--ground); z-index: 12; transition: transform .3s; max-width: calc(100% - 32px); flex-wrap: wrap; justify-content: center; }
.filterbar.on { transform: translate(-50%, 0); }
.filterbar span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding-inline: 10px; opacity: .65; }
.filterbar button { font: inherit; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: transparent; color: inherit; border: 0; padding: 9px 12px; cursor: pointer; }
.filterbar button[aria-pressed="true"] { background: var(--ground); color: var(--ink); }

.btn { display: inline-block; margin-top: 8px; padding: 14px 22px; background: var(--ink); color: var(--ground); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: var(--ege); color: var(--ground); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-stretch: 105%; font-weight: 600; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.15; }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--ege); padding-top: .7em; }

.issues { list-style: none; margin: 0; padding: 0; }
.issues li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.issues li:first-child { border-top: 1px solid var(--line); }
.issues b { font-weight: 500; }

.contact-big { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(26px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.015em; margin: 0 0 32px; overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.cols p { margin: 6px 0 0; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 90px; }

@media (max-width: 720px) {
  section .wrap { grid-template-columns: 1fr; gap: 14px; padding-block: 40px 52px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta .label { justify-self: start; text-align: left; }
  .rows li { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .rows .t { grid-column: 1 / -1; }
  .rows .go { text-align: right; }
  .issues li { grid-template-columns: 1fr; gap: 2px; }
  nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark span { animation: none; }
  .filterbar { transition: none; }
}

/* ---- üretici eklemeleri ---- */
nav { align-items: center; }
nav .theme { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
nav .theme:hover { background: var(--ink); color: var(--ground); }
nav .theme svg { display: block; }
nav .theme .sun { display: none; }
:root[data-theme="dark"] nav .theme .moon { display: none; }
:root[data-theme="dark"] nav .theme .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) nav .theme .moon { display: none; }
  :root:not([data-theme="light"]) nav .theme .sun { display: block; }
}
.js .rows li.extra:not(.on) { display: none; }
.morewrap { display: flex; justify-content: center; margin-top: 32px; }
.morebtn { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 28px; cursor: pointer; }
.morebtn:hover { background: var(--ink); color: var(--ground); }
.morebtn[hidden] { display: none; }

/* projeler ve ürünler: ortalanmış liste */
section.center { --col: 960px; }
.center .wrap { grid-template-columns: 1fr; justify-items: center; position: relative; z-index: 1; gap: 28px; }
.center .wrap > div { width: 100%; max-width: var(--col); }
.center h2 { text-align: center; padding-top: 0; }
.center .lead { max-width: none; text-align: center; margin-inline: auto; }
.center .prose { margin-inline: auto; }
.center .rows .t { font-size: clamp(20px, 2.2vw, 30px); }
.center .rows.with-thumb li { grid-template-columns: 88px minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.center .note { text-align: center; }

.rows.with-thumb li { grid-template-columns: 88px minmax(0, 3fr) minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.2fr); align-items: center; }
.rows .th { display: block; width: 88px; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.rows .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rows .t a { text-decoration: none; }
.rows .t a:hover { color: var(--ege); }
.rows .go a:hover { color: var(--ege); border-bottom-color: var(--ege); }
#peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
#peek.photo { padding: 0; }
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 36px 24px; }
.card { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.card .ph { display: block; aspect-ratio: 4 / 5; background: var(--line); overflow: hidden; }
.card .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card .cn { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; letter-spacing: -.01em; }
.card .m { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) { .card:hover .ph img { transform: scale(1.04); } .card:hover .cn { color: var(--ege); } }
/* vitrin: ana sayfa kartları */
.vit-cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.vit { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.vit .vph { display: block; aspect-ratio: 3 / 2; background: var(--line); overflow: hidden; }
.vit .vph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vit .vt b { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.02em; line-height: 1; }
.vit .vt i { font-style: normal; color: var(--muted); font-size: 18px; margin-left: 6px; }
.vit .m { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vit .vgo { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--ink); justify-self: start; padding-bottom: 2px; }
@media (hover: hover) { .vit:hover .vph img { transform: scale(1.04); } .vit:hover .vt b { color: var(--ege); } }

/* vitrin: etkileşimli kat planı */
.explorer { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explorer .wrap { padding-block: 32px 56px; }
.ex-head { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.ex-head h2 { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tabs { display: flex; border: 1px solid var(--ink); }
.tabs button { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.ex-head .hint { margin: 0 0 0 auto; }
.ex-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.stage { position: relative; border: 1px solid var(--line); background: var(--line); }
.stage > img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.node { position: absolute; width: clamp(24px, 3.6%, 44px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; padding: 0; display: grid; place-items: center; background: var(--ink); color: var(--ground); border: 2px solid var(--ground); font-family: var(--font-mono); font-weight: 500; font-size: clamp(11px, 1.3vw, 15px); cursor: pointer; z-index: 2; transition: transform .2s, background .2s; }
.node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; pointer-events: none; }
.node.has::after { animation: halka 2.6s ease-out infinite; }
.node:hover, .node.on { transform: translate(-50%, -50%) scale(1.14); background: var(--ege); }
.node.on { z-index: 8; }
.node.on::after { animation: none; }
@keyframes halka { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.pop { position: absolute; z-index: 6; width: min(770px, 94%); background: var(--ground); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 20px 54px rgba(0, 0, 0, .3); }
.pop[hidden] { display: none; }
.pop .pf { margin: 0; aspect-ratio: 3 / 2; background: var(--line); overflow: hidden; }
.pop .pf img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pop .pc { display: grid; gap: 12px; padding: 20px 24px 24px; }
.pop .pt { display: flex; align-items: center; gap: 10px; }
.pop .pt b { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 30px; line-height: 1.1; }
.pop .pn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--ground); font-family: var(--font-mono); font-size: 16px; flex: none; }
.pop .pm { margin-left: auto; font-family: var(--font-mono); font-size: 16px; color: var(--muted); white-space: nowrap; }
.pop .pnav { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 15px; color: var(--muted); }
.pop .pnav button { font: inherit; width: 42px; height: 42px; background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.pop .pnav button:hover { background: var(--ink); color: var(--ground); }
.pop .pnote { margin: 0; font-size: 18px; color: var(--muted); }
.pop .px { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ground); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 1; }
.legend { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.legend li { border-bottom: 1px solid var(--line); }
.legend button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 11px 4px; background: transparent; border: 0; color: inherit; font: inherit; cursor: pointer; }
.legend .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--ground); font-family: var(--font-mono); font-size: 12px; }
.legend .a { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.legend button:hover .t, .legend button[aria-current="true"] .t { color: var(--ege); }
.legend button[aria-current="true"] .n { background: var(--ege); }
@media (max-width: 960px) { .ex-body { grid-template-columns: minmax(0, 1fr); } .ex-head .hint { margin-left: 0; } }
@media (max-width: 720px), (hover: none) {
  .pop { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; top: auto !important; max-height: 82vh; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { .node.has::after { animation: none; } .node, .vit .vph img { transition: none; } }
.pagehead { padding-block: 40px 28px; display: grid; gap: 20px; }
.pagehead .back { text-decoration: none; justify-self: start; }
.ptitle { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.2rem, 7.2vw, 7.5rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.ptitle .sub { font-weight: 400; color: var(--muted); }
.ptitle.issue { font-size: clamp(2rem, 5.4vw, 5.6rem); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 48px; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts dd { margin: 0; }
.gallery { padding-block: 8px 56px; columns: 2; column-gap: 24px; }
.gallery figure { margin: 0 0 24px; break-inside: avoid; background: var(--line); }
.gallery img { display: block; width: 100%; height: auto; }
.article { padding-block: 8px 72px; }
.article .prose { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.article .prose p { margin: 0 0 1.2em; }
.article.product { padding-block: 0 56px; }
.article .prose p.muted { color: var(--muted); font-size: 15px; }
.nextp { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-block: 28px 56px; border-top: 1px solid var(--line); }
.nextp a { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(20px, 2.6vw, 34px); text-decoration: none; }
.nextp a:hover { color: var(--ege); }
@media (max-width: 720px) {
  .rows.with-thumb li, .center .rows.with-thumb li { grid-template-columns: 88px 1fr; }
  .rows.with-thumb .t { grid-column: 2; }
  .rows.with-thumb .th { grid-row: 1 / span 3; }
  .rows.with-thumb .m { grid-column: 2; text-align: left; }
  .gallery { columns: 1; }
}
