/* Nesil Yazılım — site.css */

:root {
  --paper: #F3EFE6;
  --paper-2: #EAE5D9;
  --card: #FBF9F4;
  --ink: #16140F;
  --ink-2: #3A362E;
  --muted: #6E685C;
  --line: #D8D1C2;
  --line-soft: #E4DED1;
  --accent: #D9481C;
  --accent-ink: #B23A14;
  --ok: #2F7A4B;

  --f-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); letter-spacing: -0.035em; line-height: 1.0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
em.s, .s { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; line-height: 1.55; }
.label {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.label b { color: var(--accent); font-weight: 500; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--r); transition: background .15s, color .15s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent); margin-top: 2px; border-radius: 2px;
}
.nav .btn { margin-left: 10px; color: var(--paper); }
.nav .btn:hover { background: var(--accent); color: #fff; }
.nav .btn[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav .btn[aria-current="page"]::after { display: none; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card);
  border-radius: var(--r); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-ink); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; border-radius: var(--r); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.98rem/1 var(--f-sans); text-decoration: none; cursor: pointer;
  padding: 14px 20px; border-radius: var(--r); border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 10px 14px; font-size: 0.9rem; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

.link {
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px;
  transition: color .15s;
}
.link:hover { color: var(--accent-ink); }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--tight { padding: clamp(48px, 7vw, 80px) 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ink .label { color: #9C9585; }
.sec--ink .lead { color: #CFC8B8; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
.sec-head .label { margin-bottom: 18px; display: block; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 34em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 0; position: relative; }
.hero-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.hero h1 { max-width: 12.5em; }
.hero h1 .s { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-aside { border-left: 1px solid var(--line); padding-left: 28px; font-size: 0.95rem; color: var(--ink-2); }
.hero-aside dl { margin: 0; display: grid; gap: 14px; }
.hero-aside dt { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hero-aside dd { margin: 2px 0 0; font-weight: 500; color: var(--ink); }
.hero-aside a { text-decoration: none; }
.hero-aside a:hover { color: var(--accent-ink); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .hero-aside dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-aside dl { grid-template-columns: 1fr; }
  .hero-top .label + .label { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- product window (hero visual) ---------- */
.shot { margin-top: clamp(48px, 7vw, 88px); position: relative; }
.shot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 46%; bottom: 0; background: var(--ink); z-index: 0;
}
.shot .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 88px); }
.win {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 30px 60px -30px rgba(22,20,15,.45);
}
.win-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: #F6F3EC; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-url { flex: 1; max-width: 380px; margin: 0 auto; text-align: center; font: 0.75rem var(--f-mono); color: var(--muted); background: var(--paper); border-radius: 4px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
.win-side { border-right: 1px solid var(--line-soft); padding: 16px 12px; font-size: 0.85rem; }
.win-side .ws-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 8px 14px; }
.win-side .ws-brand img { width: 18px; height: 18px; }
.win-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.win-side li { padding: 7px 8px; border-radius: 4px; color: var(--ink-2); display: flex; justify-content: space-between; }
.win-side li.on { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.win-side li small { font-family: var(--f-mono); color: var(--muted); font-size: .72rem; }
.win-main { padding: 20px 22px; min-width: 0; }
.wm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wm-head h4 { font-size: 1.05rem; }
.wm-head span { font: .75rem var(--f-mono); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 12px; }
.kpi small { display: block; font-size: .72rem; color: var(--muted); }
.kpi b { font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi b.warn { color: var(--accent-ink); }
.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.tbl td.num { text-align: right; }
.tbl th.num { text-align: right; }
.tag { display: inline-block; font: 500 .7rem/1 var(--f-mono); padding: 4px 6px; border-radius: 3px; background: var(--paper-2); color: var(--ink-2); }
.tag--low { background: #F7DED3; color: var(--accent-ink); }
.tag--ok { background: #DCEBDF; color: var(--ok); }
@media (max-width: 760px) {
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .win-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .tbl .hide-sm { display: none; }
}
.shot-cap { color: #9C9585; font-size: .85rem; margin-top: 16px; display: flex; gap: 10px; align-items: center; }
.shot-cap::before { content: ""; width: 24px; height: 1px; background: #5B564C; }

/* ---------- services list ---------- */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a, .svc .row {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) 32px; gap: 24px; align-items: baseline;
  padding: 28px 0; text-decoration: none; transition: background .2s, padding .2s;
}
.svc .n { font: .8rem var(--f-mono); color: var(--muted); }
.svc h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.svc p { margin: 0; color: var(--ink-2); }
.svc .go { font-size: 1.2rem; color: var(--muted); transition: transform .2s, color .2s; justify-self: end; }
.svc a:hover { background: var(--card); padding-left: 16px; padding-right: 16px; }
.svc a:hover .go { color: var(--accent); transform: translateX(4px); }
.svc a:hover h3 { color: var(--accent-ink); }
@media (max-width: 760px) {
  .svc a, .svc .row { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 22px 0; }
  .svc p { grid-column: 2; }
  .svc .go { display: none; }
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 8px 0; border-top: 1px solid #3A362E; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid #3A362E; }
.step .label { color: var(--accent); display: block; margin-bottom: 28px; }
.step h3 { margin-bottom: 10px; }
.step p { color: #CFC8B8; font-size: .97rem; }
.step .t { font: .75rem var(--f-mono); color: #9C9585; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-left: 0; padding-left: 0; padding-right: 0; }
  .step .label { margin-bottom: 14px; }
}

/* ---------- products ---------- */
.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s;
}
.prod:hover { border-color: var(--ink); }
.prod .ico { width: 40px; height: 40px; color: var(--ink); }
.prod h3 { font-size: 1.35rem; }
.prod p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.prod ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.prod li { padding-left: 18px; position: relative; }
.prod li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--accent); }
.prod .foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 960px) { .prods { grid-template-columns: 1fr; } }

/* ---------- principles ---------- */
.pr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pr h3 { margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.pr h3 .label { color: var(--accent); }
.pr p { color: var(--ink-2); margin: 0; }
.pr--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.pr .mv { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); margin-top: 14px; }
@media (max-width: 860px) { .pr, .pr--2 { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- quote / statement ---------- */
.statement { font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 500; max-width: 22em; }
.statement .s { color: var(--accent); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent-ink); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }
.faq .a p:last-child { margin: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 72px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 14em; }
.cta p { margin: 18px 0 0; color: #FCE3D8; max-width: 32em; }
.cta .acts { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 240px; }
.cta .btn { background: var(--ink); border-color: var(--ink); justify-content: space-between; }
.cta .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .cta .acts { min-width: 0; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #CFC8B8; font-size: .95rem; }
.ftr .wrap { padding-top: 64px; padding-bottom: 32px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2E2B24; }
.ftr img { height: 32px; width: auto; margin-bottom: 18px; }
.ftr p { max-width: 26em; color: #9C9585; }
.ftr h4 { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #7A7366; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; color: #E6E0D2; }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: #7A7366; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.phero .label { display: block; margin-bottom: 22px; }
.phero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 14em; }
.phero h1 .s { color: var(--accent); }
.phero .lead { margin-top: 24px; }
.crumbs { font: .78rem var(--f-mono); color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- service detail blocks ---------- */
.sd { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.sd:first-child { padding-top: 0; }
.sd .n { font: .85rem var(--f-mono); color: var(--accent); padding-top: 6px; }
.sd h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.sd p { color: var(--ink-2); }
.sd ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.sd li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 12px; }
.sd li::before { content: "—"; color: var(--accent); }
.sd .for { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.sd .for b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .sd { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.pd:first-child { padding-top: 0; }
.pd h2 { margin: 14px 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pd p { color: var(--ink-2); }
.pd .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 24px 0 28px; padding: 0; list-style: none; }
.pd .feat li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .95rem; }
.pd .mini { margin-top: 8px; }
@media (max-width: 860px) { .pd { grid-template-columns: minmax(0, 1fr); } .pd .feat { grid-template-columns: 1fr; } }
.mock { overflow: hidden; }
@media (max-width: 420px) { .mock .tbl td, .mock .tbl th { padding-left: 4px; padding-right: 4px; } }

/* mini mock panels for products */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px; font-size: .82rem; box-shadow: 0 24px 48px -32px rgba(22,20,15,.4); }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 600; }
.mock-h span { font: .72rem var(--f-mono); color: var(--muted); font-weight: 400; }
.bars { display: flex; align-items: end; gap: 8px; height: 140px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.bars i { flex: 1; background: var(--ink); border-radius: 2px 2px 0 0; }
.bars i.a { background: var(--accent); }
.bars-x { display: flex; gap: 8px; font: .68rem var(--f-mono); color: var(--muted); padding-top: 6px; }
.bars-x span { flex: 1; text-align: center; }
.flow { display: grid; gap: 8px; }
.flow .node { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--paper); display: flex; justify-content: space-between; align-items: center; }
.flow .node.on { border-color: var(--ink); background: var(--card); }
.flow .link-v { width: 1px; height: 14px; background: var(--line); margin-left: 22px; }
.flow .node small { font: .7rem var(--f-mono); color: var(--muted); }

/* ---------- references ---------- */
.ref-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ref-filter button {
  font: 500 .92rem var(--f-sans); padding: 9px 14px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); transition: all .15s;
}
.ref-filter button span { font: .72rem var(--f-mono); color: var(--muted); margin-left: 4px; }
.ref-filter button:hover { border-color: var(--ink); color: var(--ink); }
.ref-filter button.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ref-filter button.is-on span { color: #9C9585; }
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ref {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s;
}
.ref:hover { border-color: var(--ink); transform: translateY(-2px); }
.ref[hidden] { display: none; }
.ref-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.ref-mono {
  width: 52px; height: 52px; border-radius: 6px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em;
}
.ref-logo { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
.ref-meta { font: .74rem var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: right; }
.ref-ornek { font-style: normal; background: #F7DED3; color: var(--accent-ink); padding: 2px 6px; border-radius: 3px; margin-left: 4px; }
.ref h3 { font-size: 1.3rem; }
.ref .ref-sec { color: var(--accent-ink); font-weight: 500; font-size: .95rem; margin: 0; }
.ref p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.ref-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ref-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tags li { font: .72rem var(--f-mono); padding: 4px 7px; border-radius: 3px; background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 960px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .refs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 72px; }
.story .body p { font-size: 1.08rem; color: var(--ink-2); }
.story .body p:first-child::first-letter { font-family: var(--f-serif); font-size: 3.6em; float: left; line-height: .9; margin: 6px 10px 0 0; color: var(--accent); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 28px 24px 28px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 1.15rem; margin-top: 8px; letter-spacing: -.01em; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px 80px; align-items: start; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo a, .cinfo div { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cinfo b { display: block; font-size: 1.2rem; letter-spacing: -.01em; margin-top: 4px; font-weight: 600; }
.cinfo a:hover b { color: var(--accent-ink); }
.cinfo .note { font-size: .9rem; color: var(--muted); margin-top: 4px; display: block; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 4vw, 40px); }
.form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; }
.fld { display: grid; gap: 6px; margin-bottom: 18px; }
.fld label, .fld legend { font-size: .88rem; font-weight: 600; }
.fld label span, .fld legend span { color: var(--muted); font-weight: 400; }
.fld input, .fld textarea, .fld select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; width: 100%; transition: border-color .15s, background .15s;
}
.fld textarea { min-height: 140px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--ink); background: #fff; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .fld-row { grid-template-columns: 1fr; } }
fieldset.fld { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; font-weight: 500; font-size: .9rem; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; cursor: pointer; color: var(--ink-2) !important; background: var(--paper); transition: all .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper) !important; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .85rem; max-width: 26em; }
.form-msg { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); font-size: .95rem; display: none; }
.form-msg.ok { display: block; background: #DCEBDF; color: #1E5233; }
.form-msg.err { display: block; background: #F7DED3; color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .big { font: 700 clamp(6rem, 20vw, 12rem)/1 var(--f-sans); letter-spacing: -.06em; }
.nf .big span { color: var(--accent); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
