/* ===========================================================
   S. Kaan Özdemir — Personal Site
   Design tokens
   =========================================================== */
:root {
  --bg: #0a0e17;
  --bg-soft: #0f1623;
  --bg-card: #131c2b;
  --bg-elevated: #18243a;
  --border: #1f2c44;
  --border-soft: #1a2538;
  --text: #e7edf7;
  --text-soft: #aab6cc;
  --text-dim: #6b7a96;
  --accent: #38e1c4;
  --accent-2: #6c8cff;
  --accent-grad: linear-gradient(120deg, #38e1c4 0%, #6c8cff 100%);
  --danger: #ff6b8b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px circle at 12% -5%, rgba(56, 225, 196, 0.10), transparent 55%),
    radial-gradient(720px circle at 92% 8%, rgba(108, 140, 255, 0.12), transparent 55%),
    radial-gradient(900px circle at 50% 110%, rgba(108, 140, 255, 0.06), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===========================================================
   Navbar
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; letter-spacing: .2px; font-size: 1.02rem;
}
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-grad);
  display: grid; place-items: center;
  color: #07121b; font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 18px -6px rgba(56, 225, 196, .6);
}
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 8px 14px; border-radius: 9px;
  color: var(--text-soft); font-size: .92rem; font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--text); background: var(--bg-card); }
.nav__cta {
  background: var(--accent-grad) !important;
  color: #07121b !important; font-weight: 700 !important;
}
.nav__cta:hover { filter: brightness(1.06); }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); width: 42px; height: 42px; border-radius: 10px;
  font-size: 1.3rem; cursor: pointer;
}

/* ===========================================================
   Buttons & generic
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
}
.btn--primary { background: var(--accent-grad); color: #07121b; box-shadow: 0 12px 30px -12px rgba(56,225,196,.6); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--ghost { background: var(--bg-card); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.section { padding: 100px 0; }
.section--tight { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.section__lead { color: var(--text-soft); max-width: 640px; margin-top: 14px; font-size: 1.05rem; }
.section__head { margin-bottom: 52px; }

/* ===========================================================
   Hero
   =========================================================== */
.hero { padding: 150px 0 90px; position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center;
}
.hero__status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(56, 225, 196, .08); border: 1px solid rgba(56, 225, 196, .25);
  font-size: .82rem; color: var(--accent); font-weight: 500; margin-bottom: 26px;
}
.hero__status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(56,225,196,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,225,196,.5); }
  70% { box-shadow: 0 0 0 10px rgba(56,225,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,225,196,0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04;
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px;
}
.hero h1 .grad {
  background: var(--accent-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__role { font-size: 1.25rem; color: var(--text); font-weight: 600; margin-bottom: 18px; }
.hero__desc { color: var(--text-soft); font-size: 1.08rem; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--text-dim); font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; stroke: var(--accent); }

/* Hero card / avatar */
.hero__card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border); border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero__card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at 80% -10%, rgba(108,140,255,.18), transparent 60%);
  pointer-events: none;
}
.hero__avatar {
  width: 96px; height: 96px; border-radius: 20px;
  background: var(--accent-grad); display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; color: #07121b; margin-bottom: 20px;
  box-shadow: 0 14px 34px -12px rgba(56,225,196,.6);
}
.hero__card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.hero__card .sub { color: var(--text-dim); font-size: .9rem; margin-bottom: 22px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--bg); border: 1px solid var(--border-soft);
  border-radius: 12px; padding: 16px;
}
.stat__num { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat__label { font-size: .78rem; color: var(--text-dim); margin-top: 6px; }

/* Marquee of platforms */
.marquee {
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 26px 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { color: var(--text-dim); font-weight: 600; font-size: 1.05rem; white-space: nowrap; letter-spacing: .3px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===========================================================
   About
   =========================================================== */
.about__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 18px; }
.about p strong { color: var(--text); }
.about__highlights { display: grid; gap: 16px; }
.hl {
  display: flex; gap: 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  transition: transform .2s ease, border-color .2s ease;
}
.hl:hover { transform: translateY(-3px); border-color: var(--accent); }
.hl__icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(56,225,196,.1); display: grid; place-items: center; font-size: 1.3rem;
}
.hl h4 { font-size: 1rem; margin-bottom: 3px; }
.hl p { font-size: .9rem; color: var(--text-dim); margin: 0; }

/* ===========================================================
   Experience timeline
   =========================================================== */
.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--accent), transparent);
}
.tl {
  position: relative; padding: 0 0 38px 58px;
}
.tl:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute; left: 11px; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(56,225,196,.12);
}
.tl__card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.tl__card:hover { transform: translateX(4px); border-color: var(--accent-2); }
.tl__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.tl__role { font-size: 1.18rem; font-weight: 700; }
.tl__company { color: var(--accent); font-weight: 600; }
.tl__date {
  font-family: var(--mono); font-size: .78rem; color: var(--text-dim);
  background: var(--bg); border: 1px solid var(--border-soft);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.tl__list { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.tl__list li { position: relative; padding-left: 22px; color: var(--text-soft); font-size: .96rem; }
.tl__list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--accent-2); transform: rotate(45deg);
}

/* ===========================================================
   Skills
   =========================================================== */
.skills__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.skill-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.skill-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.skill-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.skill-card h4 .ico { font-size: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: .82rem; padding: 6px 13px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border-soft); color: var(--text-soft);
  transition: all .18s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.cert {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 16px; font-size: .92rem; font-weight: 500;
  transition: all .18s ease;
}
.cert:hover { border-color: var(--accent); transform: translateY(-2px); }
.cert .check {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(56,225,196,.12); color: var(--accent);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.edu {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.edu:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.edu__date { font-family: var(--mono); font-size: .76rem; color: var(--accent); margin-bottom: 10px; }
.edu h4 { font-size: 1.08rem; margin-bottom: 4px; }
.edu p { color: var(--text-dim); font-size: .9rem; }

/* ===========================================================
   Blog
   =========================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.post-card__cover {
  height: 150px; display: grid; place-items: center; font-size: 2.6rem;
  position: relative; overflow: hidden;
}
.post-card__cover::after { content: ""; position: absolute; inset: 0; background: rgba(7,18,27,.25); }
.cover-1 { background: linear-gradient(135deg, #38e1c4, #1f8f7d); }
.cover-2 { background: linear-gradient(135deg, #6c8cff, #3a4fc4); }
.cover-3 { background: linear-gradient(135deg, #ffb86c, #c46a2e); }
.cover-4 { background: linear-gradient(135deg, #ff6b8b, #c43a5a); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: .78rem; color: var(--text-dim); margin-bottom: 12px; }
.post-card__meta .chip { color: var(--accent); font-weight: 600; }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.post-card p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.post-card__more { margin-top: 18px; color: var(--accent); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.post-card:hover .post-card__more { gap: 11px; }

/* ===========================================================
   Contact
   =========================================================== */
.contact {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px circle at 50% -20%, rgba(56,225,196,.14), transparent 60%);
  pointer-events: none;
}
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.contact p { color: var(--text-soft); max-width: 520px; margin: 0 auto 30px; font-size: 1.06rem; }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===========================================================
   Footer
   =========================================================== */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 90px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer p { color: var(--text-dim); font-size: .9rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-card); border: 1px solid var(--border); transition: all .2s ease;
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }

/* ===========================================================
   Reveal animation
   =========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Blog post article page
   =========================================================== */
.article { padding: 130px 0 60px; }
.article__wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .9rem; margin-bottom: 28px; transition: color .2s ease; }
.back-link:hover { color: var(--accent); }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--text-dim); margin-bottom: 18px; }
.article__meta .chip { color: var(--accent); font-weight: 600; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 22px; font-weight: 800; }
.article__cover { height: 220px; border-radius: var(--radius); margin-bottom: 38px; display: grid; place-items: center; font-size: 3.4rem; }
.article__body { font-size: 1.08rem; color: var(--text-soft); }
.article__body h2 { color: var(--text); font-size: 1.6rem; margin: 40px 0 14px; letter-spacing: -.01em; }
.article__body h3 { color: var(--text); font-size: 1.25rem; margin: 28px 0 10px; }
.article__body p { margin-bottom: 18px; }
.article__body ul, .article__body ol { margin: 0 0 18px 22px; display: grid; gap: 8px; }
.article__body li { padding-left: 4px; }
.article__body strong { color: var(--text); }
.article__body blockquote {
  border-left: 3px solid var(--accent); background: var(--bg-card);
  padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; color: var(--text);
  font-style: italic;
}
.article__body code {
  font-family: var(--mono); font-size: .88em; background: var(--bg-card);
  border: 1px solid var(--border-soft); padding: 2px 7px; border-radius: 6px; color: var(--accent);
}
.article__tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 40px 0; padding-top: 30px; border-top: 1px solid var(--border); }
.article__author {
  display: flex; gap: 16px; align-items: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-top: 20px;
}
.article__author .av {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: var(--accent-grad);
  display: grid; place-items: center; font-weight: 800; color: #07121b; font-size: 1.2rem;
}
.article__author h4 { font-size: 1rem; }
.article__author p { font-size: .88rem; color: var(--text-dim); margin: 0; }

/* ===========================================================
   Bilingual (TR / EN) toggling
   =========================================================== */
[data-lang="en"] [data-tr] { display: none !important; }
[data-lang="tr"] [data-en] { display: none !important; }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 999px;
  overflow: hidden; margin-left: 8px; background: var(--bg-card);
}
.lang-switch button {
  background: transparent; border: none; color: var(--text-dim);
  padding: 7px 13px; font-size: .8rem; font-weight: 700; cursor: pointer;
  font-family: var(--font); letter-spacing: .5px; transition: all .2s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--accent-grad); color: #07121b; }

/* ===========================================================
   Case Studies
   =========================================================== */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 26px; }
.case {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.case:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.case__visual { height: 168px; position: relative; overflow: hidden; }
.case__visual svg { width: 100%; height: 100%; display: block; }
.case__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(7, 18, 27, .6); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
}
.case__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case__body h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.case__body > p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft);
}
.metric { text-align: center; }
.metric__num {
  font-size: 1.35rem; font-weight: 800; line-height: 1;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric__label { font-size: .68rem; color: var(--text-dim); margin-top: 6px; line-height: 1.3; }
.case__stack {
  margin-top: 18px; font-family: var(--mono); font-size: .74rem; color: var(--text-dim);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.case__stack b { color: var(--accent); font-weight: 600; }

/* ===========================================================
   Use cases grid
   =========================================================== */
.usecases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.uc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.uc:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.uc__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(56,225,196,.16), rgba(108,140,255,.16));
  border: 1px solid var(--border-soft);
}
.uc h4 { font-size: 1.06rem; margin-bottom: 12px; }
.uc ul { list-style: none; display: grid; gap: 8px; }
.uc li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: .92rem; }
.uc li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px;
  border-radius: 2px; background: var(--accent);
}

/* Section divider */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; opacity: .6; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .hero__grid, .about__grid, .skills__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .nav__links {
    position: fixed; top: 68px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
    padding: 16px 24px; transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; }
  .nav__toggle { display: grid; place-items: center; }
  .section { padding: 70px 0; }
  .contact { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .tl { padding-left: 48px; }
}
