/* ==========================================================================
   AKHMAD RIFAI — PORTFOLIO
   Light · Professional · Editorial layout, no card grids, no icon boxes
   ========================================================================== */

/* ---------- Fonts & Tokens ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #fbfbf9;
  --bg-soft: #f3f3ef;
  --ink: #16161f;
  --ink-soft: #3a3a46;
  --muted: #6d6d7c;
  --line: #e7e7e1;
  --accent: #2456e6;
  --accent-deep: #1a3fb0;
  --accent-soft: #eaf0ff;
  --gold: #c99a2e;
  --radius: 4px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-word {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: .35em; text-transform: uppercase; color: var(--ink);
  animation: pulseWord 1.2s var(--ease) infinite;
}
@keyframes pulseWord { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Page fade-in ---------- */
.page { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s; }
body.ready .page { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 1002; transition: width .1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 251, 249, .92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.logo em { font-style: normal; color: var(--accent); }
.logo .dot { color: var(--gold); }

.nav { display: flex; gap: 34px; }
.nav a {
  position: relative; font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(36, 86, 230, .55); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; z-index: 1001; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); transition: .35s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: -1;
  animation: float 12s ease-in-out infinite alternate;
}
.hero-blob.b1 { width: 480px; height: 480px; background: #dbe6ff; top: -120px; right: -100px; }
.hero-blob.b2 { width: 360px; height: 360px; background: #f6e9cf; bottom: -140px; left: -80px; animation-delay: -6s; }
@keyframes float { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }

.kicker {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 42px; height: 1.5px; background: var(--accent); display: inline-block; }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin: 22px 0 18px; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--accent); }

.typing-wrap { font-family: var(--font-mono); color: var(--muted); font-size: clamp(.95rem, 1.6vw, 1.15rem); min-height: 2em; }
.typing-wrap .typed { color: var(--ink); }
.cursor { display: inline-block; width: 2px; height: 1.15em; background: var(--gold); vertical-align: text-bottom; margin-left: 3px; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-lead { max-width: 520px; margin: 22px 0 34px; color: var(--muted); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -6% 12% 8%;
  border: 1.5px solid var(--line); border-radius: 300px 300px 20px 20px; z-index: -1;
}
.hero-photo {
  border-radius: 260px 260px 16px 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(22, 22, 31, .35);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-badge {
  position: absolute; bottom: 8%; left: -6%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 20px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em;
  color: var(--ink); box-shadow: 0 20px 50px -20px rgba(22,22,31,.25);
  animation: floatY 6s ease-in-out infinite; animation-delay: -3s;
}
.hero-badge strong { color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: #fff; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: 14px; max-width: 640px; }
.section-head h2 .accent { color: var(--accent); }
.section-head .head-note { max-width: 320px; color: var(--muted); font-size: .95rem; padding-bottom: 6px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 10px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stat-num .unit { color: var(--accent); }
.stat-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Intro / About preview ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro-text p { margin-bottom: 18px; }
.intro-text p strong { color: var(--ink); }
.signature { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-top: 26px; font-size: 1.05rem; }

/* ---------- Work rows (no cards) ---------- */
.work-row {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row.flip .work-media { order: 2; }

.work-media { overflow: hidden; border-radius: var(--radius); position: relative; }
.work-media img { width: 100%; transition: transform .8s var(--ease); }
.work-row:hover .work-media img { transform: scale(1.06); }
.work-media::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35);
  pointer-events: none;
}

.work-index { font-family: var(--font-mono); font-size: .78rem; color: var(--gold); letter-spacing: .2em; display: block; margin-bottom: 14px; }
.work-info h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; transition: color .3s; }
.work-row:hover .work-info h3 { color: var(--accent); }
.work-info p { color: var(--muted); margin-bottom: 20px; max-width: 460px; }
.work-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.work-meta span {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 1.5px solid var(--gold); padding-bottom: 4px;
}
.text-link {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
}
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: .3s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-row.hidden-row { display: none; }
.work-row.pop { animation: popIn .6s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Services rows ---------- */
.service-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 40px; align-items: start;
  padding: 44px 0; border-top: 1px solid var(--line); transition: background .4s var(--ease), padding .4s var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: #fff; }
.service-num { font-family: var(--font-mono); color: var(--gold); font-size: .85rem; padding-top: 6px; }
.service-row h3 { font-size: 1.45rem; margin-bottom: 10px; transition: transform .4s var(--ease); }
.service-row:hover h3 { transform: translateX(10px); color: var(--accent); }
.service-row p { color: var(--muted); max-width: 640px; }
.service-tags { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.service-tags span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.service-tags span::before { content: "— "; color: var(--gold); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.t-item { position: relative; padding-bottom: 46px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: ""; position: absolute; left: -40px; top: 8px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
  transition: background .3s;
}
.t-item:hover::before { background: var(--accent); }
.t-date { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.t-item h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.t-item .t-org { color: var(--ink); font-weight: 600; font-family: var(--font-head); font-size: .95rem; }
.t-item p { color: var(--muted); font-size: .95rem; margin-top: 8px; max-width: 600px; }

/* ---------- Skills bars ---------- */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 70px; }
.skill { margin-bottom: 8px; }
.skill-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.skill-top .name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.skill-top .val { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); }
.bar { height: 4px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 99px; transition: width 1.4s var(--ease) .2s; }
.revealed .bar span { width: var(--w); }

/* ---------- Quotes / testimonials (no cards) ---------- */
.quote { border-left: 2px solid var(--gold); padding: 8px 0 8px 34px; margin-bottom: 54px; }
.quote blockquote { font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; color: var(--ink); line-height: 1.6; }
.quote .who { margin-top: 18px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote .who strong { color: var(--accent); }

/* ---------- Blog rows ---------- */
.post-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 40px; align-items: center;
  padding: 34px 0; border-top: 1px solid var(--line); transition: background .35s var(--ease);
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover { background: #fff; }
.post-date { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 2; }
.post-row h3 { font-size: 1.25rem; margin-bottom: 8px; transition: color .3s, transform .35s var(--ease); }
.post-row:hover h3 { color: var(--accent); transform: translateX(8px); }
.post-row p { color: var(--muted); font-size: .93rem; max-width: 640px; }
.post-arrow { font-size: 1.4rem; color: var(--ink); transition: transform .35s var(--ease), color .3s; }
.post-row:hover .post-arrow { transform: translateX(8px) rotate(-45deg); color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }

.form-field { margin-bottom: 26px; position: relative; }
.form-field label { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  padding: 12px 2px; font: inherit; color: var(--ink); outline: none;
  transition: border-color .3s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }

.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info-row dd { color: var(--ink); font-weight: 500; }
.info-row dd a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 120px 0; background: #fff; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 20px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.cta-band .kicker { justify-content: center; }
.cta-band .kicker::after { content: ""; width: 42px; height: 1.5px; background: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b9c6; padding: 80px 0 36px; }
.site-footer h4, .site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; margin-bottom: 70px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 18px; }
.footer-grid p { font-size: .93rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 22px; color: #8f8fa3; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #e8e8ee; font-size: .93rem; transition: color .3s, padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; }
.footer-bottom a { color: #8f8fa3; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--ink); color: #fff; z-index: 900;
  display: grid; place-items: center; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; will-change: transform, opacity; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="fade"] { transform: none; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 120px; }
  .hero-visual { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .work-row { grid-template-columns: 1fr; gap: 30px; }
  .work-row.flip .work-media { order: 0; }
  .skills-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  .nav-drawer {
    position: fixed; inset: 0; background: var(--bg); z-index: 1000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: .45s var(--ease);
  }
  .nav-drawer.open { opacity: 1; visibility: visible; }
  .nav-drawer a { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   MOBILE OVERFLOW SAFETY (fix: content poking beyond screen edge on phones)
   ========================================================================== */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { overflow-wrap: break-word; }

/* svh = viewport that respects mobile browser bars (no cut-off heroes) */
.hero { min-height: 100svh; }

/* grid/flex children must be allowed to shrink (prevents wide-child overflow) */
.hero-grid > *, .intro-grid > *, .contact-grid > *, .work-row > *,
.service-row > *, .post-row > *, .info-row > *, .stats > *,
.section-head > * { min-width: 0; }
.work-info h3, .service-row h3, .post-row h3, .section-head h2 { overflow-wrap: break-word; }

.marquee { max-width: 100%; }

@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero-badge { left: 4%; font-size: .68rem; padding: 10px 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; gap: 26px 0; }
  .stat { border-left: 0; padding-left: 0; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .filters button { padding: 8px 14px; }
}
