/* ============================================================
   Mert Tabak / MES Dijital
   Palet: koyu lacivert + şampanya altını (#D4AF37) + beyaz bantlar
   Tipografi: Playfair Display (başlık) · Montserrat (metin) · IBM Plex Mono (veri)
   ============================================================ */

:root {
  /* zeminler */
  --night: #0b132b;          /* ana koyu lacivert zemin */
  --surface: #1c2541;        /* kartlar / yükseltilmiş yüzeyler */
  --surface-2: #232d4f;      /* iç içe yüzey */
  --paper: #ffffff;          /* açık bant */
  --paper-alt: #f2f4ef;      /* kırık beyaz bant */

  /* aksan */
  --acid: #d4af37;
  --acid-deep: #b8952e;
  --on-acid: #0b132b;

  /* metin */
  --on-night: #f8f9fa;
  --on-night-soft: #a7adc4;
  --on-paper: #0b132b;
  --on-paper-soft: #5c6457;

  /* çizgiler */
  --line-night: rgba(248, 249, 250, 0.12);
  --line-paper: #e2e6dc;

  /* Meta partner rozeti */
  --meta-blue: #4d9bff;
  --meta-blue-solid: #0866ff;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --reading: 60ch;
  --radius: 20px;
}

/* ---------- taban ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* koyu tema ile açılır, tarayıcı arayüzü de uyumlu olsun */
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--acid); color: var(--on-acid); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- bantlar ---------- */
.band {
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.band--paper {
  background: var(--paper);
  color: var(--on-paper);
}

.band--paper-alt {
  background: var(--paper-alt);
  color: var(--on-paper);
}

.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- eyebrow: kısa çizgi + mono etiket ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6em;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin: 0 0 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--acid);
  flex-shrink: 0;
}

.band--paper .eyebrow,
.band--paper-alt .eyebrow { color: var(--on-paper); }

.band--paper .eyebrow::before,
.band--paper-alt .eyebrow::before { background: #9c7a1a; }

/* ---------- partner / sertifika kartları ---------- */
.partners {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.partner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: 16px;
  padding: 0.9rem 1.4rem 0.9rem 1rem;
}

.partner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.partner-icon--meta { background: var(--meta-blue-solid); }

.partner-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--on-night);
}

.partner-pill {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: rgba(8, 102, 255, 0.18);
  border: 1px solid rgba(8, 102, 255, 0.45);
  color: #7db0ff;
  white-space: nowrap;
}

.partner-sub {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: var(--on-night-soft);
}

/* ---------- navigasyon ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line-night);
}

.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--on-night);
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.monogram {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--on-acid);
  border-radius: 9px;
  font-family: "Playfair Display", serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin-left: auto;
}

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

/* mobil menü düğmesi */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-night);
  border-radius: 12px;
  background: transparent;
  color: var(--on-night);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--on-night-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding-block: 0.4rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--on-night); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  background: var(--acid);
}

.nav-cta { display: inline-flex; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--acid {
  background: var(--acid);
  color: var(--on-acid);
}

.btn--acid:hover { background: var(--acid-deep); }

.btn--ghost {
  border-color: var(--line-night);
  color: var(--on-night);
}

.btn--ghost:hover { border-color: var(--acid); color: var(--acid); }

.band--paper .btn--ghost,
.band--paper-alt .btn--ghost {
  border-color: var(--line-paper);
  color: var(--on-paper);
}

.band--paper .btn--ghost:hover,
.band--paper-alt .btn--ghost:hover {
  border-color: var(--acid-deep);
  color: var(--on-paper);
}

.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.86rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 .hl {
  color: var(--acid);
  display: inline-block;
}

/* iki kademeli isim + unvan (tek H1) */
.hero-h1 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 16ch;
}

.hero-name {
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-role {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.1vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--on-night);
  max-width: 22ch;
}

.hero-role em { font-style: normal; color: var(--acid); }

/* hero güven şeridi */
.trust-bar {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-night);
}

.trust-item .trust-num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acid);
}

.trust-item .trust-cap {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--on-night-soft);
}

.hero .lead {
  margin-top: 1.8rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--on-night-soft);
}

.hero .actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* hero'nun içinden geçen kesik çizgi — eski kimliğin yeni dildeki karşılığı */
.trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  color: var(--acid);
  opacity: 0.16;
  overflow: visible;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 100% no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 100% no-repeat;
}

.trail path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 10;
  vector-effect: non-scaling-stroke;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .trail {
      -webkit-mask-size: 100% 0%;
              mask-size: 100% 0%;
      animation: trail-draw linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}

@keyframes trail-draw {
  to {
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
}

/* ---------- panel / kart ---------- */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  overflow: hidden;
}

/* üst kenardaki asit çizgisi */
.panel--edge::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.6rem, 3vw, 2.25rem);
  width: 3.5rem;
  height: 3px;
  background: var(--acid);
  border-radius: 0 0 3px 3px;
}

.panel h3 { margin-bottom: 0.8rem; }

.panel .panel-text {
  color: var(--on-night-soft);
  font-size: 0.96rem;
}

.panel .panel-text + .panel-text { margin-top: 0.9rem; }

/* hero kimlik kartı */
.idcard-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0;
}

.idcard-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line-night);
  font-size: 0.92rem;
}

.idcard-list .k { color: var(--on-night-soft); }

.idcard-list .v {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--on-night);
}

/* ---------- hero yan panel: partner rozeti + istatistikler ---------- */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
}

.partner-check {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 50%;
  animation: partner-pulse 2.6s ease-in-out infinite;
}

.partner-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  color: var(--on-night);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hero-stat {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line-night);
  background-size: 200% 200%;
  animation: stat-sheen 7s ease infinite;
}

.hero-stat--a {
  background-image:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--acid) 18%, transparent), transparent 60%),
    linear-gradient(135deg, var(--surface-2), var(--surface) 60%);
}

.hero-stat--b {
  background-image:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--acid) 11%, transparent), transparent 60%),
    linear-gradient(135deg, var(--surface), var(--surface-2) 60%);
}

.hero-stat-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night-soft);
  margin-bottom: 0.45rem;
}

.hero-stat-num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--acid);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-stat-cap {
  font-size: 0.82rem;
  color: var(--on-night-soft);
}

@keyframes partner-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(8, 102, 255, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(8, 102, 255, 0); }
}

@keyframes stat-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-check,
  .hero-stat { animation: none; }
}

/* ---------- bölüm başlığı ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Varsayılan bağlam koyudur; açık bantlar aşağıda ayrıca ezilir. */
.section-head .head-note {
  color: var(--on-night-soft);
  max-width: 44ch;
}

.band--paper .section-head .head-note,
.band--paper-alt .section-head .head-note { color: var(--on-paper-soft); }

/* ---------- metin blokları ---------- */
.prose > p + p { margin-top: 1.15rem; }

.prose p {
  max-width: var(--reading);
  color: var(--on-night-soft);
}

.band--paper .prose p,
.band--paper-alt .prose p { color: var(--on-paper-soft); }

.prose strong {
  color: var(--on-night);
  font-weight: 700;
}

.band--paper .prose strong,
.band--paper-alt .prose strong { color: var(--on-paper); }

/* ---------- hakkımda: metin + grafik ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* büyüme eğrisi paneli — açık bandın içinde koyu ada */
.growth {
  background: var(--night);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--on-night);
}

.growth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.growth-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--on-night);
}

.growth-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-soft);
  border: 1px solid var(--line-night);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  white-space: nowrap;
}

.growth-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.growth-grid line { stroke: var(--line-night); stroke-width: 1; }

.growth-area {
  fill: url(#growthFill);
  opacity: 1;
}

.growth-line {
  fill: none;
  stroke: var(--acid);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.growth-dot { fill: var(--acid); }

.growth-halo {
  fill: none;
  stroke: var(--acid);
  stroke-width: 2;
  opacity: 0.5;
}

.growth-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-night);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-night-soft);
}

.growth-steps span:last-child { color: var(--acid); }

/* Dinlenme hâli: grafik tam çizili. Animasyon yalnızca JS varken başlar. */
.js .growth:not(.played) .growth-line { stroke-dashoffset: 1; }
.js .growth:not(.played) .growth-area { opacity: 0; }
.js .growth:not(.played) .growth-dot,
.js .growth:not(.played) .growth-halo { opacity: 0; }

.growth-line { stroke-dasharray: 1; stroke-dashoffset: 0; }

.growth.played .growth-line { animation: growth-draw 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.growth.played .growth-area { animation: growth-fade 1s ease-out 0.55s both; }
.growth.played .growth-dot { animation: growth-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1.55s both; }
.growth.played .growth-halo { animation: growth-halo 2s ease-out 1.95s infinite; }

@keyframes growth-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes growth-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes growth-pop {
  from { opacity: 0; r: 0; }
  to { opacity: 1; r: 5; }
}

@keyframes growth-halo {
  0% { opacity: 0.55; r: 5; }
  70% { opacity: 0; r: 16; }
  100% { opacity: 0; r: 16; }
}

/* ---------- metrikler ---------- */
.metrics {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 2rem;
}

.metric {
  border-top: 2px solid var(--acid);
  padding-top: 1rem;
}

.metric .num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--on-night);
}

.band--paper .metric .num,
.band--paper-alt .metric .num { color: var(--on-paper); }

.metric .cap {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--on-night-soft);
}

.band--paper .metric .cap,
.band--paper-alt .metric .cap { color: var(--on-paper-soft); }

/* ---------- sistem akışı: kreatif → ... → optimizasyon ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.flow-step {
  flex: 1 1 150px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.2rem;
}

.band--paper .flow-step,
.band--paper-alt .flow-step {
  background: var(--paper);
  border-color: var(--line-paper);
}

.flow-step .flow-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--acid);
  display: block;
  margin-bottom: 0.55rem;
}

.band--paper .flow-step .flow-num,
.band--paper-alt .flow-step .flow-num { color: #8a6d1f; }

.flow-step .flow-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--on-night);
}

.band--paper .flow-step .flow-name,
.band--paper-alt .flow-step .flow-name { color: var(--on-paper); }

/* adımlar arası ok — yalnızca geniş ekranda */
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  width: 0.5rem;
  height: 1px;
  background: var(--line-night);
}

.band--paper .flow-step + .flow-step::before,
.band--paper-alt .flow-step + .flow-step::before { background: var(--line-paper); }

/* ---------- dünya + yörüngede logolar ---------- */
.orbit-wrap {
  display: flex;
  justify-content: center;
  margin-block: clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
}

.orbit {
  position: relative;
  width: clamp(280px, 62vw, 560px);
  aspect-ratio: 1;
  --orbit-r: clamp(112px, 20vw, 210px);
  --orbit-dur: 90s;
}

.globe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(118px, 19vw, 176px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 60px -6px color-mix(in srgb, var(--acid) 55%, transparent);
}

/* dünyanın tamamını kaplayan, tamamen daire MES Dijital rozeti — arkada koyu renk kalmaz */
.globe-badge {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--acid) 55%, transparent), 0 4px 18px -6px rgba(0, 0, 0, 0.55);
}

.globe-badge img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- yörüngedeki logolar: ipe bağlı, dönerek geziniyor --- */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.orbit-spin {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform: rotate(var(--a));
  animation: orbit-spin var(--orbit-dur) linear infinite;
}

.spoke {
  position: absolute;
  left: -1px;
  top: calc(-1 * var(--orbit-r));
  width: 2px;
  height: var(--orbit-r);
  background-image: repeating-linear-gradient(
    to top,
    color-mix(in srgb, var(--acid) 70%, transparent) 0 3px,
    transparent 3px 8px
  );
  opacity: 0.55;
  pointer-events: none;
}

.orbit-item .chip {
  position: absolute;
  left: 0;
  top: calc(-1 * var(--orbit-r));
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
  animation: orbit-spin-rev var(--orbit-dur) linear infinite;
  width: clamp(42px, 6.4vw, 58px);
  height: clamp(42px, 6.4vw, 58px);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line-night);
  transition: box-shadow 0.2s ease;
}

.orbit-item .chip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 82%;
  width: 76%;
  height: 50%;
  transform: translateX(-50%);
  background: var(--glow, var(--acid));
  filter: blur(9px);
  opacity: 0.32;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-item .chip img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes orbit-spin {
  to { transform: rotate(calc(var(--a) + 360deg)); }
}

@keyframes orbit-spin-rev {
  to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) - 360deg)); }
}

/* fare ile üzerine gelince: rozet parlar, o dilim durur, diğerleri dönmeye devam eder */
.chip:hover {
  box-shadow: 0 0 0 3px var(--acid), 0 10px 26px -8px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.chip:hover img {
  transform: scale(1.2);
}

@supports selector(:has(*)) {
  .orbit-spin:has(.chip:hover),
  .orbit-spin:has(.chip:hover) .chip {
    animation-play-state: paused;
  }
}

@media (max-width: 620px) {
  .orbit {
    width: min(84vw, 320px);
    --orbit-r: clamp(88px, 32vw, 132px);
  }

  .globe { width: clamp(80px, 28vw, 112px); }

  .orbit-item .chip {
    width: clamp(32px, 8.6vw, 40px);
    height: clamp(32px, 8.6vw, 40px);
  }
}

/* Seçili Çalışmalarım: mobilde büyük metin yerine dünya görseli öne çıksın */
@media (max-width: 620px) {
  #calismalar .section-head .head-note { display: none; }
  #calismalar .section-head h2 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-spin,
  .orbit-item .chip {
    animation: none;
  }
}

/* ---------- akan logo şeridi ---------- */
.marquee {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-logo {
  flex-shrink: 0;
  height: clamp(46px, 6vw, 60px);
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-logo img {
  height: 100%;
  width: auto;
  max-width: 128px;
  object-fit: contain;
}

/* ---------- seçili çalışmalar ---------- */
#calismalar {
  position: relative;
  overflow: hidden;
}

#calismalar > .wrap {
  position: relative;
  z-index: 1;
}

/* referans kartları: geniş ekranda sağdan-soldan hafifçe yükselen, kısık (%30) arka plan katmanı */
.testimonial-drift {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 1500px) {
  .testimonial-drift { display: block; }
}

.testimonial-card {
  position: absolute;
  width: 220px;
  opacity: 0.3;
  background: var(--night);
  color: var(--on-night);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 40px -20px rgba(11, 19, 43, 0.4);
  animation: testimonial-drift-left 9s ease-in-out infinite alternate;
}

.testimonial-card .t-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.testimonial-card .t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--on-acid);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card .t-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .t-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.15;
}

.testimonial-card .t-brand {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
}

.testimonial-card .t-quote {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--on-night-soft);
}

.testimonial-card:nth-child(1) { top: 4%; left: -3%; animation-name: testimonial-drift-left; animation-duration: 10s; }
.testimonial-card:nth-child(2) { top: 34%; left: -5%; animation-name: testimonial-drift-left; animation-duration: 8s; animation-delay: -2s; }
.testimonial-card:nth-child(3) { top: 66%; left: -2%; animation-name: testimonial-drift-left; animation-duration: 11s; animation-delay: -4s; }
.testimonial-card:nth-child(4) { top: 10%; right: -3%; animation-name: testimonial-drift-right; animation-duration: 9s; animation-delay: -1s; }
.testimonial-card:nth-child(5) { top: 42%; right: -5%; animation-name: testimonial-drift-right; animation-duration: 10.5s; animation-delay: -3s; }
.testimonial-card:nth-child(6) { top: 72%; right: -2%; animation-name: testimonial-drift-right; animation-duration: 8.5s; animation-delay: -5s; }

@keyframes testimonial-drift-left {
  from { transform: translate(0, 0); }
  to { transform: translate(-22px, -18px); }
}

@keyframes testimonial-drift-right {
  from { transform: translate(0, 0); }
  to { transform: translate(22px, -18px); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card { animation: none; }
}

/* referans kartları: mobilde, marka şeridinin altında sağa akan şerit */
.testimonial-marquee {
  display: none;
}

@media (max-width: 620px) {
  .testimonial-marquee {
    display: block;
    margin-top: 1.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .testimonial-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
    width: max-content;
    animation: marquee-scroll-reverse 36s linear infinite;
  }

  .testimonial-marquee-track:hover { animation-play-state: paused; }

  .testimonial-marquee .testimonial-card {
    position: static;
    opacity: 1;
    width: 230px;
    animation: none;
    flex-shrink: 0;
  }
}

@keyframes marquee-scroll-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .testimonial-marquee-track { animation: none; }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Varsayılan koyu bağlam; açık bantlarda aşağıda eziliyor. */
.work-card {
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--acid);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35);
}

.band--paper .work-card,
.band--paper-alt .work-card {
  background: var(--paper);
  border-color: var(--line-paper);
}

/* logolu kart üstü */
.work-logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.work-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transform-origin: center;
}

/* her markaya özgü küçük bir hover hareketi */
.work-card:nth-child(1):hover .work-logo img { animation: anim-rev 0.7s ease; }
.work-card:nth-child(2):hover .work-logo img { animation: anim-slide 0.6s ease; }
.work-card:nth-child(3):hover .work-logo img { animation: anim-flicker 0.8s ease-in-out; }
.work-card:nth-child(4):hover .work-logo img { animation: anim-sway 0.7s ease-in-out; }

@keyframes anim-rev {
  0% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-10deg) scale(1.1); }
  65% { transform: rotate(7deg) scale(1.06); }
  100% { transform: rotate(0deg) scale(1.08); }
}

@keyframes anim-slide {
  0%, 100% { transform: translateY(0) scale(1.06); }
  50% { transform: translateY(-7px) scale(1.06); }
}

@keyframes anim-flicker {
  0%, 100% { transform: scale(1.05) rotate(0deg); }
  25% { transform: scale(1.13) rotate(-3deg); }
  50% { transform: scale(1.02) rotate(3deg); }
  75% { transform: scale(1.11) rotate(-1deg); }
}

@keyframes anim-sway {
  0%, 100% { transform: rotate(0deg) scale(1.06); }
  25% { transform: rotate(-8deg) scale(1.06); }
  75% { transform: rotate(8deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .work-card,
  .work-logo img { animation: none !important; transition: none !important; }
}

.work-card h3 {
  font-size: 1.2rem;
  color: var(--on-night);
}

.band--paper .work-card h3,
.band--paper-alt .work-card h3 { color: var(--on-paper); }

.work-card .work-sector {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 0.75rem;
}

.band--paper .work-card .work-sector,
.band--paper-alt .work-card .work-sector { color: #8a6d1f; }

.work-card .work-scope {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-card .work-scope span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-night);
  color: var(--on-night-soft);
}

.band--paper .work-card .work-scope span,
.band--paper-alt .work-card .work-scope span {
  border-color: var(--line-paper);
  color: var(--on-paper-soft);
}

/* ---------- marka duvarı ---------- */
/* Kenarlıklar hücrelerin kendisinde: satır tam dolmadığında
   boş hücre görünür bir blok bırakmıyor. */
.brandwall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  border-top: 1px solid var(--line-night);
  border-left: 1px solid var(--line-night);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-item {
  border-right: 1px solid var(--line-night);
  border-bottom: 1px solid var(--line-night);
  padding: clamp(1.4rem, 3vw, 2rem) 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  letter-spacing: -0.015em;
  color: var(--on-night);
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  flex-shrink: 0;
}

.brand-item:hover { background: var(--surface); }

/* kapanış hücresi: listeyi tamamlar, sayıyı da söyler */
.brand-item--more {
  color: var(--on-night-soft);
  font-weight: 500;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
}

.brand-item--more::before { background: var(--on-night-soft); opacity: 0.5; }

/* açık bant varyantı */
.band--paper .brandwall,
.band--paper-alt .brandwall {
  border-top-color: var(--line-paper);
  border-left-color: var(--line-paper);
}

.band--paper .brand-item,
.band--paper-alt .brand-item {
  border-right-color: var(--line-paper);
  border-bottom-color: var(--line-paper);
  color: var(--on-paper);
}

.band--paper .brand-item::before,
.band--paper-alt .brand-item::before { background: #9c7a1a; }

.band--paper .brand-item:hover,
.band--paper-alt .brand-item:hover { background: var(--paper-alt); }

.band--paper .brand-item--more,
.band--paper-alt .brand-item--more { color: var(--on-paper-soft); }

.band--paper .brand-item--more::before,
.band--paper-alt .brand-item--more::before {
  background: var(--on-paper-soft);
  opacity: 0.5;
}

/* ---------- hizmet / uzmanlık kartları ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.band--paper .card,
.band--paper-alt .card {
  background: var(--paper);
  border-color: var(--line-paper);
}

.card .card-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--acid);
  display: block;
  margin-bottom: 1rem;
}

.band--paper .card .card-num,
.band--paper-alt .card .card-num { color: #8a6d1f; }

.card p {
  margin-top: 0.7rem;
  font-size: 0.94rem;
  color: var(--on-night-soft);
}

.band--paper .card p,
.band--paper-alt .card p { color: var(--on-paper-soft); }

.card h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--acid), var(--acid));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.2s ease;
  padding-bottom: 0.1em;
}

.card h3 a:hover { background-size: 100% 2px; }

/* ---------- etiket bulutu (uzmanlık alanları) ---------- */
.tags-label {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-night-soft);
}

.band--paper .tags-label,
.band--paper-alt .tags-label { color: var(--on-paper-soft); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tags--compact .tag {
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-night);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--on-night-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.tag:hover { border-color: var(--acid); color: var(--on-night); }

.band--paper .tag,
.band--paper-alt .tag {
  border-color: var(--line-paper);
  color: var(--on-paper-soft);
  background: var(--paper);
}

.band--paper .tag:hover,
.band--paper-alt .tag:hover {
  border-color: #9c7a1a;
  color: var(--on-paper);
}

/* ---------- iletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.mail {
  display: inline-block;
  margin-top: 1.8rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--acid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
  word-break: break-word;
}

.mail:hover { border-color: var(--acid); }

.meta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--on-night-soft);
}

.meta-row a {
  color: var(--on-night-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.meta-row a:hover { color: var(--acid); }

/* kontenjan notu */
.quota {
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-left: 3px solid var(--acid);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
}

.quota p {
  font-size: 0.94rem;
  color: var(--on-night-soft);
  max-width: 46ch;
}

.quota strong { color: var(--acid); font-weight: 700; }

/* ---------- alt bilgi ---------- */
.footer {
  border-top: 1px solid var(--line-night);
  padding-block: 1.8rem 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.8rem;
  color: var(--on-night-soft);
}

.footer a { color: var(--on-night-soft); text-decoration: none; }
.footer a:hover { color: var(--acid); }

/* ---------- giriş animasyonu (dinlenme hâli görünür) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.pre {
  opacity: 0;
  transform: translateY(16px);
}

/* ============================================================
   Makale sayfası (MES Dijital / Kocaeli)
   ============================================================ */

.article-header { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--on-night-soft);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--acid); }

.article-header h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  max-width: 20ch;
}

.article-header .lead {
  margin-top: 1.6rem;
  max-width: var(--reading);
  color: var(--on-night-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.article-header .lead + .lead { margin-top: 1rem; }

/* içindekiler */
.toc {
  margin-top: 2.75rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc .toc-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  margin: 0 0 1.1rem;
}

.toc ol {
  counter-reset: toc;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem 1.6rem;
}

.toc li { counter-increment: toc; }

.toc a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--on-night-soft);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex-shrink: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  color: var(--acid);
}

.toc a:hover { color: var(--on-night); }

.a-section {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  border-top: 1px solid var(--line-night);
  scroll-margin-top: 92px;
}

.a-section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  max-width: 22ch;
}

.a-section .lead-note {
  margin-top: 1.1rem;
  max-width: var(--reading);
  color: var(--on-night-soft);
}

.a-section .prose { margin-top: 1.6rem; }

/* sektör çalışmaları */
.sectors {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.sector {
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
}

.sector h3 { margin-bottom: 0.8rem; }

.sector .prose p { font-size: 0.94rem; }

/* yaklaşım — anlamlı sıra taşıyan 4 soru */
.approach-list {
  counter-reset: approach;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-night);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  overflow: hidden;
}

.approach-list li {
  counter-increment: approach;
  background: var(--night);
  padding: 1.5rem 1.5rem 1.7rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--on-night);
}

.approach-list li::before {
  content: counter(approach, decimal-leading-zero);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--acid);
  margin-bottom: 0.7rem;
}

.approach-list li.approach-list__invert {
  background: var(--paper);
  color: var(--on-paper);
}

.approach-list li.approach-list__invert::before { color: #8a6d1f; }

/* bağlantı listesi */
.link-list { margin-top: 1.7rem; }

.link-list li {
  border-top: 1px solid var(--line-night);
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  font-size: 0.95rem;
  color: var(--on-night-soft);
}

.link-list li:last-child { border-bottom: 1px solid var(--line-night); }

.link-list strong {
  color: var(--on-night);
  font-weight: 700;
  min-width: 7rem;
}

.link-list a { color: var(--acid); text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

/* ============================================================
   Blog
   ============================================================ */

/* etiketler artık tıklanabilir */
a.tag { text-decoration: none; }

/* --- blog listesi --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.post-card:hover {
  border-color: var(--acid);
  transform: translateY(-3px);
  background: var(--surface-2);
}

.post-card .post-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--acid);
  margin-bottom: 0.9rem;
}

.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.post-card p {
  font-size: 0.9rem;
  color: var(--on-night-soft);
  flex-grow: 1;
}

.post-card .post-go {
  margin-top: 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--acid);
}

/* --- tekil yazı --- */
.post {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-night);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-night-soft);
}

.post h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  max-width: 18ch;
}

.post .lead {
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--on-night-soft);
}

.post-body { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.post-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
  max-width: 24ch;
}

.post-body h3 {
  font-size: 1.1rem;
  margin-top: 1.9rem;
  margin-bottom: 0.6rem;
}

.post-body p {
  color: var(--on-night-soft);
  margin-bottom: 1.1rem;
}

.post-body p strong { color: var(--on-night); font-weight: 700; }

.post-body ul {
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.65rem;
}

.post-body ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--on-night-soft);
}

.post-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.post-body ul li strong { color: var(--on-night); font-weight: 700; }

/* vurgu kutusu */
.callout {
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-left: 3px solid var(--acid);
  border-radius: 14px;
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 1.8rem 0;
}

.callout .callout-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 0.6rem;
}

.callout p { margin: 0; font-size: 0.94rem; }

/* yazı sonu CTA */
.post-cta {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
}

.post-cta h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }

.post-cta p {
  color: var(--on-night-soft);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  max-width: 50ch;
}

/* ilgili yazılar */
.related {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-night);
}

.related .related-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 1rem;
}

.related ul { display: grid; gap: 0; }

.related li { border-top: 1px solid var(--line-night); }

.related li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--on-night);
  transition: color 0.15s ease;
}

.related li a:hover { color: var(--acid); }

.related li a span { color: var(--on-night-soft); font-size: 0.8rem; font-weight: 500; }

/* ---------- duyarlı ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

/* --- mobil menü --- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: var(--night);
    border-bottom: 1px solid var(--line-night);
    padding: 0.25rem var(--pad) 1.35rem;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .nav-menu.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--line-night);
  }

  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--acid); }

  .nav-cta {
    margin-top: 1.1rem;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-inner { height: 64px; }
  .hero-h1 { max-width: none; }
  .trust-bar { gap: 1.25rem 2rem; }
  .flow-step + .flow-step::before { display: none; }
}

@media (max-width: 380px) {
  .brand span.full { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}
