/* ========================================================
   YUSUFALTIN YAPI İNŞAAT — Aydınlık & Sade (Refactored v2)
   warm cream + anthracite + gold; Sora + DM Sans
   ======================================================== */

:root {
  /* Surfaces */
  --bg-0: #FFFFFF;
  --bg-1: #F5F2EC;       /* default warm cream page bg */
  --bg-2: #ECE7DD;       /* darker cream */
  --bg-3: #E2DCCF;       /* deepest cream */
  --bg-ink: #16191E;     /* anthracite section bg (used sparingly) */
  --bg-ink-2: #1F2329;

  /* Lines */
  --line: rgba(26, 29, 34, 0.12);
  --line-soft: rgba(26, 29, 34, 0.07);
  --line-on-dark: rgba(255, 255, 255, 0.1);

  /* Gold */
  --gold: #B58E3A;
  --gold-2: #D4A94A;
  --gold-3: #8C6F2E;
  --gold-glow: rgba(181, 142, 58, 0.18);

  /* Ink */
  --ink-0: #16191E;       /* primary text */
  --ink-1: #3B4047;
  --ink-2: #6C7079;
  --ink-3: #9B9EA6;

  /* On-dark inks (for dark sections) */
  --on-dark-0: #F5F2EC;
  --on-dark-1: #C5C0B5;
  --on-dark-2: #8B8780;

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "DM Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; background: var(--bg-1); color: var(--ink-0); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.025em; margin: 0; line-height: 1.05;
  color: var(--ink-0);
}
h1 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.2vw, 64px); font-weight: 400; }
h3 { font-size: clamp(22px, 2.2vw, 32px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); }

.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--ink-0);
  background: transparent; color: var(--ink-0);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.btn:hover { background: var(--ink-0); color: var(--bg-1); }
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .3s; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 26px; }

.btn--solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--solid:hover { background: var(--gold-3); border-color: var(--gold-3); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink-0); }
.btn--ghost:hover { background: var(--ink-0); color: var(--bg-1); border-color: var(--ink-0); }
/* on-dark variants for sections with dark bg */
.section--ink .btn { border-color: var(--on-dark-0); color: var(--on-dark-0); }
.section--ink .btn:hover { background: var(--on-dark-0); color: var(--bg-ink); }
.section--ink .btn--solid { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, padding .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 0 var(--line-soft);
}
/* nav over hero — text white */
.nav:not(.is-scrolled) .nav__menu a,
.nav:not(.is-scrolled) .logo__text strong,
.nav:not(.is-scrolled) .nav__phone { color: rgba(255,255,255,0.95); }
.nav:not(.is-scrolled) .nav__phone .dot { background: var(--gold-2); }
.nav:not(.is-scrolled) .logo__mark { border-color: var(--gold-2); color: var(--gold-2); }
.nav:not(.is-scrolled) .logo__text small { color: var(--gold-2); }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--gold);
  letter-spacing: -0.04em;
  position: relative;
  transition: all .35s;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-0); transition: color .35s; }
.logo__text small { font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; transition: color .35s; }

.nav__menu { display: flex; gap: 36px; }
.nav__menu a {
  font-size: 13px; letter-spacing: 0.04em; font-weight: 500;
  color: var(--ink-0); position: relative; padding: 8px 0;
  transition: color .25s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  height: 1px; width: 0; background: var(--gold); transition: width .35s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--gold); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-1); letter-spacing: .04em; transition: color .35s; }
.nav__phone .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(181,142,58,.16); }
.burger { display: none; flex-direction: column; gap: 5px; width: 28px; background: transparent; border: 0; padding: 8px 0; }
.burger span { display: block; width: 100%; height: 1.5px; background: var(--ink-0); }
.nav:not(.is-scrolled) .burger span { background: #fff; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg-1);
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); border-bottom: 1px solid var(--line-soft); }
.mobile-menu__close { background: transparent; border: 1px solid var(--line); color: var(--ink-0); width: 44px; height: 44px; }
.mobile-menu__list { display: flex; flex-direction: column; padding: 40px var(--gutter); gap: 24px; flex: 1; justify-content: center; }
.mobile-menu__list a { font-family: var(--display); font-size: clamp(32px, 8vw, 56px); font-weight: 400; color: var(--ink-0); letter-spacing: -0.02em; }
.mobile-menu__list a:hover { color: var(--gold); }
.mobile-menu__foot { padding: 32px var(--gutter); border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 960px) {
  .nav__menu, .nav__phone { display: none; }
  .burger { display: flex; }
}

/* ---- FOOTER ---- */
.footer { background: var(--bg-ink); color: var(--on-dark-1); border-top: 1px solid var(--line-soft); padding: 96px 0 40px; margin-top: 120px; }
.footer h4 { color: var(--on-dark-0); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px; }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 24px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--on-dark-1); font-size: 14px; transition: color .25s; }
.footer ul a:hover { color: var(--gold-2); }
.footer__brand .logo__mark { border-color: var(--gold-2); color: var(--gold-2); }
.footer__brand .logo__text strong { color: var(--on-dark-0); }
.footer__brand p { color: var(--on-dark-2); font-size: 14px; max-width: 320px; margin: 24px 0 28px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-on-dark); color: var(--on-dark-1); transition: all .25s; }
.footer__social a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-on-dark); color: var(--on-dark-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; } .footer__bottom { flex-direction: column; gap: 14px; } }

/* ---- HERO (video feel) ---- */
.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; background: var(--bg-ink); transform: translateZ(0); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: center center; filter: brightness(.62) contrast(1.02) saturate(.92); will-change: transform; }
.hero__slide.is-active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { 0% { transform: scale(1.0); } 100% { transform: scale(1.12) translate(-1%, -1%); } }

.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 20% 30%, transparent 0%, rgba(22,25,30,.4) 60%, rgba(22,25,30,.8) 100%),
  linear-gradient(180deg, rgba(22,25,30,.5) 0%, transparent 30%, rgba(22,25,30,.75) 100%);
}
.hero__grid { display: none; }

.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; color: var(--on-dark-0); align-items: flex-start; text-align: left; }
.hero__slide-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; color: #fff; align-items: flex-start; text-align: left; }
.hero__slide-content * { text-align: left !important; margin-left: 0 !important; }
.hero__top { position: absolute; top: 130px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-start; }
.hero__rec { display: flex; align-items: center; gap: 10px; color: var(--gold-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.hero__rec .rec-dot { width: 8px; height: 8px; background: var(--gold-2); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.hero__meta strong { color: var(--gold-2); font-weight: 500; }

.hero h1 { max-width: 800px; color: #ffffff; text-shadow: 0 4px 12px rgba(0,0,0,0.8); font-weight: 500; text-align: left !important; margin-left: 0 !important; }
.hero h1 em { font-style: normal; color: var(--gold-2); font-weight: 500; text-shadow: 0 4px 12px rgba(0,0,0,0.8); }
.hero__sub { max-width: 600px; color: #ffffff; font-size: 19px; line-height: 1.7; margin: 24px 0 38px; font-weight: 500; text-shadow: 0 2px 8px rgba(0,0,0,0.8); text-align: left !important; margin-left: 0 !important; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start !important; margin-left: 0 !important; }
.hero__actions .btn { border-color: rgba(255,255,255,0.9); color: #fff; font-weight: 600; text-shadow: none; }
.hero__actions .btn:hover { background: #fff; color: var(--ink-0); border-color: #fff; }
.hero__actions .btn--solid { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 600; }
.hero__actions .btn--solid:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }

.hero__bottom { position: absolute; bottom: 40px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; z-index: 2; color: rgba(255,255,255,0.8); }
.hero__counter { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; display: flex; align-items: center; gap: 16px; }
.hero__counter .num { color: var(--gold-2); font-size: 14px; }
.hero__counter .bar { width: 120px; height: 1px; background: rgba(255,255,255,0.15); position: relative; }
.hero__counter .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold-2); animation: barfill 5s linear infinite; }
@keyframes barfill { 0% { width: 0; } 100% { width: 100%; } }

.hero__dots { display: flex; gap: 8px; align-items: center; }
.hero__dots button { width: 10px; height: 10px; border: 1px solid rgba(255,255,255,0.5); background: transparent; padding: 0; transition: all .3s; }
.hero__dots button.is-active { background: var(--gold-2); border-color: var(--gold-2); transform: scale(1.2); }

.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,0.6); font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; }
.hero__scroll .line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold-2), transparent); position: relative; }
.hero__scroll .line::after { content: ""; position: absolute; left: -1.5px; top: 0; width: 3px; height: 10px; background: var(--gold-2); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0% { top: 0; opacity: 0; } 30% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

@media (max-width: 720px) {
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* ---- SECTION TITLES ---- */
.section { padding: 140px 0; position: relative; background: var(--bg-1); transition: background .5s ease; }
.section--dark { background: var(--bg-1); }
.section--charcoal { background: var(--bg-2); }

/* === ANTHRACITE flip — drives child inline-style vars to dark === */
.section--ink {
  background: var(--bg-ink);
  color: var(--on-dark-0);
  /* override the local color vars so descendants using var(--ink-0) etc.
     automatically read the on-dark palette. */
  --ink-0: var(--on-dark-0);
  --ink-1: var(--on-dark-1);
  --ink-2: var(--on-dark-2);
  --ink-3: rgba(255,255,255,0.32);
  --bg-0: var(--bg-ink-2);
  --bg-1: var(--bg-ink);
  --bg-2: var(--bg-ink-2);
  --line: var(--line-on-dark);
  --line-soft: rgba(255,255,255,0.06);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark-0); }
.section--ink .lede { color: var(--on-dark-1); }
.section--ink .eyebrow { color: var(--gold-2); }
.section--ink .eyebrow::before { background: var(--gold-2); }
.section--ink h2 em, .section--ink h3 em { color: var(--gold-2); }
.section--ink .mono { color: var(--on-dark-2); }
.section--ink p { color: var(--on-dark-1); }
.section--ink .signature { color: var(--on-dark-0); }
.section--ink .signature small { color: var(--gold-2); }

/* Service cards on dark */
.section--ink .service { border-color: var(--line-on-dark); }
.section--ink .service::before { background: var(--bg-ink-2); }
.section--ink .services__grid { border-color: var(--line-on-dark); }
.section--ink .service__title { color: var(--on-dark-0); }
.section--ink .service__desc { color: var(--on-dark-1); }

/* Process on dark */
.section--ink .process { border-color: var(--line-on-dark); }
.section--ink .process__step { border-color: var(--line-on-dark); }
.section--ink .process__step:hover { background: var(--bg-ink-2); }
.section--ink .process__line .dot { background: var(--bg-ink); }
.section--ink .process__title { color: var(--on-dark-0); }
.section--ink .process__desc { color: var(--on-dark-1); }

/* About preview on dark */
.section--ink .about-prev__media::after { border-color: var(--gold-2); }
.section--ink .about-prev__card { background: rgba(22,25,30,0.92); border-left-color: var(--gold-2); }
.section--ink .about-prev__card p { color: var(--on-dark-1); }
.section--ink .about-prev__copy p { color: var(--on-dark-1); }
.section--ink .about-prev__bullets li { color: var(--on-dark-1); }
.section--ink .about-prev__bullets li::before { color: var(--gold-2); }

/* Projects on dark */
.section--ink .proj { background: var(--bg-ink-2); }

/* Blog on dark */
.section--ink .blog-card { background: var(--bg-ink-2); border-color: var(--line-on-dark); }
.section--ink .blog-card:hover { border-color: var(--gold-2); }
.section--ink .blog-card__title { color: var(--on-dark-0); }
.section--ink .blog-card:hover .blog-card__title { color: var(--gold-2); }
.section--ink .blog-card__excerpt { color: var(--on-dark-1); }
.section--ink .blog-card__meta { color: var(--on-dark-2); }

/* Stat on dark */
.section--ink .stat .num { color: var(--on-dark-0); }
.section--ink .stat .num em { color: var(--gold-2); }
.section--ink .stat .lbl { color: var(--on-dark-2); }
.section--ink .stat .desc { color: var(--on-dark-1); }

/* Buttons on dark */
.section--ink .btn { border-color: rgba(255,255,255,0.5); color: var(--on-dark-0); }
.section--ink .btn:hover { background: var(--on-dark-0); color: var(--bg-ink); }
.section--ink .btn--solid { background: var(--gold); border-color: var(--gold); color: #fff; }
.section--ink .btn--solid:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }

.section__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.section__head .label { display: flex; flex-direction: column; gap: 22px; }
.section__head h2 { max-width: 16ch; }
.section__head h2 em { font-style: normal; color: var(--gold); font-weight: 300; }
.section--ink .section__head h2 em { color: var(--gold-2); }
.section__head .lede { color: var(--ink-1); font-size: 18px; line-height: 1.7; max-width: 60ch; }
@media (max-width: 800px) { .section { padding: 96px 0; } .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; } }

/* ---- STATS BAR ---- */
.stats { padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-0); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stat { display: flex; flex-direction: column; gap: 14px; position: relative; padding-left: 24px; }
.stat::before { content: ""; position: absolute; left: 0; top: 14px; width: 2px; height: calc(100% - 14px); background: var(--gold); }
.stat .num { font-family: var(--display); font-size: clamp(52px, 5.8vw, 80px); font-weight: 300; color: var(--ink-0); line-height: 0.95; letter-spacing: -0.04em; }
.stat .num em { color: var(--gold); font-style: normal; }
.stat .lbl { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.stat .desc { color: var(--ink-1); font-size: 14px; max-width: 24ch; line-height: 1.6; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

/* ---- ABOUT PREVIEW ---- */
.about-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-prev__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.about-prev__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.about-prev__media:hover img { transform: scale(1.04); }
.about-prev__media::after { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--gold); transform: translate(24px, 24px); pointer-events: none; }
.about-prev__card { position: absolute; bottom: 32px; left: 32px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 24px 28px; border-left: 3px solid var(--gold); max-width: 280px; }
.about-prev__card .y { font-family: var(--display); font-weight: 300; font-size: 52px; color: var(--gold); line-height: 1; letter-spacing: -0.04em; }
.about-prev__card p { color: var(--ink-1); font-size: 13px; margin: 8px 0 0; line-height: 1.6; }
.about-prev__copy h2 em { font-style: normal; color: var(--gold); font-weight: 300; }
.about-prev__copy p { color: var(--ink-1); font-size: 16px; line-height: 1.8; margin: 24px 0 12px; }
.about-prev__bullets { list-style: none; padding: 0; margin: 24px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.about-prev__bullets li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-1); font-size: 15px; line-height: 1.6; }
.about-prev__bullets li::before { content: "→"; color: var(--gold); flex: 0 0 auto; font-weight: 600; }
.signature { font-family: var(--display); font-style: normal; font-weight: 400; font-size: 22px; color: var(--ink-0); margin-top: 36px; }
.signature small { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.18em; color: var(--ink-2); margin-top: 6px; text-transform: uppercase; font-weight: 500; }
@media (max-width: 900px) { .about-prev { grid-template-columns: 1fr; gap: 48px; } }

/* ---- SERVICES ---- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  padding: 48px 40px; min-height: 340px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s, transform .4s; position: relative; overflow: hidden;
  cursor: pointer; background: transparent;
}
.service::before { content: ""; position: absolute; inset: 0; background: var(--bg-0); transform: translateY(100%); transition: transform .5s cubic-bezier(.7,0,.2,1); z-index: 0; }
.service:hover::before { transform: translateY(0); }
.service > * { position: relative; z-index: 1; }
.service__num { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.16em; font-weight: 500; }
.service__title { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--ink-0); margin-top: 20px; line-height: 1.1; letter-spacing: -0.02em; }
.service__desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin-top: 18px; }
.service__more { display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 32px; opacity: .6; transition: opacity .3s, transform .3s; font-weight: 500; }
.service:hover .service__more { opacity: 1; transform: translateX(4px); }
@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr; } }

/* ---- PROJECTS ---- */
.proj-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.proj-filters button {
  background: transparent; border: 1px solid var(--line); color: var(--ink-1);
  padding: 11px 18px; font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.06em; transition: all .25s; font-weight: 500;
}
.proj-filters button:hover { border-color: var(--gold); color: var(--gold); }
.proj-filters button.is-active { background: var(--ink-0); border-color: var(--ink-0); color: var(--bg-1); }

.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.proj { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); cursor: pointer; }
.proj--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.proj--tall { grid-column: span 4; }
.proj--half { grid-column: span 6; aspect-ratio: 4 / 3; }
.proj--full { grid-column: span 12; aspect-ratio: 21 / 9; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; filter: brightness(.94); }
.proj:hover img { transform: scale(1.05); filter: brightness(.78); }
.proj__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(22,25,30,0.92) 100%); pointer-events: none; }
.proj__info { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; color: #fff; }
.proj__tag { display: inline-block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); padding: 5px 10px; border: 1px solid var(--gold-2); margin-bottom: 14px; font-weight: 500; background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); }
.proj__title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); color: #fff; line-height: 1.05; letter-spacing: -0.02em; }
.proj__loc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); margin-top: 8px; text-transform: uppercase; }
.proj__num { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; color: #fff; letter-spacing: 0.14em; z-index: 2; background: rgba(0,0,0,0.25); padding: 5px 10px; backdrop-filter: blur(4px); }
.proj__arrow { position: absolute; bottom: 28px; right: 28px; width: 44px; height: 44px; border: 1px solid var(--gold-2); display: grid; place-items: center; color: var(--gold-2); transform: translate(0, 8px); opacity: 0; transition: all .35s; z-index: 2; background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); }
.proj:hover .proj__arrow { transform: translate(0, 0); opacity: 1; }

@media (max-width: 960px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } .proj--wide, .proj--tall, .proj--half, .proj--full { grid-column: span 2; aspect-ratio: 4/3; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } .proj--wide, .proj--tall, .proj--half, .proj--full { grid-column: span 1; } }

/* ---- PROCESS ---- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process__step { padding: 56px 32px 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; transition: background .35s; background: transparent; }
.process__step:last-child { border-right: 0; }
.process__step:hover { background: var(--bg-0); }
.process__num { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.16em; font-weight: 500; }
.process__line { display: flex; align-items: center; gap: 12px; }
.process__line .dot { width: 10px; height: 10px; border: 1.5px solid var(--gold); background: var(--bg-1); border-radius: 50%; }
.process__line .seg { flex: 1; height: 1px; background: var(--line); }
.process__title { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--ink-0); letter-spacing: -0.02em; }
.process__desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process__step:nth-child(2) { border-right: 0; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } .process__step { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---- CTA STRIP (now dark accent) ---- */
.cta-strip { padding: 110px 0; background: var(--bg-ink); color: var(--on-dark-0); position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.cta-strip h2 { color: var(--on-dark-0); }
.cta-strip__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.cta-strip h2 em { font-style: normal; color: var(--gold-2); font-weight: 300; }
.cta-strip p { color: var(--on-dark-1); font-size: 17px; margin-top: 18px; max-width: 54ch; line-height: 1.7; }
.cta-strip__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.cta-strip .btn { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-strip .btn:hover { background: #fff; color: var(--bg-ink); border-color: #fff; }
.cta-strip .btn--solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.cta-strip .btn--solid:hover { background: var(--gold-2); color: #fff; }
@media (max-width: 900px) { .cta-strip__grid { grid-template-columns: 1fr; gap: 32px; } .cta-strip__actions { align-items: flex-start; } }

/* ---- BLOG TEASER ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; flex-direction: column; gap: 20px; cursor: pointer; background: var(--bg-0); border: 1px solid var(--line-soft); padding: 0; transition: border-color .35s, transform .35s, box-shadow .35s; overflow: hidden; }
.blog-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(22,25,30,0.06); }
.blog-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { padding: 0 26px 28px; display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.blog-card__meta { display: flex; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-2); text-transform: uppercase; align-items: center; }
.blog-card__meta .sep { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.blog-card__meta .cat { color: var(--gold); font-weight: 600; }
.blog-card__title { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink-0); line-height: 1.2; letter-spacing: -0.02em; transition: color .25s; }
.blog-card:hover .blog-card__title { color: var(--gold); }
.blog-card__excerpt { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.blog-card__more { display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; font-weight: 600; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- NEWSLETTER ---- */
.news { padding: 88px 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.news h3 { font-family: var(--display); font-weight: 400; font-size: 38px; letter-spacing: -0.02em; }
.news h3 em { font-style: normal; color: var(--gold); font-weight: 300; }
.news p { color: var(--ink-2); margin-top: 12px; max-width: 46ch; line-height: 1.7; }
.news__form { display: flex; gap: 8px; align-items: stretch; border: 1px solid var(--line); padding: 6px; background: var(--bg-0); }
.news__form input { flex: 1; background: transparent; border: 0; color: var(--ink-0); padding: 16px 16px; font-family: var(--sans); font-size: 14px; }
.news__form input:focus { outline: none; }
.news__form input::placeholder { color: var(--ink-3); }
.news__form button { padding: 0 22px; background: var(--gold); border: 0; color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .25s; font-weight: 600; }
.news__form button:hover { background: var(--gold-3); }
.news__hint { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 14px; }
.news__ok { color: var(--gold); margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
@media (max-width: 800px) { .news__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- PAGE HEADER ---- */
.page-head { padding: 200px 0 96px; background: var(--bg-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.page-head::before { content: ""; position: absolute; top: 0; right: -10%; width: 800px; height: 800px; background: radial-gradient(circle, var(--gold-glow), transparent 60%); }
.page-head .crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 24px; display: flex; gap: 14px; align-items: center; }
.page-head .crumb a { color: var(--ink-1); transition: color .2s; }
.page-head .crumb a:hover { color: var(--gold); }
.page-head .crumb .sep { color: var(--gold); }
.page-head h1 { max-width: 20ch; font-size: clamp(44px, 5.4vw, 80px); }
.page-head h1 em { font-style: normal; color: var(--gold); font-weight: 300; }
.page-head .lede { color: var(--ink-1); font-size: 18px; line-height: 1.7; margin-top: 28px; max-width: 66ch; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  padding: 14px 0; color: var(--ink-0); font-family: var(--sans); font-size: 15px;
  transition: border-color .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B58E3A' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field option { background: var(--bg-1); color: var(--ink-0); }
.contact-form button { grid-column: span 2; margin-top: 16px; justify-self: start; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { padding: 28px; border: 1px solid var(--line); background: var(--bg-0); display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,25,30,0.04); }
.contact-card h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0; font-weight: 600; }
.contact-card .val { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink-0); line-height: 1.25; letter-spacing: -0.01em; }
.contact-card .sub { color: var(--ink-2); font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .contact-form { grid-template-columns: 1fr; } .contact-form .full, .contact-form button { grid-column: span 1; } }

/* fake map */
.fake-map { position: relative; background: var(--bg-2); aspect-ratio: 16 / 7; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fake-map svg { width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.map-pin__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(181,142,58,.22), 0 0 0 12px rgba(181,142,58,.1); animation: pulse 2s infinite; }
.map-pin__lbl { background: var(--bg-0); border: 1px solid var(--gold); padding: 8px 14px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ========================================================
   ENTRANCE & SCROLL ANIMATIONS
   ======================================================== */

/* ---- Keyframes ---- */
@keyframes lineGrow { from { width: 0; } to { width: 100%; } }

/* animate.css zoomIn'in to frame'inde opacity eksik — override ediyoruz */
@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50%  { opacity: 1; }
  to   { opacity: 1; transform: scale3d(1, 1, 1); }
}

/* ---- Hero entrance (animate.css driven) ---- */
.hero__content .eyebrow { --animate-duration:0.7s; --animate-delay:0.10s; animation-fill-mode:both; animation-name:fadeInLeft;  }
.hero__h1               { --animate-duration:1.0s; --animate-delay:0.30s; animation-fill-mode:both; animation-name:fadeInRight; }
.hero__sub              { --animate-duration:0.8s; --animate-delay:0.65s; animation-fill-mode:both; animation-name:fadeInUp;    }
.hero__actions          { --animate-duration:0.8s; --animate-delay:0.90s; animation-fill-mode:both; animation-name:fadeInUp;    }
.hero__bottom           { --animate-duration:0.8s; --animate-delay:1.20s; animation-fill-mode:both; animation-name:fadeIn;      }

/* ---- Scroll reveal — hidden until JS fires ---- */
.reveal,
.section__head .label,
.section__head > div:last-child {
  opacity: 0;
  --animate-duration: 0.85s;
}
/* When animate__animated is added, animation-fill-mode:both holds opacity:1 at end */

/* utilities */

/* faq */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 28px 0; cursor: pointer; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq__q h4 { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ink-0); margin: 0; letter-spacing: -0.015em; }
.faq__plus { width: 32px; height: 32px; border: 1px solid var(--gold); position: relative; flex: 0 0 32px; transition: transform .35s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold); transition: transform .35s; }
.faq__plus::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s ease, margin .5s; color: var(--ink-1); font-size: 15px; line-height: 1.8; max-width: 72ch; }
.faq__item.is-open .faq__a { max-height: 320px; margin-top: 18px; }

/* ───── Hero h1 em variants (driven by Tweaks) ───── */
.hero__h1--altin em { font-style: normal; color: var(--gold-2); font-weight: 300; }
.hero__h1--beyaz em { font-style: normal; color: #fff; font-weight: 300; opacity: .92; }
.hero__h1--sade em { font-style: normal; color: inherit; font-weight: inherit; }
.hero__h1--sade { font-weight: 300; }

/* ───── Hero image filters (driven by Tweaks) ───── */
.hero__slides--sinematik .hero__slide img { filter: brightness(.62) contrast(1.02) saturate(.92); }
.hero__slides--sicak .hero__slide img { filter: brightness(.68) contrast(1.04) saturate(1.05) sepia(.18); }
.hero__slides--dogal .hero__slide img { filter: brightness(.78) contrast(1.0) saturate(1.0); }
.hero__slides--mono .hero__slide img { filter: brightness(.7) contrast(1.05) grayscale(1); }

/* ───── Theme font wrapper helpers ───── */
.theme-wrap { background: var(--bg-1); transition: background .4s; }

/* ---- PROJECT DETAIL ---- */
.project-detail__cover { position: relative; height: 70vh; min-height: 480px; background-size: cover; background-position: center; background-color: var(--bg-ink); display: flex; flex-direction: column; justify-content: flex-end; }
.project-detail__cover-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,25,30,.88) 0%, rgba(22,25,30,.3) 55%, transparent 100%); }
.project-detail__cover-inner { position: relative; z-index: 2; padding-bottom: 64px; color: #fff; }
.project-detail__cover-inner h1 { color: var(--on-dark-0); max-width: 18ch; }
.project-detail__cover-inner .proj__tag { margin-bottom: 18px; display: inline-block; }
.project-detail__loc { color: rgba(255,255,255,.6); margin-top: 12px; }
.project-detail__cover-inner .breadcrumb { margin-bottom: 24px; }
.project-detail__cover-inner .breadcrumb a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.65); transition: color .2s; }
.project-detail__cover-inner .breadcrumb a:hover { color: var(--gold-2); }

.project-detail__meta { background: var(--bg-0); border-bottom: 1px solid var(--line); }
.project-detail__meta-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.project-detail__meta-item { padding: 28px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.project-detail__meta-item:last-child { border-right: 0; }
.project-detail__meta-item .label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.project-detail__meta-item .value { font-family: var(--display); font-size: 20px; color: var(--ink-0); font-weight: 400; letter-spacing: -0.01em; }

.project-detail__body { padding: 96px 0; }
.project-detail__excerpt { font-size: 20px; line-height: 1.7; color: var(--ink-1); margin-bottom: 40px; max-width: 72ch; }
.project-detail__content { color: var(--ink-1); font-size: 16px; line-height: 1.9; max-width: 72ch; }

.project-detail__gallery { padding: 0 0 96px; }
.project-detail__gallery h2 { margin-bottom: 40px; }

.project-detail__cta { background: var(--bg-ink); padding: 110px 0; position: relative; overflow: hidden; }
.project-detail__cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.project-detail__cta h2 { color: var(--on-dark-0); }
.project-detail__cta p { color: var(--on-dark-1); margin-top: 18px; }
.project-detail__cta .cta-strip__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }

@media (max-width: 960px) { .project-detail__meta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .project-detail__meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .project-detail__cta .cta-strip__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---- BLOG POST ---- */
.blog-post__cover { height: 58vh; min-height: 400px; background-size: cover; background-position: center; position: relative; background-color: var(--bg-ink); }
.blog-post__cover-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,25,30,.82) 0%, rgba(22,25,30,.25) 55%, transparent 100%); }
.blog-post__header { position: relative; }
.blog-post__header-inner { position: relative; z-index: 2; padding: 56px 0 72px; margin-top: -120px; }
.blog-post__header-inner h1 { color: var(--on-dark-0); max-width: 20ch; font-size: clamp(36px, 5vw, 72px); }
.blog-post__meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.blog-post__meta .cat { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; padding: 5px 10px; border: 1px solid var(--gold-2); }
.blog-post__meta .mono { color: rgba(255,255,255,.6); }
.blog-post__header-inner .breadcrumb { margin-bottom: 28px; }
.blog-post__header-inner .breadcrumb a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .2s; }
.blog-post__header-inner .breadcrumb a:hover { color: var(--gold-2); }

.blog-post__body { padding: 96px 0; }
.blog-post__excerpt { font-size: 21px; line-height: 1.75; color: var(--ink-1); margin-bottom: 48px; font-weight: 400; border-left: 3px solid var(--gold); padding-left: 28px; max-width: 72ch; }
.blog-post__content { color: var(--ink-1); font-size: 16px; line-height: 1.9; max-width: 72ch; }
.blog-post__content p { margin-bottom: 24px; }

.blog-post__recent { padding: 0 0 96px; }
.blog-post__recent h2 { margin-bottom: 48px; }

/* ---- btn--gold alias (backwards compat) ---- */
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-3); border-color: var(--gold-3); color: #fff; }

/* ---- proj-count ---- */
.proj-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 32px; }

/* ---- GALLERY ---- */
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.gallery-filter { background: transparent; border: 1px solid var(--line); color: var(--ink-1); padding: 11px 18px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; transition: all .25s; font-weight: 500; cursor: pointer; }
.gallery-filter:hover { border-color: var(--gold); color: var(--gold); }
.gallery-filter.is-active { background: var(--ink-0); border-color: var(--ink-0); color: var(--bg-1); }
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item { break-inside: avoid; display: block; margin-bottom: 16px; position: relative; cursor: pointer; overflow: hidden; border: 0; padding: 0; background: transparent; width: 100%; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(22,25,30,.8)); opacity: 0; transition: opacity .35s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; gap: 6px; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.gallery-item__overlay .gallery-item__cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); font-weight: 400; }
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 540px) { .gallery-grid { columns: 1; } }

/* ---- LIGHTBOX ---- */
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox-overlay:not([aria-hidden="true"]) { opacity: 1; pointer-events: all; }
.lightbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lightbox-trigger { display: block; border: 0; padding: 0; background: transparent; cursor: pointer; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.lightbox-trigger img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.lightbox-trigger:hover img { transform: scale(1.05); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; transition: background .2s; z-index: 2; }
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 28px; display: grid; place-items: center; cursor: pointer; transition: background .2s; z-index: 2; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-height: 82vh; max-width: 88vw; object-fit: contain; display: block; }
.lightbox-caption { color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; margin-top: 16px; text-transform: uppercase; text-align: center; }
@media (max-width: 900px) { .lightbox-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .lightbox-grid { grid-template-columns: 1fr; } }
.theme--font-cormorant h1, .theme--font-cormorant h2, .theme--font-cormorant h3, .theme--font-cormorant h4 { letter-spacing: -0.015em; }
