/* =========================================================
   Ankara Kantar — Engineering spec system
   Cool light slate · crimson accent · Syne display
   ========================================================= */

:root {
  --paper: #eef0f2;
  --paper-2: #e4e7ea;
  --card: #f7f8f9;
  --ink: #14161a;
  --ink-soft: #3f444c;
  --muted: #777e88;
  --line: rgba(20, 22, 26, 0.13);
  --line-strong: rgba(20, 22, 26, 0.3);
  --accent: #e23744;
  --accent-deep: #b81e2b;
  --accent-soft: rgba(226, 55, 68, 0.09);

  --font-display: 'Syne', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1260px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.kicker.center { justify-content: center; }
.kicker.light { color: #fff; }
.kicker.light::before { background: #fff; }

/* ================= NAV ================= */
.nav { display: block; position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: all .35s cubic-bezier(.22,1,.36,1); }
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.nav.scrolled { padding-top: 10px; }
.nav.scrolled .nav-inner {
  background: rgba(247, 248, 249, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 0;
  padding: 14px 22px;
  box-shadow: 0 18px 50px -30px rgba(20,22,26,.55);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: -.03em; transform: skewX(-7deg);
}
.brand-mark span { color: var(--accent); }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 11px 22px;
  font-size: 14px; font-weight: 600; transform: skewX(-7deg);
  transition: transform .25s, background .25s;
}
.nav-cta span { display: inline-block; transform: skewX(7deg); }
.nav-cta:hover { background: var(--accent-deep); transform: skewX(-7deg) translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; padding: 15px 28px;
  cursor: pointer; transition: transform .25s, background .25s, color .25s, border-color .25s;
  border: 1.5px solid transparent; transform: skewX(-7deg);
}
.btn > * { transform: skewX(7deg); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-deep); transform: skewX(-7deg) translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: skewX(-7deg) translateY(-3px); }
.btn svg { width: 17px; height: 17px; }

/* ================= MARQUEE (diagonal) ================= */
.marquee {
  overflow: hidden; background: var(--ink); color: var(--paper);
  transform: rotate(-1.4deg) scale(1.04); margin: clamp(60px,8vw,96px) 0;
  border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
}
.marquee-track { display: inline-flex; white-space: nowrap; animation: scrollx 32s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.4vw, 30px);
  padding: 14px 30px; display: inline-flex; align-items: center; gap: 30px; letter-spacing: -.01em;
}
.marquee-track span::after { content: "/"; color: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ================= HERO ================= */
.hero { padding-top: clamp(120px, 16vw, 184px); position: relative; }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 38vw; height: 100%;
  background: var(--paper-2); z-index: -1;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 2px solid var(--ink); margin-bottom: clamp(34px, 5vw, 56px);
}
.hero-loc { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.hero-loc b { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: clamp(28px, 4vw, 56px); align-items: end; }
.hero-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 14px; transform: skewX(-7deg); margin-bottom: 22px;
}
.hero-tag span { display: inline-block; transform: skewX(7deg); }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 7.6vw, 110px); line-height: 0.92; letter-spacing: -0.03em; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); max-width: 46ch; margin-top: 26px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-specs { display: grid; border-top: 2px solid var(--ink); }
.hero-spec { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hero-spec b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent-deep); }
.hero-spec p { font-size: 14px; color: var(--ink-soft); }
.hero-figure { margin-top: clamp(40px, 6vw, 80px); position: relative; }
.hero-bg { position: relative; overflow: hidden; aspect-ratio: 16 / 7; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.06); transform: scale(1.04); transition: transform .6s; }
.hero-cap { position: absolute; left: 0; bottom: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 9px 15px; }
.hero-badge { position: absolute; right: 0; top: 0; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 15px; }

/* ================= SECTION SHELL ================= */
.section { padding: clamp(74px, 11vw, 140px) 0; }
.section-flush { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; margin-bottom: clamp(40px, 6vw, 66px); }
.sec-index { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: .85; color: var(--accent); letter-spacing: -.04em; }
.sec-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.0; letter-spacing: -.025em; margin-top: 12px; }
.sec-title.light { color: #fff; }
.sec-desc { font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-soft); max-width: 56ch; margin-top: 18px; }

/* ================= MANIFESTO (crimson band) ================= */
.manifesto { background: var(--accent); color: #fff; padding: clamp(74px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.manifesto::before {
  content: "ANKARA"; position: absolute; right: -2%; bottom: -8%;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 360px);
  color: rgba(255,255,255,.08); letter-spacing: -.04em; pointer-events: none; line-height: 1;
}
.manifesto .kicker { color: #fff; }
.manifesto .kicker::before { background: #fff; }
.manifesto-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.6vw, 48px); line-height: 1.14; letter-spacing: -.02em; max-width: 22ch; margin-top: 26px; position: relative; }
.manifesto-text em { font-style: normal; color: var(--ink); }
.manifesto-foot { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); position: relative; }
.manifesto-foot div { background: var(--accent); padding: 26px; }
.manifesto-foot b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.manifesto-foot p { color: rgba(255,255,255,.82); font-size: 14px; margin-top: 6px; }

/* ================= CAPABILITIES (sticky split) ================= */
.cap-wrap { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cap-sticky { position: sticky; top: 120px; }
.cap-sticky .sec-index { margin-bottom: 14px; }
.cap-list { border-top: 2px solid var(--ink); }
.cap-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 34px); padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); transition: padding-left .3s, background .3s; }
.cap-row:hover { padding-left: 14px; background: var(--accent-soft); }
.cap-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); padding-top: 6px; }
.cap-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; }
.cap-desc { font-size: 15px; color: var(--ink-soft); margin-top: 8px; max-width: 52ch; }
.cap-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; }

/* ================= SPOTLIGHTS ================= */
.spot { display: grid; gap: clamp(60px, 9vw, 120px); }
.spot-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.spot-row:nth-child(even) .spot-media { order: -1; }
.spot-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.spot-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.025em; margin: 16px 0 18px; }
.spot-text { font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-soft); max-width: 48ch; }
.spot-list { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.spot-list li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.spot-list li b { font-family: var(--font-mono); font-size: 12px; color: var(--accent-deep); min-width: 34px; }
.duo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.06); transition: filter .5s, transform .7s; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: multiply; opacity: .14; transition: opacity .5s; }
.spot-row:hover .duo img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.spot-row:hover .duo::after { opacity: 0; }
.duo-tag { position: absolute; left: 0; bottom: 0; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 8px 14px; }

/* ================= MODULES ================= */
.modules { background: var(--paper-2); }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mod-item { background: var(--paper-2); padding: 26px 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; transition: background .3s; }
.mod-item:hover { background: var(--card); }
.mod-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-deep); }
.mod-item h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mod-item p { grid-column: 2; font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ================= SECTORS (bold image grid) ================= */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.sector-card { position: relative; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05) brightness(.82); transition: transform .7s; }
.sector-card:hover img { transform: scale(1.06); }
.sector-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0) 35%, rgba(20,22,26,.9) 100%); }
.sector-body { position: absolute; inset: auto 0 0 0; padding: clamp(22px,3vw,34px); z-index: 2; }
.sector-body .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.sector-body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.02em; margin: 8px 0; }
.sector-body p { font-size: 14px; color: rgba(255,255,255,.84); max-width: 40ch; }

/* ================= METRICS ================= */
.metrics {
  background:
    radial-gradient(1200px 380px at 50% -30%, rgba(226, 55, 68, 0.22), transparent 60%),
    var(--ink);
  color: var(--paper);
}
.metrics .container { padding-top: clamp(74px, 11vw, 140px); padding-bottom: clamp(74px, 11vw, 140px); }
.metrics .sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
}
.metric {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid rgba(226, 55, 68, .9);
  padding: clamp(22px, 2.8vw, 34px) clamp(18px, 2.2vw, 26px);
}
.metric-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.metric-label {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(238,240,242,.78);
}

/* ================= CTA ================= */
.cta { text-align: center; }
.cta-inner { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: clamp(48px, 8vw, 92px) var(--pad); }
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 62px); line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; margin: 18px auto 0; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--ink-soft); max-width: 48ch; margin: 22px auto 0; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 96px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand-mark { background: var(--paper); color: var(--ink); }
.footer .brand-text strong { color: var(--paper); }
.footer-about { color: rgba(238,240,242,.66); font-size: 14px; max-width: 34ch; margin-top: 20px; }
.footer-about a { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: var(--paper); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(238,240,242,.5); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: rgba(238,240,242,.78); font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: 13px; color: rgba(238,240,242,.5); font-family: var(--font-mono); letter-spacing: .04em; }
.footer-bottom a { color: rgba(238,240,242,.7); }
.footer-bottom a:hover { color: var(--accent); }

/* ================= REVEAL ================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1040px) {
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cap-wrap { grid-template-columns: 1fr; }
  .cap-sticky { position: static; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--card); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 0 40px; transform: translateX(100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; font-family: var(--font-display); font-weight: 700; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .spot-row { grid-template-columns: 1fr; }
  .spot-row:nth-child(even) .spot-media { order: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .manifesto-foot { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mod-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cap-row:hover { padding-left: 0; }
}
