/* ==========================================================================
   PERDE ALAÇATI — Perde · Tekstil · Mekân
   style.css
   --------------------------------------------------------------------------
   01. Tokens
   02. Reset & temel tipografi
   03. Yerleşim yardımcıları
   04. Bağlantılar & mikro etkileşimler
   05. Header / Navigasyon
   06. Hero alanları
   07. Ana sayfa bölümleri
   08. Hakkımızda
   09. Modellerimiz (katalog + lightbox)
   10. İletişim (form + harita)
   11. Footer
   12. Scroll reveal
   13. Duyarlı tasarım
   ========================================================================== */

/* ---------- 01. Tokens ---------------------------------------------------- */

:root {
  /* Renk */
  --bg-main:        #FAF8F3;   /* Warm Ivory  */
  --bg-light:       #F3F0E9;   /* Chalk White */
  --linen:          #DDD3C4;   /* Natural Linen */
  --stone:          #C8BBA8;   /* Alaçatı Stone */
  --olive:          #797A6D;   /* Olive Grey  */
  --text-dark:      #292722;   /* Dark Espresso */
  --text-soft:      #65635E;
  --line:           rgba(41, 39, 34, 0.16);
  --line-soft:      rgba(41, 39, 34, 0.09);
  --line-invert:    rgba(250, 248, 243, 0.20);

  /* Tipografi */
  --font-display: "EB Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:    clamp(2.4rem, 4.9vw, 4.5rem);
  --fs-h1:      clamp(2.25rem, 4.9vw, 4.15rem);
  --fs-h2:      clamp(1.85rem, 3.4vw, 2.9rem);
  --fs-h3:      clamp(1.375rem, 2vw, 1.8rem);
  --fs-lead:    clamp(1.0625rem, 1.35vw, 1.3125rem);
  --fs-body:    clamp(0.9375rem, 1.02vw, 1.0625rem);
  --fs-small:   0.8125rem;
  --fs-label:   0.6875rem;

  /* Ritim */
  --container:   1320px;
  --gutter:      clamp(1.375rem, 4vw, 4rem);
  --section:     clamp(4.5rem, 11vw, 11rem);
  --section-lg:  clamp(6rem, 14vw, 13.5rem);

  /* Hareket */
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 0.84, 0.44, 1);
  --dur:       700ms;
}

/* ---------- 02. Reset & temel tipografi ----------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.16; }

p { margin: 0 0 1.35em; }
p:last-child { margin-bottom: 0; }

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

figure { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--text-dark);
  color: var(--bg-main);
}

:focus-visible {
  outline: 1px solid var(--text-dark);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--text-dark);
  color: var(--bg-main);
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 03. Yerleşim yardımcıları ------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1600px; }

main { display: block; }

section { position: relative; }

.section       { padding-block: var(--section); }
.section--lg   { padding-block: var(--section-lg); }
.section--tight{ padding-block: calc(var(--section) * 0.62); }
.section--flush { padding-top: 0; }

.bg-chalk { background: var(--bg-light); }

.bg-espresso {
  background: var(--text-dark);
  color: var(--bg-main);
}
.bg-espresso h2,
.bg-espresso h3 { color: var(--bg-main); }
.bg-espresso .label { color: var(--stone); }
.bg-espresso .lead,
.bg-espresso p { color: rgba(250, 248, 243, 0.72); }

/* Bölüm etiketi */
.label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-soft);
  max-width: 46ch;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.measure { max-width: 58ch; }

/* Numaralandırma */
.index-num {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--olive);
}

/* Görsel çerçeveleri */
.frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--linen);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}

.ratio-2-3   { aspect-ratio: 2 / 3; }
.ratio-3-4   { aspect-ratio: 3 / 4; }
.ratio-1-1   { aspect-ratio: 1 / 1; }
.ratio-4-3   { aspect-ratio: 4 / 3; }
.ratio-3-2   { aspect-ratio: 3 / 2; }
.ratio-16-9  { aspect-ratio: 16 / 9; }
.ratio-2-1   { aspect-ratio: 2 / 1; }

/* ---------- 04. Bağlantılar & mikro etkileşimler --------------------------- */

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

/* Editoryal metin bağlantısı */
.link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7em;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding-bottom: 0.55em;
  border-bottom: 1px solid var(--line);
  transition: border-color 400ms var(--ease), color 400ms var(--ease);
}

.link .arrow {
  display: inline-block;
  transition: transform 450ms var(--ease);
}

.link:hover,
.link:focus-visible { border-bottom-color: var(--text-dark); }
.link:hover .arrow,
.link:focus-visible .arrow { transform: translateX(5px); }

.bg-espresso .link {
  color: var(--bg-main);
  border-bottom-color: var(--line-invert);
}
.bg-espresso .link:hover { border-bottom-color: var(--bg-main); }

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* Düğme (form) */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-main);
  background: var(--text-dark);
  border: 1px solid var(--text-dark);
  border-radius: 0;
  padding: 1.15rem 2.25rem;
  cursor: pointer;
  transition: background 450ms var(--ease), color 450ms var(--ease);
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--text-dark);
}
.button:hover .arrow { transform: translateX(5px); }
.button .arrow { transition: transform 450ms var(--ease); }

/* ---------- 05. Header / Navigasyon --------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 86px;
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border-bottom: 1px solid var(--line-soft);
  transition: background 500ms var(--ease), height 500ms var(--ease),
              border-color 500ms var(--ease), color 500ms var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

/* Hero üzerinde şeffaf başlık */
body.has-overlay-header .site-header {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--bg-main);
}

body.has-overlay-header .site-header.is-scrolled,
.site-header.is-scrolled {
  background: rgba(250, 248, 243, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--line-soft);
  color: var(--text-dark);
  height: 72px;
}

.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.wordmark span {
  display: block;
  margin-top: 0.5em;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  opacity: 0.62;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3rem);
}

.nav a {
  position: relative;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 0.45rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 480ms var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::after { transform: scaleX(1); opacity: 0.4; }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 450ms var(--ease), opacity 300ms var(--ease);
}

.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobil menü katmanı */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding-top: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-main);
  color: var(--text-dark);
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms var(--ease), visibility 520ms;
}

.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* Menü açıkken başlık her zaman okunur kalsın */
body.is-locked .site-header,
body.has-overlay-header.is-locked .site-header {
  background: var(--bg-main);
  border-bottom-color: transparent;
  color: var(--text-dark);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.nav-overlay li { border-bottom: 1px solid var(--line-soft); }

.nav-overlay a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.nav-overlay a i {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  color: var(--olive);
}

.nav-overlay__foot {
  margin-top: 3rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
  line-height: 1.9;
}

/* ---------- 06. Hero alanları --------------------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--linen);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(26, 24, 20, 0.68) 0%,
      rgba(26, 24, 20, 0.40) 30%,
      rgba(26, 24, 20, 0.12) 56%,
      rgba(26, 24, 20, 0) 76%
    ),
    linear-gradient(
      to top,
      rgba(26, 24, 20, 0.55) 0%,
      rgba(26, 24, 20, 0.24) 32%,
      rgba(26, 24, 20, 0.03) 60%,
      rgba(26, 24, 20, 0.26) 100%
    );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(86px + clamp(2rem, 6vh, 4rem));
  padding-bottom: clamp(3.5rem, 8vh, 7rem);
  color: #FAF8F3;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gutter);
}

.hero__body { max-width: min(48rem, 100%); }

/* Fotoğraf üzerine uygulanan marka plakası */
.hero__mark {
  flex: 0 0 auto;
  width: clamp(300px, 30vw, 460px);
  background: #FEFAF6;
  border-radius: 14px;
  overflow: hidden;
}

.hero__mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.hero__label {
  color: rgba(250, 248, 243, 0.78);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.06;
  max-width: 17ch;
  margin-bottom: 1.75rem;
}

.hero__text {
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(250, 248, 243, 0.90);
  margin-bottom: 2.5rem;
}

.hero .link {
  color: #FAF8F3;
  border-bottom-color: rgba(250, 248, 243, 0.4);
}
.hero .link:hover { border-bottom-color: #FAF8F3; }

/* Tipografik sayfa başlığı (iç sayfalar) */
.page-head {
  padding-top: calc(86px + clamp(4rem, 11vw, 9.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.page-head__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}

.page-head__label { grid-column: 1 / 3; padding-bottom: 0.75rem; }
.page-head__title { grid-column: 3 / 10; }
.page-head__title h1 { font-weight: 400; }
.page-head__aside {
  grid-column: 10 / 13;
  padding-bottom: 0.6rem;
  font-size: var(--fs-small);
  line-height: 1.85;
  color: var(--text-soft);
}

.page-head__lead {
  grid-column: 3 / 8;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

/* Tam genişlik görsel */
.bleed {
  width: 100%;
  overflow: hidden;
  background: var(--linen);
}

.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed--tall { height: clamp(360px, 70vh, 720px); }
.bleed--band { height: clamp(300px, 56vh, 600px); }

.bleed img { object-position: center 50%; }
.bleed--low img  { object-position: center 62%; }
.bleed--mid img  { object-position: center 55%; }

/* ---------- 07. Ana sayfa bölümleri --------------------------------------- */

/* 02 — Manifesto */
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.manifesto__label { grid-column: 1 / 3; }
.manifesto__label::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--stone);
  margin-top: 1.25rem;
}

.manifesto__body { grid-column: 4 / 12; }

.manifesto__body p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -0.012em;
  color: var(--text-dark);
  text-wrap: pretty;
}

.manifesto__note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 52ch;
  color: var(--text-soft);
}

/* 03 — Koleksiyonlar */
.collections__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.collections__head .label { grid-column: 1 / 3; padding-bottom: 0.5rem; }
.collections__head h2 { grid-column: 3 / 9; font-weight: 400; }
.collections__head .collections__link { grid-column: 10 / 13; justify-self: start; align-self: end; }

.collections__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(3rem, 6vw, 5rem);
}

.collection { display: block; }

.collection__meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}

.collection__meta h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 400;
}

.collection__desc {
  margin-top: 0.7rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
  max-width: 40ch;
}

.collection__cta {
  display: inline-flex;
  gap: 0.6em;
  margin-top: 1.35rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  transition: color 400ms var(--ease);
}

.collection__cta .arrow { transition: transform 450ms var(--ease); }
.collection:hover .collection__cta { color: var(--text-dark); }
.collection:hover .collection__cta .arrow { transform: translateX(5px); }
.collection:hover .frame img { transform: scale(1.035); }

/* Asimetrik yerleşim */
.collection--a { grid-column: 1 / 7; }

.collections__stack {
  grid-column: 8 / 13;
  display: grid;
  align-content: start;
  gap: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(0rem, 3vw, 3.5rem);
}

.collection--c { width: 86%; margin-left: auto; }

/* 04 — Detaylarda zarafet */
.detail {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}

.detail__media { grid-column: 1 / 7; }
.detail__body  { grid-column: 8 / 12; }
.detail__body h2 { font-weight: 400; margin: 1.5rem 0 1.75rem; }
.detail__body .link { margin-top: 2.25rem; }

.detail--reverse .detail__media { grid-column: 7 / 13; order: 2; }
.detail--reverse .detail__body  { grid-column: 2 / 6; order: 1; }

/* 05 — Statement */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--text-dark);
}

.statement img {
  width: 100%;
  height: clamp(420px, 76vh, 780px);
  object-fit: cover;
  object-position: center 60%;
}

.statement__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(24, 22, 18, 0.46), rgba(24, 22, 18, 0.02) 55%);
}

.statement__inner {
  width: 100%;
  padding-bottom: clamp(2.75rem, 6vw, 5rem);
}

.statement blockquote {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  color: #FAF8F3;
}

/* 06 — Firma hikâyesi */
.story {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.story__body { grid-column: 1 / 6; }
.story__body h2 { font-weight: 400; margin: 1.5rem 0 2rem; }
.story__media { grid-column: 7 / 13; }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.timeline > div { padding-right: 1rem; }

.timeline dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.timeline dd {
  margin: 0.7rem 0 0;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

.timeline p {
  margin-top: 0.9rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
  max-width: 30ch;
}

/* 07 — Süreç */
.process__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.process__head .label { grid-column: 1 / 3; padding-bottom: 0.5rem; }
.process__head h2 { grid-column: 3 / 9; font-weight: 400; }
.process__head p { grid-column: 9 / 13; font-size: var(--fs-small); }

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.process__list > li { border-top: 1px solid var(--line-invert); padding-top: 1.5rem; }

.process__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--stone);
  margin-bottom: 1.75rem;
}

.process__list h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  margin-bottom: 0.9rem;
}

.process__list p {
  font-size: var(--fs-small);
  line-height: 1.75;
  max-width: 32ch;
}

/* 08 — Uygulamalar */
.works__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.works__main { grid-column: 1 / 8; }
.works__side { grid-column: 9 / 13; display: grid; gap: clamp(2rem, 4vw, 3rem); }

.works__caption {
  margin-top: 1.1rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
}

/* 09 — Kapanış çağrısı */
.closing {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}

.closing h2 {
  grid-column: 1 / 8;
  font-size: var(--fs-h1);
  font-weight: 400;
}

.closing__links { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 1.5rem; align-items: start; }

/* ---------- 08. Hakkımızda ------------------------------------------------ */

.prose-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.prose-grid__label { grid-column: 1 / 3; }
.prose-grid__label::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--stone);
  margin-top: 1.25rem;
}
.prose-grid__body { grid-column: 4 / 10; }
.prose-grid__body h2 { font-weight: 400; margin-bottom: 1.75rem; }
.prose-grid__body p { color: var(--text-soft); max-width: 62ch; }

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}
.split__media { grid-column: 1 / 7; }
.split__body { grid-column: 8 / 12; }
.split__body h2 { font-weight: 400; margin: 1.5rem 0 1.75rem; }
.split__body p { color: var(--text-soft); }

.split--reverse .split__media { grid-column: 7 / 13; }
.split--reverse .split__body { grid-column: 2 / 6; grid-row: 1; }

.pullquote {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.pullquote blockquote {
  grid-column: 3 / 11;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.26;
  text-align: center;
}
.pullquote cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.facts h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); margin-bottom: 0.85rem; }
.facts p { font-size: var(--fs-small); color: var(--text-soft); max-width: 34ch; }

/* ---------- 09. Modellerimiz ---------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters button {
  padding: 0.3rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  cursor: pointer;
  transition: color 380ms var(--ease), border-color 380ms var(--ease);
}

.filters button:hover { color: var(--text-dark); }

.filters button[aria-pressed="true"] {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

.filters__count {
  margin-left: auto;
  align-self: center;
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(2.75rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.gallery__item {
  grid-column: span 4;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* Editoryal ritim: bazı öğeler daha geniş ya da kaydırılmış */
.gallery__item--wide  { grid-column: span 6; }
.gallery__item--offset{ margin-top: clamp(1.5rem, 4vw, 4rem); }

.gallery__item:hover .frame img { transform: scale(1.035); }

.gallery__meta {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.gallery__cat {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

.gallery__name {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.2;
}

.gallery__item.is-hidden { display: none; }

.gallery__empty {
  grid-column: 1 / -1;
  padding-block: 4rem;
  color: var(--text-soft);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23, 21, 18, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 420ms;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  object-fit: contain;
  background: var(--text-dark);
}

.lightbox__caption {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-top: 1.5rem;
  color: #FAF8F3;
}

.lightbox__caption span {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.lightbox__caption strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #FAF8F3;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem;
}

.lightbox__close { top: clamp(0.75rem, 2vw, 1.75rem); right: clamp(0.75rem, 2vw, 1.75rem); }
.lightbox__nav--prev { left: clamp(0.25rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(0.25rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--stone); }

/* ---------- 10. İletişim -------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.contact__info { grid-column: 1 / 5; }
.contact__form { grid-column: 6 / 12; }

.contact__block {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.contact__block:first-of-type { border-top: 1px solid var(--line); }

.contact__aside { margin-top: 2.5rem; }

.contact__block dt {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.7rem;
}

.contact__block dd {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.62;
}

.contact__block dd a {
  border-bottom: 1px solid var(--line);
  transition: border-color 400ms var(--ease);
}
.contact__block dd a:hover { border-bottom-color: var(--text-dark); }

.contact__block small {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--fs-small);
  color: var(--text-soft);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.field { position: relative; margin-bottom: 2.35rem; }

.field label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.7rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.55rem 0 0.85rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  color: var(--text-dark);
  transition: border-color 400ms var(--ease);
}

.field textarea { resize: vertical; min-height: 8rem; line-height: 1.7; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--text-dark);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(101, 99, 94, 0.5); }

.field__error {
  display: none;
  margin-top: 0.55rem;
  font-size: var(--fs-small);
  color: #8a5a3b;
}

.field.has-error input,
.field.has-error textarea { border-bottom-color: #8a5a3b; }
.field.has-error .field__error { display: block; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: 0.5rem;
}

.form__note {
  font-size: var(--fs-small);
  color: var(--text-soft);
  max-width: 34ch;
}

.form__status {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-small);
  color: var(--text-dark);
}

.map {
  width: 100%;
  height: clamp(320px, 52vh, 560px);
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.04);
  transition: filter 700ms var(--ease);
}
.map:hover { filter: grayscale(0.35) contrast(0.96); }

/* ---------- 11. Footer ---------------------------------------------------- */

.site-footer {
  background: var(--text-dark);
  color: rgba(250, 248, 243, 0.72);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 2.25rem;
  font-size: var(--fs-small);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.site-footer__brand { grid-column: 1 / 5; }

.footer-logo {
  display: block;
  width: clamp(128px, 12vw, 164px);
  background: #FEFAF6;
  border-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 450ms var(--ease);
}

.footer-logo:hover,
.footer-logo:focus-visible { opacity: 0.86; border-bottom: 0; }

.footer-logo img { display: block; width: 100%; height: auto; border-radius: inherit; }

.footer-tagline {
  margin: 1.25rem 0 0;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-footer__nav { grid-column: 6 / 9; }
.site-footer__contact { grid-column: 9 / 13; }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.35rem;
}

.site-footer li { margin-bottom: 0.7rem; }

.site-footer a {
  border-bottom: 1px solid transparent;
  transition: color 380ms var(--ease), border-color 380ms var(--ease);
}
.site-footer a:hover {
  color: var(--bg-main);
  border-bottom-color: var(--line-invert);
}

.site-footer address { font-style: normal; line-height: 1.85; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-invert);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 243, 0.5);
}

.site-footer__bottom p { margin: 0; }

/* Tasarım künyesi */
.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  border-bottom: 0;
}

.footer-credit img {
  display: block;
  width: auto;
  height: 17px;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.55);
  transition: opacity 450ms var(--ease), filter 450ms var(--ease);
}

.footer-credit a:hover img,
.footer-credit a:focus-visible img {
  opacity: 1;
  filter: none;
}

/* ---------- 12. Scroll reveal --------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 820ms var(--ease-out), transform 820ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-delay-1 { transition-delay: 90ms; }
.js .reveal-delay-2 { transition-delay: 180ms; }
.js .reveal-delay-3 { transition-delay: 270ms; }

/* ---------- 13. Duyarlı tasarım ------------------------------------------- */

@media (max-width: 1080px) {
  .collection--a { grid-column: 1 / 8; }
  .collections__stack { grid-column: 1 / 8; padding-top: 0; }
  .collection--c { width: 100%; }

  .detail__media, .detail__body,
  .detail--reverse .detail__media, .detail--reverse .detail__body { grid-column: 1 / 13; }
  .detail--reverse .detail__media { order: 0; }
  .detail--reverse .detail__body { order: 1; }
  .detail__body { margin-top: 1.5rem; }

  .split__media, .split__body,
  .split--reverse .split__media, .split--reverse .split__body { grid-column: 1 / 13; grid-row: auto; }

  .story__body, .story__media { grid-column: 1 / 13; }
  .works__main, .works__side { grid-column: 1 / 13; }
  .works__side { grid-template-columns: repeat(2, 1fr); }

  .contact__info, .contact__form { grid-column: 1 / 13; }
  .contact__form { margin-top: clamp(3rem, 6vw, 4rem); }

  .prose-grid__label { grid-column: 1 / 13; }
  .prose-grid__body { grid-column: 1 / 13; }
  .manifesto__label { grid-column: 1 / 13; }
  .manifesto__body { grid-column: 1 / 13; }

  .page-head__label { grid-column: 1 / 13; padding-bottom: 1.25rem; }
  .page-head__title { grid-column: 1 / 13; }
  .page-head__aside { grid-column: 1 / 13; padding-top: 1.75rem; padding-bottom: 0; }
  .page-head__lead { grid-column: 1 / 13; }

  .collections__head .label { grid-column: 1 / 13; padding-bottom: 1.25rem; }
  .collections__head h2 { grid-column: 1 / 13; }
  .collections__head .collections__link { grid-column: 1 / 13; margin-top: 1.75rem; }

  .process__head .label { grid-column: 1 / 13; padding-bottom: 1.25rem; }
  .process__head h2 { grid-column: 1 / 13; }
  .process__head p { grid-column: 1 / 13; margin-top: 1.5rem; }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2.5rem, 5vw, 3.5rem); }

  .closing h2 { grid-column: 1 / 13; }
  .closing__links { grid-column: 1 / 13; margin-top: 2.5rem; flex-direction: row; gap: 2rem; flex-wrap: wrap; }

  .pullquote blockquote { grid-column: 1 / 13; }

  .site-footer__brand { grid-column: 1 / 13; }
  .site-footer__nav { grid-column: 1 / 7; margin-top: 2.75rem; }
  .site-footer__contact { grid-column: 7 / 13; margin-top: 2.75rem; }

  .gallery__item, .gallery__item--wide { grid-column: span 6; }
  .gallery__item--offset { margin-top: 0; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: block; }

  .site-header { height: 66px; }
  .site-header.is-scrolled { height: 60px; }

  .page-head { padding-top: calc(66px + clamp(3rem, 12vw, 5rem)); }

  .hero { min-height: 88vh; min-height: 88svh; }
  .hero h1 { max-width: 13ch; }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.75rem, 5vh, 2.75rem);
  }
  .hero__mark { order: -1; width: clamp(180px, 48vw, 230px); border-radius: 12px; }

  .facts, .timeline { grid-template-columns: 1fr; row-gap: 2rem; }
  .timeline > div { border-top: 1px solid var(--line-soft); padding-top: 1.5rem; }
  .timeline { border-top: 0; padding-top: 0; }

  .form__row { grid-template-columns: 1fr; gap: 0; }

  .filters { gap: 0.25rem 1.5rem; }
  .filters__count { display: none; }
}

@media (max-width: 620px) {
  .process__list { grid-template-columns: 1fr; }
  .works__side { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide { grid-column: span 12; }
  .gallery { row-gap: 3rem; }
  .nav-overlay a { font-size: 1.6rem; }
  .statement blockquote { max-width: 14ch; }
  .site-footer__nav, .site-footer__contact { grid-column: 1 / 13; }
  .site-footer__contact { margin-top: 2.25rem; }

  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
}

/* Hareket tercihi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .frame img { transition: none; }
}

/* Yazdırma */
@media print {
  .site-header, .nav-overlay, .lightbox, .map { display: none !important; }
  body { background: #fff; }
}
