/* denizkurtulan.com
   Yon: "The pinned poster" (tasteskill v2, seed 1076298918).
   Renkler: dagitilan "Oxblood and grey" oranlari korundu, renkler isimden (deniz) alindi.
   Hareket: CSS'te sure ya da egri yok; her hareket assets/js/site.js icindeki yaylardan gelir. */

/* ---------- Yazi tipleri (yerel, SIL Open Font License) ---------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; 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;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Work Sans";
  src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; 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;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Work Sans";
  src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; 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;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Ses (tokens) ---------- */
:root {
  --bg: #e3e4e2;        /* gri kagit */
  --surface: #d2d6d5;   /* bir ton koyu: kart ve alanlar */
  --ink: #0c2a35;       /* derin deniz */
  --muted: #3c535d;
  --accent: #0e5466;    /* yalnizca birincil eylem ve menu isareti */
  --accent-ink: #f1f2f0;
  --field: #0c2a35;
  --field-ink: #e3e4e2;
  --field-muted: #a9bcc3;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Bes boy, fazlasi yok */
  --step-small: 0.875rem;                                   /* 14px */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);  /* 17-19px */
  --step-lead: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);     /* 22-34px, ifade boyu */
  --step-head: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);        /* 44-88px */
  --step-display: clamp(5rem, 1.6rem + 16vw, 10rem);        /* isim ve e-posta */

  --margin: clamp(16px, 2.2vw, 32px);
  --bar-h: 64px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.field :focus-visible { outline-color: var(--field-ink); }

.skip {
  position: absolute; left: var(--margin); top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none;
}
.skip:focus { top: 8px; }

/* Hareket edecek ogeler: transform'u tek basina tasir */
[data-press], [data-reveal], .hero-media img, .nav-mark { will-change: transform; }

/* ---------- Ust cubuk ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar-h);
  background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--margin);
}
.wordmark {
  font-family: var(--display); font-size: var(--step-lead); letter-spacing: -0.01em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
  display: inline-block;
}
.nav { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.2vw, 32px); }
.nav a {
  display: inline-block; font-weight: 600; font-size: var(--step-body); text-decoration: none;
  padding: 8px 0;
}
.nav a[aria-current="true"] { color: var(--accent); }
.nav .lang { padding: 8px 12px; background: var(--surface); }
/* Hangi bolumdeyim isareti: kucuk dolu kare, yayla kayar */
.nav-mark {
  position: absolute; left: 0; bottom: 2px; width: 8px; height: 8px;
  background: var(--accent); opacity: 0; pointer-events: none;
}

/* ---------- Giris ekrani ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(600px, calc(100svh - var(--bar-h)));
  display: grid; place-items: center;
  padding: 48px var(--margin);
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.7);
  transform: scale(1.08);
}
.card {
  position: relative; z-index: 1;
  width: min(1180px, 78vw);
  min-height: 62%;
  background: var(--surface);
  padding: 32px;
  display: grid; gap: 40px;
  grid-template-rows: auto 1fr auto;
}
.hero h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: var(--step-display); line-height: 0.86; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; gap: 0.25em; flex-wrap: wrap;
}
.hero h1 span { display: inline-block; }
.card-mid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; font-size: var(--step-lead); line-height: 1.15; }
.lede { font-size: var(--step-lead); line-height: 1.25; max-width: 30ch; }
.card-foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  font-size: var(--step-small);
}
.card-foot .credit { color: var(--muted); max-width: 32ch; }
.card-foot .more { justify-self: end; font-size: var(--step-body); font-weight: 600; }

.button {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-body);
  padding: 16px 28px;
}

/* ---------- Iliskili ifade: sabitlenen cumle, resimler gecer ---------- */
.intro { position: relative; padding-bottom: 12svh; }
.intro-pin {
  position: sticky; top: var(--bar-h); z-index: 2;
  height: calc(100svh - var(--bar-h));
  display: grid; place-items: center start;
  padding-left: var(--margin);
  pointer-events: none;
}
.statement {
  pointer-events: auto;
  max-width: min(46vw, 34ch);
  background: var(--bg);
  padding: 28px 36px;
  font-size: var(--step-lead); line-height: 1.25;
}
.intro-photos {
  position: relative; z-index: 1;
  margin-top: calc(-1 * (100svh - var(--bar-h)));
  padding-top: 18svh;
}
.intro-photos figure { margin: 0 0 30svh; }
.intro-photos figure:last-child { margin-bottom: 0; }
/* resimler sabit cumlenin sutununa girmez: hepsi sag yarida */
.intro-photos .p1 { width: 28vw; margin-left: 56vw; }
.intro-photos .p2 { width: 42vw; margin-left: auto; margin-right: var(--margin); }
.intro-photos .p3 { width: 24vw; margin-left: 62vw; }
figcaption { font-size: var(--step-small); color: var(--muted); padding-top: 10px; }

/* ---------- Hakkimda: iki sutun, vurgulu kelimeler ---------- */
.about { padding: clamp(120px, 14vw, 200px) var(--margin) clamp(80px, 9vw, 140px); }
.about h2, .work h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.story-lead { font-size: var(--step-lead); line-height: 1.25; max-width: 42ch; margin-bottom: 48px; }
.story-lead .hl, .story .hl { color: var(--accent); }
.story {
  columns: 2; column-gap: 48px; max-width: 1100px;
  font-size: var(--step-body); line-height: 1.55;
  color: var(--ink);
}
.story p + p { margin-top: 0.8em; }

/* ---------- Projeler: buyuk adlar dizini ---------- */
.work { background: var(--surface); padding: clamp(100px, 12vw, 180px) var(--margin); }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-list > li + li { margin-top: 12px; }
.work-list details { background: var(--surface); }
.work-list summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 10px 0;
}
.work-list summary::-webkit-details-marker { display: none; }
.work-name {
  display: inline-block;
  font-family: var(--display); text-transform: uppercase;
  font-size: var(--step-head); line-height: 1; letter-spacing: -0.01em;
}
.work-meta { justify-self: end; font-size: var(--step-small); color: var(--muted); text-align: right; }
/* arti isareti: iki dolu cubuk, acilinca yayla 45 derece doner */
.plus { position: relative; width: 28px; height: 28px; display: inline-block; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; top: 12px; width: 28px; height: 4px; background: var(--ink);
}
.plus::after { transform: rotate(90deg); }
.work-body { padding: 8px 0 32px; max-width: 60ch; font-size: var(--step-body); }
.work-list summary:hover .work-name { color: var(--accent); }

/* ---------- Iletisim: adres goruntu harfiyle ---------- */
.field { background: var(--field); color: var(--field-ink); }
.contact {
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 32px;
  padding: clamp(80px, 8vw, 120px) var(--margin) 48px;
}
.contact h2 { font-size: var(--step-lead); line-height: 1.25; max-width: 26ch; font-family: var(--text); }
.email {
  align-self: end; display: inline-block; justify-self: start;
  font-family: var(--display); font-size: min(var(--step-display), 11.5vw);
  line-height: 0.95; letter-spacing: -0.01em; text-decoration: none;
  overflow-wrap: anywhere;
}
.email:hover, .email:focus-visible { color: var(--field-muted); }
.email span { display: block; }
.contact-foot {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: var(--step-small); color: var(--field-muted);
}
.contact-foot a { color: var(--field-ink); font-weight: 600; }

/* ---------- Kapanis ---------- */
.foot { padding: 64px var(--margin) 32px; }
.foot-name {
  font-family: var(--display); text-transform: uppercase;
  /* kapanista isim kenardan kenara: 14 harf Anton ~5.8em, 15vw ile her genislikte sigar */
  font-size: 15vw; line-height: 0.86; letter-spacing: -0.01em;
  white-space: nowrap;
}
.foot-cols {
  margin-top: 48px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
  font-size: var(--step-small); color: var(--field-muted);
}
.foot-cols h2 { font-size: var(--step-small); font-weight: 600; color: var(--field-ink); margin-bottom: 8px; font-family: var(--text); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols a { color: var(--field-ink); }
.foot-cols p + p { margin-top: 8px; }

/* ---------- Betik calisinca: giris hareketi baslangic durumu ----------
   Yalnizca html.js varsa ve hareket azaltma istenmediyse gizli baslar.
   JS kapaliyken ya da reduced-motion'da icerik hep gorunur. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .card { width: 100%; }
  .card-mid { grid-template-columns: 1fr; }
  .intro-photos .p1 { width: 36vw; margin-left: 56vw; }
  .intro-photos .p2 { width: 42vw; }
  .intro-photos .p3 { width: 36vw; margin-left: 56vw; }
}

/* ---------- Telefon: kendi kompozisyonu ---------- */
@media (max-width: 640px) {
  :root { --bar-h: 96px; }
  .bar { flex-wrap: wrap; align-content: center; row-gap: 4px; }
  .nav { width: 100%; justify-content: space-between; }
  .bar .nav { order: 2; }
  .hero { padding: 16px; min-height: calc(100svh - var(--bar-h)); }
  .card { padding: 20px; gap: 28px; min-height: 70svh; }
  .hero h1 { flex-direction: column; gap: 0; }
  .card-foot { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .card-foot .more { justify-self: start; }
  .card-foot .button { width: 100%; text-align: center; }
  /* telefonda cumle sabitlenmez: dar ekranda resimler onun ustunden gecmesin */
  .statement { max-width: none; padding: 0; }
  .intro-pin { position: static; height: auto; display: block; padding: 96px 16px 48px; }
  .intro-photos { margin-top: 0; padding-top: 0; }
  .intro-photos figure { margin-bottom: 18svh; }
  .intro-photos .p1 { width: 64%; margin-left: 16px; }
  .intro-photos .p2 { width: 78%; margin-right: 16px; }
  .intro-photos .p3 { width: 52%; margin-left: 16px; }
  .story { columns: 1; }
  .contact { min-height: 86svh; }
  .work-list summary { grid-template-columns: 1fr auto; row-gap: 4px; }
  .work-meta { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; }
  .contact-foot { flex-direction: column; gap: 12px; }
  .foot-cols { grid-template-columns: 1fr; }
}
