/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/f01.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/f02.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f03.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f04.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f05.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f06.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 {
  --bg: #0C0F15;
  --surface: #141926;
  --line: #232B3B;
  --ink: #EAE7DE;
  --muted: #8D97A8;
  --accent: #E5C74D;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */

header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
}

.wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark b { color: var(--accent); font-weight: 500; }

nav { display: flex; gap: 1.75rem; }

nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

nav a:hover, nav a:focus-visible { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.dil {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23E5C74D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  border: 1px solid var(--line);
  padding: 0.45rem 1.9rem 0.45rem 0.7rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.dil:hover { border-color: var(--accent); }
.dil:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dil option { background: var(--surface); color: var(--ink); }

div[lang="ar"] .dil {
  background-position: left 0.65rem center;
  padding: 0.45rem 0.7rem 0.45rem 1.9rem;
}

/* ---------- hero ---------- */

.hero { padding: 7rem 0 5.5rem; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-weight: 800;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero h1 .soy { color: var(--muted); }

.hero-rule {
  width: 5.5rem;
  height: 3px;
  background: var(--accent);
  margin: 2.5rem 0 1.5rem;
}

.hero p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}

.portre {
  position: relative;
  width: clamp(220px, 26vw, 320px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.portre img { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .portre { order: -1; width: min(240px, 70%); }
}

/* ---------- sections ---------- */

section { padding: 4.5rem 0; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.sec-head h2 {
  font-weight: 700;
  font-variation-settings: 'wdth' 112;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
}

.sec-head .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* ---------- hakkında ---------- */

.bio { max-width: 40rem; }

.bio p + p { margin-top: 1.25rem; }

.bio .placeholder-note {
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
  font-style: italic;
}

.timeline {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.tl-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.tl-years {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.tl-item p { color: var(--muted); font-size: 0.9375rem; }

.tl-item p b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
}

@media (max-width: 640px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.35rem; }
}

.alt-bolum { margin-top: 3.75rem; }

.alt-baslik {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.bio-not {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 40rem;
}

.kisisel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0;
}

.kisisel > div { border-top: 1px solid var(--line); padding-top: 1rem; }

.kisisel dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.kisisel dd { margin: 0; font-size: 0.9375rem; }

.sirketler {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sirket {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.6rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sirket .rol {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.sirket h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.sirket p { color: var(--muted); font-size: 0.9rem; }

.contact-links a.eposta { text-transform: none; letter-spacing: 0.08em; }

@media (max-width: 640px) {
  .kisisel { grid-template-columns: 1fr; }
  .sirketler { grid-template-columns: 1fr; }
}

/* ---------- galeri ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 2rem;
}

figure.foto { grid-column: span 1; }
figure.foto.genis { grid-column: span 2; }

.frame {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--line) 45%, transparent) 14px 15px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.frame.r43 { aspect-ratio: 4 / 3; }
.frame.r32 { aspect-ratio: 3 / 2; }
.frame.r219 { aspect-ratio: 21 / 9; }

.frame span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
}

.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

figcaption {
  margin-top: 1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

figcaption::before {
  content: "";
  flex: 0 0 auto;
  width: 1.1rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.65rem;
}

figcaption p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 34rem;
}

figcaption p b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

figcaption .kat {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}


/* ---------- iletişim ---------- */

.contact { border-top: 1px solid var(--line); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.9rem 1.5rem;
  transition: border-color 0.2s, color 0.2s;
}

.contact-links a:hover, .contact-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- arapça (rtl) ---------- */

/* Bitişik yazıda harf aralığı harfleri koparır; Arapçada sıfırlanır. */
div[lang="ar"] nav a,
div[lang="ar"] h2,
div[lang="ar"] .eyebrow,
div[lang="ar"] .tag,
div[lang="ar"] .alt-baslik,
div[lang="ar"] .rol,
div[lang="ar"] .kisisel dt,
div[lang="ar"] .tl-item p b,
div[lang="ar"] figcaption p b {
  letter-spacing: 0;
}

/* ---------- motion ---------- */

.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  figure.foto.genis { grid-column: span 1; }
  nav { display: none; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .header-in { flex-wrap: wrap; row-gap: 0.15rem; }
}
