/* =========================================================
   OLDEN 1918 | Architecture & More
   ========================================================= */
:root {
  --ink: #12110f;
  --ink-2: #1c1a17;
  --ink-3: #2a2723;
  --paper: #f5f1ea;
  --stone: #e9e2d6;
  --sand: #d8cdbb;
  --brass: #b28d55;
  --brass-2: #cfae78;
  --brass-deep: #9a7642;   /* açık zeminde büyük vurgu yazıları (≥3:1) */
  --brass-ink: #7a5a2c;    /* açık zeminde küçük vurgu yazıları (≥4.5:1) */
  --text: #2b2723;
  --muted: #665e55;        /* açık zeminde ikincil metin (≥4.5:1) */
  --line: rgba(18, 17, 15, .12);
  --line-dark: rgba(245, 241, 234, .14);

  /* Bağlama göre değişen vurgu tonları: açık zemin varsayılan */
  --accent-text: var(--brass-ink);
  --accent-display: var(--brass-deep);
  --focus: var(--brass-ink);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
}
/* Koyu zeminlerde markanın asıl pirinç tonu */
.section--dark, .hero, .page-hero, .cta, .site-footer, .c-card, .mv, .pt, .site-header, .marquee, .action-bar {
  --accent-text: var(--brass);
  --accent-display: var(--brass);
  --focus: var(--brass-2);
}
.marquee { --focus: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--brass); color: var(--ink); }
main:focus { outline: none; }

/* ---------- Klavye odağı ---------- */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1100;
  padding: 12px 18px; background: var(--brass); color: var(--ink);
  font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--stone); }
.section--stone { background: var(--stone); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--muted); }
.section--dark .lead { color: rgba(233, 226, 214, .72); }
.h2 { font-size: clamp(34px, 4.4vw, 60px); }
em.accent { font-style: italic; color: var(--accent-display); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brass); --fg: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.btn .arrow { transition: transform .5s var(--ease-out); }
.btn--ghost { --bg: transparent; --fg: var(--stone); border-color: var(--line-dark); }
.btn--ghost::before { background: var(--stone); }
.section--dark .btn::before { background: var(--stone); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover { color: var(--brass-2); }
  .btn:hover .arrow { transform: translateX(5px); }
  .btn--ghost:hover { color: var(--ink); }
  .section--dark .btn:hover { color: var(--ink); }
}
.btn:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px; transition: background-size .6s var(--ease);
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; }

/* ---------- Page transition (kısa perde) ---------- */
.pt { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: none; }
.js .pt { display: block; }
.pt__panel {
  position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(1); transform-origin: top;
  display: grid; place-items: center;
}
.pt__panel + .pt__panel { background: var(--brass); z-index: -1; }
.pt__logo { width: min(220px, 50vw); opacity: 0; transition: opacity .3s ease; }
.pt__logo img { width: 100%; }
body.is-loading .pt__logo { opacity: 1; }
body.is-ready .pt__panel { transform: scaleY(0); transition: transform .7s var(--ease); }
body.is-ready .pt__panel + .pt__panel { transition-delay: .08s; }
body.is-leaving .pt { pointer-events: all; }
body.is-leaving .pt__panel {
  transform: scaleY(1); transform-origin: bottom;
  transition: transform .42s var(--ease);
}
body.is-leaving .pt__panel:first-child { transition-delay: .05s; }
body.is-leaving .pt__panel + .pt__panel { transition-delay: 0s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); color: var(--stone);
  transition: background .5s ease, height .5s var(--ease-out), transform .6s var(--ease);
}
.site-header.is-scrolled { --header-h: 70px; }
/* Bulanık zemin ayrı katmanda: backdrop-filter header'ın kendisinde olursa
   içindeki position:fixed mobil menüyü header yüksekliğine hapseder. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background: rgba(18, 17, 15, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 46px; width: auto; transition: height .5s var(--ease-out); }
.is-scrolled .brand img { height: 38px; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.menu a:not(.btn), .menu__toggle {
  position: relative; font: 500 13px/1.7 var(--sans); letter-spacing: .08em;
  padding: 6px 0; opacity: .82; transition: opacity .3s;
}
.menu a:not(.btn)::after, .menu__toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.menu a:not(.btn):hover, .menu a.is-active, .menu__toggle:hover, .menu__toggle.is-active { opacity: 1; }
.menu a:not(.btn):hover::after, .menu a.is-active::after,
.menu__toggle.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { padding: 13px 22px; font-size: 12px; }

/* Kurumsal açılır menüsü */
.menu__group { position: relative; }
.menu__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu__chev {
  width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease-out);
}
.menu__group.is-open .menu__chev { transform: translateY(1px) rotate(-135deg); }
@media (min-width: 1101px) {
  .menu__sub {
    position: absolute; top: 100%; left: -22px; min-width: 240px;
    padding: 22px 22px 16px; margin-top: 14px;
    display: grid; gap: 4px;
    background: rgba(18, 17, 15, .96); border: 1px solid var(--line-dark);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .35s ease, transform .5s var(--ease-out), visibility 0s .35s;
  }
  /* imleç başlıktan panele geçerken kapanmasın */
  .menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .menu__group:hover .menu__sub, .menu__group.is-open .menu__sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .menu__sub a:not(.btn) { width: max-content; }
}

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark);
  background: transparent; color: inherit; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; z-index: 2; }
  .menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 4px; padding: 96px var(--gutter) 32px;
    background: var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    justify-content: safe center;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  /* Mobilde açılır menü düz listeye dönüşür */
  .menu__group, .menu__sub { display: contents; }
  .menu__toggle { display: none; }
  .menu a:not(.btn) {
    font-family: var(--serif); font-size: clamp(19px, 4.6vw, 26px); line-height: 1.3; letter-spacing: 0;
    padding: 8px 0; width: 100%; border-bottom: 1px solid var(--line-dark);
    transform: translateY(30px); opacity: 0;
    transition: transform .7s var(--ease-out), opacity .7s;
  }
  .menu a:not(.btn)::after { display: none; }
  .menu a.is-active { color: var(--brass); }
  .menu .btn { margin-top: 20px; opacity: 0; transition: opacity .6s .5s; }
  .menu-open .menu a:not(.btn) { transform: none; opacity: 1; transition-delay: calc(.2s + var(--i, 1) * .05s); }
  .menu-open .menu .btn { opacity: 1; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: var(--stone); overflow: hidden;
  padding: calc(var(--header-h) + 24px) 0 clamp(40px, 6vh, 72px);
}
.hero__bg { position: absolute; inset: -10% 0 0; z-index: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, .88) 0%, rgba(18, 17, 15, .55) 55%, rgba(18, 17, 15, .25) 100%),
    linear-gradient(180deg, rgba(18, 17, 15, .35) 0%, transparent 30%, rgba(18, 17, 15, .92) 100%);
}
.hero__year {
  position: absolute; right: -2vw; top: 50%; z-index: 0;
  font-family: var(--serif); font-size: clamp(160px, 30vw, 460px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(207, 174, 120, .22);
  transform: translateY(-50%); user-select: none; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-family: var(--sans); font-weight: 250;
  font-size: clamp(44px, 7.4vw, 80px); max-width: 13ch;
}
.hero__bottom {
  margin-top: clamp(24px, 4vh, 44px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.hero__bottom p { max-width: 520px; margin: 0; color: rgba(233, 226, 214, .76); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 1px; height: 54px;
  background: var(--line-dark); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--brass); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--stone);
  padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(44px, 6vw, 80px);
}
.page-hero__bg { position: absolute; inset: 0; opacity: .9; overflow: hidden; }
.page-hero__bg--photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, .92) 0%, rgba(18, 17, 15, .6) 60%, rgba(18, 17, 15, .35) 100%),
    linear-gradient(180deg, rgba(18, 17, 15, .5), transparent 35%, rgba(18, 17, 15, .7));
}
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 96px); max-width: 14ch; margin-top: 14px; }
.page-hero .page-hero__title { font-family: var(--sans); font-weight: 200; font-size: clamp(36px, 5.4vw, 80px); }
.page-hero .lead { max-width: 620px; margin-top: 18px; color: rgba(233, 226, 214, .76); }
.crumbs { display: flex; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(233, 226, 214, .62); }
.crumbs a:hover { color: var(--brass-2); }

.tx-lines {
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(207, 174, 120, .07) 119px 120px),
    radial-gradient(80% 60% at 85% 10%, #33291f, transparent 65%),
    var(--ink);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  background: var(--brass); color: var(--ink); overflow: hidden; white-space: nowrap;
  padding: 22px 0; border-block: 1px solid rgba(18, 17, 15, .2);
}
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--sans); font-size: clamp(24px, 3vw, 38px); font-weight: 400;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* JS etkinse akışı kaydırma hızı yönetir */
.marquee--live .marquee__track { animation: none; will-change: transform; }
.marquee--live { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee--live.is-dragging { cursor: grabbing; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }

/* Hareketi duraklat / oynat düğmesi (WCAG 2.2.2) */
.motion-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit;
  cursor: pointer; opacity: .7; transition: opacity .3s, background .3s, color .3s;
}
.motion-toggle:hover { opacity: 1; }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee .motion-toggle {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2;
  background: var(--ink); color: var(--brass-2); border-color: var(--ink); opacity: .9;
  box-shadow: 0 0 0 10px var(--brass);
}
.marquee .motion-toggle:hover { opacity: 1; }
.no-js .motion-toggle, html:not(.js) .motion-toggle { display: none; }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split h2 { margin-top: 16px; }
.about-intro__image { width: 100%; height: auto; margin-top: 24px; background: var(--sand); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.statement {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; color: var(--ink);
}
.about-intro__summary {
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding-inline-start: clamp(14px, 2vw, 24px);
  border-inline-start: 2px solid var(--brass);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
}
.section--dark .statement { color: var(--stone); }

/* ---------- Collection cards ---------- */
.collections { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: 40px; }
@media (max-width: 820px) { .collections { grid-template-columns: 1fr; } }
.c-card {
  position: relative; overflow: hidden; min-height: clamp(440px, 52vw, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 3.4vw, 48px); color: var(--stone); isolation: isolate;
  background: var(--ink-3);
}
.c-card__media { position: absolute; inset: 0; z-index: -1; transition: transform 1.4s var(--ease-out); }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; }
.c-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 17, 15, .55) 0%, transparent 22%, transparent 35%, rgba(18, 17, 15, .88));
}
.c-card__no { position: absolute; top: clamp(28px, 3.4vw, 48px); left: clamp(28px, 3.4vw, 48px); font-size: 12px; letter-spacing: .28em; color: var(--brass-2); }
.c-card h3 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 14px; }
.c-card p { max-width: 440px; color: rgba(233, 226, 214, .8); }
.c-card .link-arrow { color: var(--brass-2); margin-top: 8px; align-self: flex-start; }
.c-card:focus-visible { outline-offset: -6px; }
@media (hover: hover) {
  .c-card:hover .c-card__media { transform: scale(1.06); }
  .c-card:hover .link-arrow { background-size: 100% 1px; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line-dark); }
.service {
  position: relative; padding: clamp(32px, 3.4vw, 48px) clamp(24px, 2.4vw, 36px);
  border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
  overflow: hidden; isolation: isolate;
}
.service:nth-child(3n) { border-right: 0; }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(178, 141, 85, .16), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.service__no { font-size: 12px; letter-spacing: .24em; color: var(--brass); }
.service h3 { font-size: 30px; margin: 28px 0 12px; transition: transform .6s var(--ease-out); }
.service p { color: rgba(233, 226, 214, .7); margin: 0; font-size: 15px; }
@media (hover: hover) {
  .service:hover::before { opacity: 1; }
  .service:hover h3 { transform: translateX(8px); }
}
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .service:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0 !important; }
}

/* ---------- Surface effects gallery ---------- */
/* Sabit boyutlu kartlar, kayan yazı (marquee) gibi sürekli yatay akar */
.effects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.effects { margin-top: 36px; overflow-x: auto; overflow-y: hidden; }
.effects--live { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.effects--live.is-dragging { cursor: grabbing; }
.effects--live img { -webkit-user-drag: none; pointer-events: none; }
.effects:focus-visible { outline-offset: -2px; }
.effects__track { display: flex; width: max-content; }
.effects--live .effects__track { will-change: transform; }
.effect {
  flex: 0 0 auto; width: clamp(300px, 40vw, 560px);
  margin-inline-end: clamp(16px, 2vw, 28px); /* boşluk margin ile: döngü dikişi kusursuz olsun */
  background: var(--paper); border: 1px solid var(--line);
}
.effect__swatch { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.effect__swatch > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Işık açısı: imleç dokunun üzerinde gezindikçe ışık kaynağı yer değiştirir */
.effect__swatch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 75% at var(--lx, 30%) var(--ly, 25%), rgba(255, 238, 210, .55), transparent 62%),
    radial-gradient(70% 90% at calc(100% - var(--lx, 30%)) calc(100% - var(--ly, 25%)), rgba(18, 17, 15, .45), transparent 70%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .6s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .effect__swatch.is-lit::after { opacity: 1; }
}
.effect__body { padding: clamp(16px, 2vw, 24px); }
.effect__body h3 { font-size: 28px; margin-bottom: 8px; }
.effect__body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Numbered list / values ---------- */
.values { counter-reset: v; margin-top: 36px; border-top: 1px solid var(--line); }
.value {
  counter-increment: v; display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative;
}
.value::before { content: counter(v, decimal-leading-zero); font-size: 13px; letter-spacing: .2em; color: var(--accent-text); }
.value::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
@media (hover: hover) { .value:hover::after { transform: scaleX(1); } }
.value h3 { font-size: clamp(26px, 2.4vw, 34px); color: var(--ink); }
.value p { margin: 0; color: var(--muted); }
.section--dark .values, .section--dark .value { border-color: var(--line-dark); }
.section--dark .value h3 { color: var(--stone); }
.section--dark .value p { color: rgba(233, 226, 214, .7); }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Mission / Vision ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); margin-top: 40px; }
.mv__item { background: var(--ink); padding: clamp(36px, 4.4vw, 64px); }
.mv__item h3 { font-size: clamp(36px, 3.6vw, 52px); margin: 14px 0 18px; color: var(--stone); }
.mv__item p { color: rgba(233, 226, 214, .72); }
@media (max-width: 820px) { .mv { grid-template-columns: 1fr; } }

/* ---------- Quote band ---------- */
.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto; max-width: 980px; font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 64px); line-height: 1.15; color: var(--stone);
}
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }

/* ---------- Usage chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 10px 18px; border: 1px solid var(--line); font-size: 14px;
  transition: background .4s, color .4s, border-color .4s;
}
@media (hover: hover) { .chip:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); } }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 24px; text-align: left;
  padding: 30px 0; background: none; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25;
}
.faq__q .n { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--accent-text); min-width: 32px; }
.faq__q .t { flex: 1; transition: transform .5s var(--ease-out); }
@media (hover: hover) { .faq__q:hover .t { transform: translateX(6px); } }
.faq__icon { position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; flex: none; transition: background .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 68px 32px 56px; margin: 0; color: var(--muted); max-width: 860px; }
.faq__a a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .faq__a p { padding: 0 0 28px; } .faq__q .n { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { margin-top: 28px; display: grid; gap: 22px; }
.info-list dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.info-list dd { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--ink); }
.info-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.info-list a:hover { background-size: 100% 1px; }
#teklif { scroll-margin-top: 110px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 0 12px; border: 0; border-bottom: 1px solid rgba(18, 17, 15, .28);
  background: transparent; font: 400 17px/1.4 var(--sans); color: var(--ink); outline: none; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237a5a2c' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
  padding-right: 28px; cursor: pointer;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute; left: 0; top: 22px; color: var(--muted); font-size: 16px; pointer-events: none;
  transform-origin: left top; transition: transform .4s var(--ease-out), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-20px) scale(.78); color: var(--accent-text); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field .req { color: var(--accent-text); }
.field__error { position: absolute; left: 0; top: 100%; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #a3352a; }
.field__error:empty { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #a3352a; }
/* Telefon: "+90" alanın içinde sabit ön ek; silinemez, etiket hep yukarıda durur */
.field--tel input { padding-left: 46px; }
.field--tel input::placeholder { color: var(--muted); opacity: .55; }
.field--tel label { transform: translateY(-20px) scale(.78); color: var(--accent-text); }
.tel-prefix {
  position: absolute; left: 0; top: 22px; padding-right: 10px; border-right: 1px solid rgba(18, 17, 15, .2);
  font: 400 17px/1.4 var(--sans); color: var(--ink); pointer-events: none;
}
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alert { padding: 14px 18px; border-left: 2px solid #a3352a; background: rgba(163, 53, 42, .06); font-size: 15px; margin: 0; }
.form-alert a { text-decoration: underline; text-underline-offset: 3px; }

/* Gönder butonu durumları */
.btn .btn__spin {
  display: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spin { display: inline-block; }
.btn.is-loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Başarı ekranı */
.form-success { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--stone); }
.form-success:focus { outline: none; }
.form-success h3 { font-size: clamp(30px, 3vw, 42px); margin: 22px 0 12px; color: var(--ink); }
.form-success p { color: var(--muted); margin: 0; }
.check { width: 64px; height: 64px; color: var(--brass-ink); }
.check circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: draw .8s var(--ease-out) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: #000; color: var(--stone); text-align: center; }
.cta__image { position: absolute; inset: 0; pointer-events: none; }
.cta__image::before, .cta__image::after {
  position: absolute; inset-block: 0; width: 50%;
  background: linear-gradient(rgba(18, 17, 15, .72), rgba(18, 17, 15, .72)),
    url("../assets/img/insaat-1600.webp") center / cover no-repeat;
}
@media (max-width: 760px) {
  .cta__image::before, .cta__image::after {
    background: linear-gradient(rgba(18, 17, 15, .72), rgba(18, 17, 15, .72)),
      url("../assets/img/insaat-800.webp") center / cover no-repeat;
  }
}
.cta__image::before { content: ""; right: 0; }
.cta__image::after { left: 0; --cta-slide-offset: -100%; }

@media (prefers-reduced-motion: no-preference) {
  .js .cta__image.is-in::before, .js .cta__image.is-in::after {
    animation: cta-image-slide 4s var(--ease-out) infinite backwards;
  }
  .js .cta__image.is-in::after { content: ""; animation-delay: 2s; }
}
@keyframes cta-image-slide {
  0%, 77.5%, 100% { transform: translateX(var(--cta-slide-offset, 100%)); }
  27.5%, 50% { transform: translateX(0); }
}
.cta h2 { font-size: clamp(40px, 6vw, 88px); max-width: 16ch; margin: 18px auto 28px; position: relative; }
.cta .eyebrow, .cta .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0b0a; color: rgba(233, 226, 214, .68); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-top img { height: 56px; width: auto; margin-bottom: 24px; }
.footer-title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; line-height: 1.7; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { transition: color .3s; }
.footer-top a:hover { color: var(--stone); }
.footer-tagline { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--stone); max-width: 320px; }
.footer-contact { margin-top: 8px !important; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; }
.footer-contact .ico { color: var(--brass); flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; }
.to-top { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.to-top:hover { color: var(--brass-2); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- Paralaks ----------
   Destekleyen tarayıcılarda (scroll-driven animations) kaydırmaya tarayıcı bağlar,
   ana iş parçacığı serbest kalır. Diğerlerinde main.js aynı etkiyi verir.
   transform yerine "translate" kullanılır: öğenin kendi transform'u (ör. 1918 yazısının
   dikey ortalaması) korunur. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-parallax] {
      animation: parallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
  }
}
@keyframes parallax { from { translate: 0 0; } to { translate: 0 calc(var(--plx, .2) * 100vh); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Fotoğraflar
   ========================================================= */
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg .media-fill, .page-hero__bg .media-fill { filter: saturate(.9); }

/* intro portrait */
.split--media { grid-template-columns: 5fr 6fr; align-items: center; }
.portrait { position: relative; overflow: hidden; background: var(--ink-3); }
.portrait img { width: 100%; height: auto; transition: scale 1.6s var(--ease-out); }
@media (hover: hover) { .portrait:hover img { scale: 1.04; } }
.portrait::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(245, 241, 234, .25); pointer-events: none;
}
@media (max-width: 900px) { .split--media { grid-template-columns: 1fr; } }

/* full-width showcase */
.showcase { margin: 36px 0 0; position: relative; overflow: hidden; background: var(--ink); }
.showcase img { width: 100%; height: auto; transform: scale(1.08); transition: transform 2s var(--ease-out); }
.showcase.is-in img { transform: none; }

/* gallery (duvar paneli sayfası) */
.gallery { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 22px); margin-top: 36px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease-out); }
@media (hover: hover) { .gallery figure:hover img { scale: 1.05; } }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; padding: 14px 18px; color: var(--stone);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(18, 17, 15, .75), transparent); width: 100%;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery figure:first-child { grid-row: auto; } }

/* model / product names */
.models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.models .chip { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; padding: 8px 20px; }

/* feature row */
.features { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.feature { padding: 32px 22px 8px 0; }
.feature + .feature { padding-left: 22px; border-left: 1px solid var(--line); }
.feature .n { font-size: 12px; letter-spacing: .22em; color: var(--accent-text); }
.feature h3 { font-size: 24px; margin-top: 14px; color: var(--ink); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature + .feature { padding: 26px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Galeri (editoryal ızgara + filtre) ---------- */
.g-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.g-filter {
  padding: 11px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 500 14px/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  transition: background .4s, color .4s, border-color .4s;
}
.g-filter:hover { border-color: var(--ink); }
.g-filter[aria-pressed="true"] { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.g-count { margin: 18px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.g-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px);
  grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 22px); margin-top: 32px;
}
.g-item { grid-column: span 4; grid-row: span 2; margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.g-item--wide { grid-column: span 8; }
.g-item--tall { grid-row: span 3; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease-out); }
@media (hover: hover) { .g-item:hover img { scale: 1.05; } }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  color: var(--stone); background: linear-gradient(0deg, rgba(18, 17, 15, .82), transparent);
}
.g-item figcaption strong { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.g-item figcaption span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); white-space: nowrap; }
@media (max-width: 900px) {
  .g-grid { grid-template-columns: repeat(6, 1fr); }
  .g-item { grid-column: span 3; }
  .g-item--wide { grid-column: span 6; }
}
@media (max-width: 560px) {
  .g-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .g-item, .g-item--wide { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* Ana sayfa galeri önizlemesi */
.teaser { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: repeat(2, clamp(200px, 22vw, 320px)); gap: clamp(12px, 1.6vw, 22px); margin-top: 40px; }
.teaser .g-item { grid-column: auto; grid-row: auto; }
.teaser .g-item:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .teaser { grid-template-columns: 1fr; grid-template-rows: none; }
  .teaser .g-item, .teaser .g-item:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
}
.section-foot { display: flex; justify-content: flex-end; margin-top: 28px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; }
.notfound .hero__year { -webkit-text-stroke-color: rgba(207, 174, 120, .18); }

/* ---------- WhatsApp butonu ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: wa-pulse 2.4s ease-out 3; pointer-events: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Mobil hızlı iletişim çubuğu ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(18, 17, 15, .94); color: var(--stone);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark);
    transition: transform .5s var(--ease);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px;
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
  .action-bar a + a { border-left: 1px solid var(--line-dark); }
  .action-bar .is-primary { background: var(--brass); color: var(--ink); border-left: 0; }
  .action-bar .ico { width: 17px; height: 17px; }
  body.menu-open .action-bar { transform: translateY(110%); }
  .site-footer { padding-bottom: calc(28px + 58px + env(safe-area-inset-bottom)); }
}

/* ---------- Telefon: yazı boyutları ---------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); font-weight: 300; }
  .hero__bottom p { font-size: 15px; }
  .page-hero h1, .page-hero .page-hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .page-hero .page-hero__title { font-weight: 300; }
  .h2 { font-size: clamp(26px, 7vw, 34px); }
  .lead { font-size: 16px; }
  .statement { font-size: clamp(21px, 5.6vw, 26px); }
  .about-intro__summary { font-size: 20px; }
  .c-card h3 { font-size: 28px; }
  .service h3 { font-size: 24px; }
  .effect__body h3 { font-size: 24px; }
  .value h3 { font-size: 22px; }
  .mv__item h3 { font-size: 30px; }
  .quote blockquote { font-size: clamp(24px, 6.6vw, 30px); }
  .faq__q { font-size: 19px; }
  .info-list dd { font-size: 21px; }
  .cta h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .marquee__track span { font-size: 20px; }
  .marquee .motion-toggle { width: 34px; height: 34px; }
  .hero__year { font-size: 42vw; }
  .btn { padding: 15px 22px; font-size: 12px; }
}

/* =========================================================
   Hareket katmanı (js/motion.js) — yalnızca .motion-on iken
   ========================================================= */
/* Lenis yumuşak kaydırma */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* Okuma ilerleme çizgisi */
.scroll-progress {
  position: fixed; left: 0; right: 0; top: 0; z-index: 950; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* Kelime kelime başlıklar */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .02em .08em .16em; margin: -.02em -.08em -.16em; }
.w__i { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* Paragraf maskesi: yukarıdan aşağı açılır */
.wipe {
  -webkit-mask-image: linear-gradient(180deg, #000 var(--wipe, 110%), transparent calc(var(--wipe, 110%) + 30%));
  mask-image: linear-gradient(180deg, #000 var(--wipe, 110%), transparent calc(var(--wipe, 110%) + 30%));
}

/* Kaydırmaya bağlı görsellerde CSS transform geçişi kapalı (GSAP yönetir) */
.motion-on .showcase img { transition: none; }

/* Akışkan arka plan: bölümler saydam, renk body'den akar */
.bg-flow main > .section:not(.cta) { background-color: transparent; }

/* Sabitlenen yatay doku galerisi */
.effects-pin {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--header-h) + 12px) 32px; overflow: hidden;
}
.effects[data-pinned] { overflow: visible; margin-top: 28px; }
.effects[data-pinned] .effects__track {
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  will-change: transform;
}
.effects[data-pinned] .effect { width: min(44vw, 600px); }
.pin-meta { display: flex; align-items: center; gap: 22px; margin-top: 28px; font-size: 12px; letter-spacing: .22em; color: var(--muted); }
.pin-count b { color: var(--ink); font-weight: 600; }
.pin-bar { position: relative; flex: 1; height: 1px; overflow: hidden; background: var(--line); }
.pin-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* Özel imleç */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto !important; }
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 2000; pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity .3s ease;
}
.cursor-visible .cursor-dot, .cursor-visible .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; background: var(--brass); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--brass);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), background-color .35s, border-color .35s, opacity .3s, scale .3s var(--ease-out);
}
.cursor-ring.is-link { width: 62px; height: 62px; background: rgba(178, 141, 85, .14); }
.cursor-ring.is-view { width: 72px; height: 72px; background: rgba(245, 241, 234, .1); border-color: rgba(207, 174, 120, .7); }
.cursor-ring.is-view.has-label {
  width: 96px; height: 96px; background: rgba(18, 17, 15, .6); border-color: rgba(207, 174, 120, .5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cursor-ring.is-down { scale: .82; }
.cursor-visible .cursor-ring.is-text, .cursor-visible .cursor-dot.is-text,
.cursor-visible .cursor-dot.is-view { opacity: 0; }
.cursor-label { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); opacity: 0; transition: opacity .3s; }
.cursor-ring.has-label .cursor-label { opacity: 1; }

/* ---------- Galeri: "Tüm Görseller" kaydırma sahnesi (motion.js) ----------
   Hareket katmanı açıksa ızgaranın yerini sabitlenen tam ekran sahne alır; kapalıysa ızgara görünür. */
.stage { display: none; }
.has-stage .g-grid { display: none; }
/* Sahne tam ekran: görsel bölümün tamamını kaplar, başlık ve filtreler üzerine biner */
.has-stage .g-section {
  position: relative; height: 100vh; height: 100svh; padding: 0; overflow: hidden;
  background: var(--ink); color: var(--stone);
  --accent-text: var(--brass-2); --accent-display: var(--brass-2); --focus: var(--brass-2);
}
.has-stage .g-section > .container { position: static; padding-top: calc(var(--header-h) + 18px); }
.has-stage .g-section .eyebrow, .has-stage .g-section .g-filters, .has-stage .g-section .g-count { position: relative; z-index: 2; }
.has-stage .g-section .g-filters { margin-top: 16px; }
.has-stage .g-section .g-count { margin-top: 12px; color: rgba(233, 226, 214, .75); }
.has-stage .g-section .g-filter {
  color: var(--stone); border-color: rgba(233, 226, 214, .35);
  background: rgba(18, 17, 15, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.has-stage .g-section .g-filter:hover { border-color: var(--stone); }
.has-stage .g-section .g-filter[aria-pressed="true"] { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.has-stage .stage { display: block; position: absolute; inset: 0; z-index: 0; margin: 0; }
.stage__frame { position: absolute; inset: 0; overflow: hidden; background: var(--ink); color: var(--stone); }
.stage__slide { position: absolute; inset: 0; margin: 0; overflow: hidden; will-change: clip-path; }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.stage__slide + .stage__slide { clip-path: inset(100% 0 0 0); }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 17, 15, .72) 0%, rgba(18, 17, 15, .25) 30%, transparent 48%, rgba(18, 17, 15, .82) 100%);
}
.stage__ui {
  position: absolute; bottom: clamp(24px, 5vh, 56px);
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.stage__caption { overflow: hidden; }
.stage__cat {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-2);
}
.stage__cat::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.stage__title { margin-top: 12px; font-size: clamp(38px, 5.6vw, 84px); line-height: 1; color: var(--stone); }
.stage__cat, .stage__title { will-change: transform, opacity; }
.stage__meta { display: flex; align-items: center; gap: 18px; min-width: min(300px, 38%); font-size: 12px; letter-spacing: .22em; color: rgba(233, 226, 214, .72); }
.stage__count b { color: var(--stone); font-weight: 600; }
.stage__bar { position: relative; flex: 1; height: 1px; overflow: hidden; background: rgba(233, 226, 214, .25); }
.stage__bar i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.stage__hint {
  position: absolute; top: calc(var(--header-h) + 22px);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(233, 226, 214, .8);
  transition: opacity .4s;
}
.stage__hint span { display: inline-block; margin-left: 6px; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 50% { transform: translateY(5px); } }
@media (max-width: 760px) {
  /* mobilde alttaki "Ara · WhatsApp · Teklif" çubuğunun üstünde kalsın */
  .stage__ui { flex-direction: column; align-items: flex-start; gap: 16px; bottom: calc(58px + 24px + env(safe-area-inset-bottom)); }
  .stage__meta { width: 100%; min-width: 0; }
  .stage__hint { display: none; }
}
