/* =====================================================================
   PIXEL — Game Developer Portfolio
   Dark arcade theme · neon lime + magenta · pixel/grid motif
   Plain CSS, no frameworks. Brand tokens live in :root.
   ===================================================================== */

:root {
  --bg:        #0c0d16;   /* deep arcade background      */
  --bg-2:      #11131f;   /* raised panels / sections    */
  --surface:   #161827;   /* cards                       */
  --surface-2: #1d2034;   /* hover / nested surfaces     */
  --ink:       #f2f4ff;   /* primary text                */
  --muted:     #9aa0bd;   /* secondary text              */
  --line:      #262a40;   /* borders / dividers          */
  --lime:      #a3e635;   /* neon lime accent            */
  --lime-dark: #84cc16;   /* darker lime for hovers      */
  --magenta:   #ec4899;   /* magenta accent              */
  --magenta-d: #db2777;   /* darker magenta              */

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-pixel:'Press Start 2P', monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow-glow: 0 0 0 1px rgba(163,230,53,.25), 0 14px 40px rgba(163,230,53,.12);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }

/* Subtle pixel-grid motif behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(163,230,53,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,230,53,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}
header, main, footer { position: relative; z-index: 1; }

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

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: #0c0d16; }
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(163,230,53,.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn-light { background: #0c0d16; color: var(--lime); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.btn-line { background: transparent; color: #0c0d16; border-color: rgba(12,13,22,.35); }
.btn-line:hover { background: rgba(12,13,22,.08); transform: translateY(-2px); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,13,22,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel); font-size: 13px; letter-spacing: 0; color: var(--ink);
}
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--magenta));
  box-shadow: 0 0 18px rgba(163,230,53,.4);
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--muted);
  padding: 9px 14px; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--lime); }
.nav-cta a { padding: 0; }
.nav-cta .btn { color: #0c0d16; }
.nav-cta .btn:hover { color: #0c0d16; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ============================ HERO ============================ */
.hero { padding: 80px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-name {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--lime);
  background: rgba(163,230,53,.08); border: 1px solid rgba(163,230,53,.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-name .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--lime); }
.hero h1 .magenta { color: var(--magenta); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); }
.hero-meta span { font-size: .9rem; color: var(--muted); }

/* Hero visual — game cover collage */
.hero-visual { position: relative; }
.hero-visual .hv-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-visual .hv-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-visual .hv-badge {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  background: rgba(12,13,22,.85); border: 1px solid var(--line); color: var(--lime);
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero-visual .hv-chip {
  position: absolute; top: -14px; right: -10px;
  font-family: var(--font-pixel); font-size: 9px; color: #0c0d16;
  background: var(--magenta); padding: 10px 12px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(236,72,153,.45); transform: rotate(4deg);
}

/* ============================ SECTIONS ============================ */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-head .lead { margin: 0 auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 12px;
}
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.head-row h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.text-link { font-family: var(--font-head); font-weight: 600; color: var(--lime); display: inline-flex; gap: 7px; align-items: center; }
.text-link:hover { gap: 11px; }
.muted { color: var(--muted); }

/* ----- Engine badge strip ----- */
.engines { padding: 30px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.engines p { text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.engine-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.engine-strip .engine {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.engine .pip { width: 9px; height: 9px; border-radius: 3px; }
.pip.lime { background: var(--lime); }
.pip.magenta { background: var(--magenta); }
.pip.cyan { background: #38bdf8; }

/* ============================ GAMES GRID ============================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(163,230,53,.4); box-shadow: var(--shadow-glow); }
.work-card.is-hidden { display: none; }
.work-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.engine-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  background: rgba(12,13,22,.85); border: 1px solid var(--line); color: var(--lime);
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.plat-tag {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 11px; letter-spacing: .04em;
  background: var(--magenta); color: #0c0d16; padding: 5px 10px; border-radius: 999px;
}
.work-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.work-info h3 { font-size: 1.18rem; margin-bottom: 3px; }
.work-cat { font-size: .9rem; color: var(--muted); }
.work-arrow { color: var(--lime); font-size: 1.2rem; transition: transform .2s ease; }
.work-card:hover .work-arrow { transform: translate(4px, -4px); }

/* ----- Filters ----- */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; cursor: pointer; transition: .18s;
}
.filter-chip:hover { color: var(--ink); border-color: var(--lime); }
.filter-chip.is-active { background: var(--lime); color: #0c0d16; border-color: var(--lime); }

/* ============================ SPLIT / ABOUT TEASER ============================ */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); }
.about-list .tick { color: #0c0d16; background: var(--lime); width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }

/* ============================ SKILL CARDS ============================ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.skill-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.skill-card:hover { transform: translateY(-5px); border-color: rgba(236,72,153,.4); }
.skill-icon { font-size: 1.7rem; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--surface-2); margin-bottom: 16px; }
.skill-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.skill-card p { color: var(--muted); font-size: .97rem; }

/* ============================ STATS BAND ============================ */
.stats-band { background: linear-gradient(135deg, #11131f, #161229); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); display: block; color: var(--ink); }
.stat .accent { color: var(--lime); }
.stat span { color: var(--muted); font-size: .95rem; }

/* ============================ TESTIMONIALS ============================ */
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; margin: 0;
  position: relative;
}
.quote-card .mark { font-family: var(--font-head); font-size: 3.4rem; color: var(--magenta); line-height: .5; display: block; height: 26px; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.04rem; color: var(--ink); }
.quote-author { display: flex; align-items: center; gap: 13px; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); }
.quote-author b { display: block; font-family: var(--font-head); }
.quote-author span { font-size: .87rem; color: var(--muted); }

/* ============================ PAGE BANNER ============================ */
.page-banner { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.page-banner .lead { max-width: 64ch; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--lime); }

/* ============================ TIMELINE ============================ */
.timeline { display: grid; gap: 0; position: relative; margin-top: 12px; }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { font-family: var(--font-head); font-weight: 700; color: var(--lime); }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 5px; }
.timeline-item .role { color: var(--magenta); font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.timeline-item p { color: var(--muted); font-size: .97rem; }

/* ----- Tools chips ----- */
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tools span { font-family: var(--font-head); font-weight: 500; font-size: 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; color: var(--muted); }

/* ----- About layout ----- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.about-portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ============================ SERVICES / SKILLS ============================ */
.service-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row .num { font-family: var(--font-pixel); font-size: 14px; color: var(--magenta); }
.service-row h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.service-row .deliverables { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.service-row .deliverables li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.service-row .deliverables li::before { content: "▸"; color: var(--lime); }

/* ----- Achievements ----- */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ach { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ach .yr { font-family: var(--font-head); color: var(--lime); font-weight: 600; font-size: .85rem; letter-spacing: .05em; }
.ach h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.ach p { color: var(--muted); font-size: .92rem; }

/* ----- Skill bars ----- */
.skillbars { display: grid; gap: 18px; max-width: 620px; }
.skillbar .top { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; margin-bottom: 7px; }
.skillbar .top span:last-child { color: var(--lime); }
.skillbar .track { height: 9px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.skillbar .fill { height: 100%; background: linear-gradient(90deg, var(--lime), var(--magenta)); border-radius: 999px; }

/* ============================ FAQ ============================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .ico { color: var(--lime); font-size: 1.4rem; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ============================ CTA BAND ============================ */
.cta-band {
  background: linear-gradient(135deg, var(--lime), var(--magenta));
  border-radius: 22px; padding: 56px 40px; text-align: center; color: #0c0d16;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { max-width: 56ch; margin: 0 auto 26px; color: rgba(12,13,22,.8); font-weight: 500; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================ CONTACT ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.18);
}
.field .err { display: none; color: var(--magenta); font-size: .85rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: var(--magenta); }
.field.invalid .err { display: block; }
.form-status {
  display: none; margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(163,230,53,.12); border: 1px solid rgba(163,230,53,.4); color: var(--lime); font-weight: 500;
}
.form-status.show { display: block; }
.contact-info { display: grid; gap: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.info-card h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.info-card a, .info-card p { color: var(--muted); }
.info-card a:hover { color: var(--lime); }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 0 0 30px; margin-top: 20px; }
.footer-cta { text-align: center; padding: 60px 0 50px; border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 48px 0; }
.footer-about .brand { margin-bottom: 14px; }
.footer-about p { color: var(--muted); font-size: .95rem; max-width: 36ch; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .18s; }
.social a:hover { color: var(--lime); border-color: var(--lime); }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--lime); }

/* ============================ REVEAL ANIMATION ============================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

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

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-grid, .grid-3, .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-grid, .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin-top: 6px; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .work-grid, .grid-3, .grid-2, .ach-grid, .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 50px; }
  .cta-band { padding: 40px 22px; }
}
