/* ============================================================
   MBY — Design tokens
   Palet: MBY Wind Engineering broşürü (kurumsal kimlik)
   Lacivert #0A2946 · Arduvaz #5C6E7E · Turkuaz #17ADBB
   Açık tonlar #C3D4E0 / #DCE7EE / #F3F6F8
   ============================================================ */
:root {
  --ink: #0A2946; --ink-soft: #44586A; --ink-mute: #5C6E7E;
  --ground: #FFFFFF; --ground-alt: #F3F6F8; --line: #DCE7EE;
  --accent: #17ADBB; --accent-ink: #06333A;
  --card: #FFFFFF;
  --panel: #0A2946; --panel-ink: #EAF3F6;
  --scrim: rgba(10,41,70,.55);
  --shadow: 0 24px 60px -24px rgba(10,41,70,.20);
  --font-sans: "Neue Haas Grotesk Display Pro","Helvetica Now Display","Helvetica Neue",Inter,"Segoe UI",Arial,sans-serif;
  --radius: 2px; --header-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EAF3F6; --ink-soft: #C3D4E0; --ink-mute: #A9BECC;
    --ground: #081826; --ground-alt: #0C2337; --line: #163A57;
    --accent: #2BC5D4; --accent-ink: #052A30;
    --card: #0C2337;
    --panel: #051220; --panel-ink: #EAF3F6;
    --scrim: rgba(3,10,18,.6);
    --shadow: 0 24px 60px -24px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --ink: #EAF3F6; --ink-soft: #C3D4E0; --ink-mute: #A9BECC;
  --ground: #081826; --ground-alt: #0C2337; --line: #163A57;
  --accent: #2BC5D4; --accent-ink: #052A30;
  --card: #0C2337; --panel: #051220; --panel-ink: #EAF3F6;
  --scrim: rgba(3,10,18,.6); --shadow: 0 24px 60px -24px rgba(0,0,0,.6);
}
:root[data-theme="light"] {
  --ink: #0A2946; --ink-soft: #44586A; --ink-mute: #5C6E7E;
  --ground: #FFFFFF; --ground-alt: #F3F6F8; --line: #DCE7EE;
  --accent: #17ADBB; --accent-ink: #06333A;
  --card: #FFFFFF; --panel: #0A2946; --panel-ink: #EAF3F6;
  --scrim: rgba(10,41,70,.55); --shadow: 0 24px 60px -24px rgba(10,41,70,.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font-sans); background: var(--ground);
  color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---------- Tipografi ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute); display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.h-display { font-size: clamp(38px,6.4vw,80px); line-height: 1.03; font-weight: 700; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h-section { font-size: clamp(30px,4.2vw,50px); line-height: 1.07; font-weight: 700; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(16px,1.5vw,19px); line-height: 1.62; color: var(--ink-soft); max-width: 62ch; margin: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s;
}
.btn svg { transition: transform .25s; flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--ink); color: var(--ground); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.btn-hero { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-hero:hover { background: #fff; color: #111827; border-color: #fff; }
.btn-onred { background: transparent; color: #fff; border-color: #fff; }
.btn-onred:hover { background: #fff; color: #0A2946; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink); box-shadow: inset 0 -1px 0 var(--line);
}
/* Arup düzeni: logo viewport'un en solunda, ana menü yanında;
   şirket menüsü (Hakkımızda/Kariyer/İletişim) sağda ayrı grup. */
.site-header .wrap { width: calc(100% - 48px); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: 20px; }
.header-inner .nav-primary { margin-left: 18px; }
.header-inner .nav-secondary { margin-left: auto; }
.nav-secondary a { font-size: 13.5px; font-weight: 400; opacity: .92; }
.header-inner .header-tools { margin-left: 4px; }
/* Menüler gizliyken (mobil) araçlar sağa yaslansın */
@media (max-width: 1079px) { .header-inner .header-tools { margin-left: auto; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
/* Kurumsal logo — CSS maskesi: logo bulunduğu bağlamın yazı rengiyle boyanır,
   böylece açık temada lacivert, koyu tema ve koyu zeminlerde beyaz görünür. */
.brand-logo {
  display: block; width: 89px; height: 36px; background: currentColor;
  -webkit-mask: url("assets/logo-mby.png") center / contain no-repeat;
          mask: url("assets/logo-mby.png") center / contain no-repeat;
}
.mobile-menu .brand-logo { width: 96px; height: 39px; }
.brand-mark { font-size: 26px; letter-spacing: -.02em; }
.brand-mark .dot { color: var(--accent); }
.brand-tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; display: none; }
@media (min-width: 960px) { .brand-tag { display: inline; } }

.main-nav { display: none; align-items: center; gap: 2px; }
@media (min-width: 1080px) { .main-nav { display: flex; } }
.main-nav a { padding: 10px 13px; font-size: 14.5px; font-weight: 500; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid currentColor; border-radius: var(--radius); overflow: hidden; font-size: 12px; font-weight: 700; }
.lang-switch button { background: transparent; color: inherit; border: 0; padding: 7px 11px; letter-spacing: .08em; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.icon-btn { background: transparent; border: 0; color: inherit; padding: 9px; display: grid; place-items: center; border-radius: var(--radius); }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

/* Tema düğmesi: açık temada ay (koyuya geç), koyu temada güneş (açığa geç).
   Dört durum da kapsanır — OS tercihi ve data-theme geçersiz kılması. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  .theme-toggle .icon-sun { display: block; }
  .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.nav-toggle { display: grid; }
@media (min-width: 1080px) { .nav-toggle { display: none; } }

/* Mobil menü */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: #0A2946; color: #EAF3F6; display: none; flex-direction: column; padding: 24px; }
.mobile-menu.is-open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { margin-top: 6vh; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu nav a {
  font-size: clamp(24px,6.5vw,36px); font-weight: 700; letter-spacing: -.02em; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mobile-menu nav a:hover { color: #2BC5D4; }
.mobile-menu-foot { margin-top: auto; padding-top: 20px; font-size: 13px; color: #A9BECC; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Arama */
.search-layer {
  position: fixed; inset: 0; z-index: 80; background: var(--scrim); display: none;
  align-items: flex-start; justify-content: center; padding: 16vh 24px 24px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.search-layer.is-open { display: flex; }
.search-panel { width: min(680px,100%); }
.search-box {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 4px 8px 4px 20px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.search-box svg { color: var(--ink-mute); flex: none; }
.search-box input { flex: 1; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; padding: 16px 0; outline: none; min-width: 0; }
.search-hint { font-size: 11px; color: var(--ink-mute); border: 1px solid var(--line); padding: 4px 8px; border-radius: var(--radius); flex: none; }
.search-results { margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); max-height: 46vh; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--ground-alt); }
.search-results .sr-kind { color: var(--ink-mute); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.search-empty { padding: 16px 20px; color: var(--ink-mute); font-size: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0B0F17; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,23,.62) 0%, rgba(11,15,23,.12) 38%, rgba(11,15,23,.82) 100%); }
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 72px; }
.hero .eyebrow { color: rgba(255,255,255,.78); }
.hero-sub { margin: 26px 0 0; max-width: 58ch; font-size: clamp(16px,1.55vw,19px); line-height: 1.65; color: rgba(255,255,255,.84); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.media-chip {
  position: absolute; z-index: 3; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  background: rgba(11,15,23,.72); border: 1px solid rgba(255,255,255,.18); color: #E5E7EB;
  font-size: 11px; letter-spacing: .08em; padding: 8px 12px; border-radius: var(--radius);
  text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 720px) { .media-chip { right: 16px; bottom: 16px; font-size: 10px; } }
.media-chip .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(226,35,26,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,35,26,.5); } 70% { box-shadow: 0 0 0 8px rgba(226,35,26,0); } 100% { box-shadow: 0 0 0 0 rgba(226,35,26,0); } }

/* ============================================================
   BÖLÜM ORTAK
   ============================================================ */
.section { padding: clamp(72px,9vw,124px) 0; }
.section-alt { background: var(--ground-alt); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px,5.5vw,60px); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Markets ---------- */
.markets-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); }
.market-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.market-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.market-media { aspect-ratio: 4/3; overflow: hidden; }
.market-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.market-card:hover .market-media img { transform: scale(1.05); }
.market-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.market-body h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.market-body p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.58; }
.market-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.market-card:hover .market-link svg { transform: translateX(4px); }
.market-link svg { transition: transform .25s; }

/* ---------- Services ---------- */
/* 6 hizmet: 1 / 2 / 3 sütun — satırlar tam dolar, boş hücre kalmaz */
.services-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 660px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-cell { background: var(--ground); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: background .25s; color: inherit; }
.section-alt .service-cell { background: var(--ground-alt); }
.service-cell:hover { background: var(--card); }
.service-num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); font-variant-numeric: tabular-nums; }
.service-cell h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; max-width: 22ch; }
.service-cell p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Projects ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { padding: 9px 16px; font-size: 13.5px; font-weight: 600; background: transparent; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; transition: all .2s; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.projects-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
.project-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card.is-hidden { display: none; }
.project-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ground-alt); }
.project-media img, .project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.project-card:hover .project-media img { transform: scale(1.05); }

.hf-preview {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px; opacity: 0; transition: opacity .3s; color: #fff; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,15,23,.4), rgba(11,15,23,.05) 40%, rgba(11,15,23,.5));
}
.project-card:hover .hf-preview, .project-card:focus-visible .hf-preview { opacity: 1; }
.hf-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hf-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(11,15,23,.65); padding: 5px 9px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2); }
.hf-badge .rec { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hf-play { align-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); display: grid; place-items: center; background: rgba(11,15,23,.35); }
.hf-progress { height: 2px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.hf-progress span { display: block; height: 100%; width: 0; background: #fff; }

/* Arup kart düzeni: önce sonucu anlatan cümle, altında proje adı + konum */
.project-info { padding: 20px 20px 24px; }
.project-desc-lead { margin: 0 0 14px; font-size: 17px; font-weight: 600; line-height: 1.36; letter-spacing: -.01em; }
.project-meta { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-mute); margin: 0; }
.project-meta .cat { color: var(--ink); font-weight: 700; }
.project-meta .sep { width: 3px; height: 3px; background: var(--ink-mute); border-radius: 50%; flex: none; opacity: .6; }

/* ============================================================
   SAYFA ŞABLONLARI (çok sayfalı yapı)
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Liste sayfası başlığı */
.page-head { padding: calc(var(--header-h) + 72px) 0 clamp(36px, 5vw, 56px); background: var(--ground); }
.page-lede { margin-top: 22px; }
.section-top-tight { padding-top: 0; }

/* Detay sayfası başlığı */
.detail-head { padding: calc(var(--header-h) + 56px) 0 clamp(28px, 4vw, 40px); }
.detail-head .h-display { font-size: clamp(32px, 4.8vw, 60px); max-width: 20ch; }
.detail-name { margin: 20px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.detail-head .insight-tag { display: block; margin-bottom: 16px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-mute);
}
.back-link:hover { color: var(--accent); }
.back-link svg { transition: transform .25s; }
.back-link:hover svg { transform: translateX(-4px); }

/* Detay künye bloğu */
.detail-meta { border-block: 1px solid var(--line); padding: 26px 0; }
.meta-grid { margin: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .meta-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.meta-grid dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.meta-grid dd { margin: 0; font-size: 15.5px; line-height: 1.5; }
.meta-grid dd a { border-bottom: 1px solid var(--line); }
.meta-grid dd a:hover { color: var(--accent); border-color: var(--accent); }

.detail-hero { padding-top: clamp(32px, 4vw, 48px); }
.detail-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }

.detail-body { padding-top: clamp(40px, 5vw, 60px); }
.detail-cols { display: grid; gap: 44px; }
@media (min-width: 1000px) { .detail-cols { grid-template-columns: 1fr 340px; gap: 64px; align-items: start; } }

/* Uzun metin */
.prose { max-width: 68ch; }
.prose-wide { max-width: 74ch; }
.prose p { margin: 0 0 20px; font-size: 17px; line-height: 1.72; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose p:first-of-type { font-size: 19px; color: var(--ink); }

.h-sub { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 0; }

/* Araç çubuğu: filtre + sonuç sayısı */
.toolbar { display: grid; gap: 16px; margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .toolbar { grid-template-columns: 1fr auto; align-items: center; } }
.result-count { margin: 0; font-size: 13.5px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* Hizmet listesi (Arup: ad + açıklama satırları) */
.service-list { display: grid; }
.service-row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.service-row p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); max-width: 70ch; }
.service-markets { margin-top: 14px !important; font-size: 13px !important; color: var(--ink-mute) !important; }
.service-markets span { letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; margin-right: 8px; }
.service-markets a { border-bottom: 1px solid var(--line); }
.service-markets a:hover { color: var(--accent); border-color: var(--accent); }

/* İletişim: talep türleri */
.enquiry-list { display: grid; border-top: 1px solid var(--line); }
.enquiry-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.enquiry-row span { display: grid; gap: 4px; }
.enquiry-row strong { font-size: 16.5px; font-weight: 700; }
.enquiry-row em { font-style: normal; font-size: 14px; color: var(--ink-mute); }
.enquiry-row svg { flex: none; color: var(--ink-mute); transition: transform .25s, color .2s; }
.enquiry-row:hover svg { transform: translateX(4px); color: var(--accent); }

/* Aktif menü öğesi */
.main-nav a.is-current::after { transform: scaleX(1); }

.btn-onpanel { background: transparent; color: var(--panel-ink); border-color: color-mix(in srgb, var(--panel-ink) 45%, transparent); margin-top: 30px; }
.btn-onpanel:hover { background: var(--panel-ink); color: var(--panel); border-color: var(--panel-ink); }

/* ---------- Featured project ---------- */
.featured { background: var(--panel); color: var(--panel-ink); }
.featured .eyebrow { color: color-mix(in srgb, var(--panel-ink) 60%, transparent); }
.featured-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .featured-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.featured-media { border-radius: var(--radius); overflow: hidden; align-self: start; }
.featured-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.featured-name { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 14px; }
.featured-body { margin: 20px 0 0; font-size: 15.5px; line-height: 1.7; color: color-mix(in srgb, var(--panel-ink) 80%, transparent); max-width: 60ch; }
/* "Bir bakışta" künyesi — proje detayında yan sütun */
.glance { background: var(--ground-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 8px; }
@media (min-width: 1000px) { .glance { position: sticky; top: calc(var(--header-h) + 24px); } }
.glance h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.glance dl { margin: 0; display: grid; gap: 0; }
.glance .row { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.glance dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.glance dd { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; }

/* ---------- Insights ---------- */
.insights-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); }
.insight-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.insight-visual { aspect-ratio: 16/9; overflow: hidden; }
.insight-visual img { width: 100%; height: 100%; object-fit: cover; }
.insight-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.insight-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.insight-card h3 { margin: 0; font-size: 18.5px; font-weight: 700; line-height: 1.32; letter-spacing: -.01em; }
.insight-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.58; }
.insight-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-mute); }

/* ---------- About / stats ---------- */
.stats-grid {
  display: grid; gap: 1px; margin-top: clamp(40px,5vw,60px);
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  background: var(--line); border-block: 1px solid var(--line);
}
.stat { background: var(--ground-alt); padding: 32px 26px; }
.stat-num { font-size: clamp(36px,4.4vw,54px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .suffix { color: var(--accent); }
.stat-label { margin-top: 12px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-row { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .contact-row { grid-template-columns: 30% 1fr; gap: 20px; align-items: baseline; } }
.contact-row dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.contact-row dd { margin: 0; font-size: 16px; line-height: 1.55; }
.contact-row a:hover { color: var(--accent); }

/* ---------- CTA bandı — kurumsal lacivert, turkuaz çizgi ---------- */
.cta-band { background: #0A2946; color: #fff; }
.cta-inner { display: grid; gap: 26px; padding: clamp(52px,7vw,88px) 0; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band .h-section, .cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #17ADBB; }
.cta-band p { margin: 14px 0 0; font-size: 16px; opacity: .92; max-width: 54ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--panel); color: color-mix(in srgb, var(--panel-ink) 75%, transparent); }
.footer-top { display: grid; gap: 44px; padding: clamp(56px,7vw,84px) 0 52px; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.25fr 2fr; } }
.footer-brand .brand-mark { font-size: 30px; color: var(--panel-ink); }
.footer-brand p { font-size: 14.5px; line-height: 1.65; max-width: 42ch; margin: 16px 0 0; }
.newsletter { margin-top: 26px; }
.newsletter label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: color-mix(in srgb, var(--panel-ink) 60%, transparent); }
.newsletter-row { display: flex; border: 1px solid color-mix(in srgb, var(--panel-ink) 25%, transparent); border-radius: var(--radius); overflow: hidden; max-width: 420px; }
.newsletter-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--panel-ink); font: inherit; font-size: 14.5px; padding: 13px 16px; outline: none; }
.newsletter-row input::placeholder { color: color-mix(in srgb, var(--panel-ink) 45%, transparent); }
.newsletter-row button { background: var(--accent); color: var(--accent-ink); border: 0; padding: 0 20px; font-weight: 700; font-size: 14px; }
.newsletter-row button:hover { background: color-mix(in srgb, var(--accent) 82%, #000); color: #fff; }
.newsletter-note { font-size: 12.5px; margin-top: 10px; color: color-mix(in srgb, var(--panel-ink) 50%, transparent); }

.sitemap { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
.sitemap h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-ink); }
.sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sitemap a { font-size: 14px; }
.sitemap a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--panel-ink) 14%, transparent);
  padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 16px 28px;
  align-items: center; justify-content: space-between; font-size: 13px;
}
.socials { display: flex; gap: 6px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--panel-ink) 20%, transparent); border-radius: var(--radius); transition: all .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--accent); }

/* ============================================================
   ANA SAYFA — Meridian editoryal düzeni (body.is-home kapsamı)
   Serif başlıklar, hap butonlar, kemer maskeli kartlar,
   mavi accent. Diğer sayfalar mevcut dilde kalır.
   ============================================================ */
/* Palet: MBY Wind Engineering broşüründen */
:root {
  --m-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --m-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --m-accent: #0A2946;
  --m-hero-ink: #5C6E7E;
  --m-mute: #44586A;
  --m-mute2: #5C6E7E;
  --m-teal: #17ADBB;  --m-teal-ink: #06333A;
  --m-sage: #C3D4E0;  --m-sage-ink: #0A2946;
  --m-stone: #DCE7EE; --m-stone-ink: #0A2946;
  /* Perspektifler bandı footer'dan bir ton koyu — iki lacivert blok ayrışsın */
  --m-dark: #061B2E;
  /* Footer her iki temada da lacivert kalır: beyaz metin okunur olsun */
  --m-footer: #0A2946;
}
@media (prefers-color-scheme: dark) {
  :root { --m-accent: #7FABD1; --m-hero-ink: #9FB3C2; --m-mute: #AEBFCB; --m-mute2: #8FA3B1; }
}
:root[data-theme="dark"] { --m-accent: #7FABD1; --m-hero-ink: #9FB3C2; --m-mute: #AEBFCB; --m-mute2: #8FA3B1; }
:root[data-theme="light"] { --m-accent: #0A2946; --m-hero-ink: #5C6E7E; --m-mute: #44586A; --m-mute2: #5C6E7E; }

/* Ana sayfa da diğer sayfalarla aynı genel site footer'ını kullanır. */

/* Ana sayfa header'ı: açık zemin üzerinde koyu yazı, mavi accent */
body.is-home .site-header { color: var(--ink); }
body.is-home .main-nav a::after { background: var(--m-accent); }
body.is-home .lang-switch button[aria-pressed="true"] { background: var(--m-accent); }

body.is-home #app { font-family: var(--m-sans); }

/* Ortak Meridian parçaları */
.mh-h2 { margin: 0 0 14px; font-family: var(--m-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: 0; color: var(--ink); }
.mh-sub { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--m-mute); max-width: 520px; text-wrap: pretty; }
.mh-intro { margin: 0 0 44px; font-size: 14px; line-height: 1.55; color: var(--m-mute); max-width: 560px; text-wrap: pretty; }
.mh-label { font-size: 12px; letter-spacing: .06em; color: var(--m-mute2); }
.mh-label-sm { font-size: 11.5px; letter-spacing: .04em; color: var(--m-mute2); }
.mh-pill {
  margin-left: auto; border: 1px solid var(--ink); border-radius: 999px;
  padding: 9px 20px; font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s; align-self: flex-end;
}
.mh-pill:hover { background: var(--ink); color: var(--ground); }
.mh-pill-light { border-color: #fff; color: #fff; }
.mh-pill-light:hover { background: #fff; color: var(--m-dark); }

.mh-section { padding: 56px 40px 72px; }
@media (max-width: 720px) { .mh-section { padding: 44px 20px 56px; } }

/* Hero: dev hafif serif başlık + tam genişlik görsel */
.mh-hero { padding: calc(var(--header-h) + 28px) 16px 0; }
.mh-hero h1 {
  margin: 8px 24px 28px; font-family: var(--m-serif); font-weight: 300;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.15; color: var(--m-hero-ink);
  max-width: 900px; text-wrap: pretty;
}
/* Fotoğraf ile video aynı yerleşimi paylaşır: video indiğinde kare kaymaz */
.mh-hero :is(img, video) { display: block; width: 100%; height: clamp(320px, 48vw, 560px); object-fit: cover; }
@media (max-width: 720px) { .mh-hero { padding-inline: 10px; } .mh-hero h1 { margin-inline: 12px; } }

/* Öne çıkan konu: sol Issues kartı + sağ dikey akış */
.mh-feature-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .mh-feature-grid { grid-template-columns: 1fr 1fr; } }
.mh-issue-lead { display: flex; flex-direction: column; gap: 20px; }
.mh-issue-lead h3 { margin: 0; font-family: var(--m-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; max-width: 460px; color: var(--ink); }
.mh-issue-lead p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--m-mute); max-width: 420px; text-wrap: pretty; }
.mh-issue-lead img { display: block; width: 100%; height: clamp(300px, 38vw, 480px); object-fit: cover; margin-top: 8px; }
.mh-feature-col { display: flex; flex-direction: column; gap: 28px; }
.mh-feature-top img { display: block; width: 100%; height: 270px; object-fit: cover; }
.mh-feature-top h4 { margin: 16px 0 8px; font-size: 16px; font-weight: 500; color: var(--ink); }
.mh-feature-top p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--m-mute); text-wrap: pretty; }
.mh-feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 560px) { .mh-feature-duo { grid-template-columns: 1fr; } }
.mh-feature-duo img { display: block; width: 100%; height: 190px; object-fit: cover; }
.mh-feature-duo .mh-label-sm { margin: 12px 0 4px; }
.mh-feature-duo h4 { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mh-feature-duo p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--m-mute); }
.mh-news-card { background: var(--m-sage); padding: 20px; display: flex; flex-direction: column; min-height: 280px; }
.mh-news-card .mh-label-sm { color: #33506B; margin: 0; }
.mh-news-card h4 { margin: auto 0 8px; font-family: var(--m-serif); font-weight: 400; font-size: 19px; line-height: 1.3; color: var(--m-sage-ink); }

/* Çalışmalarımız — karusel */
.mh-work { padding: 24px 0 72px; }
.mh-work-head { padding: 0 40px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.mh-work-bar { padding: 28px 40px 12px; display: flex; align-items: center; gap: 16px; }
.mh-work-bar #mhCounter { font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mh-arrows { margin-left: auto; display: flex; gap: 10px; }
.mh-arrows button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--ground); color: var(--ink); font-size: 16px; cursor: pointer;
  transition: border-color .2s;
}
.mh-arrows button:hover { border-color: var(--ink); }
.mh-viewport { overflow: hidden; padding-left: 16px; }
.mh-track { display: flex; gap: 24px; align-items: flex-start; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.mh-slide { flex: none; }
.mh-slide :is(img, video) { display: block; height: 420px; object-fit: cover; background: var(--m-dark); }
/* Slayt genişlikleri kasıtlı olarak farklı — şerit editoryal bir ritim kazanır */
.mh-slide-a :is(img, video) { width: 640px; }
.mh-slide-b :is(img, video) { width: 460px; }
.mh-slide-c :is(img, video) { width: 400px; }
.mh-slide-d :is(img, video) { width: 520px; }
@media (max-width: 760px) {
  .mh-slide :is(img, video) { width: 78vw; height: 300px; }
}
.mh-caption {
  margin: 44px 40px 0; font-family: var(--m-serif); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; max-width: 640px;
  text-wrap: pretty; color: var(--ink);
}
@media (max-width: 720px) { .mh-work-head, .mh-work-bar { padding-inline: 20px; } .mh-caption { margin-inline: 20px; } }

/* Rakamlarla MBY */
.mh-stats .mh-work-head { padding: 0; margin-bottom: 36px; }
.mh-stats-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mh-stats-grid > div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 8px; }
.mh-num { font-family: var(--m-serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 58px); line-height: 1; color: var(--m-accent); font-variant-numeric: tabular-nums; }
.mh-stat-label { font-size: 12px; letter-spacing: .06em; color: var(--m-mute2); }

/* Perspektifler — koyu zemin, üç renkli kart, kemer maskeleri */
.mh-issues { background: var(--m-dark); color: #fff; padding: 48px 40px 64px; }
@media (max-width: 720px) { .mh-issues { padding: 40px 20px 52px; } }
.mh-issues .mh-h2 { color: #fff; }
.mh-issues-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 36px; }
.mh-issues-bar p { margin: 0; font-size: 13.5px; color: #BBB; max-width: 520px; }
.mh-issues-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mh-issue-card { padding: 24px 24px 0; display: flex; flex-direction: column; min-height: 440px; }
.mh-issue-card h3 {
  margin: 14px 0 24px; font-family: var(--m-serif); font-weight: 400;
  font-size: clamp(21px, 2vw, 26px); line-height: 1.25; max-width: 320px;
}
.mh-teal { background: var(--m-teal); color: var(--m-teal-ink); }
.mh-teal .mh-label-sm { color: var(--m-teal-ink); }
.mh-plain { background: #F3F6F8; color: #0A2946; padding-right: 0; padding-left: 24px; }
.mh-plain .mh-label-sm { color: #5C6E7E; }
.mh-plain h3 { margin-right: 24px; }
.mh-stone { background: var(--m-stone); color: var(--m-stone-ink); }
.mh-stone .mh-label-sm { color: #555; }
.mh-arch { margin: auto auto 0; width: 78%; height: 230px; overflow: hidden; border-radius: 999px 999px 0 0; }
.mh-arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-flat { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; margin-top: auto; }

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

/* ---------- Toast & reveal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%,80px); opacity: 0;
  background: var(--ink); color: var(--ground); padding: 13px 22px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s, opacity .35s; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .hero-media video, .media-chip .pulse { animation: none; }
  .project-card, .insight-card, .market-card, .project-media img, .market-media img { transition: none; }
}

/* ============================================================
   Dünya haritası — Dünyada MBY (ana sayfa)
   Koyu lacivert bant; nokta-matris kara kütlesi + turkuaz
   proje işaretçileri. Harici servis gerektirmez.
   ============================================================ */
.mh-map { background: var(--m-dark); padding: 48px 40px 64px; }
@media (max-width: 720px) { .mh-map { padding: 40px 20px 48px; } }
.mh-map .mh-h2 { color: #fff; }
.mh-map .mh-sub { color: #9FB3C2; }
.mh-map-head { margin-bottom: 28px; }

.world-map { position: relative; }
.map-stage { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; }
.world-map.is-panning .map-stage { cursor: grabbing; }
.world-map svg { display: block; width: 100%; height: auto; }
.map-land circle { fill: #274B68; r: var(--dot-r, 1.7px); }

/* İşaretçiler SVG üstünde HTML katmanı: yakınlaştırmadan bağımsız boyut */
.map-marks { position: absolute; inset: 0; }
.map-pin, .map-cluster {
  position: absolute; transform: translate(-50%, -50%);
  border: 0; padding: 0; font: inherit; cursor: default;
  transition: box-shadow .15s ease;
}
.map-pin {
  width: 9px; height: 9px; border-radius: 50%; background: #2BC5D4;
  box-shadow: 0 0 0 3.5px rgba(43, 197, 212, .22);
}
.map-pin.has-link { cursor: pointer; }
.map-pin:hover, .map-pin:focus-visible { box-shadow: 0 0 0 8px rgba(43, 197, 212, .32); }
.map-cluster {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  background: #2BC5D4; color: #06333A; cursor: pointer;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(43, 197, 212, .2);
}
.map-cluster:hover, .map-cluster:focus-visible { box-shadow: 0 0 0 8px rgba(43, 197, 212, .3); }

.map-ctrl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.map-ctrl button {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(10, 41, 70, .72); color: #EAF3F6;
  border: 1px solid #1D4160; border-radius: 3px;
  font-size: 16px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.map-ctrl button:hover { background: #17ADBB; color: #06333A; border-color: #17ADBB; }
.map-hint { margin: 14px 0 0; font-size: 12px; color: #8FA3B1; }

.map-tip {
  position: absolute; z-index: 5; width: min(300px, 78vw);
  background: #0C2337; color: #EAF3F6;
  border: 1px solid #1D4160; border-radius: 3px;
  padding: 12px 14px; pointer-events: none;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .65);
}
.map-tip strong { display: block; font-size: 13.5px; margin-bottom: 5px; }
.map-tip p { margin: 0 0 6px; font-size: 12px; line-height: 1.5; color: #C3D4E0; }
.map-tip .map-tip-meta { color: #8FA3B1; font-size: 11.5px; margin-bottom: 0; }
.map-tip .map-tip-link { display: inline-block; margin-top: 7px; font-size: 11.5px; letter-spacing: .04em; color: #2BC5D4; }

/* Üst üste binen projelerin listesi — tıklanabilir olduğu için fare olaylarını alır */
.map-tip.is-list { pointer-events: auto; }
/* Başlık sabit kalsın diye yalnızca liste kaydırılır */
.map-tip-list {
  list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px;
  max-height: 244px; overflow-y: auto; overscroll-behavior: contain;
}
.map-tip-list li { display: grid; gap: 2px; font-size: 12px; line-height: 1.35; }
.map-tip-list a { color: #2BC5D4; }
.map-tip-list a:hover { text-decoration: underline; }
.map-tip-list span { color: #C3D4E0; }
.map-tip-list em { font-style: normal; font-size: 11px; color: #8FA3B1; }
