/* ==========================================================================
   ALP İNŞAAT — "Heritage Atelier" concept design
   A cinematic, editorial dark theme. Fully custom CSS, no framework.
   Two-font system, self-hosted: Cormorant Garamond (display headings) +
   Hanken Grotesk (everything else — body, labels, nav, tabs).
   ========================================================================== */

/* ----- Fonts ------------------------------------------------------------ */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../../fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../../fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../../fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../../fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ----- Theme tokens ----------------------------------------------------- */
:root {
  /* warm heritage stone canvas → graded light panels */
  --ink-900: #f7f4ee;
  --ink-850: #efebe2;
  --ink-800: #e7e1d4;
  --ink-750: #ded6c5;
  --ink-700: #d3c9b4;
  --ink-600: #b8ab94;

  --cream:   #1b1916;   /* headings (deep black-charcoal) */
  --body:    #2c2722;   /* paragraph text (high contrast dark charcoal) */
  --faint:   #524b40;   /* muted, labels (crisp dark taupe) */
  --dim:     #73695b;   /* lowest contrast meta (legible) */

  /* accent family sampled directly from the Cumhur Alp logo mark (coral-red oval) */
  --gold:      #c93b36; /* primary accent — logo red */
  --gold-soft: #d94f4a; /* accent hover / highlight */
  --gold-deep: #962824;
  --ember:     #eb4543; /* true logo red */
  --silver:    #73787a;

  --line:        rgba(180, 160, 140, 0.25);
  --line-soft:   rgba(27, 25, 22, 0.08);
  --line-strong: rgba(201, 59, 54, 0.25);

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Unified type system: only TWO families — Playfair (display headings) +
     Hanken Grotesk (everything else). Labels / eyebrows / nav / tabs that were
     monospaced now use the same sans as the body, so every page reads the same.
     (Kept the --ff-mono name so the many references don't need editing.) */
  --ff-mono: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 72px);

  --header-h: 168px;
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-weight: 360;
  background: var(--ink-900);
  color: var(--body);
  line-height: 1.7;
  font-size: 16.5px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--ink-900); }

/* film-grain + vignette atmosphere on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 0%, transparent 55%, rgba(0,0,0,0.5) 100%);
  mix-blend-mode: multiply;
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- Layout helpers --------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; z-index: 2; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }

/* hairline rule */
.rule { height: 1px; background: var(--line); border: 0; }

/* ----- Type scale ------------------------------------------------------- */
.display {
  font-family: var(--ff-display);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}
/* Cormorant has a small x-height, so the scale is bumped up vs. Playfair */
.h-xxl { font-size: clamp(2.8rem, 7.4vw, 6.2rem); }
.h-xl  { font-size: clamp(2.7rem, 6.2vw, 5.1rem); }
.h-lg  { font-size: clamp(2.1rem, 4vw, 3.35rem); }
.h-md  { font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.14; }
.ital { font-style: italic; font-weight: 500; }
.gold { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.6;
  color: var(--cream);
  font-weight: 350;
}
p + p { margin-top: 1.1em; }
.muted { color: var(--faint); }

/* mono eyebrow with leading tick line */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}
.eyebrow--plain::before { display: none; }

.kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}

/* section heading block */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .display { margin-top: 22px; }
.sec-head .lead { margin-top: 22px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* index number tag */
.idx {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  --bg: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 26px;
  color: var(--ink-900);
  background: var(--bg);
  border: 1px solid var(--bg);
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), background 0.5s var(--ease);
}
.btn .arw { transition: transform 0.45s var(--ease); }
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn:hover .arw { transform: translateX(5px); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-soft); }

/* understated text link with animated underline */
.tlink {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 4px;
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.tlink:hover { color: var(--gold-soft); }
.tlink:hover::after { transform: scaleX(1); }
.tlink .arw { transition: transform 0.45s var(--ease); }
.tlink:hover .arw { transform: translateX(5px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), height 0.4s var(--ease);
  /* subtle top scrim keeps nav legible over bright hero imagery */
  background: linear-gradient(180deg, rgba(247,244,238,0.92) 0%, rgba(247,244,238,0.70) 55%, rgba(247,244,238,0) 100%);
}
.site-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5%; top: 0; bottom: 0;
  width: 75%;
  pointer-events: none;
  background:
    radial-gradient(86% 150% at 0% 48%,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.88) 18%,
        rgba(255, 254, 252, 0.55) 36%,
        rgba(255, 253, 250, 0.20) 62%,
        transparent 82%);
  filter: blur(12px);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.site-head.is-stuck::before { opacity: 0.9; }
.site-head.is-stuck {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  height: 118px;
  border-bottom: 1px solid var(--line);
}
.site-head.is-stuck .nav a {
  color: #1b1916;
  text-shadow: none;
}
.site-head .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: inline-flex; }
.brand img { height: 130px; width: auto; transition: height 0.4s var(--ease); position: relative; }
.site-head.is-stuck .brand img { height: 84px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2b2722;
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

/* mobile toggle */
.nav-toggle { display: none; width: 30px; height: 18px; position: relative; z-index: 71; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--cream); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 12px 48px rgba(27, 24, 20, 0.25);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease);
  animation: kenburns 18s ease-out infinite alternate;
}
.hero__bg .slide.is-active { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, -1.5%); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(22, 19, 15, 0.48) 0%, rgba(22, 19, 15, 0.15) 35%, rgba(22, 19, 15, 0.55) 75%, rgba(22, 19, 15, 0.90) 100%),
    linear-gradient(90deg, rgba(22, 19, 15, 0.65) 0%, rgba(22, 19, 15, 0) 58%);
}
.hero .shell { z-index: 3; width: 100%; }

.hero__eyebrow { margin-bottom: 30px; text-shadow: 0 1px 14px rgba(10,10,8,0.6); }
.hero__title { max-width: 16ch; color: #ffffff; text-shadow: 0 2px 30px rgba(10,10,8,0.75); }
.hero__lead { text-shadow: 0 1px 16px rgba(10,10,8,0.7); color: #f4efe5; max-width: 46ch; }

/* hero brand wordmark — shows the company name as text, not only the logo */
.hero__brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 26px; }
.hero__brand b { font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.45rem); letter-spacing: 0.26em; text-transform: uppercase; color: #ffffff; text-shadow: 0 1px 16px rgba(10,10,8,0.7); }
.hero__brand span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #ff6b66; text-shadow: 0 1px 8px rgba(0,0,0,0.9); position: relative; padding-left: 18px; }
.hero__brand span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: #ff6b66; }
.hero__title .ital { color: #ff6b66; font-style: italic; }
.hero__meta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
}

/* corner frame motif (architectural drawing) */
.frame { position: absolute; z-index: 3; pointer-events: none; inset: 18px; border: 1px solid var(--line); }
.frame span { position: absolute; width: 13px; height: 13px; }
.frame span::before, .frame span::after { content: ""; position: absolute; background: var(--gold); opacity: 0.85; }
.frame span::before { width: 100%; height: 1px; top: 0; }
.frame span::after { width: 1px; height: 100%; left: 0; }
.frame .tl { top: -1px; left: -1px; }
.frame .tr { top: -1px; right: -1px; transform: scaleX(-1); }
.frame .bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.frame .br { bottom: -1px; right: -1px; transform: scale(-1); }

/* vertical scroll cue / coordinate strip on hero edge */
.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 7vw, 96px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__cue .txt {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
}
.hero__cue .ln { width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__cue .ln::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 30%; background: var(--gold-soft); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(330%); } }

/* small page-locator (slide counter) */
.hero__counter {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(48px, 7vw, 96px);
  z-index: 3;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--faint);
  display: none;
}

/* ----- page banner (interior pages, no full hero) ---------------------- */
.banner {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(72px, 12vw, 150px));
  padding-bottom: clamp(56px, 9vw, 120px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.banner__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.34; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,244,238,0.85), rgba(247,244,238,0.96)); }
.banner .shell { z-index: 2; }
.banner__crumb { margin-bottom: 26px; display: flex; gap: 10px; align-items: center; }
.banner__crumb a { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); transition: color 0.3s; }
.banner__crumb a:hover { color: var(--gold); }
.banner__crumb .sep { color: var(--faint); }
.banner__crumb .here { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.banner h1 { max-width: 18ch; }
.banner .lead { margin-top: 26px; max-width: 56ch; }

/* ==========================================================================
   GRID PRIMITIVES
   ========================================================================== */
.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--text-r { grid-template-columns: 1fr 1.05fr; }

/* framed photo */
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 11; }
.photo__tag {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: rgba(10,10,8,0.78); backdrop-filter: blur(6px);
  padding: 8px 13px; border: 1px solid var(--line);
}
.photo--bordered { border: 1px solid var(--line); padding: 10px; }
.photo--bordered img { aspect-ratio: inherit; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(14px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.stat:not(:last-child) { border-right: 1px solid var(--line); }
.stat__num { font-family: var(--ff-display); font-size: clamp(2.6rem, 5vw, 4.1rem); color: var(--cream); line-height: 1; font-weight: 500; }
.stat__num .u { color: var(--gold); font-size: 0.5em; vertical-align: super; margin-left: 2px; }
.stat__label { font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 16px; }

/* ==========================================================================
   SERVICES — editorial numbered list
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 88px 1fr minmax(0, 2.1fr) auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.svc::before {
  content: "";
  position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(217,79,74,0.05) 40%, rgba(217,79,74,0.05) 60%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.svc:hover { padding-left: 18px; }
.svc:hover::before { opacity: 1; }
.svc__num { font-family: var(--ff-mono); font-size: 13px; color: var(--gold); letter-spacing: 0.1em; padding-top: 8px; }
.svc__name { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.3vw, 2rem); color: var(--cream); font-weight: 500; line-height: 1.1; transition: color 0.4s var(--ease); }
.svc:hover .svc__name { color: var(--gold-soft); }
.svc__desc { color: var(--body); font-size: 0.97rem; line-height: 1.65; }
.svc__arw { font-family: var(--ff-mono); color: var(--faint); align-self: center; transition: transform 0.5s var(--ease), color 0.4s var(--ease); }
.svc:hover .svc__arw { color: var(--gold); transform: translateX(6px); }

/* services as cards (alt) */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-card { background: var(--ink-850); padding: clamp(30px, 3.2vw, 46px); transition: background 0.5s var(--ease); position: relative; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.svc-card:hover { background: var(--ink-800); }
.svc-card:hover::after { width: 100%; }
.svc-card__num { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.2em; }
.svc-card__name { font-family: var(--ff-display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); color: var(--cream); margin: 28px 0 16px; font-weight: 500; line-height: 1.15; }
.svc-card__desc { font-size: 0.95rem; color: var(--body); line-height: 1.65; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step { background: var(--ink-900); padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 30px); }
.step__n { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); }
.step__t { font-family: var(--ff-display); color: var(--cream); font-size: 1.35rem; margin: 18px 0 12px; font-weight: 500; }
.step__d { font-size: 0.95rem; color: var(--body); line-height: 1.6; }

/* ==========================================================================
   FEATURED PROJECTS
   ========================================================================== */
.feat { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 40px); }
.feat__item { position: relative; }
.feat__item--a { grid-column: span 7; }
.feat__item--b { grid-column: span 5; }
.feat__item--full { grid-column: span 12; }
.feat__media { position: relative; overflow: hidden; cursor: pointer; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform 1.1s var(--ease), filter 0.6s var(--ease); }
.feat__item--b .feat__media img { aspect-ratio: 4/5; }
.feat__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 10, 8, 0.88) 100%);
  opacity: 0.9; transition: opacity 0.5s var(--ease);
}
.feat__media:hover img { transform: scale(1.06); filter: brightness(0.8); }
.feat__plus {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 46px; height: 46px; border: 1px solid rgba(244,239,229,0.5); border-radius: 50%;
  display: grid; place-items: center; color: #ffffff; font-size: 22px; font-weight: 300;
  opacity: 0; transform: scale(0.7); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.4s, color 0.4s;
}
.feat__media:hover .feat__plus { opacity: 1; transform: scale(1); }
.feat__plus:hover { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.feat__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 2.6vw, 34px); }
.feat__loc { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #ff6b66; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.feat__name { font-family: var(--ff-display); color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.9); font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 500; line-height: 1.2; margin-top: 12px; }
.feat__count { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #e2dcd2; text-shadow: 0 1px 6px rgba(0,0,0,0.8); margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; }

/* ==========================================================================
   PROJECT REGISTER — hover-preview editorial list
   ========================================================================== */
.reg-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 18px; }

.register { border-top: 1px solid var(--line); position: relative; }
.reg-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: clamp(14px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.reg-row__idx { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; color: var(--faint); letter-spacing: 0.08em; transition: color 0.4s; }
.reg-row__name { font-family: var(--ff-display); font-size: clamp(1.05rem, 1.5vw, 1.32rem); color: var(--cream); font-weight: 500; line-height: 1.3; transition: color 0.4s var(--ease); }
.reg-row__loc { font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.reg-row[data-preview] { cursor: pointer; }
.reg-row[data-preview] .reg-row__name { position: relative; }
.reg-row[data-preview]::after {
  content: "↗";
  font-family: var(--ff-mono); color: var(--gold); opacity: 0; margin-left: 8px;
  transition: opacity 0.4s;
}
.reg-row:hover { padding-left: 14px; }
.reg-row:hover .reg-row__name { color: var(--gold-soft); }
.reg-row:hover .reg-row__idx { color: var(--gold); }
.reg-row[data-preview]:hover::after { opacity: 1; }
.reg-row.has-photo .reg-row__loc::before { content: "● "; color: var(--gold); font-size: 8px; vertical-align: middle; }

/* floating cursor-follow preview */
.reg-preview {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 220px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.reg-preview.is-on { opacity: 1; }
.reg-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .reg-preview { display: none; } }

.reg-foot { margin-top: 26px; font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--faint); }

/* segmented control / filters */
.seg { display: inline-flex; border: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.seg button {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); padding: 13px 22px; border-right: 1px solid var(--line); transition: color 0.35s, background 0.35s;
}
.seg button:last-child { border-right: 0; }
.seg button.is-active { color: #ffffff !important; background: var(--gold); font-weight: 600; }
.seg button:hover:not(.is-active) { color: var(--cream); }

/* ongoing project cards */
.ongoing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ongoing__item { background: var(--ink-850); padding: clamp(28px, 3vw, 44px); transition: background 0.5s var(--ease); position: relative; }
.ongoing__item:hover { background: var(--ink-800); }
.ongoing__loc { font-family: var(--ff-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.ongoing__loc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(235,69,67,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(235,69,67,0.55);} 70% { box-shadow: 0 0 0 9px rgba(235,69,67,0);} 100% { box-shadow: 0 0 0 0 rgba(235,69,67,0);} }
.ongoing__name { font-family: var(--ff-display); color: var(--cream); font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.3; margin-top: 18px; }

/* ==========================================================================
   PROJECT CARD GRID  (v2-style: compact header + tabs + thumbnail cards)
   ========================================================================== */
.proj-intro {
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 84px));
  padding-bottom: clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 2;
}
.proj-tabs { margin-top: clamp(26px, 4vw, 42px); }

/* subsection header (Devam Eden / Tamamlanan) */
.grid-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px 28px; flex-wrap: wrap;
  margin: clamp(36px, 5vw, 60px) 0 clamp(26px, 3vw, 38px);
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.grid-head__l { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.grid-head h2 { font-family: var(--ff-display); color: var(--cream); font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 500; line-height: 1; }
.grid-head .count { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); }
.grid-head__note { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); max-width: 42ch; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }

.pcard { display: flex; flex-direction: column; }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--ink-800); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s var(--ease); }
.pcard.is-photo { cursor: pointer; }
.pcard.is-photo:hover .pcard__media { border-color: var(--line-strong); }
.pcard.is-photo:hover .pcard__media img { transform: scale(1.06); filter: brightness(0.68); }
.pcard.is-photo .pcard__media::after {
  content: "+"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 48px; height: 48px; line-height: 45px; text-align: center;
  border: 1px solid rgba(244, 239, 229, 0.85); border-radius: 50%;
  color: var(--cream); font-size: 24px; font-weight: 300; z-index: 2;
  opacity: 0; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.pcard.is-photo:hover .pcard__media::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* badge (photo count / active site) */
.pcard__badge {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 11px; background: rgba(15, 14, 12, 0.88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff !important;
}
.pcard__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(235, 69, 67, 0.6); animation: pulse 2.4s infinite; }

/* branded placeholder (no photo available) */
.pcard__ph { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 18%, rgba(217, 79, 74, 0.09), transparent 58%), linear-gradient(150deg, #e8e2d5, #ded6c5); }
.pcard__ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(180, 160, 140, 0.4); }
.pcard__ph::after { content: ""; position: absolute; width: 9px; height: 9px; top: 14px; left: 14px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); opacity: 0.7; }
.pcard__ph img { width: 50%; max-width: 138px; height: auto; object-fit: contain; opacity: 0.22; }
.pcard__phtag { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--ff-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: #4a4237; }

.pcard__body { padding-top: 19px; }
.pcard__loc { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pcard__title { font-family: var(--ff-display); color: #1b1916; font-size: clamp(1.05rem, 1.3vw, 1.22rem); font-weight: 600; line-height: 1.36; margin-top: 12px; transition: color 0.4s var(--ease); }
.pcard__meta { font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.04em; color: #3b342a; font-weight: 500; margin-top: 10px; line-height: 1.5; }
.pcard.is-photo:hover .pcard__title { color: var(--gold-soft); }

/* tab visibility (driven by body[data-projtab]) */
body[data-projtab="ongoing"] .js-completed { display: none; }
body[data-projtab="completed"] .js-ongoing { display: none; }

@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   QUOTE / BRAND STATEMENT BAND
   ========================================================================== */
.statement { position: relative; overflow: hidden; padding-block: clamp(90px, 13vw, 180px); border-block: 1px solid var(--line); }
.statement__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-attachment: fixed; opacity: 0.22; }
.statement__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, rgba(247,244,238,0.7), rgba(247,244,238,0.96)); }
.statement .shell { z-index: 2; text-align: center; }
.statement__mark { font-family: var(--ff-display); font-size: 5rem; color: var(--gold); line-height: 0.5; opacity: 0.6; }
.statement__q { font-family: var(--ff-display); font-weight: 400; color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.28; max-width: 22ch; margin: 32px auto 0; letter-spacing: -0.01em; }
.statement__attr { margin-top: 34px; font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta { padding-block: clamp(70px, 10vw, 130px); border-bottom: 1px solid var(--line); }
.cta .shell { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta__title { font-family: var(--ff-display); color: var(--cream); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.info-block { border-top: 1px solid var(--line); }
.info-row { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: baseline; }
.info-row__k { font-family: var(--ff-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.info-row__v { color: var(--cream); font-size: 1.05rem; }
.info-row__v .sub { color: var(--faint); font-size: 0.9rem; display: block; margin-top: 4px; }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 10px; }
.field label { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--ink-850);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 1rem;
  padding: 15px 16px;
  transition: border-color 0.35s var(--ease), background 0.35s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--ink-800); }
.field textarea { resize: vertical; min-height: 140px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--faint); }

/* map placeholder strip */
.map-strip { margin-top: 8px; height: 320px; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--ink-850); display: grid; place-items: center; }
.map-strip__grid { position: absolute; inset: 0; opacity: 0.4; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.map-strip__label { position: relative; z-index: 2; font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { padding-top: clamp(64px, 8vw, 100px); padding-bottom: 40px; position: relative; z-index: 2; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(36px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.foot-brand img { height: 110px; width: auto; margin-bottom: 24px; }
.foot-brand p { max-width: 38ch; color: var(--faint); font-size: 0.95rem; }
.foot-col h4 { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.foot-col a, .foot-col p { display: block; color: var(--body); font-size: 0.97rem; padding: 7px 0; transition: color 0.3s; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; flex-wrap: wrap; }
.foot-bot p, .foot-bot a { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.foot-bot a:hover { color: var(--gold); }
.foot-social { display: flex; gap: 14px; }
.foot-social a { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--faint); transition: all 0.35s var(--ease); font-size: 13px; }
.foot-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,7,6,0.96); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; border: 1px solid var(--line); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: var(--cream); font-family: var(--ff-mono); width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: all 0.3s; font-size: 18px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--ink-900); border-color: var(--gold); }
.lb-close { top: 28px; right: 28px; }
.lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--faint); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: 0.08s; }
[data-reveal-d="2"] { transition-delay: 0.16s; }
[data-reveal-d="3"] { transition-delay: 0.24s; }
[data-reveal-d="4"] { transition-delay: 0.32s; }

/* scroll progress bar */
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); z-index: 100; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .feat__item--a, .feat__item--b { grid-column: span 12; }
  .svc { grid-template-columns: 64px 1fr; row-gap: 14px; }
  .svc__desc { grid-column: 2; }
  .svc__arw { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; background: rgba(247,244,238,0.98); backdrop-filter: blur(16px); transform: translateY(-100%); transition: transform 0.6s var(--ease); z-index: 70; }
  body.menu-open .nav { transform: translateY(0); }
  .nav a { font-size: 16px; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
  .split, .split--text-r, .cols-2, .cols-3, .contact-grid { grid-template-columns: 1fr; }
  .split--text-r .photo, .split--text-r > div:first-child { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .svc-cards, .steps, .ongoing { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .cta .shell { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__cue { display: none; }
  .reg-row { grid-template-columns: 40px 1fr; }
  .reg-row__loc { grid-column: 2; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ----- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__bg .slide { animation: none; }
}
