/* ============================================================
   Deniz Sancar - personal site
   Editorial founder-minimal. Photography forward, quiet motion.
   ============================================================ */

:root {
  --bg: #F7F5F1;        /* warm off white canvas */
  --bg-card: #FFFFFF;
  --bg-deep: #111111;   /* dark sections */
  --fg: #111111;
  --muted: #6B6B6B;
  --faint: #9A968E;
  --line: #E4DFD6;      /* hairlines */
  --line-dark: #2A2A2A;
  --accent: #111111;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow { max-width: 760px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-lead { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--fg); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: #111; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 17px 38px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247,245,241,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  line-height: 0.98;
  letter-spacing: 0.22em;
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  transition: color .4s var(--ease);
}
.wordmark-line { display: block; }
/* over the hero the header text is white, after scroll it goes dark */
.site-header.scrolled .wordmark,
.site-header.scrolled .nav a { color: var(--fg); }
.site-header.scrolled .nav a::after { background: var(--fg); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: color .4s var(--ease), opacity .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }
.site-header:not(.scrolled) .nav-cta { background: #fff; color: #111; }

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 30px; height: 24px;
  position: relative; cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block; position: absolute; left: 0;
  width: 100%; height: 2px; background: #fff;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 7px; }
.menu-toggle span:nth-child(2) { bottom: 7px; }
.site-header.scrolled .menu-toggle span { background: var(--fg); }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(2px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-2px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  background: rgba(247,245,241,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(56px, 10vh, 120px);
  background: linear-gradient(to top, rgba(10,10,10,.72) 0%, rgba(10,10,10,.28) 45%, rgba(10,10,10,0) 80%);
  padding-top: 160px;
}
.hero-kicker {
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 8ch;            /* stacks "Deniz" over "Sancar", keeps text off the subject */
}
.hero-sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 2.2vw, 22px);
  max-width: 30ch;           /* keeps the subheading in the left column */
  margin: 22px 0 34px;
  text-shadow: 0 1px 24px rgba(0,0,0,.28);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   PROOF
   ============================================================ */
.proof {
  padding: clamp(54px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.proof .eyebrow { text-align: center; }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  margin-bottom: 30px;
}
.logo-chip {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 500;
  color: #B7B2A8;
  letter-spacing: 0.01em;
  transition: color .4s var(--ease);
}
.logo-chip:hover { color: var(--fg); }
.proof-line { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  padding: clamp(80px, 14vw, 170px) 0;
  text-align: center;
}
.statement-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.statement-body {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   FEATURE IMAGE
   ============================================================ */
.feature-image { padding: 0 0 clamp(70px, 11vw, 150px); }
.ph-wide {
  height: clamp(360px, 60vh, 680px);
  margin: 0 var(--gutter);
  border-radius: 4px;
}

/* ---------- Real photos (object-fit cover) ---------- */
.hero .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.story-media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.feature-media {
  height: clamp(360px, 60vh, 680px);
  margin: 0 var(--gutter);
  border-radius: 4px;
  overflow: hidden;
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.2s var(--ease);
}
.feature-media:hover img { transform: scale(1.04); }

/* ============================================================
   VENTURES
   ============================================================ */
.ventures { padding: clamp(70px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.venture {
  background: var(--bg-card);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background .4s var(--ease);
}
.venture:hover { background: #FCFBF9; }
.venture--full { grid-column: 1 / -1; }
.venture-top { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.venture-mark {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.venture-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  letter-spacing: -0.01em;
}
.venture-desc { color: var(--muted); font-size: 16px; margin: 0 0 26px; }
.venture-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
}
.venture-link span { transition: transform .4s var(--ease); }
.venture-link:hover span { transform: translateX(5px); }
.venture-link { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .35s var(--ease); }
.venture-link:hover { border-bottom-color: var(--fg); }

/* ============================================================
   BELIEFS
   ============================================================ */
.beliefs {
  padding: clamp(80px, 13vw, 170px) 0;
  background: var(--bg-deep);
  color: #EDEAE4;
}
.beliefs .eyebrow { color: #76726B; }
.beliefs .section-title { color: #fff; }
.beliefs-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.beliefs-body { color: #A9A49B; font-size: 18px; margin: 26px 0 0; }
.frameworks { list-style: none; margin: 0; padding: 0; }
.frameworks li {
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}
.frameworks li:last-child { border-bottom: 1px solid var(--line-dark); }
.fw-name { font-family: var(--serif); font-size: 22px; color: #fff; }
.fw-desc { color: #94908A; font-size: 15px; align-self: center; }

/* ============================================================
   STORY
   ============================================================ */
.story { padding: clamp(80px, 13vw, 170px) 0; }
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.story-text p { color: var(--muted); font-size: 17px; }
.story-text .section-title { margin-bottom: 22px; }
.pull {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  color: var(--fg);
  margin: 34px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--fg);
}

/* ============================================================
   WATCH
   ============================================================ */
.watch { padding: clamp(70px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}
.video { display: flex; flex-direction: column; }
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.video:hover .video-thumb img { transform: scale(1.05); }
.video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(17,17,17,.6);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.video-play::after {
  content: "";
  position: absolute;
  left: 54%; top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.video:hover .video-play { background: #111; transform: translate(-50%,-50%) scale(1.06); }
.video-meta { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.video-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.video-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.22;
  color: var(--fg);
}
.text-link {
  font-size: 15px; font-weight: 600;
  display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .35s var(--ease);
}
.text-link span { transition: transform .4s var(--ease); }
.text-link:hover { border-bottom-color: var(--fg); }
.text-link:hover span { transform: translateX(5px); }

/* ============================================================
   PRESS
   ============================================================ */
.press { padding: clamp(70px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press-item { border-bottom: 1px solid var(--line); }
.press-item a,
.press-item--empty {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px 6px;
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.press-item a:hover { background: #FCFBF9; padding-left: 16px; }
.press-outlet {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}
.press-headline { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.2; color: var(--fg); }
.press-go { font-size: 22px; color: var(--faint); transition: transform .4s var(--ease), color .4s var(--ease); }
.press-item a:hover .press-go { transform: translateX(6px); color: var(--fg); }
.press-item--empty { opacity: .5; }
.press-item--empty .press-headline { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(90px, 15vw, 200px) 0; text-align: center; }
.contact-inner .eyebrow { text-align: center; }
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.contact-lead { color: var(--muted); font-size: 19px; max-width: 500px; margin: 0 auto 40px; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin: 0 0 44px;
}
.social-link {
  font-family: var(--serif);
  font-size: clamp(21px, 3.2vw, 32px);
  color: var(--fg);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .35s var(--ease), opacity .35s var(--ease);
}
.social-link:hover { border-bottom-color: var(--fg); }
.contact-email {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--muted);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 3px;
  transition: color .3s var(--ease);
}
.contact-email:hover { color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-deep); color: #BDB8B0; padding: clamp(60px, 8vw, 90px) 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.wordmark-footer { color: #fff; font-size: 16px; }
.footer-tag { font-size: 14px; color: #807C75; max-width: 280px; margin: 20px 0 0; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6A665F; margin-bottom: 6px;
}
.footer-nav a { font-size: 15px; color: #C4BFB7; width: fit-content; transition: color .3s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: #6A665F;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   PLACEHOLDERS  (swap these for real photos later)
   ============================================================ */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, #2b2b2b 0%, #161616 60%, #232323 100%);
  color: rgba(255,255,255,.62);
  overflow: hidden;
}
.ph-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.9;
  padding: 20px;
}
.ph-label small {
  display: block;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
}
.ph-portrait { aspect-ratio: 4 / 5; border-radius: 4px; }
.ph-post { position: relative; }
.ph-post::after {
  content: "needs link";
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
}

/* a faint marker on links that still need a URL */
[data-needs-url] { position: relative; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .post:hover { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.open { display: flex; }
  .beliefs-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid { grid-template-columns: 1fr; }
  .ph-portrait { max-width: 460px; }
  .story-media { max-width: 460px; margin: 0 auto; }
  .video-grid { grid-template-columns: 1fr; gap: 36px; }
  .press-item a, .press-item--empty { grid-template-columns: 1fr; gap: 8px; padding-left: 6px; }
  .press-item a:hover { padding-left: 6px; }
  .press-go { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .venture-grid { grid-template-columns: 1fr; }
  .frameworks li { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
