/* Buğrahan Dönmez — site styles */
:root {
  --bg: #0b0b0b;
  --ink: #ecebe6;
  --ink-strong: #f4f3ee;
  --line: rgba(236, 235, 230, 0.14);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
img, video { display: block; }
em { font-style: italic; }

.label { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; }
.meta  { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .55; white-space: nowrap; }
.rule  { display: block; width: 40px; height: 1px; background: rgba(236,235,230,.35); }

/* Page frame */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 36px 48px 32px;
}
.page--locked { height: 100vh; height: 100dvh; overflow: hidden; gap: 0; }

.top {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  position: relative; z-index: 2;
}
.wordmark { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.nav { display: flex; gap: 40px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.nav a { opacity: .72; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom: 1px solid rgba(236,235,230,.6); padding-bottom: 2px; }

.foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; opacity: .45;
  position: relative; z-index: 2;
}
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Home ---------- */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: var(--bg);
}
.hero-video--tall { display: none; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,.3) 0%, rgba(11,11,11,0) 40%, rgba(11,11,11,.7) 100%);
}
.hero-shade--flat { background: var(--bg); opacity: .15; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(236,235,230,.4); pointer-events: none; }
.corner--tl { left: 48px; top: 92px; border-left-width: 1px; border-top-width: 1px; }
.corner--tr { right: 48px; top: 92px; border-right-width: 1px; border-top-width: 1px; }
.corner--bl { left: 48px; bottom: 92px; border-left-width: 1px; border-bottom-width: 1px; }
.corner--br { right: 48px; bottom: 92px; border-right-width: 1px; border-bottom-width: 1px; }

.hero-bottom {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-title { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.hero-role { margin: 0; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; opacity: .72; }
.hero-name {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 76px; line-height: .95; letter-spacing: -0.02em; color: var(--ink-strong);
}
.hero-name em { color: #fff; }
.hero-city { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; opacity: .5; white-space: nowrap; }

/* ---------- Work ---------- */
.work { display: flex; flex-direction: column; gap: 72px; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.section-title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--ink-strong);
}
.hint { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .5; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.card { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.card__still { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #161616; }
.card__still img {
  width: 100%; height: 100%; object-fit: cover; opacity: .92;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .4s;
}
.card:hover .card__still img { transform: scale(1.03); opacity: 1; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__title { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.play {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink);
  opacity: .75; transition: opacity .3s;
}
.card:hover .play { opacity: 1; }
.play__dot {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(236,235,230,.6); align-items: center; justify-content: center;
}

/* Pop-ups */
.modal {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(11,11,11,.97);
  display: none; align-items: center; justify-content: center;
  padding: 64px 48px; overflow-y: auto;
}
.modal[open], .modal.is-open { display: flex; animation: fade .35s ease-out; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal__close {
  position: absolute; top: 36px; right: 48px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; opacity: .7;
}
.modal__close:hover { opacity: 1; }
.sheet {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px;
  align-items: center; width: 100%; max-width: 1240px;
}
.sheet img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sheet__text { display: flex; flex-direction: column; gap: 24px; }
.sheet__head { display: flex; flex-direction: column; gap: 8px; }
.sheet__title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 48px; line-height: 1; letter-spacing: -0.02em; color: var(--ink-strong);
}
.sheet__credit { font-size: 12px; letter-spacing: 0.08em; opacity: .5; margin-top: 6px; }
.sheet__credit em { font-family: var(--serif); font-size: 15px; letter-spacing: 0; }
.sheet__en { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-strong); }
.sheet__tr { margin: 0; font-size: 15px; line-height: 1.65; opacity: .7; }

.sheet--video { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.bio-en { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-strong); max-width: 580px; }
.bio-tr { margin: 0; font-size: 15px; line-height: 1.7; opacity: .65; max-width: 580px; }
.enquiries { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: .72; align-self: flex-start; }
.portrait { width: 100%; aspect-ratio: 4 / 3; margin-top: 39px; overflow: hidden; background: #161616; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-direction: column; gap: 40px; }
.contact__block { display: flex; flex-direction: column; gap: 20px; }
.contact__for { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: .5; }
.mail {
  font-family: var(--serif); font-size: 32px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink-strong); word-break: break-word; align-self: flex-start;
  border-bottom: 1px solid rgba(236,235,230,.3); padding-bottom: 4px;
}
.contact__city { font-size: 14px; line-height: 1.6; opacity: .6; }
.links { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.links__row { display: flex; gap: 32px; }
.links__row a { opacity: .72; min-height: 44px; display: inline-flex; align-items: center; }
.links__row a:hover { opacity: 1; }
.copyright { font-size: 10px; letter-spacing: 0.26em; opacity: .45; }

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .page { padding: 24px 20px 28px; gap: 40px; }
  .nav { gap: 18px; font-size: 11px; }
  .wordmark { font-size: 11px; letter-spacing: 0.16em; }
  .corner { display: none; }
  .hero-video--wide { display: none; }
  .hero-video--tall { display: block; }
  .hero-name { font-size: 40px; }
  .grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .hint { display: none; }
  .section-title { font-size: 34px; }
  .modal { padding: 84px 20px 40px; align-items: flex-start; }
  .modal__close { top: 20px; right: 20px; }
  .sheet { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .sheet__title { font-size: 38px; }
  .about { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 36px; }
  .portrait { margin-top: 0; }
  .mail { font-size: 22px; }
  .links { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .card__still img, .play, .modal { transition: none; animation: none; }
}
