/* ============================================================
   Deniz Ordulu — v2  ·  "Specimen / museum" monokrom yön
   Sociotype-stili: saf siyah-beyaz, hairline çizgiler, 0 radius,
   gölgesiz, tek sakin sans (Inter) + editoryal serif (Playfair).
   ============================================================ */

:root {
  --onyx:     #000000;
  --paper:    #ffffff;
  --charcoal: #1a1818;
  --graphite: #818181;
  --ash:      #9d9d9d;
  --bone:     #d6d6d6;

  --font-ui:      "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --gap: clamp(72px, 12vw, 160px);   /* bölüm aralığı */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* , *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: 0.21px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--onyx); color: var(--paper); }

:focus-visible { outline: 1px solid var(--onyx); outline-offset: 3px; }

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

/* ---------- museum micro-label ---------- */
.label {
  font-size: 11px; line-height: 1.38; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--graphite);
}
.label--ink { color: var(--onyx); }

/* ---------- hairline rule ---------- */
.rule { height: 1px; background: var(--bone); width: 100%; transform-origin: left center; }

/* ============================================================
   NAV — wall text, floats, 1px alt çizgi
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bone);
}
.nav__brand { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--onyx); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.nav__links a { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--onyx); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--onyx); transition: width .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.lang { display: flex; gap: 8px; align-items: center; }
.lang button { font-size: 12px; letter-spacing: 0.06em; color: var(--graphite); }
.lang button[aria-pressed="true"] { color: var(--onyx); text-decoration: underline; text-underline-offset: 3px; }
.nav__burger { display: none; }

/* ============================================================
   HERO — specimen
   ============================================================ */
.hero { position: relative; padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 7vw, 96px); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.hero__featured { max-width: 46ch; }
.hero__featured .label + .label { margin-top: 8px; color: var(--charcoal); letter-spacing: 0.02em; text-transform: none; font-size: 13px; }
.hero__counter { font-size: 16px; letter-spacing: 0.04em; color: var(--graphite); white-space: nowrap; }

.hero__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.4rem, 17vw, 15rem); line-height: 0.96; letter-spacing: -0.01em;
  color: var(--onyx); margin-top: clamp(24px, 5vw, 60px);
}
.hero__name .ln { display: block; overflow: hidden; }
.hero__name .ln i { display: inline-block; font-style: normal; }
.hero__name .it { font-style: italic; }
.hero__role {
  margin-top: clamp(20px, 3vw, 36px); max-width: 40ch;
  font-size: clamp(16px, 2vw, 26px); line-height: 1.22; color: var(--charcoal);
  font-weight: 400; letter-spacing: 0;
}

/* proximity-reveal mikro etiketler */
.plabels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.plabel {
  position: absolute; white-space: nowrap; opacity: 0;
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--onyx); border: 1px solid var(--onyx); padding: 6px 10px; background: var(--paper);
}

/* ============================================================
   META HEADER satırı (specimen breadcrumb)
   ============================================================ */
.meta-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--bone);
}
.section { padding-top: var(--gap); }
.section--tight { padding-top: clamp(48px, 7vw, 96px); }

/* editoryal paragraf */
.lead {
  font-size: clamp(18px, 2.4vw, 26px); line-height: 1.32; color: var(--charcoal);
  max-width: 22ch; font-weight: 400; letter-spacing: 0;
}
.prose { font-size: 16px; line-height: 1.5; color: var(--charcoal); max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }

/* iki kolon: sol etiket rayı + sağ içerik */
.cols { display: grid; grid-template-columns: 160px 1fr; gap: clamp(20px, 4vw, 64px); margin-top: clamp(28px, 4vw, 56px); }
.cols__aside .label { display: block; }

/* ============================================================
   ÇALIŞMALAR — specimen wall (büyük isim satırları)
   ============================================================ */
.work-row {
  position: relative; display: block; padding: clamp(20px, 3vw, 40px) 0;
  border-top: 1px solid var(--ash);
}
.work-list .work-row:last-child { border-bottom: 1px solid var(--ash); }
.work-row__head { display: flex; align-items: baseline; gap: 16px; }
.work-row__index { font-size: 11px; letter-spacing: 0.08em; color: var(--graphite); width: 40px; flex: none; }
.work-row__name {
  font-family: var(--font-display); font-weight: 500; color: var(--onyx);
  font-size: clamp(2.2rem, 8.5vw, 8rem); line-height: 1.02; letter-spacing: -0.01em;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.work-row:hover .work-row__name { transform: translateX(clamp(8px, 2vw, 28px)); }
.work-row__disc { margin-left: auto; align-self: center; }
.work-row__reveal {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.work-row:hover .work-row__reveal { max-height: 200px; opacity: 1; margin-top: 16px; }
.work-row__desc { font-size: 16px; line-height: 1.4; color: var(--charcoal); max-width: 52ch; }
.work-row__more { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--onyx); }

/* arrow link genel */
.arrow::after { content: " →"; }
.arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   HAKKIMDA — facts / timeline / skills (hairline satırlar)
   ============================================================ */
.facts { margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--bone); }
.fact { display: grid; grid-template-columns: 160px 1fr; gap: clamp(16px, 3vw, 48px);
  padding: 22px 0; border-bottom: 1px solid var(--bone); }
.fact h3 { font-size: 14px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--onyx); }
.fact p { font-size: 16px; line-height: 1.45; color: var(--charcoal); max-width: 56ch; }

.tl { margin-top: clamp(28px, 4vw, 56px); }
.tl__head { font-family: var(--font-display); font-weight: 500; color: var(--onyx);
  font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 18px; }
.tl-item { display: grid; grid-template-columns: 160px 1fr; gap: clamp(16px, 3vw, 48px);
  padding: 22px 0; border-top: 1px solid var(--bone); }
.tl-item:last-child { border-bottom: 1px solid var(--bone); }
.tl-item .yr { font-size: 13px; letter-spacing: 0.04em; color: var(--graphite); }
.tl-item h4 { font-size: 18px; font-weight: 400; color: var(--onyx); margin-bottom: 6px; letter-spacing: 0; }
.tl-item p { font-size: 15px; line-height: 1.45; color: var(--charcoal); max-width: 58ch; }

.skills { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 0; }
.skills span { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--onyx);
  padding: 8px 0; }
.skills span::after { content: "/"; color: var(--ash); margin: 0 14px; }
.skills span:last-child::after { content: ""; margin: 0; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact__name { font-family: var(--font-display); font-weight: 500; color: var(--onyx);
  font-size: clamp(3rem, 13vw, 12rem); line-height: 0.96; letter-spacing: -0.01em; }
.contact__lines { margin-top: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.contact__lines a { font-family: var(--font-display); font-weight: 400; color: var(--onyx);
  font-size: clamp(1.5rem, 5vw, 3rem); line-height: 1.15; width: fit-content;
  transition: transform .3s var(--ease); }
.contact__lines a[href^="mailto"] { font-family: var(--font-ui); font-weight: 400; font-size: clamp(1.1rem, 3.4vw, 2rem); }
.contact__lines a:hover { transform: translateX(10px); }
.contact__meta { margin-top: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 8px 28px; }
.contact__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { margin-top: var(--gap); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--bone);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 4vw, 2.4rem); color: var(--onyx); }
.footer__meta { text-align: right; }
.footer__logo { height: 34px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .8; margin: 0 0 10px auto; }
.footer__gm { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   custom cursor dot (mouse takip)
   ============================================================ */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--onyx); pointer-events: none; z-index: 999; mix-blend-mode: difference;
  transform: translate(-50%, -50%); opacity: 0;
}

/* ============================================================
   PORTRE — alt kenar bir çizgiye dayalı (kesik durmasın)
   ============================================================ */
.about-intro {
  display: grid; grid-template-columns: clamp(220px, 28vw, 360px) 1fr;
  gap: clamp(24px, 5vw, 64px); align-items: end;
  margin-top: clamp(28px, 4vw, 56px);
}
.portrait { align-self: end; }
.portrait .frame {
  aspect-ratio: 3 / 4; overflow: hidden;
  border-bottom: 1px solid var(--onyx);   /* foto bu çizgiye basıyor */
}
.portrait img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;   /* alt kısım çizgide biter */
  filter: grayscale(1) contrast(1.04);
}
.portrait figcaption { margin-top: 10px; }

/* ============================================================
   PROJE DETAY (v2)
   ============================================================ */
.proj { padding-top: clamp(20px, 4vw, 44px); }
.proj__back { display: inline-block; }
.proj__name {
  font-family: var(--font-display); font-weight: 500; color: var(--onyx);
  font-size: clamp(3rem, 13vw, 11rem); line-height: 0.98; letter-spacing: -0.01em;
  margin-top: clamp(14px, 3vw, 26px);
}
.proj .lead { margin-top: clamp(20px, 3vw, 34px); max-width: 32ch; }

.proj__facts {
  display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 6vw, 80px);
  margin-top: clamp(28px, 4vw, 48px); padding: 16px 0;
  border-top: 1px solid var(--bone); border-bottom: 1px solid var(--bone);
}
.proj__facts > div .label { display: block; margin-bottom: 5px; }
.proj__facts strong { font-weight: 400; font-size: 15px; color: var(--onyx); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(36px, 6vw, 72px); }
.shot { border: 1px solid var(--bone); overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; background: var(--paper); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .label { color: var(--graphite); }
.shot--hero { grid-column: 1 / -1; aspect-ratio: 16/9; }

.proj__body { max-width: 60ch; margin-top: clamp(36px, 6vw, 72px); }
.proj__nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: clamp(48px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--bone);
}
.proj__nav a { font-family: var(--font-display); font-weight: 500; color: var(--onyx);
  font-size: clamp(1.3rem, 4vw, 2.4rem); }
.proj__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .about-intro { grid-template-columns: 1fr; align-items: start; }
  .portrait { max-width: 300px; }
  .gallery { grid-template-columns: 1fr; }
  .shot--hero { aspect-ratio: 16/10; }
  .nav__links { gap: 16px; }
  .cols, .fact, .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .work-row__reveal { grid-template-columns: 1fr; }
  .work-row__head { flex-wrap: wrap; }
  .work-row__disc { margin-left: 0; }
  .plabels { display: none; }            /* mobilde proximity yok */
  .cursor-dot { display: none; }
  .lead { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .001ms !important; animation: none !important; }
}
