/*
 * Agency Renaissance — tema stilleri
 * Kaynak: renaissance-web/src/app/(frontend)/globals.css (birebir aktarım)
 * Tailwind utility'leri bu dosyada YOK; onlar React widget bundle'ı ile gelir.
 */

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-400-italic-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-400-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-400-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-400-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-grotesk-400-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-grotesk-400-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-normal-latin.woff2') format('woff2');
}

/* ============ TOKENS ============ */
:root {
  --bg: #050b1a;
  --bg-2: #0a1128;
  --gold: #e9c176;
  --gold-30: rgba(233, 193, 118, 0.3);
  --gold-20: rgba(233, 193, 118, 0.2);
  --gold-15: rgba(233, 193, 118, 0.15);
  --gold-10: rgba(233, 193, 118, 0.1);
  --gold-50: rgba(233, 193, 118, 0.5);
  --gold-70: rgba(233, 193, 118, 0.7);
  --text: #dbe1ff;
  --text-mute: #c6c6ce;
  --text-dim: #9ca3af;
  --card-bg: rgba(22, 30, 53, 0.6);
  --card-border: rgba(233, 193, 118, 0.15);

  --f-serif: "Newsreader", Georgia, serif;
  --f-sans: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 25px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
.nav-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.35px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-gold { color: var(--gold); }
.nav-cta {
  padding: 12px 32px;
  background: #fff;
  color: var(--bg-2);
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ============ SHARED ELEMENTS ============ */
.italic-gold {
  font-family: var(--f-serif);
  font-style: italic;
  color: rgba(233, 193, 118, 0.8);
}
.serif-light {
  font-family: var(--f-serif);
  color: var(--text);
}
.serif-mute {
  font-family: var(--f-serif);
  color: var(--text-mute);
}
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.eyebrow.center { justify-content: center; }
.eyebrow-text {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 4.8px;
  text-transform: uppercase;
  color: var(--gold);
}
.divider-h {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-50);
}

/* Decorative corners on cards */
.corner {
  position: absolute;
  width: 128px;
  height: 128px;
  pointer-events: none;
}
.corner-tr {
  top: 0;
  right: 0;
  border-top: 1px solid var(--gold-50);
  border-right: 1px solid var(--gold-50);
  border-top-right-radius: inherit;
}
.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--gold-50);
  border-left: 1px solid var(--gold-50);
  border-bottom-left-radius: inherit;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 88px 120px;
  overflow: hidden;
  background: var(--bg);
}
/* Background photo layer (bg.png in /img) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/img/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
/* Dark tint overlay on top of the photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0.55) 0%, rgba(5, 11, 26, 0.85) 100%),
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(60, 80, 140, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(233, 193, 118, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}
.hero-inner { z-index: 3; }
.hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}
.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-title {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  font-size: 80px;
  line-height: 72px;
  letter-spacing: -1.6px;
  font-weight: 400;
}
.hero-title .italic-gold,
.hero-title .serif-light { font-size: 80px; line-height: 72px; }

.hero-sub {
  border-left: 1px solid var(--gold-30);
  padding-left: 33px;
  max-width: 576px;
}

/* ============ HAKKINDA (/hakkimizda) ============ */
/* Page-scoped background — leaves the shared .hero-bg (blog, hizmetler, HeroBlock) untouched */
.hero-about .hero-bg {
  background-image: url("/img/about-bg.png");
  background-position: center right;
  opacity: 0.8;
}
/* Lighter scrim on the left (where the copy sits the artwork is already dark),
   so Da Vinci and the gallery stay readable on the right. */
.hero-about .hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0.45) 0%, rgba(5, 11, 26, 0.6) 60%, rgba(5, 11, 26, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 11, 26, 0.55) 0%, rgba(5, 11, 26, 0.15) 45%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(233, 193, 118, 0.07), transparent 60%);
}
/* Full-width content column — the copy and the misyon/vizyon rail sit side by side */
.hero-about .hero-inner {
  grid-template-columns: 1fr;
  align-items: start;
}
.hero-about .hero-content { max-width: 1240px; width: 100%; }
.hero-about { padding-top: 180px; padding-bottom: 140px; }

/* Two columns: about copy on the left, misyon/vizyon stacked in the space at its right */
.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 8px;
}

/* Frosted glass copy panel — same treatment as the homepage CTA block */
.about-glass {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.about-glass p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mute);
}
.about-glass p + p { margin-top: 20px; }

/* Misyon & Vizyon — same glass treatment, stacked in the right column */
.about-cards {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.about-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-30);
}
.about-card .eyebrow { margin-bottom: 16px; }
.about-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mute);
}
@media (max-width: 1100px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-cards { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .about-cards { grid-template-columns: 1fr; }
}
.hero-sub p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
}
.btn-outline {
  position: relative;
  padding: 17px 41px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 16px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn-outline .btn-inner-border {
  position: absolute;
  inset: 2px;
  border: 1px solid var(--gold-20);
  pointer-events: none;
}
.btn-outline:hover {
  background: rgba(233, 193, 118, 0.08);
}
.est {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold-20);
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 24px;
  padding-left: 8px;
  margin-top: 8px;
}
.socials a { display: inline-flex; opacity: 0.8; transition: opacity 0.2s; }
.socials a:hover { opacity: 1; }

/* Phi card */
.phi-card {
  position: relative;
  width: 400px;
  height: 600px;
  padding: 33px;
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 48px;
  box-shadow: 0 0 60px -15px var(--gold-15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.phi-card .corner-tr { border-top-right-radius: 48px; }
.phi-card .corner-bl { border-bottom-left-radius: 48px; }
.phi-card-head {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-20);
}
.phi-symbol {
  font-family: "Liberation Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1.3;
  color: var(--gold);
}
.phi-value {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text);
  text-transform: uppercase;
}
.phi-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phi-foot { display: flex; flex-direction: column; gap: 8px; }
.phi-num {
  font-family: var(--f-serif);
  font-size: 30px;
  color: var(--gold);
  line-height: 1.2;
}
.phi-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fig-ref {
  position: absolute;
  right: 88px;
  bottom: 60px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(233, 193, 118, 0.6);
  text-transform: uppercase;
}

/* ============ DOMAINS / CARDS ============ */
.domains {
  position: relative;
  padding: 160px 88px;
  overflow: hidden;
}
.geo-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.divider-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 128px;
  background: linear-gradient(to bottom, transparent, var(--gold-50));
}
.domains-inner {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 128px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.big-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 400;
}
.big-heading .italic-gold { font-size: 76.8px; line-height: 65.28px; }
.big-heading .serif-light { font-size: 76.8px; line-height: 65.28px; }
.big-heading .serif-mute { font-size: 51.2px; line-height: 43.52px; margin-top: 16px; }
.big-heading .serif-mute.small { font-size: 24px; line-height: 32px; max-width: 560px; margin-top: 24px; }
.inline-with-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.inline-icon { flex-shrink: 0; }

/* Cards grid (12 col, 3 rows) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 24px;
}
.card {
  position: relative;
  padding: 49px;
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 0 60px -15px var(--gold-15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-7 { grid-column: span 7; grid-row: 1; }
.card-5 { grid-column: span 5; grid-row: 1; }
.card-4 { grid-column: span 4; grid-row: 2; min-height: 389px; }
.card-8 { grid-column: span 8; grid-row: 2; min-height: 389px; }
.card-12 { grid-column: span 12; grid-row: 3; }

.card-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  opacity: 0.6;
  z-index: 2;
}
.ghost-num {
  position: absolute;
  top: -32px;
  right: -32px;
  font-family: var(--f-serif);
  font-size: 224px;
  line-height: 224px;
  color: rgba(255,255,255,0.03);
  user-select: none;
  pointer-events: none;
}
.ghost-num-bottom { top: auto; bottom: -32px; }
.ghost-num-top-right { top: -32px; right: -32px; }

.card-title {
  position: relative;
  margin: 0 0 16px;
  font-family: var(--f-serif);
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  color: var(--text);
  z-index: 2;
}
.card-body {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-mute);
  z-index: 2;
  max-width: 450px;
}
.card-12 {
  justify-content: center;
}
.card-12 .card-title { margin-top: 24px; }
.card-12 .card-body { max-width: 672px; margin-bottom: 24px; }

/* Wavy card (04) */
.card-wavy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 49px;
}
.card-wavy .wave-left { position: relative; z-index: 2; }
.card-wavy .wave-left .card-title { margin-bottom: 24px; }
.card-wavy .wave-right {
  position: relative;
  height: 100%;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  mix-blend-mode: luminosity;
  opacity: 0.85;
}
.card-wavy .wave-right svg { width: 100%; height: 100%; display: block; }

/* ============ DISCIPLINES ============ */
.disciplines {
  background: var(--bg);
  padding: 128px 88px;
}
.disciplines-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 128px;
}
.medium-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
}
.medium-heading .italic-gold { font-size: 64px; line-height: 54.4px; }
.medium-heading .serif-light { font-size: 64px; line-height: 54.4px; }

.premium-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-10);
}
.premium-card {
  position: relative;
  padding: 65px;
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  min-height: 445px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5), 0 0 80px -20px var(--gold-15);
}
.premium-card-offset { margin-top: 128px; }
.premium-card-muted {
  background: rgba(44, 52, 76, 0.5);
  border-color: rgba(255,255,255,0.05);
}
.premium-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  opacity: 0.6;
}
.premium-head { display: flex; flex-direction: column; gap: 16px; }
.domain-tag {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--gold-70);
  font-family: var(--f-sans);
}
.domain-tag-mute { color: #46464d; }
.premium-title {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  color: var(--text);
}
.premium-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: auto;
}
.premium-body p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-mute);
  max-width: 448px;
}
.explore-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 33px;
  border-top: 1px solid var(--gold-20);
}
.premium-card-muted .explore-link { border-top-color: rgba(255,255,255,0.1); }
.explore-link span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

/* ============ INSIGHTS ============ */
.insights {
  padding: 128px 88px;
  overflow: hidden;
}
.insights-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  position: relative;
  padding: 41px;
  min-height: 387px;
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 0 60px -15px var(--gold-15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: transform 0.3s, border-color 0.3s;
}
.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 193, 118, 0.35);
}
.article-date {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--gold-70);
  display: block;
  margin-bottom: 16px;
}
.article-title {
  margin: 0 0 16px;
  font-family: var(--f-serif);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: var(--text);
}
.article-excerpt {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mute);
}
.read-link {
  padding-top: 25px;
  border-top: 1px solid var(--gold-10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 120px 0 48px;
  background: var(--bg);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 18% 62%, rgba(233, 193, 118, 0.1), transparent 70%),
    radial-gradient(720px 520px at 84% 82%, rgba(233, 193, 118, 0.07), transparent 70%);
  pointer-events: none;
}
.footer-geo {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 64px;
}
.footer-huge {
  position: relative;
  border-top: 1px solid var(--gold-20);
  border-bottom: 1px solid var(--gold-20);
  padding: 48px 0;
  margin-bottom: 96px;
  display: flex;
  justify-content: center;
}
.footer-huge::before,
.footer-huge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-20);
}
.footer-huge::before { top: 14px; }
.footer-huge::after { bottom: 14px; }
.footer-huge h2 {
  margin: 0;
  font-family: "Liberation Serif", var(--f-serif);
  font-size: 14vw;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--gold);
  text-align: center;
  font-weight: 400;
}
.footer-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-10);
  border-radius: 24px;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 64px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col h4, .footer-col h5 {
  margin: 0;
  font-family: var(--f-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-70);
  font-weight: 400;
}
.footer-col h4 {
  font-size: 14px;
  letter-spacing: 2.8px;
  color: var(--gold);
  margin-top: 8px;
}
.footer-col h5 { font-size: 10px; margin-bottom: 16px; }
.footer-col p {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 26px;
  color: rgba(156, 163, 175, 0.7);
}
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col ul li,
.footer-col ul li a,
.footer-col .footer-phone {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-col ul li a { transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col .footer-phone { color: rgba(156, 163, 175, 0.5); }
.footer-col .footer-email {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--text);
  padding-top: 16px;
  transition: color 0.2s;
}
.footer-col .footer-email:hover { color: var(--gold); }

/* Hizmetler + İletişim: daha büyük ve belirgin */
.footer-col--big h5 {
  font-size: 14px;
  letter-spacing: 2.8px;
  color: var(--gold);
}
.footer-col--big ul li {
  font-size: 13px;
  letter-spacing: 2.2px;
  color: var(--text);
}
.footer-col--big .footer-email {
  font-size: 15px;
  letter-spacing: 2.6px;
}
.footer-col--big .footer-phone {
  font-size: 13px;
  letter-spacing: 2.2px;
  color: rgba(156, 163, 175, 0.75);
}
.footer-badge {
  width: 72px;
  height: 72px;
  background: var(--gold-10);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.footer-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-socials {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.footer-social {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-20);
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-10);
}
.footer-legal {
  margin-top: 64px;
  padding-top: 33px;
  border-top: 1px solid var(--gold-10);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.4);
}

/* Active nav item: frosted gold glass pill with black text.
   Negative vertical margin cancels the padding so the bar height stays put. */
.nav-links a.is-active,
.nav-links a.is-active:hover {
  color: #0a1128;
  background: linear-gradient(135deg, rgba(233, 193, 118, 0.92), rgba(210, 160, 86, 0.86));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  margin: -6px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px -6px rgba(233, 193, 118, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.portfolio {
  position: relative;
  isolation: isolate;
  padding: 180px 88px 140px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
/* Da Vinci artwork — hero band that fades out behind the card grid */
.portfolio-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 118vh;
  background-image: url("/img/davinci-bg.png");
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  transform-origin: 62% 40%;
  animation: pf-kenburns 40s ease-in-out infinite alternate;
}
/* Darkening + tint pass so the title and grid stay legible over the artwork */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 11, 26, 0.52) 0px,
      rgba(5, 11, 26, 0.34) 260px,
      rgba(5, 11, 26, 0.62) 620px,
      rgba(5, 11, 26, 0.9) 950px,
      var(--bg) 1250px
    ),
    radial-gradient(ellipse 70% 50% at 50% 10%, rgba(60, 80, 140, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(233, 193, 118, 0.06), transparent 60%);
}
@keyframes pf-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.07) translate(-1.2%, -0.8%); }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-bg { animation: none; }
}
.portfolio-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}
.portfolio-inner {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Header */
.portfolio-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  text-align: center;
}
.portfolio-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 80px;
  line-height: 88px;
  letter-spacing: -4px;
  color: var(--text);
}
.portfolio-sub {
  margin: 0;
  max-width: 672px;
  font-size: 18px;
  line-height: 28.8px;
  color: var(--text-mute);
}

/* Filter bar (glass pill) */
.filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 9px;
  background: rgba(23, 31, 54, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-30);
  border-radius: 48px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 25px;
  background: transparent;
  border: 1px solid rgba(70, 70, 77, 0.3);
  border-radius: 9999px;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--text-mute);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-pill svg { color: var(--text-mute); transition: color 0.2s; }
.filter-pill:hover {
  /* Hello Elementor'un varsayılan button:hover kuralı burada devreye girip
     düğmeyi pembeye boyuyordu; arka planı açıkça saydam tutuyoruz. */
  background: transparent;
  border-color: rgba(233, 193, 118, 0.4);
  color: var(--gold);
}
.filter-pill:hover svg { color: var(--gold); }
.filter-pill.is-active {
  background: rgba(49, 56, 81, 0.5);
  border-color: rgba(233, 193, 118, 0.4);
  color: var(--gold);
}
.filter-pill.is-active svg { color: var(--gold); }

/* Artifacts grid */
.artifacts-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 16px;
}
.artifact-card {
  position: relative;
  height: 432px;
  background: #171f36;
  border: 1px solid rgba(70, 70, 77, 0.2);
  border-radius: 48px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.artifact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 193, 118, 0.35);
  box-shadow: 0 0 60px -10px rgba(233, 193, 118, 0.18);
}

.artifact-media {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  transition: opacity 0.5s, transform 0.6s;
}
.artifact-media svg { width: 100%; height: 100%; display: block; }
.artifact-card:hover .artifact-media {
  opacity: 0.85;
  transform: scale(1.04);
}

.artifact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5, 13, 35, 0) 0%,
    rgba(5, 13, 35, 0.5) 50%,
    rgba(5, 13, 35, 0.92) 100%);
  pointer-events: none;
}

.artifact-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.artifact-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.artifact-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  background: rgba(23, 31, 54, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--text-mute);
}
.artifact-tag svg { color: var(--text-mute); }
.artifact-year {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--gold-70);
}
.artifact-info { display: flex; flex-direction: column; gap: 8px; }
.artifact-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 57.6px;
  color: var(--text);
}
.artifact-desc {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(198, 198, 206, 0.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s, opacity 0.3s, margin 0.4s;
}
.artifact-card:hover .artifact-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 6px;
}
.artifact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.artifact-card:hover .artifact-cta {
  opacity: 1;
  transform: translateY(0);
}
.artifact-cta svg { color: var(--gold); }

.portfolio-fig {
  position: absolute;
  bottom: 32px;
  right: 88px;
}

/* Portfolio responsive */
@media (max-width: 1100px) {
  .artifacts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .portfolio { padding: 140px 20px 100px; }
  .portfolio-title { font-size: 56px; line-height: 64px; letter-spacing: -2px; }
  .portfolio-sub { font-size: 16px; }
  .filter-bar { padding: 8px; gap: 6px; }
  .filter-pill { padding: 10px 16px; font-size: 11px; }
  .artifacts-grid { grid-template-columns: 1fr; gap: 24px; }
  .artifact-card { height: 380px; border-radius: 32px; }
  .artifact-content { padding: 24px; }
  .artifact-title { font-size: 40px; line-height: 48px; }
  .portfolio-fig { right: 20px; bottom: 16px; }
}

/* ============ PORTFOLIO DETAIL ============ */
.case-hero {
  position: relative;
  min-height: 707px;
  padding: 0 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}
.case-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.case-hero-bg svg { width: 100%; height: 100%; display: block; }
.case-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0.6) 0%, rgba(5, 11, 26, 0.3) 35%, rgba(5, 11, 26, 0.95) 100%);
  pointer-events: none;
}
.case-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 80px;
  padding-top: 200px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.case-breadcrumb a {
  color: var(--text-mute);
  transition: color 0.2s;
}
.case-breadcrumb a:hover { color: var(--gold); }
.case-breadcrumb .bc-sep { color: var(--gold-30); }

.case-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 88px;
  line-height: 88px;
  letter-spacing: -3.5px;
}
.case-hero-title .italic-gold,
.case-hero-title .serif-light { font-size: 88px; line-height: 88px; }

/* Floating data bar */
.data-bar {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 19px 35px;
  background: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(233, 193, 118, 0.25);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 30px -10px rgba(233, 193, 118, 0.18);
  width: fit-content;
  max-width: 100%;
}
.data-bar-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.data-bar-cell.data-share { flex-direction: row; align-items: center; gap: 12px; }
.data-label {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.data-value {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 24px;
  color: var(--text);
}
.data-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.data-icons svg { color: var(--gold); }
.data-divider {
  width: 1px;
  background: var(--gold-20);
  margin: 0 32px;
  align-self: stretch;
}
.data-share a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-20);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.data-share a:hover {
  background: rgba(233, 193, 118, 0.08);
  border-color: var(--gold);
}

/* Main content */
.case-main {
  background: var(--bg);
  padding: 88px 88px 128px;
  position: relative;
}
.case-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}
/* Story 2-column grid (Sorun + Yaklaşım yan yana) */
.case-story-grid {
  position: relative;
  max-width: 1104px;
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.case-story {
  position: relative;
  padding-top: 34px;
}
.case-story-grid + .case-story,
main > .case-story {
  max-width: 1104px;
  margin: 0 auto 88px;
}
.story-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 1px;
  background: var(--gold);
}
.case-h2 {
  margin: 0 0 24px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1.2px;
  color: var(--text);
}
.case-paragraph {
  margin: 0 0 32px;
  max-width: 820px;
  font-family: var(--f-sans);
  font-size: 19px;
  line-height: 32px;
  color: var(--text-mute);
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  background: rgba(23, 31, 54, 0.6);
  border: 1px solid var(--gold-20);
  border-radius: 9999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Metrics */
.case-metrics {
  position: relative;
  max-width: 1104px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 0;
  border-top: 1px solid var(--gold-15);
  border-bottom: 1px solid var(--gold-15);
}
.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 32px;
  border-right: 1px solid var(--gold-10);
}
.metric:last-child { border-right: 0; }
.metric-num {
  font-family: var(--f-serif);
  font-size: 48px;
  line-height: 1;
  color: var(--text);
}
.metric-num .italic-gold { font-size: 48px; line-height: 1; }
.metric-unit {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--gold);
  margin-left: 4px;
}
.metric-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* SİLSİLE — Project image slider */
.silsile {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 88px;
}
.silsile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}
.silsile-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.silsile-nav {
  display: flex;
  gap: 16px;
}
.silsile-btn {
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1px solid var(--gold-20);
  border-radius: 9999px;
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s;
}
.silsile-btn:hover:not([disabled]) {
  background: rgba(233, 193, 118, 0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.silsile-btn[disabled] { opacity: 0.35; cursor: default; }

.silsile-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 32px;
}
.silsile-track {
  display: flex;
  column-gap: 32px;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}

.silsile-slide {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 2);
  height: 460px;
  border-radius: 32px;
  overflow: hidden;
  background: #171f36;
  border: 1px solid rgba(70, 70, 77, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s;
}
.silsile-slide:hover {
  transform: translateY(-4px);
  border-color: var(--gold-30);
  box-shadow: 0 0 60px -10px rgba(233, 193, 118, 0.2);
}

.silsile-media {
  position: absolute;
  inset: 0;
  transition: transform 0.7s;
}
.silsile-media svg { width: 100%; height: 100%; display: block; }
.silsile-slide:hover .silsile-media { transform: scale(1.06); }

.silsile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5, 13, 35, 0) 30%,
    rgba(5, 13, 35, 0.6) 65%,
    rgba(5, 13, 35, 0.95) 100%);
  pointer-events: none;
}

.silsile-info {
  position: absolute;
  inset: auto 40px 40px 40px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.silsile-tag {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.silsile-title {
  margin: 0 0 10px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 44px;
  color: var(--text);
}
.silsile-desc {
  margin: 0;
  max-width: 380px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-mute);
}
.silsile-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  transition: transform 0.3s;
}
.silsile-slide:hover .silsile-cta { transform: translateX(4px); }
.silsile-cta svg { color: var(--gold); }

/* Progress + counter */
.silsile-progress {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.silsile-bar {
  position: relative;
  display: block;
  flex: 1;
  height: 1px;
  background: var(--gold-15);
  overflow: hidden;
}
.silsile-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--gold);
  transition: width 0.55s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.silsile-counter {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-mute);
}
.silsile-current { color: var(--gold); }

/* Detail page responsive */
@media (max-width: 1100px) {
  .case-hero { padding: 0 48px; }
  .case-main { padding: 64px 48px 96px; }
  .silsile { padding: 0 48px; }
  .case-story-grid { gap: 40px; }
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric { padding: 16px 24px; }
}
@media (max-width: 860px) {
  .case-story-grid { grid-template-columns: 1fr; gap: 56px; }
  .silsile-slide { flex: 0 0 100%; height: 380px; }
  .silsile-info { inset: auto 28px 28px 28px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .case-hero { padding: 0 20px; min-height: 560px; }
  .case-hero-inner { padding-bottom: 48px; padding-top: 160px; gap: 24px; }
  .case-hero-title { font-size: 56px; line-height: 56px; letter-spacing: -1.5px; }
  .case-hero-title .italic-gold,
  .case-hero-title .serif-light { font-size: 56px; line-height: 56px; }

  .data-bar { flex-direction: column; padding: 20px; gap: 16px; }
  .data-divider { width: 100%; height: 1px; margin: 0; }

  .case-main { padding: 48px 20px 80px; }
  .case-h2 { font-size: 36px; line-height: 44px; }
  .case-paragraph { font-size: 16px; line-height: 26px; }

  .case-metrics { grid-template-columns: 1fr; padding: 24px 0; }
  .metric { border-right: 0; border-bottom: 1px solid var(--gold-10); padding: 18px 0; }
  .metric:last-child { border-bottom: 0; }
  .metric-num { font-size: 36px; }

  .silsile { padding: 0 20px; }
  .silsile-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .silsile-slide { height: 320px; border-radius: 24px; }
  .silsile-title { font-size: 28px; line-height: 34px; }
  .silsile-cta span { display: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero { padding: 160px 48px 96px; }
  .hero-inner { grid-template-columns: 1fr 360px; gap: 48px; }
  .phi-card { width: 360px; height: 540px; }
  .domains, .disciplines, .insights { padding-left: 48px; padding-right: 48px; }
  .footer-inner { padding: 0 32px; }
}
@media (max-width: 960px) {
  .nav { gap: 20px; padding: 6px 8px 6px 6px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 10px 20px; }

  .hero-inner { grid-template-columns: 1fr; }
  .phi-card { width: 100%; max-width: 400px; margin: 0 auto; }
  .hero-title { font-size: 56px; line-height: 56px; }
  .hero-title .italic-gold,
  .hero-title .serif-light { font-size: 56px; line-height: 56px; }

  .big-heading .italic-gold,
  .big-heading .serif-light { font-size: 48px; line-height: 52px; }
  .big-heading .serif-mute { font-size: 32px; line-height: 36px; }

  .cards-grid { grid-template-columns: 1fr; }
  .card-7, .card-5, .card-4, .card-8, .card-12 { grid-column: 1 / -1; grid-row: auto; }
  .card-wavy { grid-template-columns: 1fr; }

  .premium-grid { grid-template-columns: 1fr; }
  .center-line { display: none; }
  .premium-card-offset { margin-top: 0; }

  .articles-grid { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-glass { padding: 40px; }
  .footer-huge { padding: 32px 0; margin-bottom: 64px; }
  .footer-legal { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .hero { padding: 140px 20px 80px; }
  .domains, .disciplines, .insights { padding: 96px 20px; }
  .card { padding: 32px; }
  .premium-card { padding: 40px; }
  .footer-inner { padding: 0 20px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-glass { padding: 28px 20px; border-radius: 16px; }
  .footer-huge { padding: 20px 0; margin-bottom: 48px; }
  .footer-huge::before { top: 5px; }
  .footer-huge::after { bottom: 5px; }
}

/* ============ GALERİ SLIDE BUTTON + ZOOM HINT ============ */
.silsile-slide--image {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
  display: block;
}
.silsile-slide--image:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.silsile-media--photo {
  position: relative;
  overflow: hidden;
}
.silsile-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-30);
  border-radius: 999px;
  background: rgba(5, 11, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, border-color 0.2s;
  pointer-events: none;
}
.silsile-slide--image:hover .silsile-zoom,
.silsile-slide--image:focus-visible .silsile-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 11, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 80px;
  animation: lightboxIn 0.2s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-stage {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: calc(100vh - 112px);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lightbox-image {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--gold-15);
  background: rgba(22, 30, 53, 0.5);
  aspect-ratio: 16 / 10;
}
.lightbox-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
}
.lightbox-caption .silsile-tag {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.lightbox-caption .silsile-title {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(22, 30, 53, 0.55);
  border: 1px solid var(--gold-30);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(233, 193, 118, 0.12);
  border-color: var(--gold);
}
.lightbox-close {
  top: 24px;
  right: 24px;
}
.lightbox-arrow--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-arrow--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-arrow--prev:hover {
  transform: translate(-2px, -50%);
}
.lightbox-arrow--next:hover {
  transform: translate(2px, -50%);
}
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow--prev { left: 12px; }
  .lightbox-arrow--next { right: 12px; }
  .lightbox-caption .silsile-title { font-size: 18px; }
}

/* ===================================================================== */
/* SCROLL EXPERIENCE (sx-) — scroll-scrubbed background-video homepage    */
/* ===================================================================== */
.sx-root {
  position: relative;
  /* hero (100vh) + cinematic spacer (90vh) + 4 sections (400vh) ≈ 590vh */
  min-height: 600vh;
}

/* Fixed background layers */
.sx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
}
/* Oversized (106%) so cinematic scale (≥1) and ±1.5% pan never reveal --bg */
.sx-bg-inner {
  position: absolute;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  will-change: transform;
}
.sx-canvas,
.sx-video,
.sx-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.sx-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
  background:
    /* protect left-aligned text, let the right-side visual stay vivid */
    linear-gradient(
      100deg,
      rgba(5, 11, 26, 0.8) 0%,
      rgba(5, 11, 26, 0.45) 32%,
      rgba(5, 11, 26, 0.08) 62%,
      rgba(5, 11, 26, 0.22) 100%
    ),
    /* light vertical wash, slightly stronger at the very bottom */
    linear-gradient(
      180deg,
      rgba(5, 11, 26, 0.18) 0%,
      rgba(5, 11, 26, 0.1) 55%,
      rgba(5, 11, 26, 0.48) 100%
    );
}

/* Legibility insurance now that the overlay is light and the video is vivid */
.sx-title,
.sx-heading,
.sx-cta-title {
  text-shadow: 0 2px 28px rgba(5, 11, 26, 0.55);
}
.sx-lead,
.sx-article-title,
.sx-card-body,
.sx-eyebrow {
  text-shadow: 0 1px 14px rgba(5, 11, 26, 0.72);
}

/* Scrolling content above the video */
.sx-content {
  position: relative;
  z-index: 10;
}
.sx-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(1rem * 1.618);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(96px, 12vh, 160px) clamp(20px, 6vw, 88px);
}

/* Cinematic hero zone: hero + an empty spacer where the video goes "pure" */
.sx-herozone {
  position: relative;
}
.sx-spacer {
  height: 90vh;
}

/* Per-section translucent "curtain": text stays legible, video shows through gutters */
.sx-veiled::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 115% 80% at 30% 50%,
      rgba(5, 11, 26, 0.78),
      rgba(5, 11, 26, 0.5) 55%,
      rgba(5, 11, 26, 0.22) 80%,
      transparent 100%
    );
}

/* Entrance wrapper around each service card (keeps .sx-card :hover transform intact) */
.sx-card-wrap {
  height: 100%;
}

/* Eyebrow / technical label */
.sx-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 4.8px;
  text-transform: uppercase;
  color: var(--gold);
}
.sx-tick {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Hero */
.sx-title {
  margin: 0;
  font-family: var(--f-serif);
  line-height: 0.92;
  font-size: clamp(52px, 9vw, 132px);
  display: flex;
  flex-direction: column;
}
.sx-title-a {
  font-style: italic;
  color: rgba(233, 193, 118, 0.92);
}
.sx-title-b {
  color: var(--text);
  font-weight: 300;
}
.sx-lead {
  max-width: 56ch;
  margin: 0;
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text-mute);
  padding-left: 20px;
  border-left: 1px solid var(--gold-30);
}
.sx-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sx-est {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
}
.sx-scrollcue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
}
.sx-scrollcue-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: sxScroll 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes sxScroll {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Buttons (mirror existing .btn-outline language) */
.sx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-30);
  border-radius: 2px;
  background: rgba(233, 193, 118, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.sx-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.sx-btn-lg {
  padding: 18px 38px;
  font-size: 13px;
}

/* Section heading */
.sx-heading {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  color: var(--text);
  max-width: 22ch;
}

/* ============ REFERENCE HERO (badge · headline · CTA · stats · partners) ============ */
.sx-hero {
  gap: clamp(18px, 3vh, 34px);
  /* Fit the whole hero (badge → partners) in one viewport: the fixed pill nav
     needs ~96px clearance on top, the rest stays compact. */
  min-height: 100vh;
  padding-top: clamp(88px, 12vh, 120px);
  padding-bottom: clamp(20px, 3.5vh, 40px);
  justify-content: center;
}
.sx-hero-main {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vh, 22px);
  max-width: 860px;
}

/* Badge pill */
.sx-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(9, 15, 34, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.sx-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px var(--gold-50);
}

/* Headline: heavy sans + italic-serif gold accent, mirroring the reference */
.sx-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.sx-hero-line {
  display: block;
}
.sx-hero-title .tk-plain {
  font-family: var(--f-sans);
  font-weight: 700;
  color: #fff;
}
.sx-hero-title .tk-gold {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #f7d98f 0%, #e9c176 45%, #d98b34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Hero lead: plain (no gold rule) to match the reference */
.sx-hero .sx-lead {
  border-left: none;
  padding-left: 0;
  max-width: 48ch;
  color: var(--text-mute);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
}

/* Primary filled CTA (warm gold→amber gradient pill) */
.sx-btn-primary {
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  color: #1a1204;
  background: linear-gradient(100deg, #f4cf83 0%, #e9a23b 55%, #dd8a2b 100%);
  box-shadow: 0 10px 30px -8px rgba(233, 162, 59, 0.5);
  text-transform: none;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.sx-btn-primary:hover {
  background: linear-gradient(100deg, #f8d894 0%, #f0ad48 55%, #e6963a 100%);
  border: none;
  color: #1a1204;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(233, 162, 59, 0.6);
}
.sx-btn-arrow {
  font-size: 15px;
  transition: transform 0.3s ease;
}
.sx-btn-primary:hover .sx-btn-arrow {
  transform: translateX(4px);
}

/* Happy-clients cluster (overlapping avatars + count) */
.sx-clients {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sx-avatars {
  display: flex;
}
.sx-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -12px;
  background: linear-gradient(135deg, var(--gold), #b9791f);
}
.sx-avatar:first-child {
  margin-left: 0;
}
.sx-avatar:nth-child(2) {
  background: linear-gradient(135deg, #6f86c9, #34406b);
}
.sx-avatar:nth-child(3) {
  background: linear-gradient(135deg, #e9c176, #a05a2c);
}
.sx-avatar:nth-child(4) {
  background: linear-gradient(135deg, #c6c6ce, #5a5f73);
}
.sx-clients-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sx-clients-copy strong {
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--text);
}
.sx-clients-copy span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Foot: stat cards + partners strip */
.sx-hero-foot {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 20px);
  width: 100%;
  margin-top: clamp(4px, 1.5vh, 16px);
}
.sx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
}
.sx-stat {
  position: relative;
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(9, 15, 34, 0.6);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.sx-stat.is-accent {
  border-color: transparent;
  background: linear-gradient(
    150deg,
    rgba(233, 162, 59, 0.22),
    rgba(191, 116, 32, 0.1) 60%,
    rgba(9, 15, 34, 0.6)
  );
  box-shadow: inset 0 0 0 1px var(--gold-20),
    0 20px 40px -24px rgba(233, 162, 59, 0.5);
}
.sx-stat-value {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1;
  color: var(--gold);
}
.sx-stat.is-accent .sx-stat-value {
  color: #f6d68f;
}
.sx-stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Services grid */
.sx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sx-card {
  position: relative;
  height: 100%;
  padding: 32px;
  /* solid-ish bg instead of backdrop-blur: blur over the constantly-repainting
     video canvas was the main scroll-jank source */
  background: rgba(9, 15, 34, 0.74);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sx-card:hover {
  border-color: var(--gold-50);
  transform: translateY(-4px);
}
.sx-card-no {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}
.sx-card-title {
  margin: 14px 0 10px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}
.sx-card-body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
}

/* About */
.sx-about-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.sx-about-team {
  margin-top: 32px;
}
.sx-phi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1 / 1.618;
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: rgba(9, 15, 34, 0.7);
}
.sx-phi-symbol {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(72px, 12vw, 140px);
  color: var(--gold);
  line-height: 1;
}
.sx-phi-value {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-mute);
}
.sx-phi-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* Insights */
.sx-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.sx-article {
  padding: 28px 0;
  border-top: 1px solid var(--gold-20);
}
.sx-article-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
}
.sx-article-title {
  margin: 14px 0 12px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
}

/* CTA */
.sx-cta {
  align-items: flex-start;
}
.sx-cta-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.05;
  color: var(--text);
  max-width: 18ch;
}

/* Loader */
.sx-loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg);
  transition: opacity 0.7s ease;
}
.sx-loader[data-ready='true'] {
  opacity: 0;
  pointer-events: none;
}
.sx-loader-mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 64px;
  color: var(--gold);
  animation: sxPulse 1.8s ease-in-out infinite;
}
@keyframes sxPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.sx-loader-track {
  width: min(240px, 60vw);
  height: 2px;
  background: var(--gold-15);
  overflow: hidden;
}
.sx-loader-fill {
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.sx-loader-pct {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .sx-about-grid {
    grid-template-columns: 1fr;
  }
  .sx-phi {
    max-width: 320px;
  }
}
@media (max-width: 760px) {
  .sx-stats {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .sx-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 20px 22px;
  }
}
@media (max-width: 600px) {
  .sx-root {
    /* hero + 50vh spacer + 4 sections ≈ 550vh */
    min-height: 560vh;
  }
  .sx-spacer {
    height: 50vh;
  }
  .sx-section {
    padding: 96px 20px;
  }
  .sx-hero-title {
    font-size: clamp(38px, 12vw, 60px);
  }
  .sx-actions {
    gap: 20px;
  }
}

/* Orbiting brand icons in the About section */
.orbit-spin {
  animation: orbitSpin linear infinite;
}
@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Reduced motion: static frame is handled in JS; kill entrance/idle motion */
@media (prefers-reduced-motion: reduce) {
  .sx-scrollcue-line,
  .sx-loader-mark,
  .orbit-spin {
    animation: none;
  }
  /* Neutralise scroll-scrubbed reveals (overrides motion's inline styles) */
  .sx-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============ HORIZONTAL SERVICE CARD SCROLL ============ */
/* Scrollable, but the scrollbar itself is hidden. */
.service-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.service-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* ============ SERVICES LIVING BACKGROUND ============ */
@keyframes ar-twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.75; }
}
/* Outline-only text (chapter numerals), v2 concept */
.outline-text-gold {
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 193, 118, 0.45);
}

/* ============================================================
   İLETİŞİM — "Blueprint Split" layout (/iletisim)
   Asymmetric contact page: numbered channel rail + bracketed
   form panel. Namespaced .ct-* to avoid collisions.
   ============================================================ */
.ct {
  position: relative;
  isolation: isolate;
  padding: 176px 88px 140px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.ct-bg {
  position: fixed;
  inset: 0;
  background-image: url("/img/davinci-contact-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  transform-origin: 60% 50%;
  animation: ct-kenburns 36s ease-in-out infinite alternate;
}
.ct-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0.42) 0%, rgba(5, 11, 26, 0.68) 52%, rgba(5, 11, 26, 0.9) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 11, 26, 0.62) 0%, rgba(5, 11, 26, 0.22) 44%, transparent 72%),
    radial-gradient(ellipse 55% 45% at 32% 56%, rgba(233, 193, 118, 0.12), transparent 62%);
}
/* Pulsing golden glow accenting the star at the fingertips */
.ct-glow {
  position: fixed;
  top: 56%;
  left: 32%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle, rgba(233, 193, 118, 0.32) 0%, rgba(233, 193, 118, 0.1) 32%, transparent 68%);
  filter: blur(6px);
  animation: ct-pulse 4.5s ease-in-out infinite;
}
/* Slow-rotating orbital ring echoing the artwork's atom motif */
.ct-orbit {
  position: fixed;
  top: 56%;
  left: 32%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(233, 193, 118, 0.08);
  border-radius: 50%;
  animation: ct-spin 66s linear infinite;
}
.ct-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(233, 193, 118, 0.07);
  border-radius: 50%;
}
.ct-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: rgba(233, 193, 118, 0.7);
  box-shadow: 0 0 10px 2px rgba(233, 193, 118, 0.5);
}
@keyframes ct-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}
@keyframes ct-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes ct-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.ct-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233, 193, 118, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 193, 118, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
}
.ct-inner {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.ct-head { max-width: 720px; margin-bottom: 72px; }
.ct-head .eyebrow { margin-bottom: 22px; }
.ct-title {
  font-family: var(--f-serif);
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -2.5px;
  margin: 0 0 22px 0;
  color: var(--text);
}
.ct-title .italic-gold { display: inline; }
.ct-sub {
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0;
}
.ct-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
/* ---- Left rail ---- */
.ct-rail { position: sticky; top: 120px; display: flex; flex-direction: column; }
.ct-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--gold-15);
}
.ct-rail-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
}
.ct-rail-phi {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold-30);
}
.ct-channels { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.ct-channel {
  position: relative;
  display: grid;
  grid-template-columns: 42px 44px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 8px 26px 6px;
  border-bottom: 1px solid rgba(233, 193, 118, 0.1);
  transition: padding-left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ct-channel::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ct-channel:hover { padding-left: 14px; }
.ct-channel:hover::after { width: 100%; }
.ct-channel-num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold-50);
  transition: color 0.3s;
}
.ct-channel:hover .ct-channel-num { color: var(--gold); }
.ct-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-20);
  background: rgba(233, 193, 118, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.ct-channel:hover .ct-channel-icon {
  background: rgba(233, 193, 118, 0.13);
  border-color: var(--gold);
  transform: scale(1.06);
}
.ct-channel-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ct-channel-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.ct-channel-value {
  font-family: var(--f-sans);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  transition: color 0.2s;
  word-break: break-word;
}
a.ct-channel-value:hover { color: var(--gold); }
.ct-channel-meta {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-50);
}
.ct-rail-foot { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.ct-socials-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-70);
}
.ct-socials { display: flex; gap: 14px; }
.ct-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-20);
  background: rgba(233, 193, 118, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.ct-social:hover {
  background: rgba(233, 193, 118, 0.12);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}
.ct-coords {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold-30);
  line-height: 1.7;
}
/* ---- Right form panel ---- */
.ct-form-panel {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 52px 52px 48px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.ct-form-panel::before,
.ct-form-panel::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.ct-form-panel::before {
  top: 18px; left: 18px;
  border-top: 1px solid var(--gold-30);
  border-left: 1px solid var(--gold-30);
}
.ct-form-panel::after {
  bottom: 18px; right: 18px;
  border-bottom: 1px solid var(--gold-30);
  border-right: 1px solid var(--gold-30);
}
.ct-form-tag {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold-30);
}
.ct-form-head { margin-bottom: 38px; }
.ct-form-title {
  font-family: var(--f-serif);
  font-size: 34px;
  line-height: 1.05;
  color: var(--gold);
  margin: 0 0 10px 0;
  letter-spacing: 0.3px;
}
.ct-form-note {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}
.ct-form { display: block; }
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.ct-field { display: flex; flex-direction: column; margin-bottom: 22px; }
.ct-row .ct-field { margin-bottom: 0; }
.ct-field-full { grid-column: 1 / -1; }
.ct-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
}
.ct-req { color: var(--gold-50); }
.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  background: rgba(8, 14, 34, 0.55);
  border: 1px solid rgba(233, 193, 118, 0.16);
  border-radius: 11px;
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.ct-input::placeholder,
.ct-textarea::placeholder { color: rgba(155, 163, 175, 0.6); }
.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 193, 118, 0.08), 0 0 18px rgba(233, 193, 118, 0.1);
  background: rgba(8, 14, 34, 0.85);
}
.ct-input[aria-invalid="true"],
.ct-select[aria-invalid="true"],
.ct-textarea[aria-invalid="true"] {
  border-color: rgba(255, 71, 87, 0.55);
}
.ct-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.ct-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23e9c176' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 15px;
  padding-right: 42px;
  cursor: pointer;
}
.ct-select option { background: #0a1128; color: var(--text); }
.ct-phone { display: flex; gap: 12px; }
.ct-phone .ct-select { width: 138px; flex-shrink: 0; padding-right: 34px; background-position: right 12px center; }
.ct-phone .ct-input { flex: 1; min-width: 0; }
.ct-error {
  margin-top: 7px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #ff6b78;
}
.ct-submit {
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding: 19px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s;
}
.ct-submit-bracket {
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-20);
  pointer-events: none;
  transition: border-color 0.3s;
}
.ct-submit-fill {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.ct-submit-text { position: relative; z-index: 1; }
.ct-submit:hover:not(:disabled) { color: var(--bg); }
.ct-submit:hover:not(:disabled) .ct-submit-fill { transform: translateX(0); }
.ct-submit:hover:not(:disabled) .ct-submit-bracket { border-color: rgba(5, 11, 26, 0.25); }
.ct-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- Entrance reveal animations ---- */
@keyframes ct-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ct-fade-left {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ct-panel-in {
  from { opacity: 0; transform: translateY(34px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ct-head .eyebrow,
.ct-title,
.ct-sub {
  opacity: 0;
  animation: ct-fade-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.ct-head .eyebrow { animation-delay: 0.05s; }
.ct-title { animation-delay: 0.18s; }
.ct-sub { animation-delay: 0.32s; }

.ct-rail-head { opacity: 0; animation: ct-fade-left 0.8s ease forwards; animation-delay: 0.4s; }
.ct-channel { opacity: 0; animation: ct-fade-left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.ct-channel:nth-child(1) { animation-delay: 0.5s; }
.ct-channel:nth-child(2) { animation-delay: 0.62s; }
.ct-channel:nth-child(3) { animation-delay: 0.74s; }
.ct-channel:nth-child(4) { animation-delay: 0.86s; }
.ct-rail-foot { opacity: 0; animation: ct-fade-up 0.8s ease forwards; animation-delay: 1s; }

.ct-form-panel {
  opacity: 0;
  animation: ct-panel-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.45s;
}
.ct-channel-icon { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .ct-bg, .ct-glow, .ct-orbit { animation: none; }
  .ct-head .eyebrow, .ct-title, .ct-sub,
  .ct-rail-head, .ct-channel, .ct-rail-foot, .ct-form-panel {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 1080px) {
  .ct { padding: 150px 48px 110px; }
  .ct-layout { grid-template-columns: 1fr; gap: 48px; }
  .ct-rail { position: static; top: auto; }
  .ct-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .ct-title { font-size: 60px; }
}
@media (max-width: 768px) {
  .ct { padding: 130px 26px 90px; }
  .ct-title { font-size: 48px; letter-spacing: -1.5px; }
  .ct-sub { font-size: 16px; }
  .ct-head { margin-bottom: 52px; }
  .ct-channels { grid-template-columns: 1fr; }
  .ct-form-panel { padding: 40px 24px 36px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .ct-row .ct-field { margin-bottom: 22px; }
  .ct-form-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .ct { padding: 120px 18px 70px; }
  .ct-title { font-size: 40px; }
  .ct-phone { flex-direction: column; gap: 0; }
  .ct-phone .ct-select { width: 100%; margin-bottom: 12px; }
}
